/*
 * K2iran theme (child of Hummingbird). Loaded after Hummingbird's theme_rtl.css.
 * Colors, font and spacing are variables at the top; change them here only.
 * @author mahdi kazemzadeh
 */

@font-face { font-family: "YekanBakhFaNum"; font-weight: 300; font-display: swap; src: url(../fonts/YekanBakhFaNum-Light.woff2) format("woff2"); }
@font-face { font-family: "YekanBakhFaNum"; font-weight: 400; font-display: swap; src: url(../fonts/YekanBakhFaNum-Regular.woff2) format("woff2"); }
@font-face { font-family: "YekanBakhFaNum"; font-weight: 600; font-display: swap; src: url(../fonts/YekanBakhFaNum-SemiBold.woff2) format("woff2"); }
@font-face { font-family: "YekanBakhFaNum"; font-weight: 700; font-display: swap; src: url(../fonts/YekanBakhFaNum-Bold.woff2) format("woff2"); }

:root {
  --k2-red: #e1251b;
  --k2-black: #111111;
  --k2-text: #1f1f1f;
  --k2-muted: #6b6b6b;
  --k2-line: #e6e6e6;
  --k2-bg: #f6f6f6;
  --k2-band-bg: #f2f2f2; /* product slider sections */
  --k2-card: #ffffff;
  --k2-green: #22a35a;
  --k2-snapp: #1e63ff;
  --k2-radius: 14px;
  --k2-radius-sm: 10px;
  --k2-gap: 16px;
  --k2-font: "YekanBakhFaNum", Tahoma, sans-serif;
  --bs-body-font-family: var(--k2-font);
  --bs-body-color: var(--k2-text);
}

body { font-family: var(--k2-font); background: var(--k2-bg); color: var(--k2-text); direction: rtl; }
h1, h2, h3, h4, h5, h6, button, input, select, textarea { font-family: var(--k2-font); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--k2-red); }
.material-icons { font-size: 20px; line-height: 1; vertical-align: middle; }

/* ---------- shared pieces ---------- */
.k2-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px; border: 0; font-size: .9rem; font-weight: 600; white-space: nowrap; cursor: pointer; }
.k2-btn--dark { background: var(--k2-black); color: #fff; }
.k2-btn--dark:hover { background: #333; color: #fff; }
.k2-btn--light { background: #fff; color: var(--k2-black); }
.k2-btn--light:hover { color: var(--k2-red); }
.k2-btn--sm { height: 34px; padding: 0 12px; font-size: .8rem; }
.k2-btn--outline { background: #fff; color: var(--k2-black); border: 1px solid #cfcfcf; }
.k2-btn--outline:hover { border-color: var(--k2-black); }
.k2-icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--k2-black); }
.k2-icon-btn .material-icons { font-size: 24px; }
.k2-badge { position: absolute; top: 2px; left: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--k2-red); color: #fff; font-size: .7rem; line-height: 18px; text-align: center; }
.k2-badge--inline { position: static; }
.k2-pill { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border: 1px solid var(--k2-line); border-radius: 999px; background: #fff; font-size: .78rem; color: var(--k2-muted); }
.k2-pill:hover { border-color: var(--k2-black); color: var(--k2-black); }
.k2-tag { display: inline-block; padding: 1px 8px; border-radius: 4px; font-size: .68rem; color: #fff; white-space: nowrap; }
.k2-tag--snapp { background: var(--k2-snapp); }
.k2-tag--red { background: var(--k2-red); }

/* Image placeholders: shown until real images come from the modules. */
.k2-ph { display: block; background-color: #ececec; background-size: cover; background-position: center; }
.k2-ph--sand { background-image: linear-gradient(120deg, #efe3cf 0%, #e9d6b6 45%, #f6efe2 100%); }
.k2-ph--mist { background-image: linear-gradient(120deg, #dfe5ea 0%, #f2e6d7 55%, #e7d8c3 100%); }
.k2-ph--forest { background-image: linear-gradient(160deg, #b9c6b1 0%, #6f8b6a 60%, #4b5f4a 100%); }
.k2-ph--product { display: flex; align-items: center; justify-content: center; background: #f3f3f3; color: #c9c9c9; }
.k2-ph--product .material-icons { font-size: 48px; }

/* ---------- header ---------- */
.header { background: #fff; }
/* Fixed header: Hummingbird makes .header sticky. The promo strip (--k2-promo-h, set in custom.js) scrolls
   away and the rest stays. Each screen size can be switched off in "K2 theme settings" (data-sticky-d/-m). */
.header { top: calc(-1 * var(--k2-promo-h, 0px)); }
@media (min-width: 992px) {
  .header:has(.k2-header[data-sticky-d="0"]) { position: relative; top: auto; }
}
@media (max-width: 991.98px) {
  .header:has(.k2-header[data-sticky-m="0"]) { position: relative; top: auto; }
}
.k2-promo img { display: block; width: 100%; height: auto; }

.k2-header { background: #fff; }
.k2-header__row { display: flex; align-items: center; gap: var(--k2-gap); min-height: 76px; padding-inline: 16px; } /* Hummingbird zeroes the header container padding */
.k2-header__logo { flex: 0 0 auto; }
.k2-header__h1 { margin: 0; font-size: inherit; }
.k2-header__brand { display: flex; align-items: center; gap: 10px; }
.k2-header__logo-img { width: auto; max-height: 48px; }
.k2-header__logo-text { font-size: 1.2rem; font-weight: 700; }
.k2-header__logo-mobile { display: none; }
.k2-header__tagline { font-size: .78rem; color: var(--k2-muted); font-weight: 400; }
.k2-search { position: relative; flex: 1 1 auto; max-width: 620px; margin: 0 auto; }
.k2-search__input { width: 100%; height: 44px; padding: 0 44px 0 40px; border: 1px solid var(--k2-line); border-radius: 999px; background: #f7f7f7; font-size: .9rem; }
.k2-search__input:focus { outline: none; border-color: var(--k2-black); background: #fff; }
.k2-search__icon { position: absolute; top: 50%; right: 14px; transform: translateY(-50%); color: var(--k2-muted); }
/* live search (ps_searchbar + Hummingbird search script) */
.k2-search__form { position: relative; margin: 0; }
.k2-search__icon.js-search-icon { cursor: pointer; }
.k2-search__clear { position: absolute; top: 50%; left: 8px; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--k2-muted); }
.k2-search__clear.d-none { display: none; }
.k2-search__clear:hover { background: var(--k2-line); color: var(--k2-black); }
.k2-search__input::-webkit-search-cancel-button { display: none; }
.k2-search__dropdown { position: absolute; top: calc(100% + 6px); right: 0; left: 0; z-index: 1060; max-height: 420px; overflow-y: auto; padding: 6px; background: #fff; border: 1px solid var(--k2-line); border-radius: var(--k2-radius-sm); box-shadow: 0 12px 28px rgba(0, 0, 0, .14); }
.k2-search__dropdown.d-none { display: none; }
.k2-search__result { display: flex; align-items: center; gap: 12px; padding: 6px 8px; border-radius: 8px; color: var(--k2-text); outline: none; }
.k2-search__result:hover, .k2-search__result:focus, .k2-search__result[aria-selected="true"] { background: var(--k2-bg); color: var(--k2-red); }
.k2-search__result-img { flex: 0 0 48px; width: 48px; height: 48px; object-fit: contain; border-radius: 6px; background: #fff; }
.k2-search__result-name { margin: 0; font-size: .88rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.k2-header__actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }

.k2-nav { background: var(--k2-black); color: #fff; }
.k2-nav__row { position: relative; display: flex; align-items: center; gap: 24px; height: 52px; padding-inline: 16px; } /* dropdown panels of the menu module are placed against this row */
.k2-nav__cats { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; color: #fff; font-weight: 600; font-size: .92rem; padding: 0; }
.k2-nav__links { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; font-size: .9rem; }
.k2-nav__links a { display: inline-flex; align-items: center; color: #fff; opacity: .9; }
.k2-nav__links a:hover { opacity: 1; color: #fff; }
.k2-nav__links .material-icons { font-size: 18px; }
.k2-nav__cart { margin-right: auto; height: 36px; }
/* Header cart summary (ps_shoppingcart): opens on hover / keyboard focus on desktop, like the 1.7 shop */
.k2-cartwrap { margin-right: auto; }
.k2-cartbox { position: relative; }
.k2-cartbox .k2-nav__cart { margin-right: 0; }
.k2-cartbox__panel { position: absolute; top: calc(100% + 6px); left: 0; z-index: 1040; display: none; width: 380px; max-width: calc(100vw - 32px); border: 1px solid var(--k2-line); border-radius: var(--k2-radius-sm); background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .15); color: var(--k2-text); font-size: .82rem; }
.k2-cartbox__panel::before { content: ""; position: absolute; top: -8px; right: 0; left: 0; height: 8px; } /* keeps the hover while moving down */
@media (min-width: 992px) {
  .k2-cartbox:hover .k2-cartbox__panel, .k2-cartbox:focus-within .k2-cartbox__panel { display: block; }
}
.k2-cartbox__head { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--k2-line); font-weight: 600; }
.k2-cartbox__head .material-icons { font-size: 20px; }
.k2-cartbox__list { max-height: 330px; margin: 0; padding: 10px; overflow-y: auto; list-style: none; }
.k2-cartbox__item { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; padding: 8px; border-radius: 8px; background: #f7f7f7; }
.k2-cartbox__img { flex: 0 0 64px; }
.k2-cartbox__img img { display: block; width: 64px; height: 64px; border-radius: 6px; background: #fff; object-fit: contain; }
.k2-cartbox__info { flex: 1; min-width: 0; }
.k2-cartbox__name { display: block; margin-bottom: 6px; color: var(--k2-text); line-height: 1.6; }
.k2-cartbox__meta { display: flex; flex-wrap: wrap; gap: 4px 10px; color: #333; font-size: .76rem; }
.k2-cartbox__price { font-weight: 700; }
.k2-cartbox__stepper { display: flex; flex-direction: column; align-items: stretch; flex: 0 0 30px; border: 1px solid #cfcfcf; border-radius: 6px; background: #fff; overflow: hidden; }
.k2-cartbox__btn { display: flex; align-items: center; justify-content: center; height: 26px; padding: 0; border: 0; background: transparent; color: var(--k2-black); cursor: pointer; }
.k2-cartbox__btn:hover:not(:disabled) { background: var(--k2-bg); }
.k2-cartbox__btn .material-icons { font-size: 17px; }
.k2-cartbox__qty { display: block; padding: 2px 0; border-block: 1px solid #e3e3e3; color: var(--k2-muted); font-size: .78rem; text-align: center; }
.k2-cartbox.is-busy .k2-cartbox__list { opacity: .5; pointer-events: none; }
.k2-cartbox__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; border-top: 1px solid var(--k2-line); }
.k2-cartbox__total { display: flex; flex-direction: column; gap: 4px; }
.k2-cartbox__total strong { font-size: .95rem; }
.k2-cartbox__go { height: 38px; padding: 0 22px; border-radius: 10px; }
.k2-cartbox__empty, .k2-cartbox__msg { margin: 0; padding: 14px; color: var(--k2-muted); }
.k2-cartbox__msg { padding-top: 0; color: var(--k2-red); }
/* Account (header) and cart (menu bar) buttons: same width, one above the other; long names are cut with "…" */
.k2-header__actions .k2-btn, .k2-nav__cart { width: 160px; justify-content: center; }
.k2-header__actions .k2-btn span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

.k2-menu { --bs-offcanvas-width: 320px; }
.k2-menu__cats, .k2-menu__links { margin: 0; padding: 0; list-style: none; }
.k2-menu__cats a, .k2-menu__links a { display: flex; align-items: center; justify-content: space-between; padding: 10px 4px; border-bottom: 1px solid var(--k2-line); }
.k2-menu__links .material-icons { display: none; }

/* ---------- home ---------- */
.k2-home { padding: 20px 0 8px; }
.k2-home > .container-md > section { margin-bottom: 28px; }

.k2-hero__slide { position: relative; display: block; aspect-ratio: 1110 / 290; border-radius: var(--k2-radius); overflow: hidden; }
.k2-hero__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.k2-hero__text { position: absolute; top: 50%; right: 7%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; }
.k2-hero__title { font-size: clamp(1.1rem, 2.6vw, 2rem); font-weight: 700; color: #3b2f22; }
.k2-hero__sub { display: inline-flex; align-items: center; gap: 8px; font-size: clamp(.8rem, 1.3vw, 1rem); color: #4d4033; }
.k2-hero__sub .material-icons { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; font-size: 16px; }

.k2-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--k2-gap); }
.k2-tile { display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; min-height: 76px; padding: 12px 22px; border-radius: var(--k2-radius-sm); background: var(--k2-card); box-shadow: 0 1px 2px rgba(0, 0, 0, .04); font-weight: 600; transition: box-shadow .15s; }
.k2-tile:hover { box-shadow: 0 4px 14px rgba(0, 0, 0, .08); color: var(--k2-text); }
.k2-tile__icon { font-size: 44px !important; color: var(--k2-black); }

.k2-section__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.k2-section__title { position: relative; margin: 0; padding-right: 12px; font-size: 1.25rem; font-weight: 700; color: var(--k2-red); }
.k2-section__title::before { content: ""; position: absolute; top: 3px; bottom: 3px; right: 0; width: 4px; border-radius: 2px; background: var(--k2-black); }
.k2-section__title--plain { color: var(--k2-text); padding-right: 0; }
.k2-section__title--plain::before { display: none; }
.k2-section__arrows { display: flex; gap: 6px; margin-right: auto; }
.k2-arrow { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid #cfcfcf; border-radius: 50%; background: #fff; color: var(--k2-text); cursor: pointer; }
.k2-arrow:hover { border-color: var(--k2-black); }

/* Horizontal product track: 4 cards on desktop, 2 on mobile, scroll-snap. */
.k2-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--k2-gap)) / 4); gap: var(--k2-gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.k2-track::-webkit-scrollbar { display: none; }
/* Product slider sections (ps_newproducts, ps_featuredproducts, mkrechargeproducts): full-width coloured band, Swiper slider. Band colours: "K2 theme settings" */
.k2-section--band-new { --k2-band-bg: var(--k2-band-new, #f2f2f2); }
.k2-section--band-featured { --k2-band-bg: var(--k2-band-featured, #f2f2f2); }
.k2-section--band-restock { --k2-band-bg: var(--k2-band-restock, #f2f2f2); }
.k2-section--band-blog { --k2-band-bg: #ffffff; } /* blog section: white band */
.k2-section--band { padding-block: 24px; background: var(--k2-band-bg, #f2f2f2); box-shadow: 0 0 0 100vmax var(--k2-band-bg, #f2f2f2); clip-path: inset(0 -100vmax); }
.k2-swiper { overflow: hidden; }
.k2-swiper .swiper-slide { height: auto; }
.k2-swiper .swiper-slide > .k2-card { height: 100%; }
/* Before Swiper starts: same widths, so nothing jumps */
.k2-swiper:not(.swiper-initialized) .swiper-wrapper { display: flex; gap: 12px; }
.k2-swiper:not(.swiper-initialized) .swiper-slide { flex: 0 0 calc((100% - 12px) / 1.6); }
@media (min-width: 576px) { .k2-swiper:not(.swiper-initialized) .swiper-slide { flex-basis: calc((100% - 2 * 14px) / 2.4); } }
@media (min-width: 768px) { .k2-swiper:not(.swiper-initialized) .swiper-wrapper { gap: 16px; } .k2-swiper:not(.swiper-initialized) .swiper-slide { flex-basis: calc((100% - 2 * 16px) / 3); } }
@media (min-width: 992px) { .k2-swiper:not(.swiper-initialized) .swiper-slide { flex-basis: calc((100% - 3 * 16px) / 4); } }
.k2-swiper--posts .swiper-slide > .k2-post { height: 100%; }
.k2-swiper--posts:not(.swiper-initialized) .swiper-wrapper { gap: 16px; }
.k2-swiper--posts:not(.swiper-initialized) .swiper-slide { flex-basis: calc((100% - 16px) / 1.2); }
@media (min-width: 576px) { .k2-swiper--posts:not(.swiper-initialized) .swiper-wrapper { gap: 24px; } .k2-swiper--posts:not(.swiper-initialized) .swiper-slide { flex-basis: calc((100% - 24px) / 2); } }
@media (min-width: 992px) { .k2-swiper--posts:not(.swiper-initialized) .swiper-wrapper { gap: 32px; } .k2-swiper--posts:not(.swiper-initialized) .swiper-slide { flex-basis: calc((100% - 2 * 32px) / 3); } }
.k2-arrow.swiper-button-disabled { opacity: .35; cursor: default; }
.k2-arrow.swiper-button-lock { display: none; }
.k2-track > * { scroll-snap-align: start; }

.k2-card { position: relative; display: flex; flex-direction: column; padding: 12px; overflow: hidden; border-radius: var(--k2-radius-sm); background: var(--k2-card); box-shadow: 0 1px 2px rgba(0, 0, 0, .04); transition: box-shadow .2s; }
.k2-card:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }
.k2-card__media { position: relative; display: block; }
.k2-card__media picture { display: block; }
.k2-card__img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 8px; }
/* Hover image (mkproducthover) fades in over the cover; only on devices with a mouse */
.k2-card__img--hover { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; background: var(--k2-card); }
@media (hover: hover) {
  .k2-card--hover:hover .k2-card__img--hover, .k2-card--hover:focus-within .k2-card__img--hover { opacity: 1; }
}
.k2-card__rating { position: absolute; top: 0; left: 0; z-index: 1; display: inline-flex; align-items: center; gap: 2px; height: 22px; padding: 0 6px; border-radius: 6px; background: var(--k2-black); color: #fff; font-size: .7rem; }
.k2-card__rating .material-icons { font-size: 13px; color: #f6c343; }
.k2-card__flag { position: absolute; top: 0; right: 0; z-index: 1; padding: 2px 8px; border-radius: 0 6px 0 6px; background: var(--k2-green); color: #fff; font-size: .7rem; }
/* "NEW" ribbon across the top-right corner */
.k2-card__ribbon { position: absolute; top: 9px; right: -26px; z-index: 3; width: 92px; padding: 2px 0; transform: rotate(45deg); background: var(--k2-green); color: #fff; font-size: .62rem; font-weight: 700; letter-spacing: .5px; text-align: center; direction: ltr; pointer-events: none; }
.k2-card__colors { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 10px 0 6px; padding: 0; list-style: none; }
.k2-card__colors li, .k2-card__color { display: block; width: 14px; height: 14px; border-radius: 2px; border: 1px solid rgba(0, 0, 0, .12); background-size: cover; }
.k2-card__name { margin: 4px 0 6px; font-size: .85rem; font-weight: 400; line-height: 1.6; text-align: center; height: 3.2em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.k2-card__name a { color: var(--k2-text); }
.k2-card__price { margin-bottom: 8px; font-weight: 700; font-size: .95rem; }
.k2-card__price small { font-weight: 400; color: var(--k2-muted); font-size: .72rem; }
/* Price row (RTL): discount badge, old price, price */
.k2-card__prices { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 8px; margin-bottom: 8px; }
.k2-card__prices .k2-card__price { margin: 0; font-size: 1rem; }
.k2-card__off { padding: 1px 6px; border-radius: 4px; background: var(--k2-red); color: #fff; font-size: .78rem; font-weight: 700; direction: ltr; }
.k2-card__old { color: var(--k2-muted); font-size: .8rem; }
.k2-card__parts { display: flex; flex-direction: column; gap: 6px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--k2-line); }
.k2-card__part { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: .7rem; color: var(--k2-muted); }
.k2-section__more { margin-top: 12px; height: 38px; font-weight: 400; }

.k2-bannerlist { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--k2-gap); }
.k2-bannerlist__item { position: relative; display: flex; align-items: flex-end; aspect-ratio: 16 / 9; padding: 14px 16px; border-radius: var(--k2-radius); overflow: hidden; font-weight: 700; color: #3b2f22; }
.k2-bannerlist__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.k2-bannerlist__item--club { flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; background: linear-gradient(135deg, #25b5c6, #1c8fa1); color: #fff; line-height: 1.9; font-weight: 400; }
.k2-bannerlist__item--club strong { font-size: 1.1rem; }
.k2-bannerlist__item:hover { color: inherit; }

/* Mobile bottom bar */
.k2-tabbar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 1030; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; height: 56px; padding-bottom: env(safe-area-inset-bottom); background: var(--k2-black); }
.k2-tabbar__item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 0; background: transparent; color: #bdbdbd; font-size: .68rem; }
.k2-tabbar__item .material-icons { font-size: 22px; }
.k2-tabbar__item.is-active, .k2-tabbar__item:hover { color: var(--k2-red); }
.k2-tabbar__item .k2-badge { top: 6px; left: calc(50% - 22px); }

.k2-banner__link { position: relative; display: block; aspect-ratio: 1110 / 230; border-radius: var(--k2-radius); overflow: hidden; }
.k2-banner__link img { display: block; width: 100%; height: 100%; object-fit: cover; }
.k2-banner__text { position: absolute; top: 50%; left: 6%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 8px; text-align: left; }
.k2-banner__text strong { font-size: clamp(1rem, 2.2vw, 1.7rem); color: #3b2f22; }
.k2-banner__text span { display: inline-flex; align-items: center; gap: 6px; font-size: clamp(.75rem, 1.2vw, .95rem); color: #4d4033; }

/* Brands: 6 x 2 grid of logo tiles, faded; on hover white and fully visible (logos chosen in K2 theme settings) */
.k2-brands { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--k2-gap) 32px; }
.k2-brands__item { box-sizing: border-box; display: flex; align-items: center; justify-content: center; height: 130px; padding: 18px; border-radius: var(--k2-radius-sm); background: #fff; opacity: .4; color: var(--k2-muted); font-weight: 700; font-size: .95rem; transition: opacity .3s ease, box-shadow .3s ease; }
.k2-brands__item:hover, .k2-brands__item:focus-visible { opacity: 1; color: var(--k2-text); box-shadow: 0 6px 18px rgba(0, 0, 0, .06); }
.k2-brands__item img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); } /* logos in black and white */

.k2-features { padding: 8px 0; }
.k2-features__title { margin: 0 0 36px; font-size: 1.45rem; font-weight: 700; line-height: 1.45; color: var(--k2-black); }
.k2-features__title span { color: var(--k2-red); }
.k2-features__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px var(--k2-gap); }
/* Black line under the first (right) column, like the 1.7 shop */
.k2-features::after { content: ""; display: block; width: min(360px, 30%); height: 3px; margin-top: 48px; background: var(--k2-black); }
.k2-feature { max-width: 290px; }
.k2-feature__icon { display: block; width: 72px; height: 72px; border-radius: 6px; }
.k2-feature__name { margin: 22px 0 18px; font-size: 1.05rem; font-weight: 400; color: var(--k2-text); }
.k2-feature__text { margin: 0; font-size: .78rem; line-height: 2; color: var(--k2-muted); }

.k2-catcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--k2-gap); }
.k2-catcard { display: flex; flex-direction: column; border-radius: var(--k2-radius-sm); background: var(--k2-card); overflow: hidden; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.k2-catcard__media { position: relative; display: block; aspect-ratio: 4 / 3; margin: 10px 10px 0; border-radius: 8px; background: #f9e7da; overflow: hidden; }
.k2-catcard__word { position: absolute; top: 0; bottom: 0; left: 6px; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 2.4rem; font-weight: 700; letter-spacing: 2px; color: transparent; -webkit-text-stroke: 1px rgba(225, 37, 27, .35); direction: ltr; }
.k2-catcard__img { position: absolute; inset: 12% 12% 0 30%; border-radius: 6px; background: transparent; }
.k2-catcard__name { padding: 12px 14px; font-weight: 700; }

.k2-blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
/* Blog cards (mk_post_wp): white card, image inset, title and date */
.k2-post { display: flex; flex-direction: column; padding: 12px; border-radius: var(--k2-radius-sm); background: #f7f7f7; color: var(--k2-text); box-shadow: 0 1px 2px rgba(0, 0, 0, .04); transition: box-shadow .2s; }
.k2-post:hover { color: var(--k2-text); box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }
.k2-post__img { display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #ececec; }
.k2-post__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.k2-post:hover .k2-post__img img { transform: scale(1.03); }
.k2-post__title { padding: 14px 4px 4px; font-size: 1.05rem; font-weight: 700; line-height: 1.8; }
.k2-post:hover .k2-post__title { color: var(--k2-red); }
.k2-post__date { padding: 0 4px 2px; font-size: .75rem; color: var(--k2-muted); }

/* Shop introduction: title and 3 lines with the last one fading out; "show more" opens the rest */
.k2-about { padding: 32px 32px 22px; border-radius: var(--k2-radius); background: var(--k2-card); }
.k2-about__title { margin: 0 0 6px; font-size: 28px; line-height: 60px; font-weight: 700; color: #000; }
.k2-about__text {
  max-height: 102px; /* 3 lines of 34px */ overflow: hidden; font-size: 16px; line-height: 34px; color: #000;
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 34px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 34px), transparent);
  transition: max-height .5s ease;
}
.k2-about__text.is-open { -webkit-mask-image: none; mask-image: none; }
.k2-about__text p { margin: 0 0 12px; }
.k2-about__text h3 { margin: 22px 0 6px; font-size: 20px; line-height: 40px; font-weight: 700; color: #000; }
.k2-about__more { display: block; height: 36px; margin: 14px 0 0 auto; /* right side (RTL start) */ padding: 0 18px; border: 2px solid #444; border-radius: 999px; background: transparent; color: #222; font: inherit; font-size: .85rem; cursor: pointer; }
.k2-about__more:hover { border-color: #000; color: #000; }
@media (prefers-reduced-motion: reduce) { .k2-about__text { transition: none; } }

/* ---------- footer ---------- */
.footer { background: transparent; }
.k2-footer { margin-top: 12px; padding: 40px 0 28px; color: #222; font-size: 13px; }
.k2-footer__top { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-bottom: 40px; border-bottom: 1px solid #333; }
.k2-footer__title { margin: 0 0 4px; font-size: 16px; font-weight: 700; color: #000; }
.k2-footer__contact p { margin: 0 0 18px; line-height: 1.9; }
.k2-footer__phone { color: #2c9ffd; font-size: 14px; }
.k2-footer__phone:hover { color: #0b7ad6; }
.k2-footer__note { max-width: 470px; }
.k2-footer__route { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 16px; border-radius: 999px; background: #000; color: #fff; font-size: 12.5px; }
.k2-footer__route:hover { background: #333; color: #fff; }
.k2-footer__links { margin: 0; padding: 0; list-style: none; font-size: 17px; }
.k2-footer__links li { margin-bottom: 8px; }
.k2-footer__links a { display: inline-flex; align-items: center; gap: 6px; color: #333; line-height: 1.6; }
.k2-footer__links a::before { content: ""; width: 6px; height: 6px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .7; }
.k2-footer__links a:hover { color: var(--k2-red); }
.k2-footer__bottom { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 2fr); gap: 32px; padding-top: 32px; }
.k2-footer__about .k2-footer__title { margin-bottom: 10px; }
.k2-footer__about p { margin: 0; font-size: 16px; line-height: 1.6; text-align: justify; color: #111; }
.k2-footer__side { display: flex; flex-direction: column; gap: 18px; }
.k2-footer__trust { display: flex; gap: 30px; }
.k2-footer__seal { display: flex; align-items: center; justify-content: center; width: 140px; height: 140px; padding: 10px; border-radius: var(--k2-radius-sm); background: #fff; box-sizing: border-box; }
.k2-footer__seal img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.k2-footer__social { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.k2-footer__social-text p { margin: 0; font-size: 12.5px; color: #333; }
.k2-footer__icons { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.k2-footer__icons a { display: block; width: 36px; height: 36px; border-radius: 50%; transition: transform .2s; }
.k2-footer__icons a:hover { transform: translateY(-2px); }
.k2-footer__icons img { display: block; width: 100%; height: 100%; }
.k2-social { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.k2-social a { display: inline-flex; color: var(--k2-black); }
.k2-copyright { padding: 10px 0; background: var(--k2-black); color: #cfcfcf; font-size: .75rem; text-align: center; }

/* ---------- tablet and mobile ---------- */
@media (max-width: 991.98px) {
  body { padding-bottom: 56px; } /* room for the bottom bar */
  /* Header: logo in the middle, search button on the left; search opens below */
  .k2-header__row { display: grid; grid-template-columns: 40px 1fr 40px; column-gap: 8px; row-gap: 0; min-height: 0; padding-block: 8px; }
  .k2-header__logo { grid-column: 2; justify-self: center; }
  .k2-header__search-btn { grid-column: 3; grid-row: 1; }
  .k2-header__logo-img { max-height: 54px; }
  /* Search slides down and fades in. Closed: no height and not reachable by keyboard
     (visibility switches off after the closing animation). */
  .k2-search { grid-column: 1 / -1; max-width: none; width: 100%; max-height: 0; margin-top: 0; opacity: 0; transform: translateY(-8px); visibility: hidden; overflow: hidden;
    transition: max-height .3s ease, margin-top .3s ease, opacity .2s ease, transform .3s ease, visibility 0s linear .3s; }
  .k2-search.is-open { max-height: 60px; overflow: visible; margin-top: 8px; opacity: 1; transform: none; visibility: visible;
    transition: max-height .3s ease, margin-top .3s ease, opacity .25s ease .05s, transform .3s ease, visibility 0s; }
  /* Dark mobile header (white logo uploaded in the mkthemesettings module) */
  .k2-header--dark-mobile { background: var(--k2-mh-bg, #000); }
  .k2-header--dark-mobile .k2-header__search-btn { color: var(--k2-mh-fg, #fff); }
  .k2-header--dark-mobile .k2-header__logo-img { display: none; }
  .k2-header--dark-mobile .k2-header__logo-mobile { display: block; height: var(--k2-mh-logo-h, 54px); width: auto; }
  .k2-track { grid-auto-columns: 60%; }
  .k2-bannerlist { grid-template-columns: 1fr; }
  .k2-brands { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; }
  .k2-brands__item { height: 110px; }
  .k2-features__grid, .k2-catcards { grid-template-columns: repeat(2, 1fr); }
  .k2-features__title { margin-bottom: 24px; font-size: 1.2rem; }
  .k2-feature__icon { width: 60px; height: 60px; }
  .k2-feature__name { margin: 14px 0 10px; font-size: .95rem; }
  .k2-features::after { margin-top: 32px; width: 45%; }
  .k2-footer { padding-top: 28px; }
  .k2-footer__top { grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 28px; }
  .k2-footer__contact { grid-column: 1 / -1; }
  .k2-footer__links { font-size: 15px; }
  .k2-footer__bottom { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
  .k2-footer__about p { font-size: 14px; }
  .k2-footer__trust { justify-content: center; gap: 20px; }
  .k2-footer__seal { width: 120px; height: 120px; }
  .k2-footer__social { flex-direction: column; align-items: center; text-align: center; }
  .k2-footer__icons { flex-wrap: wrap; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .k2-search { transition: none !important; }
}
@media (max-width: 575.98px) {
  :root { --k2-gap: 10px; }
  .k2-home { padding-top: 12px; }
  .k2-home > .container-md > section { margin-bottom: 22px; }
  .k2-hero__slide { aspect-ratio: 4 / 3; }
  .k2-hero__text { right: 6%; }
  .k2-banner__link { aspect-ratio: 16 / 9; }
  .k2-tiles { grid-template-columns: repeat(3, 1fr); }
  .k2-tile { flex-direction: column; justify-content: center; gap: 6px; min-height: 87px; padding: 10px 6px; font-size: .78rem; text-align: center; }
  .k2-tile__icon { font-size: 34px !important; }
  .k2-section__title { font-size: 1.05rem; }
  /* Mobile: 3 columns, 30px apart */
  .k2-brands { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
  .k2-brands__item { height: auto; aspect-ratio: 1 / .72; padding: 10px; font-size: .72rem; }
  .k2-blog__grid { grid-template-columns: 1fr; }
  .k2-catcard__word { font-size: 1.15rem; letter-spacing: 1px; }
  .k2-about { padding: 20px 16px 16px; }
  .k2-about__title { font-size: 22px; line-height: 40px; }
}

/* ---------- ets_prettymenu in the desktop menu bar ---------- */
.k2-nav__row > .ets_prmn_megamenu { flex: 1; align-self: stretch; min-width: 0; background: transparent; }
.k2-nav__row .ets_prmn_megamenu .container { width: auto; max-width: none; padding: 0; }
.k2-nav__row .ets_prmn_megamenu .ybc-menu-toggle { display: none; } /* mobile keeps the theme menu */

/* ---------- product lists (category, brand, search) like the 1.7 shop ---------- */
/* Breadcrumb in a white box (all pages) */
.breadcrumb__wrapper { margin: 18px 0 0; background: transparent; }
.breadcrumb { --bs-breadcrumb-divider: ">"; --bs-breadcrumb-divider-color: var(--k2-text); align-items: center; min-height: 48px; padding: 10px 20px; border-radius: var(--k2-radius-sm); background: var(--k2-card); font-size: .8rem; color: var(--k2-muted); }
.breadcrumb-item + .breadcrumb-item::before { padding-inline: 0 8px; font-weight: 700; }
.breadcrumb-link { color: var(--k2-muted); }
.breadcrumb-link:hover { color: var(--k2-red); }

.k2-listing { padding-top: 34px; padding-bottom: 32px; }
.k2-listing__title { margin: 0 0 20px; font-size: 1.3rem; font-weight: 700; }

/* Toolbar across the whole width: sort on the right, page x/y on the left */
.k2-toolbar { display: flex; align-items: center; gap: 12px; min-height: 55px; margin-bottom: 20px; padding: 8px 16px; border-radius: var(--k2-radius-sm); background: var(--k2-card); font-size: .8rem; }
.k2-toolbar__sort { display: flex; align-items: center; gap: 10px; }
.k2-sort__label { white-space: nowrap; }
.k2-sort__btn { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 10px; border: 1px solid var(--k2-line); border-radius: 6px; background: #fff; color: var(--k2-text); font-size: .78rem; cursor: pointer; }
.k2-sort__btn .material-icons { font-size: 16px; color: var(--k2-muted); }
.k2-sort__btn:hover, .k2-sort__btn[aria-expanded="true"] { border-color: var(--k2-black); }
.k2-sort__menu { min-width: 190px; padding: 6px 0; border: 1px solid var(--k2-line); border-radius: var(--k2-radius-sm); box-shadow: 0 6px 18px rgba(0, 0, 0, .08); font-size: .8rem; text-align: right; }
.k2-sort__menu .dropdown-item { padding: 7px 14px; }
.k2-sort__menu .dropdown-item.current { color: var(--k2-red); font-weight: 600; background: transparent; }
.k2-toolbar__filter { display: none; align-items: center; gap: 4px; height: 32px; padding: 0 12px; border: 1px solid var(--k2-black); border-radius: 999px; background: #fff; font-size: .8rem; cursor: pointer; }
.k2-toolbar__filter .material-icons { font-size: 18px; }
.k2-toolbar__pager { display: flex; align-items: center; gap: 4px; margin-right: auto; color: var(--k2-muted); }
.k2-toolbar__count { min-width: 34px; text-align: center; direction: ltr; }
.k2-toolbar__page { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; color: var(--k2-text); }
.k2-toolbar__page:hover { background: var(--k2-bg); }
.k2-toolbar__page .material-icons { font-size: 26px; }

/* Filters: every filter is its own white card */
.k2-listing .left-block { margin: 0; padding: 0; border: 0; }
.k2-listing .search-filters { gap: 12px; }
.k2-listing .search-filters .accordion { --bs-accordion-bg: transparent; display: flex; flex-direction: column; gap: 12px; }
.k2-facet.accordion-item { padding: 6px 15px 12px; border: 0 !important; border-radius: var(--k2-radius-sm) !important; background: var(--k2-card); }
.k2-facet .accordion-button { gap: 8px; padding: 12px 0; border-bottom: 2px solid #eeeeee; background: transparent; box-shadow: none; color: var(--k2-text); font-size: .85rem; font-weight: 600; }
.k2-facet .accordion-button::after { width: 12px; height: 12px; margin-right: auto; margin-left: 0; background-size: 12px; transform: rotate(180deg); }
.k2-facet .accordion-button.collapsed::after { transform: none; }
.k2-facet .accordion-body { margin: 0; padding: 12px 0 0; list-style: none; }
.k2-facet .accordion-body > li { padding: 5px 0; }
.k2-facet .search-filters__form-check { gap: 10px; min-height: 0; margin: 0; }
.k2-facet .form-check-input { width: 16px; height: 16px; border-color: #c9c9c9; border-radius: 3px; }
.k2-facet .form-check-input:checked { background-color: var(--k2-black); border-color: var(--k2-black); }
.k2-facet .search-filters__link, .k2-facet .search-filters__color-label { color: var(--k2-text); font-size: .8rem; }
.k2-facet .search-filters__link:hover { color: var(--k2-red); }
.k2-facet .search-filters__magnitude { color: inherit; }
/* Range filters (weight, price): values above, grey bar with square handles, like the 1.7 shop */
.k2-facet .search-filters__slider-container { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 12px 0 6px; }
.k2-facet .search-filters__slider-values { order: -1; color: var(--k2-muted); font-size: .78rem; text-align: right; }
.k2-facet .noUi-horizontal { height: 12px; margin: 0 9px 6px; }
.k2-facet .noUi-target { border: 1px solid #c9c9c9; border-radius: 3px; background: #e8e8e8; box-shadow: none; }
.k2-facet .noUi-connects { border-radius: 3px; }
.k2-facet .noUi-connect { background: #dcdcdc; }
/* Handle and origin positions as in noUiSlider's own CSS (Hummingbird's RTL build flips them wrongly) */
.k2-facet .noUi-origin { right: 0; left: auto; }
.k2-facet .noUi-txt-dir-rtl.noUi-horizontal .noUi-origin { left: 0; right: auto; }
.k2-facet .noUi-txt-dir-rtl.noUi-horizontal .noUi-handle { left: -9px; right: auto; }
.k2-facet .noUi-horizontal .noUi-handle { top: -4px; right: -9px; width: 18px; height: 18px; border: 1px solid #b4b4b4; border-radius: 4px; background: #f3f3f3; box-shadow: none; }
.k2-facet .noUi-handle:hover, .k2-facet .noUi-active, .k2-facet .noUi-active:hover { border-color: var(--k2-black); background: #fff; }
/* Long lists (custom.js): search icon in the header, "+N more" link */
.k2-facet__search-btn { position: absolute; top: 50%; left: 24px; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--k2-text); cursor: pointer; }
.k2-facet__search-btn .material-icons { font-size: 20px; }
.k2-facet__head { position: relative; display: flex; align-items: center; border-bottom: 2px solid #eeeeee; }
.k2-facet__head > .accordion-button { flex: 1; border-bottom: 0; }
.k2-facet__search { display: block; width: 100%; height: 34px; margin-top: 10px; padding: 0 10px; border: 1px solid var(--k2-line); border-radius: 6px; font-size: .78rem; }
.k2-facet__search:focus { border-color: var(--k2-black); outline: 0; }
.k2-facet__more { display: inline-flex; align-items: center; gap: 2px; margin-top: 6px; padding: 0; border: 0; background: transparent; color: var(--k2-red); font-size: .8rem; cursor: pointer; }
.k2-facet__more .material-icons { font-size: 18px; }
.k2-facet [data-k2-hidden] { display: none; }

/* Subcategories: white tiles, image above, bold name */
.k2-subcats { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 38px; }
.k2-subcats__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 150px; min-height: 142px; padding: 14px 10px; border-radius: var(--k2-radius-sm); background: var(--k2-card); font-size: .85rem; font-weight: 700; text-align: center; transition: box-shadow .2s; }
.k2-subcats__item:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .08); color: var(--k2-text); }
.k2-subcats__media { display: block; }
.k2-subcats__img { display: block; width: 80px; height: 80px; object-fit: contain; }

/* Product grid: 3 per row next to the filters */
.k2-listing .products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.k2-listing .col-12 .products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.k2-listing .k2-card { padding: 12px 10px 18px; }
.k2-listing .k2-card__name { margin-top: 10px; font-size: .88rem; }
.k2-card__soldout { align-self: center; margin-top: 10px; padding: 0 5px; border: 2px solid #c4c4c4; color: var(--k2-muted); font-size: .72rem; line-height: 1.5; }
.k2-card--soldout .k2-card__name { height: auto; margin-bottom: 20px; }

/* Show more + count */
.k2-more { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 40px 0 26px; }
.k2-more__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 18px; border: 2px solid #333; border-radius: 999px; background: transparent; color: var(--k2-text); font-size: .85rem; transition: background .2s, color .2s; }
.k2-more__btn:hover { background: var(--k2-black); color: #fff; }
.k2-more__btn.is-loading { pointer-events: none; cursor: progress; }
/* Spinner while the next page loads */
.k2-more__btn.is-loading::before { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-left-color: transparent; border-radius: 50%; animation: k2-spin .7s linear infinite; }
@keyframes k2-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .k2-more__btn.is-loading::before { animation-duration: 2s; } }
.k2-more__count { margin: 0; color: var(--k2-muted); font-size: .8rem; }

/* Category text under the products */
.k2-catdesc { margin-top: 8px; padding: 30px 20px 30px 30px; border-radius: var(--k2-radius-sm); background: var(--k2-card); color: #000; font-size: 15px; line-height: 34px; }
.k2-catdesc h1, .k2-catdesc h2 { margin: 0 0 18px; font-size: 26px; font-weight: 700; line-height: 1.6; }
.k2-catdesc h3, .k2-catdesc h4 { margin: 30px 0 14px; font-size: 22px; font-weight: 700; line-height: 1.6; }
.k2-catdesc p { margin: 0 0 14px; }
.k2-catdesc a { color: var(--k2-red); font-weight: 700; }
.k2-catdesc img { max-width: 100%; height: auto; }

@media (max-width: 991.98px) {
  .k2-listing .products, .k2-listing .col-12 .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 767.98px) {
  .breadcrumb__wrapper { margin-top: 12px; }
  .breadcrumb { min-height: 42px; padding: 8px 14px; }
  .k2-listing { padding-top: 14px; }
  .k2-toolbar { flex-wrap: wrap; padding: 8px 12px; }
  .k2-toolbar__filter { display: inline-flex; margin-right: auto; }
  .k2-toolbar__pager { display: none; }
  .k2-subcats { flex-wrap: nowrap; gap: 12px; margin-inline: -12px; margin-bottom: 20px; padding: 0 12px 4px; overflow-x: auto; scrollbar-width: none; }
  .k2-subcats::-webkit-scrollbar { display: none; }
  .k2-subcats__item { flex: 0 0 116px; width: 116px; min-height: 120px; font-size: .78rem; }
  .k2-subcats__img { width: 64px; height: 64px; }
  .k2-listing .products { gap: 10px; }
  .k2-more { margin-top: 28px; }
  .k2-catdesc { padding: 20px 16px; font-size: 14px; line-height: 30px; }
  .k2-catdesc h1, .k2-catdesc h2 { font-size: 20px; }
  .k2-catdesc h3, .k2-catdesc h4 { font-size: 18px; }
}

/* ---------- product page like the 1.7 shop ---------- */
#product #center-column { padding-top: 20px; padding-bottom: 32px; }
/* Top: gallery (right) and white buy box (left) */
.k2-product.product__container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 25px; align-items: start; }
.k2-product__gallery { position: relative; min-width: 0; }
.k2-product__gallery .product__images { margin: 0; }
.k2-product__gallery .product__carousel { position: relative; padding: 20px; border-radius: var(--k2-radius-sm); background: var(--k2-card); }
.k2-product__gallery .carousel-item img { aspect-ratio: 1; object-fit: contain; }
.k2-product__gallery .carousel-control-prev, .k2-product__gallery .carousel-control-next { opacity: 0; transition: opacity .2s; }
.k2-product__gallery .product__carousel:hover .carousel-control-prev, .k2-product__gallery .product__carousel:hover .carousel-control-next { opacity: .6; }
.k2-product__gallery .product__zoom { display: inline-flex; right: auto; left: 10px; bottom: 10px; border: 0; background: transparent; box-shadow: none; color: var(--k2-muted); }
.k2-product__gallery .product__thumbnails { margin-top: 10px; }
.k2-product__gallery .product__thumbnails-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.k2-product__gallery .product__thumbnails-item { width: 72px; }
.k2-product__gallery .product__thumbnail { display: block; width: 100%; padding: 2px; border: 1px solid transparent; border-radius: 6px; background: var(--k2-card); }
.k2-product__gallery .product__thumbnail.active { border-color: var(--k2-black); }
.k2-product__gallery .product__thumbnail.active .product__thumbnail-image { outline: 0; }
/* Flags: "NEW" as the green corner ribbon, the other flags as small labels */
.k2-product__gallery .product-flags { position: absolute; inset: 0 0 auto auto; z-index: 5; width: 104px; height: 104px; padding: 0; overflow: hidden; border-top-right-radius: var(--k2-radius-sm); pointer-events: none; }
.k2-product__gallery .product-flags .badge { border-radius: 4px; font-weight: 600; }
.k2-product__gallery .product-flags .badge.new { position: absolute; top: 12px; right: -28px; width: 100px; padding: 2px 0; border: 0; border-radius: 0; transform: rotate(45deg); background: var(--k2-green); color: #fff; font-size: .62rem; letter-spacing: .5px; direction: ltr; }
.k2-product__gallery .product-flags .badge.discount, .k2-product__gallery .product-flags .badge.on-sale { margin: 10px 10px 0 0; border: 0; background: var(--k2-red); color: #fff; }
.k2-product__gallery .product-flags .badge.out_of_stock, .k2-product__gallery .product-flags .badge.online-only, .k2-product__gallery .product-flags .badge.pack { display: none; }

.k2-product__box { padding: 15px 15px 20px; border-radius: var(--k2-radius-sm); background: var(--k2-card); color: #777; font-size: .78rem; }
.k2-product__head { display: flex; align-items: flex-start; gap: 16px; padding-bottom: 15px; border-bottom: 1px solid var(--k2-line); }
.k2-product__titles { flex: 1; min-width: 0; }
.k2-product__name.product__name { margin: 0 0 14px; color: #444; font-size: 1.25rem; font-weight: 400; line-height: 1.6; }
.k2-product__en { margin: 0 0 18px; color: #777; font-size: .78rem; text-align: right; }
.k2-product__brand { font-size: .95rem; }
.k2-product__brand a { color: var(--k2-red); }
.k2-product__brand-logo { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 92px; height: 60px; padding: 4px; border: 1px solid var(--k2-line); border-radius: 6px; }
.k2-product__brand-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.k2-product__short { margin-top: 12px; }
.k2-product__short:empty { display: none; }

/* Buy form: stock, price, installments, button, club points (each part keeps the class the product script refreshes) */
.k2-buy { display: flex; flex-direction: column; padding-top: 18px; }
.k2-buy .js-product-add-to-cart { display: contents; }
.k2-buy .js-product-variants { order: 0; margin-bottom: 16px; }
.k2-padd__stock { order: 1; margin-bottom: 4px; }
.k2-buy .js-product-prices { order: 2; }
.k2-buy .js-product-discounts { order: 3; }
.k2-padd__row { order: 4; }
.k2-padd__min { order: 5; }
.k2-buy .js-product-additional-info { order: 6; }
.k2-buy > *:not(.js-product-add-to-cart):not(.js-product-variants):not(.js-product-prices):not(.js-product-discounts):not(.js-product-additional-info):not(input) { order: 7; }
.k2-padd__status { font-size: .78rem; }
.k2-padd__status.is-in { color: var(--k2-green); }
.k2-padd__status.is-low { color: #e09100; }
.k2-padd__status.is-out { color: var(--k2-red); }
.k2-padd__delivery { color: var(--k2-muted); }
.k2-pprice { margin-bottom: 8px; }
.k2-pprice__old { display: flex; align-items: center; gap: 8px; color: var(--k2-muted); font-size: .85rem; }
.k2-pprice__current { margin: 2px 0 6px; color: #333; font-size: 1.5rem; font-weight: 400; line-height: 1.6; }
.k2-pprice__unit { display: block; color: var(--k2-muted); }
.k2-pprice__parts { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 10px; }
/* Installments: grey rounded rows, text then the gateway tag, like the 1.7 shop */
.k2-pprice__parts .k2-card__part { justify-content: flex-start; gap: 14px; padding: 5px 10px 5px 6px; border-radius: 10px; background: #eef1f6; color: #5a6270; font-size: .8rem; }
.k2-pprice__parts .mkinst__tag { padding: 3px 8px; border-radius: 6px; font-size: .7rem; font-weight: 700; }
.k2-padd__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.k2-padd__qty { display: none; } /* like the 1.7 shop: one item per click; the field stays for the cart script */
.k2-padd__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 250px; height: 40px; padding: 0 16px; border: 2px solid #222; border-radius: 10px; background: #222; color: #fff; font-size: .9rem; cursor: pointer; transition: background .2s, color .2s; }
.k2-padd__btn:hover { background: #fff; color: #222; }
.k2-padd__btn .material-icons { font-size: 20px; }
.k2-padd__btn:disabled { border-color: #c4c4c4; background: #fff; color: var(--k2-muted); cursor: not-allowed; }
.k2-padd__min { margin-top: 8px; color: var(--k2-muted); }
.k2-buy .product__additional-info:empty { display: none; }

/* Combinations: colour thumbnails (module stprothumbgroup), swatches, size pills. Size from the module settings. */
.k2-variants { display: flex; flex-direction: column; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--k2-line); }
.k2-variant { min-width: 0; margin: 0; padding: 0; border: 0; }
.k2-variant__legend { float: none; width: auto; margin: 0 0 10px; padding: 0; color: #555; font-size: .85rem; font-weight: 400; }
.k2-variant__options { display: flex; flex-wrap: wrap; gap: 6px; }
.k2-variant__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.k2-variant__color, .k2-variant__pill { position: relative; cursor: pointer; }
.k2-variant__color { display: block; padding: 2px; border: 2px solid rgba(0, 0, 0, .1); border-radius: 10px; background: #fff; transition: border-color .15s; }
.k2-variant__color--thumb { width: var(--k2-variant-thumb-w, 80px); height: var(--k2-variant-thumb-h, 80px); }
.k2-variant__img { display: block; width: 100%; height: 100%; border-radius: 7px; object-fit: cover; }
.k2-variant__swatch { display: block; width: 30px; height: 30px; border-radius: 7px; background-size: cover; background-position: center; }
.k2-variant__swatch--text { width: auto; min-width: 30px; padding: 0 8px; font-size: .75rem; line-height: 30px; text-align: center; }
.k2-variant__color:hover { border-color: rgba(0, 0, 0, .35); }
.k2-variant__color.is-selected, .k2-variant__color:has(.k2-variant__input:checked) { border-color: #000; }
.k2-variant__pill { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid #cfcfcf; border-radius: 6px; background: #fff; color: #333; font-size: .82rem; }
.k2-variant__pill:hover { border-color: #000; }
.k2-variant__pill.is-selected, .k2-variant__pill:has(.k2-variant__input:checked) { border-color: #000; background: #000; color: #fff; }
.k2-variant__color:has(.k2-variant__input:focus-visible), .k2-variant__pill:has(.k2-variant__input:focus-visible) { outline: 2px solid var(--k2-red); outline-offset: 2px; }
/* no stock: faded with a diagonal line */
.k2-variant__color.is-out, .k2-variant__pill.is-out { opacity: .45; }
.k2-variant__color.is-out::after, .k2-variant__pill.is-out::after { content: ""; position: absolute; inset: 50% 4px auto; height: 1px; background: #666; transform: rotate(-35deg); pointer-events: none; }
.k2-variant__select { max-width: 320px; }
@media (max-width: 575.98px) {
  .k2-variant__color--thumb { width: min(var(--k2-variant-thumb-w, 80px), 64px); height: min(var(--k2-variant-thumb-h, 80px), 64px); }
}

/* Cart quantity field (after "add to cart"): label, then delete/−, quantity, + */
.k2-incart { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.k2-incart[hidden], .k2-padd__row [data-k2-add][hidden], .k2-incart__msg[hidden] { display: none !important; }
.k2-padd__add { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.k2-padd__add.is-busy .k2-incart__qty { opacity: .4; }
.k2-incart__label { color: var(--k2-muted); font-size: .75rem; }
.k2-incart__stepper { display: inline-flex; align-items: stretch; height: 40px; border: 1px solid #cfcfcf; border-radius: 6px; background: #fff; overflow: hidden; }
.k2-incart__btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; padding: 0; border: 0; background: transparent; color: var(--k2-black); cursor: pointer; }
.k2-incart__btn:hover:not(:disabled) { background: var(--k2-bg); }
.k2-incart__btn:disabled { color: #bbb; cursor: not-allowed; }
.k2-incart__btn .material-icons { font-size: 20px; }
.k2-incart__qty { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; border-inline: 1px solid #cfcfcf; font-weight: 600; }
.k2-incart.is-busy .k2-incart__qty { opacity: .4; }
.k2-incart__msg { margin: 0; color: var(--k2-red); font-size: .75rem; }

/* Out of stock with the stock alert module: no stock line and no disabled button, only the red "notify me" button (1.7 shop) */
.k2-buy:has(.k2-alert) .k2-padd__status.is-out, .k2-buy:has(.k2-alert) .k2-padd__btn:disabled { display: none; }
.k2-buy:has(.k2-alert) .k2-padd__btnwrap:has(.k2-padd__btn:disabled) { display: none; }
.k2-alert { margin-top: 14px; }
.k2-alert__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 190px; height: 34px; padding: 0 16px; border: 0; border-radius: 6px; background: #e33638; color: #fff; font-size: .82rem; cursor: pointer; transition: background .2s; }
.k2-alert__btn:hover { background: #c4262a; }
.k2-alert__email { max-width: 320px; margin-bottom: 8px; font-size: .82rem; }
.k2-alert__done { margin: 0; color: var(--k2-green); font-size: .82rem; }
.k2-alert [data-ps-target="emailalerts-alerts"] { margin-top: 8px; font-size: .8rem; }

/* Product video and size chart (module stvideo): links, play button on the image, windows */
.k2-media-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.k2-media-link { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 12px; border: 1px solid #cfcfcf; border-radius: 999px; background: #fff; color: var(--k2-text); font-size: .8rem; cursor: pointer; }
.k2-media-link:hover { border-color: var(--k2-black); }
.k2-media-link .material-icons { font-size: 18px; color: var(--k2-red); }
.k2-media-play { position: absolute; z-index: 6; display: flex; align-items: center; justify-content: center; width: var(--k2-video-icon-w, 48px); height: var(--k2-video-icon-h, 48px); padding: 0; border: 0; border-radius: 50%; background: var(--k2-video-bg, rgba(0, 0, 0, .65)); color: var(--k2-video-fg, #fff); cursor: pointer; transition: transform .2s; }
.k2-media-play:hover { transform: scale(1.08); }
.k2-media-play .material-icons { font-size: 30px; }
.k2-media-play--1, .k2-media-play--4, .k2-media-play--7 { left: var(--k2-play-x, 14px); }
.k2-media-play--3, .k2-media-play--6, .k2-media-play--9 { right: var(--k2-play-x, 14px); }
.k2-media-play--2, .k2-media-play--5, .k2-media-play--8 { left: calc(50% + var(--k2-play-x, 0px)); translate: -50% 0; }
.k2-media-play--1, .k2-media-play--2, .k2-media-play--3 { top: var(--k2-play-y, 14px); }
.k2-media-play--4, .k2-media-play--5, .k2-media-play--6 { top: calc(50% + var(--k2-play-y, 0px)); translate: 0 -50%; }
.k2-media-play--5 { translate: -50% -50%; }
.k2-media-play--7, .k2-media-play--8, .k2-media-play--9 { bottom: var(--k2-play-y, 14px); }
.k2-media-modal__dialog { max-width: min(var(--k2-video-max-w, 800px), calc(100vw - 24px)); }
.k2-media-modal .modal-header { direction: rtl; }
.k2-media-modal .modal-header .btn-close { margin: 0 auto 0 0; }
.k2-media-modal__text { margin-top: 12px; font-size: .85rem; line-height: 2; }
.k2-media-modal__text table { width: 100%; margin-bottom: 12px; border-collapse: collapse; }
.k2-media-modal__text th, .k2-media-modal__text td { padding: 6px 8px; border: 1px solid var(--k2-line); text-align: center; }
.k2-review-video iframe, .k2-review-video video { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--k2-radius-sm); }
.k2-review-video + .k2-review-video { margin-top: 20px; }

/* Shop promises */
.k2-promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 25px 0 0; padding: 18px 12px; list-style: none; border-radius: var(--k2-radius-sm); background: var(--k2-card); }
.k2-promises__item { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #333; font-size: .8rem; text-align: center; }
.k2-promises__item img { width: 56px; height: 56px; }

/* Links to the sections */
.k2-ptabs { display: flex; gap: 4px; margin-top: 25px; padding: 0 10px; overflow-x: auto; border-radius: var(--k2-radius-sm); background: var(--k2-card); scrollbar-width: none; }
.k2-ptabs::-webkit-scrollbar { display: none; }
.k2-ptabs__link { position: relative; flex: 0 0 auto; padding: 16px 20px; color: #000; font-size: .88rem; white-space: nowrap; }
.k2-ptabs__link::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 2px; background: transparent; transition: background .2s; }
.k2-ptabs__link.is-active::before, .k2-ptabs__link:hover::before { background: var(--k2-red); }
.k2-ptabs__link:hover { color: #000; }

/* Section cards */
.k2-psection { margin-top: 25px; padding: 30px; border-radius: var(--k2-radius-sm); background: var(--k2-card); color: #222; font-size: 15px; scroll-margin-top: 150px; }
.k2-psection__title { margin: 0 0 24px; font-size: 28px; font-weight: 700; line-height: 1.4; }
.k2-psection__body { line-height: 2; }
.k2-psection__body img { max-width: 100%; height: auto; }
.k2-psection__body p { margin: 0 0 12px; }
.k2-psection__body h2, .k2-psection__body h3 { margin: 20px 0 12px; font-weight: 700; }

/* Product information table: grey name and value cells */
.k2-specs__list { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.k2-specs__row { display: flex; gap: 15px; }
.k2-specs__row dt, .k2-specs__row dd { margin: 0; padding: 6px 10px; min-height: 44px; display: flex; align-items: center; border-radius: 6px; background: #f7f7f7; }
.k2-specs__row dt { flex: 0 0 150px; font-weight: 700; }
.k2-specs__row dd { flex: 1; min-width: 0; }
.k2-specs__row dd a { color: inherit; }
.k2-specs__ok { color: #72c279; font-size: 22px; }

.k2-attachments { margin: 0; padding: 0; list-style: none; }
.k2-attachments__item { padding: 8px 0; border-bottom: 1px solid var(--k2-line); }
.k2-attachments__size, .k2-attachments__desc { color: var(--k2-muted); font-size: .8rem; }
.k2-attachments__desc { margin: 4px 0 0; }

/* Related / recently viewed sliders under the sections */
#product .k2-products-slider { margin-top: 25px; }

@media (max-width: 991.98px) {
  .k2-product.product__container { grid-template-columns: 1fr; gap: 16px; }
  .k2-promises { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; margin-top: 16px; }
  .k2-psection { margin-top: 16px; padding: 20px 16px; font-size: 14px; scroll-margin-top: 90px; }
  .k2-psection__title { font-size: 22px; }
  .k2-ptabs { margin-top: 16px; }
}
@media (max-width: 575.98px) {
  .k2-padd__btn { flex: 1; min-width: 0; }
  .k2-padd__row .product__add-to-cart { flex: 1; }
  .k2-specs__row { gap: 8px; }
  .k2-specs__row dt { flex-basis: 110px; }
  .k2-ptabs__link { padding: 14px 12px; }
}
