/* Small additions for the PHP site (ERP pictures, filters, form messages). The design itself is unchanged. */
.photo { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: contain; }
.pgal__mimg.photo { width: 100%; height: 100%; min-height: 320px; }
.cart-item__crop.photo { width: 100%; height: 100%; }
.pcard[hidden] { display: none !important; }
.form-note { grid-column: 1 / -1; margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: #f6f7f9; color: #1d2433; line-height: 1.6; }
.form-note a { color: var(--c-primary, #f32929); text-decoration: underline; }
.form-note--err { background: #fdecec; color: #b42318; }
.form-note--ok { background: #e9f8ef; color: #12733f; }
.ct-subject__options { flex-wrap: wrap; }
.ct-radio { flex: 1 1 calc(50% - 5px); }
.cart-item__name a { color: inherit; }
button.pd__buynow, button.pd__addcart { cursor: pointer; font: inherit; }

/* ── blog, posts, help pages ─────────────────────────── */
.wpage { padding: 48px 0 96px; }
.wpage__head { margin: 0 auto 40px; text-align: center; align-items: center; display: flex; flex-direction: column; gap: 16px; }
.wblog__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.wblog__grid .bcard__title { font-size: 20px; line-height: 1.4; }
.wpager { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.wpager a { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--c-stroke); color: var(--c-text); }
.wpager a.is-active, .wpager a:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.wpost { max-width: 860px; }
.wcrumbs { font-size: 15px; color: #667085; margin-bottom: 20px; }
.wcrumbs a { color: var(--c-primary); }
.wpost__title { font-size: clamp(28px, 4vw, 44px); line-height: 1.45; font-weight: 600; margin-bottom: 16px; }
.wpost__date { color: #667085; margin-bottom: 24px; }
.wpost__img { width: 100%; border-radius: 24px; margin-bottom: 32px; max-height: 480px; object-fit: cover; }
.wtext { font-size: 18px; line-height: 1.8; color: #344054; margin-bottom: 40px; }
.wtext p { margin: 0 0 18px; }
.wtext h2 { font-size: 24px; line-height: 1.4; font-weight: 600; color: var(--c-text); margin: 32px 0 12px; }
.wtext ul { list-style: disc; padding-left: 24px; margin: 0 0 18px; }
.wtext li { margin-bottom: 8px; }
.wtext a { color: var(--c-primary); text-decoration: underline; }
.wsupport { display: flex; flex-wrap: wrap; gap: 12px; }
.tcard__rating-cut { display: inline-block; overflow: hidden; height: 23px; flex: none; }
.tcard__rating-cut .tcard__rating { max-width: none; }
.tcard__video { display: inline-block; margin-top: 12px; color: var(--c-primary); font-weight: 500; text-decoration: underline; }
.ct-map__iframe { display: block; width: 100%; height: 520px; border: 0; border-radius: inherit; }
.ct-map__open { position: absolute; right: 16px; bottom: 16px; background: #fff; color: var(--c-text); padding: 10px 16px; border-radius: 999px; box-shadow: 0 4px 16px rgba(0,0,0,.15); font-weight: 500; }
.ct-map__frame { position: relative; }
@media (max-width: 1024px) { .wblog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .wblog__grid { grid-template-columns: 1fr; gap: 20px; } .wpage { padding: 28px 0 64px; } .wtext { font-size: 16px; } .ct-map__iframe { height: 360px; } }

/* ── footer: a car drives the red route ─────────────────── */
.footer__road-art { position: absolute; left: 50%; bottom: -38px; width: 1517px; transform: translateX(-50%); }
.footer__road .footer__road-art img { position: static; width: 100%; transform: none; display: block; }
.footer__road-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.road-trail { stroke-dasharray: 0 100; animation: road-trail 9s linear infinite; filter: drop-shadow(0 0 6px rgba(243, 41, 41, .8)); }
@keyframes road-trail { 0% { stroke-dasharray: 0 100; opacity: 1; } 85% { stroke-dasharray: 100 0; opacity: 1; } 100% { stroke-dasharray: 100 0; opacity: 0; } }
.road-pulse { fill: rgba(243, 41, 41, .5); transform-box: fill-box; transform-origin: center; animation: road-pulse 1.8s ease-out infinite; }
@keyframes road-pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(4); opacity: 0; } }
@media (max-width: 640px) { .footer__road-art { width: 760px; } }
@media (prefers-reduced-motion: reduce) { .road-trail, .road-pulse { animation: none; } .road-car { display: none; } }

/* language switch in the header */
.lang-switch { position: relative; }
.lang-badge { position: absolute; right: -8px; bottom: -6px; font-size: 10px; line-height: 1.3; font-weight: 600; padding: 1px 4px; border-radius: 6px; background: var(--c-primary, #f32929); color: #fff; font-family: var(--ff-en); }
.wtags { display: flex; flex-wrap: wrap; gap: 8px; margin: -16px 0 24px; }
.wtags li { padding: 6px 12px; border-radius: 999px; background: #f2f4f7; font-size: 14px; color: #344054; }
.wshare { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 32px; color: #667085; }
.wshare a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--c-stroke); color: var(--c-text); font-size: 14px; }
.wshare a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.wcta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px; border-radius: 24px; background: linear-gradient(135deg, rgba(243, 41, 41, .1), #fff 70%); border: 1px solid rgba(243, 41, 41, .25); margin-bottom: 40px; }
.wcta__title { font-size: 22px; font-weight: 600; margin-bottom: 6px; color: var(--c-text); }
.wcta__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.wrel { margin-top: 24px; }
.wrel__title { font-size: 28px; font-weight: 600; margin-bottom: 24px; }
