/* RT Home commerce widgets — Rimanto įrankiai
   Brand: dark #14171a · orange #f07922 */
.rt-wcprods, .rt-cats, .rt-trust { font-family: 'Montserrat', sans-serif; }
.rt-wcprods *, .rt-cats *, .rt-trust * { box-sizing: border-box; }

/* ===================== PRODUCTS ===================== */
.rt-wcprods { background: #fff; }
.rt-wcprods-inner { max-width: 1240px; margin: 0 auto; }
.rt-wcprods-head { text-align: center; margin-bottom: 36px; }
.rt-wcprods-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: #f07922; margin: 0 0 10px; }
.rt-wcprods-title { font-size: 34px; font-weight: 800; color: #14171a; margin: 0 0 12px; line-height: 1.15; }
.rt-wcprods-sub { font-size: 16px; color: #6b7280; max-width: 640px; margin: 0 auto; line-height: 1.6; }

.rt-wcprods-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.rt-pcard {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid #e8eaed; border-radius: 14px; overflow: hidden;
    box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 8px 24px rgba(16,24,40,.06);
    transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease, border-color .25s ease;
}
.rt-pcard:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(16,24,40,.14); border-color: #dfe2e6; }
.rt-pcard-media { position: relative; display: block; }
.rt-pcard-media img { width: 100%; aspect-ratio: 1/1; object-fit: contain; background: #fff; padding: 14px; display: block; transition: transform .35s ease; }
.rt-pcard:hover .rt-pcard-media img { transform: scale(1.05); }
.rt-pcard-cat {
    position: absolute; top: 12px; left: 12px;
    font-size: 10px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
    color: #d76812; background: #fff3e9; padding: 4px 9px; border-radius: 999px;
}
.rt-pcard-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 4px 16px 18px; }
.rt-pcard-title { font-size: 15px; font-weight: 600; line-height: 1.35; margin: 8px 0 0; min-height: 2.7em;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rt-pcard-title a { color: #14171a; text-decoration: none; }
.rt-pcard-title a:hover { color: #f07922; }
.rt-pcard-price { font-size: 18px; font-weight: 800; color: #14171a; margin: 8px 0 0; }
.rt-pcard-price del { color: #9aa0a6; font-weight: 500; }
.rt-pcard-price ins { text-decoration: none; }
.rt-buy {
    display: block; text-align: center; margin-top: 14px;
    padding: 12px 16px; border-radius: 10px;
    background: #f07922; color: #fff !important; text-decoration: none;
    font-weight: 700; font-size: 14px; border: 0; cursor: pointer;
    box-shadow: 0 4px 12px rgba(240,121,34,.28); transition: background .15s ease, transform .1s ease;
}
.rt-buy:hover { background: #d76812; }
.rt-buy:active { transform: translateY(1px); }
.rt-buy.added { background: #1f2937; }
.rt-buy.loading { opacity: .75; }
.rt-wcprods-more { text-align: center; margin-top: 36px; }
.rt-wcprods-viewall {
    display: inline-block; padding: 13px 28px; border: 2px solid #14171a; border-radius: 10px;
    color: #14171a; text-decoration: none; font-weight: 700; font-size: 15px; transition: all .15s ease;
}
.rt-wcprods-viewall:hover { background: #14171a; color: #fff; }

/* ===================== CATEGORIES ===================== */
.rt-cats { background: #f6f7f9; }
.rt-cats-inner { max-width: 1240px; margin: 0 auto; }
.rt-cats-head { text-align: center; margin-bottom: 34px; }
.rt-cats-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: #f07922; margin: 0 0 10px; }
.rt-cats-title { font-size: 34px; font-weight: 800; color: #14171a; margin: 0; line-height: 1.15; }
.rt-cats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.rt-cat-card {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
    background: #fff; border: 1px solid #e8eaed; border-radius: 14px; padding: 22px 16px;
    text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.rt-cat-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(16,24,40,.1); border-color: #f07922; }
.rt-cat-thumb { width: 84px; height: 84px; display: flex; align-items: center; justify-content: center; }
.rt-cat-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.rt-cat-name { font-size: 15px; font-weight: 700; color: #14171a; line-height: 1.3; }
.rt-cat-count { font-size: 12px; color: #6b7280; }

/* ===================== HERO BANNER (commerce + service showcase) ===================== */
.rt-hb {
    position: relative; display: flex; align-items: center;
    min-height: 540px; padding: 56px 24px;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    overflow: hidden;
}
.rt-hb-overlay { position: absolute; inset: 0; background: #0c0e10; opacity: .72; z-index: 1; }
.rt-hb-inner {
    position: relative; z-index: 2; width: 100%; max-width: 1240px; margin: 0 auto;
}
/* Single-column (no showcase) → centered */
.rt-hb-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.rt-hb--split .rt-hb-inner {
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; text-align: left;
}
/* min-width:0 lets the grid tracks shrink below their content's intrinsic
   (image) width — otherwise the row blows wider than a phone viewport and the
   whole page scales down, defeating the responsive breakpoints. */
.rt-hb-copy, .rt-hb-showcase { min-width: 0; }
.rt-hb--split .rt-hb-copy { align-items: flex-start; }

.rt-hb-copy { display: flex; flex-direction: column; gap: 18px; align-items: center; }
.rt-hb--split .rt-hb-copy { align-items: flex-start; }

.rt-hb-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 700; letter-spacing: .04em;
    color: #f7a861; background: rgba(240,121,34,.14); border: 1px solid rgba(240,121,34,.35);
    padding: 7px 14px; border-radius: 999px;
}
.rt-hb-title { font-size: 46px; font-weight: 800; line-height: 1.1; color: #fff; margin: 0; text-shadow: 0 2px 20px rgba(0,0,0,.4); overflow-wrap: break-word; }
.rt-hb-sub, .rt-hb-big-name { overflow-wrap: break-word; }
.rt-hb-sub { font-size: 16.5px; line-height: 1.6; color: #cdd1d6; margin: 0; max-width: 540px; }

.rt-hb-pills { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; }
.rt-hb--split .rt-hb-pills { justify-content: flex-start; }
.rt-hb-pills li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: #e9eaec; }
.rt-hb-pills svg { color: #f07922; flex: 0 0 auto; }

.rt-hb-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.rt-hb-btn {
    display: inline-flex; align-items: center; gap: 9px; padding: 15px 30px; border-radius: 11px;
    text-decoration: none; font-size: 16px; font-weight: 700; letter-spacing: .01em;
    transition: transform .12s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.rt-hb-btn-primary { background: #f07922; color: #fff; box-shadow: 0 10px 24px rgba(240,121,34,.36); }
.rt-hb-btn-primary:hover { background: #d76812; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(240,121,34,.45); }
.rt-hb-btn-primary:active { transform: translateY(0); }
.rt-hb-btn-ghost { background: rgba(255,255,255,.06); color: #fff; border: 2px solid rgba(255,255,255,.55); padding: 13px 28px; }
.rt-hb-btn-ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; transform: translateY(-2px); }

.rt-hb-phone {
    display: inline-flex; align-items: center; gap: 9px; color: #cdd1d6;
    font-size: 16px; font-weight: 600; text-decoration: none; transition: color .15s ease;
}
.rt-hb-phone:hover { color: #fff; }
.rt-hb-phone svg { flex: 0 0 auto; color: #f07922; }

/* ---- Single-product auto-slider card ---- */
.rt-hb-showcase { width: 100%; max-width: 420px; margin-left: auto; }
.rt-hb--split .rt-hb-inner > .rt-hb-showcase { justify-self: end; }
.rt-hb-slider {
    background: rgba(255,255,255,.98); border-radius: 20px; padding: 18px 18px 16px;
    box-shadow: 0 24px 60px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.5);
}
.rt-hb-shopcard-head { display: flex; align-items: center; justify-content: space-between; margin: 2px 2px 14px; }
.rt-hb-shopcard-title { font-size: 16px; font-weight: 800; color: #14171a; letter-spacing: .01em; }
.rt-hb-shopcard-all { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: #f07922; text-decoration: none; }
.rt-hb-shopcard-all:hover { color: #d76812; }

.rt-hb-viewport { position: relative; overflow: hidden; border-radius: 14px; width: 100%; max-width: 100%; }
.rt-hb-track { display: flex; width: 100%; transition: transform .5s cubic-bezier(.4,.0,.2,1); }
.rt-hb-slide { flex: 0 0 100%; width: 100%; min-width: 0; }
.rt-hb-bigprod { display: block; text-decoration: none; }
.rt-hb-big-media { display: block; aspect-ratio: 4/3; background: #f4f5f7; overflow: hidden; border-radius: 14px; }
.rt-hb-big-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.rt-hb-bigprod:hover .rt-hb-big-media img { transform: scale(1.05); }
.rt-hb-big-info { padding: 14px 4px 2px; text-align: left; }
.rt-hb-big-name { display: block; font-size: 16px; font-weight: 700; color: #14171a; line-height: 1.35; text-decoration: none;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.rt-hb-big-name:hover { color: #f07922; }
.rt-hb-big-price { display: block; font-size: 22px; font-weight: 800; color: #f07922; margin: 6px 0 12px; }
.rt-hb-big-price del { color: #9aa0a6; font-weight: 500; font-size: 16px; margin-right: 6px; }
.rt-hb-big-price ins { text-decoration: none; }
.rt-hb-big-btn {
    display: inline-flex; align-items: center; gap: 8px; width: 100%; justify-content: center;
    padding: 12px 18px; border-radius: 10px; background: #14171a; color: #fff; text-decoration: none;
    font-size: 14.5px; font-weight: 700; transition: background .15s ease, transform .1s ease;
}
.rt-hb-big-btn:hover { background: #f07922; }
.rt-hb-big-btn:active { transform: translateY(1px); }

/* nav arrows */
.rt-hb-slider .rt-hb-nav {
    position: absolute; top: 38%; transform: translateY(-50%);
    width: 40px !important; height: 40px !important; min-width: 0; padding: 0; margin: 0;
    border-radius: 999px !important; border: 1.5px solid rgba(255,255,255,.85) !important; cursor: pointer;
    background: #14171a !important; color: #fff !important; box-shadow: 0 4px 14px rgba(0,0,0,.4);
    display: flex; align-items: center; justify-content: center; line-height: 0;
    transition: background .15s ease, transform .15s ease; z-index: 5; opacity: .96;
}
.rt-hb-slider .rt-hb-nav:hover { background: #f07922 !important; opacity: 1; }
.rt-hb-slider .rt-hb-nav svg { stroke: #fff; }
.rt-hb-prev { left: 10px; }
.rt-hb-next { right: 10px; }

/* dots */
.rt-hb-dots { display: flex; justify-content: center; gap: 7px; margin-top: 14px; }
.rt-hb-dot { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; cursor: pointer;
    background: #d3d7dc; transition: background .2s ease, width .2s ease; }
.rt-hb-dot.is-active { background: #f07922; width: 22px; }

/* ===================== OFFERINGS (Pagrindiniai pasiūlymai) ===================== */
.rt-offers { background: #fff; }
.rt-offers-inner { max-width: 1240px; margin: 0 auto; }
.rt-offers-head { text-align: center; margin-bottom: 40px; }
.rt-offers-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #f07922; margin: 0 0 10px; }
.rt-offers-title { font-size: 36px; font-weight: 800; color: #14171a; margin: 0 0 12px; line-height: 1.15; }
.rt-offers-sub { font-size: 16px; color: #6b7280; max-width: 680px; margin: 0 auto; line-height: 1.6; }
.rt-offers-head[style*="left"] .rt-offers-sub { margin-left: 0; }

.rt-offers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.rt-offer {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid #ebedf0; border-radius: 16px; overflow: hidden;
    box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 10px 28px rgba(16,24,40,.06);
    transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease, border-color .28s ease;
}
.rt-offer:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(16,24,40,.14); border-color: #e0e3e7; }
.rt-offer-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #f1f2f4; }
.rt-offer-media a { display: block; width: 100%; height: 100%; }
.rt-offer-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.rt-offer:hover .rt-offer-media img { transform: scale(1.06); }
.rt-offer-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 22px 24px 26px; }
.rt-offer-title { font-size: 21px; font-weight: 700; color: #14171a; margin: 0 0 10px; line-height: 1.25; }
.rt-offer-desc { font-size: 15px; line-height: 1.65; color: #5a626b; margin: 0; }
.rt-offer-link {
    display: inline-flex; align-items: center; gap: 7px; margin-top: 16px;
    font-size: 14px; font-weight: 700; color: #f07922; text-decoration: none;
}
.rt-offer-link svg { transition: transform .2s ease; }
.rt-offer:hover .rt-offer-link svg { transform: translateX(4px); }

/* ===================== TRUST BADGES ===================== */
.rt-trust { background: #14171a; }
.rt-trust-inner { max-width: 1240px; margin: 0 auto; padding: 30px 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.rt-trust-item { display: flex; align-items: center; gap: 14px; }
.rt-trust-icon { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 999px; background: rgba(240,121,34,.12); color: #f07922; display: flex; align-items: center; justify-content: center; }
.rt-trust-copy { display: flex; flex-direction: column; }
.rt-trust-title { color: #fff; font-weight: 700; font-size: 15px; }
.rt-trust-text { color: #aab1b9; font-size: 13px; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 991px) {
    .rt-wcprods-title, .rt-cats-title, .rt-offers-title { font-size: 28px; }
    .rt-trust-inner { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .rt-offers-grid { grid-template-columns: repeat(2, 1fr); }
    .rt-offer-title { font-size: 19px; }
    .rt-hb { padding: 52px 24px; }
    .rt-hb-title { font-size: 38px; }
    .rt-hb-sub { font-size: 16px; max-width: 600px; }
    .rt-hb--split .rt-hb-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .rt-hb--split .rt-hb-copy { align-items: center; }
    .rt-hb--split .rt-hb-pills { justify-content: center; }
    .rt-hb-showcase, .rt-hb--split .rt-hb-inner > .rt-hb-showcase { max-width: 440px; margin: 0 auto; width: 100%; justify-self: center; }
    .rt-hb-big-info { text-align: center; }
}
@media (max-width: 600px) {
    .rt-wcprods-title, .rt-cats-title, .rt-offers-title { font-size: 23px; }
    .rt-wcprods-grid { gap: 14px; }
    .rt-cats-grid { gap: 12px; }
    .rt-trust-inner { grid-template-columns: 1fr; gap: 16px; }
    .rt-pcard-title { font-size: 14px; }
    .rt-pcard-price { font-size: 16px; }
    .rt-offers-grid { grid-template-columns: 1fr; gap: 18px; }
    .rt-offers-head { margin-bottom: 28px; }
    .rt-offer-body { padding: 18px 18px 22px; }
    .rt-offer-title { font-size: 19px; }
    .rt-offer-desc { font-size: 14.5px; }
    .rt-hb { padding: 44px 18px; min-height: 0 !important; }
    .rt-hb-inner, .rt-hb-copy { gap: 15px; }
    .rt-hb-title { font-size: 30px; }
    .rt-hb-sub { font-size: 15.5px; }
    .rt-hb-phone { font-size: 15px; }
    .rt-hb-badge { font-size: 12px; padding: 6px 12px; }
    .rt-hb-actions { width: 100%; flex-direction: column; }
    .rt-hb-btn { width: 100%; justify-content: center; padding: 14px 24px; }
    .rt-hb-btn-ghost { padding: 12px 24px; }
    .rt-hb-slider { padding: 14px; border-radius: 16px; }
    .rt-hb-big-name { font-size: 15px; }
    .rt-hb-big-price { font-size: 20px; }
}
