/* ==========================================================================
   QPack UK Seasonal Xmas / Winter Settled Snow Accents
   - Custom sculpted snow draped directly onto "PACK" + Santa Hat on "Q"
     (Header & Footer QPack Logos)
   - Frosted snow caps on top bar, nav menu, CTA buttons, and footer divider
   - Zero snow on headings or images; zero click interception
   ========================================================================== */

:root {
  /* Santa Hat tilted gracefully left to hug the circular Q crown */
  --qp-santa-hat-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 112 82'%3E%3Cdefs%3E%3ClinearGradient id='rA' x1='0.15' y1='0' x2='0.85' y2='1'%3E%3Cstop offset='0%25' stop-color='%23f53b40'/%3E%3Cstop offset='50%25' stop-color='%23d41821'/%3E%3Cstop offset='100%25' stop-color='%238c0f15'/%3E%3C/linearGradient%3E%3ClinearGradient id='fA' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23ffffff'/%3E%3Cstop offset='65%25' stop-color='%23f2f8fc'/%3E%3Cstop offset='100%25' stop-color='%23d4e7f1'/%3E%3C/linearGradient%3E%3CradialGradient id='pA' cx='38%25' cy='32%25' r='68%25'%3E%3Cstop offset='0%25' stop-color='%23ffffff'/%3E%3Cstop offset='65%25' stop-color='%23eef7fb'/%3E%3Cstop offset='100%25' stop-color='%23cfe3ee'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M32,55 C32,26 47,7 66,8 C79,9 92,26 96,55 C74,47 53,47 32,55 Z' fill='url(%23rA)'/%3E%3Cpath d='M66,8 C47,7 27,13 17,29 C16,32 21,35 26,33 C34,25 46,20 59,20 C51,14 58,9 66,8 Z' fill='%23b5141c'/%3E%3Cpath d='M65,8 C49,8 30,15 20,28 C33,19 46,16 58,17 C50,24 44,35 42,49 L35,51 C37,33 46,16 65,8 Z' fill='%23ffffff' opacity='0.16'/%3E%3Cpath d='M25,58 C23,53 28,47 35,48 C39,44 47,44 52,47 C58,43 68,43 74,47 C80,44 88,45 91,49 C98,49 102,54 100,59 C98,64 91,65 86,62 C79,63 73,60 66,61 C59,62 52,59 46,61 C39,63 32,64 28,61 C26,60 25,59 25,58 Z' fill='url(%23fA)' stroke='%23abc9d8' stroke-width='0.75'/%3E%3Cpath d='M16,25 C19.5,24 23,26 24.5,29 C26,32 24.5,36 22,38.5 C19,41 14,41 11,38.5 C8,36 8,31 10,28 C11.5,26 13.5,25 16,25 Z' fill='url(%23pA)' stroke='%23abc9d8' stroke-width='0.75'/%3E%3C/svg%3E");

  /* Bespoke 4-letter snow drape shaped to sit directly onto P A C K top contours */
  --qp-logo-pack-snow-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 44' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='ls' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23ffffff'/%3E%3Cstop offset='54%25' stop-color='%23ebf6fb'/%3E%3Cstop offset='88%25' stop-color='%23c8e2ee'/%3E%3Cstop offset='100%25' stop-color='%23aed1e2'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M3,23 C3,12 15,5 29,6 C41,7 50,13 56,14 C62,14 66,4 75,4 C85,4 90,13 96,13 C106,12 115,3 130,3 C145,4 154,12 162,12 C169,11 176,4 188,5 C201,6 213,10 216,21 C217,27 211,31 204,27 C196,23 191,34 184,29 C177,24 170,29 162,27 C155,25 151,36 146,31 C141,27 135,23 127,24 C118,25 110,30 103,26 C95,22 88,28 81,25 C73,23 68,35 61,32 C55,29 52,22 44,25 C34,27 25,31 16,27 C9,24 4,30 3,23 Z' fill='url(%23ls)' stroke='%23729fb5' stroke-width='1.35' stroke-linejoin='round'/%3E%3Cpath d='M13,13 C23,10 34,11 43,14 M68,9 C74,7 80,9 84,12 M115,9 C125,7 137,7 145,10 M176,10 C186,9 197,10 204,14' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' opacity='0.95'/%3E%3C/svg%3E");

  /* Button snow cap */
  --qp-snow-cap-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 18' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='sb' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23ffffff'/%3E%3Cstop offset='68%25' stop-color='%23eef7fa'/%3E%3Cstop offset='100%25' stop-color='%23cce4ee'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M1,11 C4,5 16,3 28,6 C41,9 51,1 70,2 C90,3 99,8 118,5 C137,2 153,1 168,5 C176,7 179,11 178,15 C174,17 169,11 160,11 C148,11 142,15 130,13 C117,11 107,15 92,13 C77,11 66,15 50,12 C34,9 23,14 11,12 C5,11 2,16 1,11 Z' fill='url(%23sb)' stroke='%239bc3d5' stroke-width='0.8'/%3E%3C/svg%3E");

  /* Seamless repeating horizontal ridge (matching left/right Y and tangents) */
  --qp-snow-ridge-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 16' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='st' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23ffffff'/%3E%3Cstop offset='70%25' stop-color='%23eff7fb'/%3E%3Cstop offset='100%25' stop-color='%23cde4ee'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0,6 C20,6 30,2 50,4 C70,6 85,10 108,5 C130,0 148,8 172,5 C195,2 215,6 240,6 L240,12 C215,12 198,15 174,12 C150,9 132,15 108,12 C84,9 66,14 44,12 C22,10 12,12 0,12 Z' fill='url(%23st)' stroke='none'/%3E%3Cpath d='M0,6 C20,6 30,2 50,4 C70,6 85,10 108,5 C130,0 148,8 172,5 C195,2 215,6 240,6 M0,12 C12,12 22,10 44,12 C66,14 84,9 108,12 C132,15 150,9 174,12 C198,15 215,12 240,12' fill='none' stroke='%239ec5d6' stroke-width='0.75'/%3E%3C/svg%3E");

  /* Compact soft puff cap */
  --qp-snow-puff-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 18' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='sp' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23ffffff'/%3E%3Cstop offset='70%25' stop-color='%23edf7fb'/%3E%3Cstop offset='100%25' stop-color='%23cbe3ee'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M2,12 C8,4 22,2 35,6 C49,9 60,1 78,2 C95,3 109,5 117,11 C119,15 112,16 105,12 C95,12 85,15 73,13 C60,11 50,15 36,12 C23,10 13,14 2,12 Z' fill='url(%23sp)' stroke='%239bc3d5' stroke-width='0.8'/%3E%3C/svg%3E");
}

/* ==========================================================================
   1. QPACK LOGO: SANTA HAT ON "Q" + BESPOKE SNOW ON "PACK"
   ========================================================================== */
.qn-logo,
.qf-logo {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  overflow: visible !important;
}

.qn-logo-centred .qn-logo {
  margin-inline: auto;
}

.qf-logo {
  width: 220px !important;
  max-width: 100% !important;
}

/* Draped snow sitting directly onto P A C K letters */
.qn-logo::before,
.qf-logo::before {
  content: "";
  position: absolute;
  left: 27%;
  width: 67%;
  top: 2.5%;
  height: 35%;
  background: var(--qp-logo-pack-snow-svg) center/100% 100% no-repeat;
  filter: drop-shadow(0 2px 3px rgba(3, 37, 57, 0.28));
  pointer-events: none;
  z-index: 3;
}

/* Santa Hat tilted onto top of circular "Q" */
.qn-logo::after,
.qf-logo::after {
  content: "";
  position: absolute;
  left: -2.8%;
  width: 29.5%;
  top: -22%;
  height: 55%;
  background: var(--qp-santa-hat-svg) center bottom/contain no-repeat;
  filter: drop-shadow(0 2px 3px rgba(3, 37, 57, 0.24));
  transform: rotate(-10deg);
  transform-origin: 60% 80%;
  pointer-events: none;
  z-index: 4;
}

.qf-logo::before {
  top: 4.5%;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

.qf-logo::after {
  left: -2.6%;
  top: -20%;
  height: 55%;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.34));
}

/* ==========================================================================
   2. MENU & ANNOUNCEMENT BAR SNOW LEDGES
   ========================================================================== */
.qn-top {
  position: relative !important;
  overflow: visible !important;
}

.qn-top::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 11px;
  background: var(--qp-snow-ridge-svg) left center/240px 100% repeat-x;
  filter: drop-shadow(0 2px 2px rgba(3, 37, 57, 0.14));
  pointer-events: none;
  z-index: 4;
}

.qn-nav-shell {
  position: relative !important;
  overflow: visible !important;
}

.qn-nav-shell::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -5px;
  height: 9px;
  background: var(--qp-snow-ridge-svg) 35px center/240px 100% repeat-x;
  opacity: 0.94;
  pointer-events: none;
  z-index: 2;
}

.qn-menu > summary,
.qn-contact-link {
  position: relative !important;
  overflow: visible !important;
}

.qn-menu > summary::before,
.qn-contact-link::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 4px;
  right: 12px;
  height: 8px;
  background: var(--qp-snow-puff-svg) center/100% 100% no-repeat;
  filter: drop-shadow(0 1px 2px rgba(3, 37, 57, 0.14));
  opacity: 0.9;
  pointer-events: none;
  z-index: 3;
}

.qn-menu[open] > summary::before,
.qn-menu > summary:hover::before,
.qn-menu > summary.qn-active::before {
  top: -5px;
  height: 10px;
  opacity: 1;
}

/* ==========================================================================
   3. ALL PRIMARY & SECONDARY BUTTONS SITE-WIDE
   ========================================================================== */
.qn-3d-studio-btn,
.qn-3d-btn,
.qn-quote,
.qwa-header-link,
.qn-wa-pill,
.hm-button:not(.hm-button-text),
.hm-btn,
.qcb-pf-btn-quote,
.qcb-pf-btn-message,
.qcb-btn,
.qc-button,
.qf-button,
.qq-submit,
.qq-btn,
.hm-filters button[aria-pressed="true"],
.pw-finish-tab-btn.active {
  position: relative !important;
  overflow: visible !important;
}

.qn-3d-studio-btn::before,
.qn-3d-btn::before,
.qn-quote::before,
.qn-wa-pill::before,
.hm-button:not(.hm-button-text)::before,
.hm-btn::before,
.qcb-pf-btn-quote::before,
.qcb-pf-btn-message::before,
.qcb-btn::before,
.qc-button::before,
.qf-button::before,
.qq-submit::before,
.qq-btn::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -3px;
  right: -3px;
  height: 13px;
  background: var(--qp-snow-cap-svg) center/100% 100% no-repeat;
  filter: drop-shadow(0 2px 3px rgba(3, 37, 57, 0.22));
  pointer-events: none;
  z-index: 4;
}

.qwa-header-link::before,
.hm-filters button[aria-pressed="true"]::before,
.pw-finish-tab-btn.active::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 2px;
  right: 2px;
  height: 10px;
  background: var(--qp-snow-puff-svg) center/100% 100% no-repeat;
  filter: drop-shadow(0 1px 2px rgba(3, 37, 57, 0.18));
  pointer-events: none;
  z-index: 4;
}

/* ==========================================================================
   4. DARK FOOTER TOP LEDGE (No headings, no images)
   ========================================================================== */
.qf::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 14px;
  background: var(--qp-snow-ridge-svg) left center/240px 100% repeat-x;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.24));
  pointer-events: none;
  z-index: 5;
}

@media (max-width: 600px) {
  .qn-logo::before {
    top: 2.5%;
    height: 35%;
  }
  .qn-logo::after {
    top: -20%;
    left: -2.8%;
    width: 29.5%;
    height: 54%;
  }
  .qn-3d-studio-btn::before,
  .qn-3d-btn::before,
  .qn-quote::before,
  .qn-wa-pill::before,
  .hm-button:not(.hm-button-text)::before,
  .hm-btn::before,
  .qcb-btn::before,
  .qc-button::before,
  .qf-button::before {
    height: 10px;
    top: -5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  /* Static seasonal accents stay cleanly visible */
}
