/*
 * Pharmosan OBS — seasonal winter styles (theme Pharmosan/obs2-xmas).
 * Plain CSS on purpose: self-contained, no Tailwind rebuild of the parent.
 * Root font-size is 10px on this theme (Magento blank), so sizes are in px.
 */

@font-face {
    font-family: 'Bitter';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/Bitter/Bitter-Italic.ttf') format('truetype');
}

/* ---------- Header snowfall (header itself untouched) ---------- */

/* The header is position: fixed from 768px up; below that it is static,
   so give the overlay a containing block there. No visual change. */
@media (max-width: 767px) {
    .page-header {
        position: relative;
    }
}

.obs-xmas-snow {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    color: #ffffff;
    z-index: 1;
}

.obs-xmas-snow__defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.obs-xmas-snow__flake {
    position: absolute;
    display: block;
    animation-name: obsXmasFall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform;
}

@keyframes obsXmasFall {
    0%   { transform: translate3d(0, -24px, 0) rotate(0deg); }
    50%  { transform: translate3d(14px, 80px, 0) rotate(90deg); }
    100% { transform: translate3d(-8px, 200px, 0) rotate(180deg); }
}

@media (prefers-reduced-motion: reduce) {
    .obs-xmas-snow__flake {
        animation: none;
    }
}

/* ---------- Footer ---------- */

.page-footer {
    background: #ffffff;
    margin-top: 0;
    padding: 0;
}

.obs-xmas-footer {
    background: #ffffff;
    color: #1f2a24;
    font-size: 14px;
    line-height: 1.5;
}

.obs-xmas-footer__scene {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.obs-xmas-footer__hills {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 150px;
    display: block;
}

.obs-xmas-footer__hills path {
    fill: none;
    stroke-width: 1.5;
}

.obs-xmas-footer__tree {
    position: absolute;
    fill: none;
    stroke: #b7c3ca;
    stroke-width: 1.4;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.obs-xmas-footer__tree--accent {
    stroke: #007936;
}

.obs-xmas-footer__columns {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 24px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    box-sizing: border-box;
}

.obs-xmas-footer__column {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.obs-xmas-footer .obs-xmas-footer__title {
    margin: 0 0 6px;
    font-family: inherit;
    font-style: normal;
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5b6660;
    font-weight: 600;
}

.obs-xmas-footer .obs-xmas-footer__text {
    margin: 0;
}

.obs-xmas-footer a.obs-xmas-footer__link,
.obs-xmas-footer a.obs-xmas-footer__link:visited {
    color: #1f2a24;
    text-decoration: none;
}

.obs-xmas-footer a.obs-xmas-footer__link:hover,
.obs-xmas-footer a.obs-xmas-footer__link:focus {
    color: #007936;
    text-decoration: none;
}

.obs-xmas-footer a.obs-xmas-footer__link--accent,
.obs-xmas-footer a.obs-xmas-footer__link--accent:visited {
    color: #007936;
    font-weight: 600;
}

.obs-xmas-footer a.obs-xmas-footer__link--accent:hover {
    text-decoration: underline;
}

.obs-xmas-footer__greeting {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 28px;
    text-align: center;
}

.obs-xmas-footer .obs-xmas-footer__wish {
    margin: 0;
    font-family: 'Bitter', Georgia, serif;
    font-style: italic;
    font-size: 22px;
    line-height: 1.4;
    color: #1f2a24;
}

.obs-xmas-footer .obs-xmas-footer__signature {
    margin: 4px 0 0;
    color: #5b6660;
}

.obs-xmas-footer__bar {
    border-top: 1px solid #e6ebe8;
}

.obs-xmas-footer__bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    color: #5b6660;
    font-size: 13px;
    box-sizing: border-box;
}
