:root {
  --hp-blue: #2c3890;
  --hp-blue-deep: #18205a;
  --hp-navy: #0f1433;
  --hp-slate: #232f3e;
  --hp-link: #2185c5;
  --hp-sky: #5fb4ec;
  --hp-green: #7ab51d;
  --hp-green-dark: #64981a;
  --hp-red: #d8262f;
  --hp-gold: #f2a91e;
  --paper: #f6f4f2;
  --white: #ffffff;
  --ink: #141824;
  --muted: #5b6475;
  --line: #e2e0dc;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -20px rgba(15, 20, 51, 0.35);
  --shadow-sm: 0 6px 20px -8px rgba(15, 20, 51, 0.25);
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --hero-grad:
    radial-gradient(900px 400px at 85% 0%, rgba(95, 180, 236, .28), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(44, 56, 144, .9), transparent 70%),
    linear-gradient(135deg, var(--hp-blue) 0%, var(--hp-blue-deep) 55%, var(--hp-navy) 100%);

  /* Icon set (Font Awesome 3 class names used by the store markup) */
  --svg: "data:image/svg+xml,";
  --i-menu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16'/%3E%3C/svg%3E");
  --i-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E");
  --i-cart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 3.5h2.6l2.3 11.1a2 2 0 0 0 2 1.6h7.9a2 2 0 0 0 1.9-1.5L21 7.5H6'/%3E%3Ccircle cx='10' cy='20' r='1.4'/%3E%3Ccircle cx='17.5' cy='20' r='1.4'/%3E%3C/svg%3E");
  --i-share: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='18' cy='5' r='2.6'/%3E%3Ccircle cx='6' cy='12' r='2.6'/%3E%3Ccircle cx='18' cy='19' r='2.6'/%3E%3Cpath d='M8.3 10.8l7.4-4.4M8.3 13.2l7.4 4.4'/%3E%3C/svg%3E");
  --i-download: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M7 10l5 5 5-5M5 21h14'/%3E%3C/svg%3E");
  --i-home: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-8 9 8M5 9.5V21h5v-6h4v6h5V9.5'/%3E%3C/svg%3E");
  --i-tags: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4l-7.2 7.2a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.6'/%3E%3C/svg%3E");
  --i-dollar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 2v20M17 6H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6'/%3E%3C/svg%3E");
  --i-money: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='2' y='6' width='20' height='12' rx='2'/%3E%3Ccircle cx='12' cy='12' r='2.6'/%3E%3C/svg%3E");
  --i-signin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4M10 17l5-5-5-5M15 12H3'/%3E%3C/svg%3E");
  --i-user: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E");
  --i-folder: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E");
  --i-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8L12 21.2l8.8-8.8a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E");
  --i-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 16.5v-5M12 8h.01'/%3E%3C/svg%3E");
  --i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E");
  --i-marker: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6.5-8 12-8 12s-8-5.5-8-12a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='2.8'/%3E%3C/svg%3E");
  --i-chev-left: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E");
  --i-chev-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
  --i-chev-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 15l6-6 6 6'/%3E%3C/svg%3E");
  --i-chev-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  --i-spinner: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M21 12a9 9 0 1 1-6.2-8.6'/%3E%3C/svg%3E");
  --i-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.8l3.1 6.4 7 1-5.1 4.9 1.2 7-6.2-3.3-6.2 3.3 1.2-7L1.9 9.2l7-1z'/%3E%3C/svg%3E");
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --i-truck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M1.5 4.5h13v11h-13zM14.5 8.5h4l3 3.5v3.5h-7z'/%3E%3Ccircle cx='6' cy='18' r='2'/%3E%3Ccircle cx='17.5' cy='18' r='2'/%3E%3C/svg%3E");
  --i-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
  --i-tag-price: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12l9-9h8v8l-9 9z'/%3E%3Ccircle cx='15.5' cy='8.5' r='1.4'/%3E%3C/svg%3E");
}

/* ======================================================================
   Base
   ====================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.box-description img { max-width: 100%; }

a { color: var(--hp-link); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--hp-blue); }

h1, h2, h3, h4, h5, h6 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; color: var(--ink); font-weight: 700; }
h1 { font-size: 2em; font-weight: 900; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.17em; }
h4 { font-size: 1em; }
h5 { font-size: .9em; }
h6 { font-size: .8em; text-transform: uppercase; letter-spacing: .08em; }

p { margin: 0 0 1em; }
strong, b { font-weight: 700; }
small { font-size: .85em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
ul, ol { margin: 0 0 1em; }

/* Headings used as cell values (store markup) read as body text */
th :is(h1, h2, h3, h4, h5, h6),
td :is(h1, h2, h3, h4, h5, h6) { margin: 0; font-size: inherit; font-weight: inherit; letter-spacing: 0; line-height: inherit; color: inherit; }
th { text-align: left; }

button, input, select, textarea { font: inherit; color: inherit; }

input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="tel"], input[type="number"], input:not([type]), textarea, select {
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white);
  padding: .65em .9em; outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, input[type="number"]:focus, input:not([type]):focus, textarea:focus, select:focus {
  border-color: var(--hp-link); box-shadow: 0 0 0 3px rgba(33, 133, 197, .18);
}

:focus-visible { outline: 3px solid var(--hp-sky); outline-offset: 2px; }

table { border-collapse: collapse; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }

/* Utility classes used by the store markup */
.no-display,
.print-only,
h1.logo strong,
a.logo strong { display: none !important; }
.clear, .clearer { clear: both; }
.clearer::after { content: ""; display: table; clear: both; }
.inherit { color: inherit; }
.inherit:hover { color: inherit; }

/* ======================================================================
   Icons
   ====================================================================== */
[class^="icon-"],
[class*=" icon-"] {
  display: inline-block; flex: none;
  width: 1em; height: 1em; vertical-align: -0.125em;
  background-color: currentColor;
  -webkit-mask: var(--i, var(--i-info)) center / contain no-repeat;
  mask: var(--i, var(--i-info)) center / contain no-repeat;
  font-style: normal;
}
.icon-reorder { --i: var(--i-menu); }
.icon-search { --i: var(--i-search); }
.icon-shopping-cart { --i: var(--i-cart); }
.icon-share { --i: var(--i-share); }
.icon-download { --i: var(--i-download); }
.icon-home { --i: var(--i-home); }
.icon-tags { --i: var(--i-tags); }
.icon-dollar { --i: var(--i-dollar); }
.icon-money { --i: var(--i-money); }
.icon-signin { --i: var(--i-signin); }
.icon-signout { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4M16 17l5-5-5-5M21 12H9'/%3E%3C/svg%3E"); }
.icon-user { --i: var(--i-user); }
.icon-folder-open { --i: var(--i-folder); }
.icon-heart { --i: var(--i-heart); }
.icon-info-sign { --i: var(--i-info); }
.icon-phone { --i: var(--i-phone); }
.icon-map-marker { --i: var(--i-marker); }
.icon-chevron-left { --i: var(--i-chev-left); }
.icon-chevron-right,
.icon-caret-right { --i: var(--i-chev-right); }
.icon-spinner { --i: var(--i-spinner); }
.icon-star,
.icon-star-empty { --i: var(--i-star); }
.icon-facebook { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 22v-8.2h2.8l.4-3.3h-3.2V8.4c0-.9.3-1.6 1.6-1.6h1.7V3.9c-.3 0-1.3-.1-2.5-.1-2.5 0-4.2 1.5-4.2 4.3v2.4H7.3v3.3h2.8V22z'/%3E%3C/svg%3E"); }
.icon-youtube { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M22.5 7.2a2.8 2.8 0 0 0-2-2C18.8 4.7 12 4.7 12 4.7s-6.8 0-8.5.5a2.8 2.8 0 0 0-2 2C1 8.9 1 12 1 12s0 3.1.5 4.8a2.8 2.8 0 0 0 2 2c1.7.5 8.5.5 8.5.5s6.8 0 8.5-.5a2.8 2.8 0 0 0 2-2c.5-1.7.5-4.8.5-4.8s0-3.1-.5-4.8zM9.8 15.1V8.9l5.6 3.1z'/%3E%3C/svg%3E"); }
.icon-clipboard { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='8' y='3' width='8' height='4' rx='1'/%3E%3Cpath d='M16 5h2a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h2'/%3E%3C/svg%3E"); }
.icon-4x { font-size: 4em; }
.icon-spin { animation: hp-spin 1s linear infinite; }
@keyframes hp-spin { to { transform: rotate(360deg); } }

/* Round icon buttons (header + menus) */
.mobile-round-button {
  display: inline-grid; place-items: center; flex: none;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  color: var(--white); font-size: 19px; cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.mobile-round-button:hover { background: rgba(255, 255, 255, .16); }
.mobile-round-button a { color: inherit; display: grid; place-items: center; width: 100%; height: 100%; }

/* ======================================================================
   Desktop header
   ====================================================================== */
#desktop-top-bar {
  position: sticky; top: 0; z-index: 90;
  background: rgba(35, 47, 62, .96);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  box-shadow: 0 8px 30px -14px rgba(0, 0, 0, .6);
  transition: transform .35s ease;
}
#desktop-top-bar.not-pinned { transform: translateY(-100%); }
body.popup-shopping-cart-open #desktop-top-bar { transform: none; }

#desktop-top-bar > .bar-content {
  width: min(100% - 40px, var(--wrap)); margin-inline: auto;
  display: flex; align-items: center; gap: 22px; height: 76px;
}

#desktop-heading { flex: none; }
#desktop-heading h1.logo { margin: 0; line-height: 0; }
#desktop-heading img { height: 46px; width: auto; }

#desktop-search-bar { flex: 1; max-width: 560px; margin-left: 12px; }
#desktop-search-bar form { position: relative; display: flex; }
#desktop-search-bar input.main-search-inputs {
  width: 100%; height: 46px; border-radius: 999px; padding: 0 58px 0 22px;
  border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .1); color: var(--white);
}
#desktop-search-bar input.main-search-inputs::placeholder { color: rgba(255, 255, 255, .6); }
#desktop-search-bar input.main-search-inputs:focus {
  background: var(--white); color: var(--ink); border-color: var(--white); box-shadow: 0 0 0 4px rgba(95, 180, 236, .35);
}
#desktop-search-bar input.main-search-inputs:focus::placeholder { color: #8a92a3; }
#desktop-search-bar button {
  position: absolute; right: 5px; top: 5px; width: 36px; height: 36px; border-radius: 50%;
  border: 0; cursor: pointer; background: var(--hp-green); color: var(--white); font-size: 16px;
  display: grid; place-items: center; transition: background-color .2s ease;
}
#desktop-search-bar button:hover { background: var(--hp-green-dark); }

#desktop-font-size {
  margin-left: auto; display: flex; flex-direction: column; align-items: center; cursor: pointer;
  color: rgba(255, 255, 255, .75); line-height: 1.1; user-select: none;
}
#desktop-font-size .title { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 3px; }
#desktop-font-size .selector { display: flex; align-items: baseline; gap: 3px; font-weight: 700; }
#desktop-font-size .smaller { font-size: .8rem; }
#desktop-font-size .current { font-size: 1rem; color: var(--white); }
#desktop-font-size .larger { font-size: 1.25rem; }
#desktop-font-size:hover { color: var(--white); }

#desktop-account-button,
#desktop-cart-button { display: flex; align-items: center; gap: 10px; color: var(--white); flex: none; }
#desktop-account-button .stacked-text { line-height: 1.2; font-size: .9rem; }
#desktop-account-button .stacked-text br { display: none; }
#desktop-account-button .stacked-text .text { display: block; font-weight: 700; }
#desktop-account-button .stacked-text .sub { font-weight: 400; color: rgba(255, 255, 255, .7); font-size: .82rem; }
#desktop-account-button a:hover { color: var(--hp-sky); }

/* Logged-in account dropdown (shown on hover / keyboard focus) */
#desktop-account-button { position: relative; align-self: stretch; }
#desktop-account-menu {
  position: absolute; top: 100%; right: -12px; z-index: 95; min-width: 220px; padding-top: 6px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
#desktop-account-button:hover #desktop-account-menu,
#desktop-account-button:focus-within #desktop-account-menu { opacity: 1; visibility: visible; transform: none; }
#desktop-account-menu ul {
  list-style: none; margin: 0; padding: 8px; background: var(--white); border-radius: 14px;
  box-shadow: var(--shadow); border: 1px solid var(--line); position: relative;
}
#desktop-account-menu ul::before {
  content: ""; position: absolute; top: -7px; right: 30px; width: 14px; height: 14px;
  background: var(--white); border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg);
}
#desktop-account-menu a {
  display: block; padding: 9px 14px; border-radius: var(--radius-sm); color: var(--ink); font-weight: 500; font-size: .93rem;
}
#desktop-account-menu a:hover { background: var(--paper); color: var(--hp-blue); }
#desktop-account-menu li:last-child { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
#desktop-account-menu li:last-child a { color: var(--hp-red); }

/* Cart item count badge */
.cart-button { position: relative; }
.cart-button .gem {
  position: absolute; top: -5px; right: -5px; z-index: 1;
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--hp-red); color: var(--white); border: 2px solid var(--hp-slate);
  font-size: .68rem; font-weight: 900; font-style: normal; line-height: 1;
}
#desktop-cart-button .cart-button .gem { border-color: var(--hp-green); }
#desktop-cart-button:hover .cart-button .gem { border-color: var(--hp-green-dark); }

#desktop-cart-button {
  cursor: pointer; padding: 5px 20px 5px 5px; border-radius: 999px; background: var(--hp-green);
  box-shadow: 0 10px 24px -10px rgba(122, 181, 29, .8);
  transition: background-color .2s ease, transform .2s ease;
}
#desktop-cart-button:hover { background: var(--hp-green-dark); transform: translateY(-1px); }
#desktop-cart-button .mobile-round-button { width: 36px; height: 36px; background: rgba(255, 255, 255, .2); border: 0; font-size: 17px; }
#desktop-cart-button .text { font-weight: 700; }
#desktop-cart-button .text a { color: var(--white); }

/* Category strip */
#desktop-top-menu { background: var(--hp-blue); border-top: 1px solid rgba(255, 255, 255, .06); }
#desktop-top-menu .bar-content { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
#desktop-top-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
#desktop-top-menu a {
  display: flex; align-items: center; gap: 8px; padding: 11px 14px;
  color: rgba(255, 255, 255, .88); font-weight: 500; font-size: .93rem; position: relative;
}
#desktop-top-menu a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
  background: var(--hp-sky); transform: scaleX(0); transition: transform .25s ease; transform-origin: left;
}
#desktop-top-menu a:hover { color: var(--white); }
#desktop-top-menu a:hover::after { transform: scaleX(1); }
#desktop-top-menu li:first-child a { font-weight: 700; color: var(--white); }
#desktop-top-menu a.onsale-link { color: #ffd166; font-weight: 700; }

/* ======================================================================
   Mobile header
   ====================================================================== */
#mobile-top-bar {
  display: none;
  position: sticky; top: 0; z-index: 90;
  align-items: center; gap: 8px; padding: 10px 14px;
  background: rgba(35, 47, 62, .97);
  box-shadow: 0 8px 30px -14px rgba(0, 0, 0, .6);
}
#mobile-heading { flex: 1; min-width: 0; }
#mobile-heading > a { display: block; color: var(--white); font-weight: 900; font-size: 1.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#mobile-heading h1 { margin: 0; line-height: 0; }
#mobile-heading img { height: 38px; width: auto; }
#mobile-search-bar,
#mobile-search-perform-button { display: none; }
#mobile-share-button { display: none; }
body.catalog-product-view #mobile-share-button { display: inline-grid; }
#mobile-cart-button .mobile-round-button { background: var(--hp-green); border-color: transparent; }

body.popup-search-active #mobile-top-bar > :not(#mobile-search-bar):not(#mobile-search-button):not(#mobile-search-perform-button) { display: none; }
body.popup-search-active #mobile-search-button { order: -1; }
body.popup-search-active #mobile-search-button .icon-search { --i: var(--i-chev-left); }
body.popup-search-active #mobile-search-bar { display: block; flex: 1; min-width: 0; }
body.popup-search-active #mobile-search-perform-button { display: inline-grid; background: var(--hp-green); border-color: transparent; }
#mobile-search-bar input.main-search-inputs {
  width: 100%; height: 42px; border-radius: 999px; border: 0; padding: 0 18px; background: var(--white); color: var(--ink);
}

/* ======================================================================
   Overlays, off-canvas menus & popups
   ====================================================================== */
#mobile-shadow-overlay {
  position: fixed; inset: 0; z-index: 140;
  background: rgba(15, 20, 51, .55); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
body.mobile-menu-open #mobile-shadow-overlay,
body.mobile-categories-menu-open #mobile-shadow-overlay,
body.popup-shopping-cart-open #mobile-shadow-overlay,
body.desktop-font-size-popup-open #mobile-shadow-overlay { opacity: 1; visibility: visible; }

#mobile-loading-overlay { display: none; }
body.mobile-loading #mobile-loading-overlay {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 300;
  background: rgba(15, 20, 51, .45); color: var(--white);
}

.mobile-menu-sidebar {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 150;
  width: min(340px, 88vw); background: var(--white);
  box-shadow: 20px 0 60px -20px rgba(0, 0, 0, .5);
  transform: translateX(-105%); transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  overflow: hidden;
}
body.mobile-menu-open #mobile-menu-sidebar,
body.mobile-categories-menu-open #mobile-menu-categories { transform: none; }

.mobile-menu-sidebar ul {
  list-style: none; margin: 0; padding: 0 0 32px;
  height: 100%; overflow-y: auto; overscroll-behavior: contain;
}

/* Main menu */
#mobile-menu-sidebar > ul { padding-top: 0; }
#mobile-menu-sidebar li { font-size: .97rem; }
#mobile-menu-sidebar li > a,
#mobile-menu-sidebar li:has(> em) {
  display: flex; align-items: center; gap: 14px; padding: 12px 24px; color: var(--ink); font-weight: 500;
}
#mobile-menu-sidebar li:has(> em) > a { padding: 0; color: var(--ink); }
#mobile-menu-sidebar li > a:hover { background: var(--paper); color: var(--hp-blue); }
#mobile-menu-sidebar em { color: var(--hp-blue); font-size: 18px; }
#mobile-menu-sidebar a.has-children::after {
  content: ""; margin-left: auto; width: 16px; height: 16px; background: var(--muted);
  -webkit-mask: var(--i-chev-right) center / contain no-repeat; mask: var(--i-chev-right) center / contain no-repeat;
}
#mobile-menu-sidebar a.onsale-link { color: var(--hp-red); }
#mobile-menu-sidebar a.onsale-link em { color: var(--hp-red); }
#mobile-menu-sidebar li.heading {
  padding: 22px 24px 8px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--hp-link); display: flex; align-items: center; gap: 8px;
}
#mobile-menu-sidebar li.heading::before { content: ""; width: 22px; height: 2px; background: currentColor; }
#mobile-menu-sidebar li.heading:first-of-type {
  margin-bottom: 8px; padding: 28px 24px 22px; color: var(--white); font-size: 1.15rem; letter-spacing: -0.01em;
  text-transform: none; background: var(--hero-grad); font-weight: 900;
}
#mobile-menu-sidebar li.heading:first-of-type::before { display: none; }
#mobile-menu-sidebar li.seperator { height: 1px; background: var(--line); margin: 12px 24px; }
#mobile-menu-sidebar li.small { padding: 4px 24px; font-size: .85rem; color: var(--muted); }
#mobile-menu-sidebar li.small p { margin: 0; display: flex; gap: 14px; white-space: pre-line; }
#mobile-menu-sidebar li.small a { padding: 0; color: var(--hp-link); }
#mobile-menu-sidebar li.install-web-app { display: none; }
body.show-install-web-app #mobile-menu-sidebar li.install-web-app { display: block; background: #eef6e2; }
#mobile-menu-sidebar li.login-required { display: none; }
body.logged-in #mobile-menu-sidebar li.login-required { display: block; }

/* Category drill-down menu */
#mobile-menu-categories ul { background: var(--white); }
#mobile-menu-categories ul ul { display: none; position: absolute; inset: 0; z-index: 1; }
#mobile-menu-categories li.active > ul { display: block; }
#mobile-menu-categories ul:has(> li.active > ul) { overflow: hidden; }
#mobile-menu-categories li > a {
  display: flex; align-items: center; gap: 12px; padding: 13px 24px;
  color: var(--ink); font-weight: 500; border-bottom: 1px solid #efedea;
}
#mobile-menu-categories li > a:hover { background: var(--paper); color: var(--hp-blue); }
#mobile-menu-categories a.has-children::after {
  content: ""; margin-left: auto; width: 16px; height: 16px; flex: none; background: var(--muted);
  -webkit-mask: var(--i-chev-right) center / contain no-repeat; mask: var(--i-chev-right) center / contain no-repeat;
}
#mobile-menu-categories a.go-back {
  background: var(--hero-grad); color: var(--white); font-weight: 700; border: 0; padding: 18px 20px;
}
#mobile-menu-categories a.go-back:hover { background: var(--hero-grad); color: var(--white); }
#mobile-menu-categories a.go-back .mobile-round-button { width: 34px; height: 34px; font-size: 15px; }
#mobile-menu-categories a.view-all {
  font-size: 1.15rem; font-weight: 900; color: var(--hp-blue); padding: 20px 24px 14px; border-bottom: 2px solid var(--line);
}
#mobile-menu-categories a.view-all::before {
  content: "View all"; order: 2; margin-left: auto; font-size: .78rem; font-weight: 700;
  color: var(--hp-link); letter-spacing: .04em; text-transform: uppercase;
}

/* Font size help popup */
#desktop-font-size-popup { display: none; }
body.desktop-font-size-popup-open #desktop-font-size-popup {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 160; padding: 20px;
}
#desktop-font-size-popup .center-div {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 32px 36px; max-width: 460px; width: 100%;
}
#desktop-font-size-popup h1 { font-size: 1.5rem; font-weight: 900; }
#desktop-font-size-popup p { color: var(--muted); }
#desktop-font-size-popup ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--ink); }
#desktop-font-size-popup li.os { margin-top: 12px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hp-link); }
#desktop-font-size-popup .keyboard-combination { display: inline-flex; gap: 4px; margin-right: 4px; }
#desktop-font-size-popup .keyboard-key {
  display: inline-grid; place-items: center; min-width: 30px; height: 28px; padding: 0 8px;
  border-radius: 6px; background: var(--paper); border: 1px solid var(--line); border-bottom-width: 3px;
  font-size: .8rem; font-weight: 700;
}

/* Slide-out cart */
#popup-shopping-cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 150; width: min(400px, 92vw);
  background: var(--white); box-shadow: -20px 0 60px -20px rgba(0, 0, 0, .5); overflow-y: auto;
  transform: translateX(105%); transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
body.popup-shopping-cart-open { overflow: hidden; }
body.popup-shopping-cart-open #popup-shopping-cart { transform: none; overscroll-behavior-y: contain; }

/* Prototype window dialogs (image zoom, price match) */
#overlay_modal {
  position: fixed !important; inset: 0; width: 100% !important; height: 100dvh !important;
  background: rgba(15, 20, 51, .6) !important; z-index: 10005 !important;
}
.dialog {
  position: absolute; z-index: 10006 !important; background: var(--white); border-radius: var(--radius);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65); overflow: hidden;
}
.dialog table.table_window { width: 100%; border-collapse: collapse; }
.dialog td { padding: 0; }
.dialog .dialog_title { min-height: 64px; padding: 18px 68px 18px 22px; font-weight: 900; font-size: 1.05rem; background: var(--hp-slate); color: var(--white); border-bottom: 1px solid var(--line); }
.dialog .dialog_content {
    overflow: auto;
}
.dialog .dialog_content img { display: block; margin: 0 auto; }
.dialog.image-enlarge-popup {
  position: fixed; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%);
  width: max-content !important; height: auto !important;
  max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); overflow: auto;
}
.image-enlarge-popup div.dialog_content { width: auto !important; height: auto !important; overflow: visible !important; }
.image-enlarge-popup .dialog_content img { width: auto; height: auto; max-width: none; max-height: none; }
/* TODO: Image-enlarge-popup on mobile devices when you scroll you can't see the header / close button */
.dialog .dialog_close {
  position: absolute; z-index: 2; border-radius: 50%;
  cursor: pointer;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .4);
  background: transparent;
}
.dialog .dialog_close::before {
  content: ""; position: absolute; inset: 9px; background: var(--white);
  -webkit-mask: var(--i-close) center / contain no-repeat; mask: var(--i-close) center / contain no-repeat;
}
.dialog .dialog_close::before { inset: 12px; }
.dialog .dialog_close:hover { background: rgba(255, 255, 255, .15); }
.dialog .status_bar { display: none; }
.rewardpoints-referfriend-dialog-refer .bot,
.rewardpoints-referfriend-dialog-refer .top { display: none; }
.dialog.rewardpoints-referfriend-dialog-refer {
  position: fixed; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%);
  width: min(760px, calc(100% - 32px)) !important; height: auto !important; max-height: calc(100dvh - 32px);
}
.rewardpoints-referfriend-dialog-refer .table_window { table-layout: fixed; }
.rewardpoints-referfriend-dialog-refer .dialog_w,
.rewardpoints-referfriend-dialog-refer .dialog_e { width: 0; }
.rewardpoints-referfriend-dialog-refer td.dialog_content { margin: 0; padding: 0; }
.rewardpoints-referfriend-dialog-refer div.dialog_content {
  width: 100% !important; height: auto !important; max-height: calc(100dvh - 32px); margin: 0; padding: 0;
  overflow-y: auto !important; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
}
#rewardpoints-referfriends-popup { height: auto !important; }
.rewardpoints-referfriend-dialog-refer .dialog_close { background: var(--hp-slate); border-color: rgba(255, 255, 255, .5); box-shadow: 0 4px 12px rgba(0, 0, 0, .3); }
.rewardpoints-referfriend-dialog-refer .dialog_close:hover { background: var(--hp-blue); }
#rewardpoints-referfriends-popup .referfriends-title { position: sticky; top: 0; z-index: 1; }
#rewardpoints-referfriends-popup .referfriends-title h2 {
  margin: 0; padding: 20px 72px 20px 28px; background: var(--hero-grad); color: var(--white); font-size: 1.3rem; font-weight: 900;
}
#rewardpoints-referfriends-popup .referfriends-body {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; padding: 26px 28px 30px;
}
#rewardpoints-referfriends-popup .referfriends-body-left,
#rewardpoints-referfriends-popup .referfriends-body-right { float: none; width: auto; min-width: 0; }
#rewardpoints-referfriends-popup .referfriends-body-right-1 { display: none; }
#rewardpoints-referfriends-popup .referfriends-body-left-description { color: var(--muted); line-height: 1.6; }
#rewardpoints-referfriends-popup .referfriends-body-left-earn {
  margin: 12px 0 18px; padding: 12px 16px; border-radius: 12px; background: #eef2fb; border: 1px solid var(--line); line-height: 1.5;
}
#rewardpoints-referfriends-popup .referfriends-body-left-earn strong { color: var(--hp-blue) !important; }
#rewardpoints-referfriends-popup .referfriends-body-left-product { display: grid; gap: 12px; }
#rewardpoints-referfriends-popup .referfriends-body-left-product h4 { margin: 0; font-size: .98rem; font-weight: 800; line-height: 1.4; text-transform: none; }
#rewardpoints-referfriends-popup .referfriends-body-left-product img { margin: 0 !important; width: 100%; max-width: 200px; border-radius: 12px; }
#rewardpoints-referfriends-popup ul.referfriends-body-right-ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; align-content: start; }
#rewardpoints-referfriends-popup .share-link-title { margin-bottom: 6px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--hp-link); }
#rewardpoints-referfriends-popup input.share-link-url { width: 100%; min-width: 0; cursor: pointer; }
#rewardpoints-referfriends-popup li.referfriends-sharefacebook a,
#rewardpoints-referfriends-popup li.referfriends-sharetwitter a {
  display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border-radius: 999px;
  font-weight: 800; text-decoration: none; color: var(--white); background: var(--hp-blue); transition: background .2s;
}
#rewardpoints-referfriends-popup li.referfriends-sharefacebook a { background: #1877f2; }
#rewardpoints-referfriends-popup li.referfriends-sharetwitter a { background: var(--hp-slate); }
#rewardpoints-referfriends-popup li.referfriends-sharefacebook a:hover,
#rewardpoints-referfriends-popup li.referfriends-sharetwitter a:hover { filter: brightness(1.15); }
#rewardpoints-referfriends-popup .referfriends-bottom { display: none; }
@media (max-width: 640px) {
  #rewardpoints-referfriends-popup .referfriends-body { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
}
.page > #pmatch-popup { display: none; }
#pmatch-popup .legend { font-size: 1.3rem; font-weight: 900; }
#pmatch-popup p { color: var(--muted); }
.dialog.pricematch-popup {
  position: fixed; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%);
  width: min(500px, calc(100% - 32px)) !important; height: auto !important; max-height: calc(100dvh - 32px);
}
.pricematch-popup td.dialog_content { padding: 0; }
.pricematch-popup div.dialog_content {
  width: 100% !important; height: auto !important; max-height: calc(100dvh - 96px);
  padding: 22px; overflow: auto; overscroll-behavior: contain;
}
.pricematch-popup .table_window { table-layout: fixed; }
.pricematch-popup .dialog_nw,
.pricematch-popup .dialog_ne,
.pricematch-popup .dialog_w,
.pricematch-popup .dialog_e { width: 0; }
.pricematch-popup .bot { display: none; }
.pricematch-popup #pmatch-popup .fieldset {
  margin: 0 0 16px; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none;
}
.pricematch-popup #pmatch-popup .legend { margin: 0 0 12px; color: var(--hp-blue); font-size: 1.15rem; }
.pricematch-popup #pmatch-popup p { margin: 0; line-height: 1.6; text-align: left; overflow-wrap: anywhere; }
.pricematch-popup #pmatch-popup .input-box input,
.pricematch-popup #pmatch-popup .input-box textarea { width: 100%; min-width: 0; }
.pricematch-popup #pmatch-popup .buttons-set {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
}
.pricematch-popup #pmatch-popup .buttons-set .button { margin: 0; min-width: 0; width: 100%; }
.pricematch-popup #pmatch-popup .pmatch-cancel {
  grid-column: 1; grid-row: 1; background: transparent; color: var(--muted); border-color: var(--line); box-shadow: none;
}
.pricematch-popup #pmatch-popup .pmatch-cancel:hover,
.pricematch-popup #pmatch-popup .pmatch-cancel:focus-visible { background: var(--paper); color: var(--ink); transform: none; }
.pricematch-popup #pmatch-popup .pmatch-submit { grid-column: 2; grid-row: 1; background: var(--hp-green); color: var(--white); }
.pricematch-popup #pmatch-popup .pmatch-submit:hover { background: var(--hp-green-dark); }
.pricematch-popup #pmatch-popup .pmatch-required { grid-column: 1 / -1; grid-row: 2; }

/* ======================================================================
   Page layout
   ====================================================================== */
.wrapper { overflow: clip; }
.page { min-height: 100vh; display: flex; flex-direction: column; }

.container { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.main-container { position: relative; isolation: isolate; flex: 1; padding: 20px 0 88px; background: var(--paper); }
.main-container::before {
  content: ""; position: absolute; z-index: -2; pointer-events: none; top: 0; left: 0; right: 0; height: 300px; background: var(--hero-grad);
}
.main-container > .container { position: relative; }
.catalog-product-view .main-container { padding-top: 28px; }
.catalog-product-view .main-container::before { height: 230px; }

.main > .row {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start;
}
.col-main, .col-right { min-width: 0; }

/* ======================================================================
   Sidebar
   ====================================================================== */
.sidebar { display: grid; gap: 24px; position: sticky; top: 140px; }

.block,
.sidebar .fb-page {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); overflow: hidden;
}
.block-title {
  padding: 18px 22px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--white); background: var(--hp-slate); display: flex; align-items: center; justify-content: space-between;
}
.block-title.toggleclick-added { cursor: pointer; gap: 12px; transition: background-color .2s ease; }
.block-title.toggleclick-added:hover { background: var(--hp-blue); }
.block-title.toggleclick-added .toggle {
  display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .1);
}
.block-title.toggleclick-added .toggle::before {
  content: ""; width: 14px; height: 14px; background: currentColor; transform: rotate(-90deg); transition: transform .2s ease;
  -webkit-mask: var(--i-chev-right) center / contain no-repeat; mask: var(--i-chev-right) center / contain no-repeat;
}
.block-title.toggleclick-added .toggle.opened::before { transform: rotate(90deg); }
.block-content,
.block > p.box-content { padding: 10px 12px 14px; }
.block > p.box-content { margin: 0; }
.sidebar .block-content ol { list-style: none; margin: 0; padding: 0; }
.sidebar .block-content p { margin: 0; }
.sidebar .block-content li a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-sm); color: var(--ink); font-weight: 500;
}
.sidebar .block-content li a::after {
  content: ""; flex: none; width: 14px; height: 14px; background: var(--hp-link);
  -webkit-mask: var(--i-chev-right) center / contain no-repeat; mask: var(--i-chev-right) center / contain no-repeat;
}
.sidebar .block-content li a:hover { background: var(--paper); color: var(--hp-blue); }

/* Facebook page widget */
.sidebar .fb-page { padding: 0; min-height: 120px; }
.sidebar .fb-page > span,
.sidebar .fb-page iframe { width: 100% !important; display: block; }
.sidebar .fb-xfbml-parse-ignore blockquote {
  margin: 0; padding: 28px 24px; background: var(--hero-grad); color: var(--white);
}
.sidebar .fb-xfbml-parse-ignore blockquote::before {
  content: "Join the community"; display: block; font-size: .74rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--hp-sky); margin-bottom: 8px;
}
.sidebar .fb-xfbml-parse-ignore a { color: var(--white); font-weight: 900; font-size: 1.2rem; line-height: 1.25; }
#fb-root { display: none; }

@media (max-width: 640px) {
  .block-content {
    display: none;
  }
}
@media (min-width: 641px) {
  .block-title .toggle { display: none !important; }
  .block-title { cursor: default !important; pointer-events: none; }
  .block-content { display: block !important; }
}

/* ======================================================================
   Home — banner slider
   ====================================================================== */
.magestore-bannerslider { margin-bottom: 44px; }
.flexslider {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--hp-slate);
  box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .12);
}
.flexslider .slides { list-style: none; margin: 0; padding: 0; }
.flexslider .slides::after { content: ""; display: table; clear: both; }
.flexslider .slides > li { display: none; }
.flexslider > .slides > li:first-child { display: block; }
/* Keep slides viewport-sized during FlexSlider's delayed width setup. */
.flexslider .flex-viewport { container-type: inline-size; }
.flexslider .flex-viewport .slides > li { display: block; float: left; width: 100cqw; }
.flexslider .slides img { display: block; width: 100%; height: auto; cursor: pointer; }

.flex-control-nav {
  position: absolute; left: 0; right: 0; bottom: 16px; z-index: 2;
  list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 8px;
}
.flex-control-nav a {
  display: block; width: 10px; height: 10px; border-radius: 999px; font-size: 0; cursor: pointer;
  background: rgba(255, 255, 255, .55); box-shadow: 0 1px 4px rgba(0, 0, 0, .35); transition: width .25s ease, background-color .25s ease;
}
.flex-control-nav a.flex-active { width: 28px; background: var(--white); }

.flex-direction-nav { list-style: none; margin: 0; padding: 0; }
.flex-direction-nav a {
  position: absolute; top: 50%; z-index: 2; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%;
  font-size: 0; background: rgba(15, 20, 51, .45); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .25s ease, background-color .25s ease;
}
.flex-direction-nav a::before {
  content: ""; position: absolute; inset: 13px; background: var(--white);
  -webkit-mask: var(--i-chev-left) center / contain no-repeat; mask: var(--i-chev-left) center / contain no-repeat;
}
.flex-direction-nav a.flex-next::before { -webkit-mask-image: var(--i-chev-right); mask-image: var(--i-chev-right); }
.flex-direction-nav .flex-prev { left: 16px; }
.flex-direction-nav .flex-next { right: 16px; }
.flexslider:hover .flex-direction-nav a { opacity: 1; }
.flex-direction-nav a:hover { background: rgba(15, 20, 51, .75); }
.flex-direction-nav .flex-disabled { display: none; }

/* ======================================================================
   Home — content + product list
   ====================================================================== */
.cms-home .std > h1 {
  display: flex; flex-direction: column; gap: 6px;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 900; margin-bottom: 24px;
}
.cms-home .std > h1::before {
  content: "Fresh from the workshop"; display: block; padding-left: 38px;
  background: linear-gradient(currentColor, currentColor) left center / 28px 2px no-repeat;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hp-link);
}

.category-products > .productwidget_seemore { display: none; }

.products-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.products-list > li.item {
  display: grid; grid-template-columns: 200px minmax(0, 1fr) 230px;
  grid-template-areas: "img name buy" "img desc buy";
  grid-template-rows: auto 1fr; column-gap: 28px; row-gap: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.products-list > li.item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }

.product-name { min-width: 0; overflow-wrap: anywhere; }
.products-list .product-name { grid-area: name; margin: 4px 0 0; font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
.products-list .product-name a { color: var(--ink); }
.products-list .product-name a:hover { color: var(--hp-blue); }

.products-list .product-image {
  position: relative; grid-area: img; align-self: start; display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden;
  background: var(--white); border: 1px solid #efedea;
}
.products-list .product-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.products-list > li.item:hover .product-image img { transform: scale(1.04); }

.products-list .product-shop { grid-area: desc; }
.products-list .desc { color: var(--muted); font-size: .97rem; }
.products-list .link-learn {
  display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; font-weight: 700; color: var(--hp-link); white-space: nowrap;
}
.products-list .link-learn::after {
  content: ""; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: var(--i-chev-right) center / contain no-repeat; mask: var(--i-chev-right) center / contain no-repeat;
}

.products-list .price-add-to-cart {
  grid-area: buy; display: flex; flex-direction: column; gap: 12px;
  padding-left: 28px; border-left: 1px solid var(--line);
}
.price-and-msr { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-box { margin: 0; }
.price-box .price { font-size: 1.85rem; font-weight: 900; color: var(--hp-blue); letter-spacing: -0.02em; line-height: 1; }
.product-msr { color: var(--muted); font-size: .85rem; }

.products-list .buttons { display: grid; gap: 8px; }
.products-list .buttons form { margin: 0; }

/* Product grid (rows of cards) */
.products-grid {
  list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 20px;
}
.products-grid > li.item { display: flex; min-width: 0; }
.products-grid > li.item > div {
  display: flex; flex-direction: column; gap: 12px; width: 100%; padding: 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.products-grid > li.item > div:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.products-grid .product-image {
  position: relative; display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--white); border: 1px solid #efedea;
}
.products-grid .product-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.products-grid > li.item > div:hover .product-image img { transform: scale(1.04); }
.products-grid .product-shop { flex: 1 1 auto; }
.products-grid .product-name { margin: 0; font-size: 1.02rem; font-weight: 700; line-height: 1.35; }
.products-grid .product-name a { color: var(--ink); }
.products-grid .product-name a:hover { color: var(--hp-blue); }
.products-grid .price-add-to-cart { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.products-grid .price-box .price { font-size: 1.5rem; }
.products-grid .buttons { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
.products-grid .buttons form { margin: 0; }
.products-grid .buttons .button { padding-inline: 1em; }
.products-grid .add-to-links { margin-top: -2px; }

/* Sale prices share the same treatment across product layouts */
.price-box .old-price,
.price-box .special-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0; }
.price-box .price-label { font-size: .8rem; font-weight: 500; color: var(--muted); }
.price-box .old-price .price-label,
.price-box .special-price .price-label { display: none; }
.price-box p.old-price .price {
  font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; line-height: 1.4; text-decoration: line-through;
}
.price-box .special-price { margin-top: 6px; }
.price-box .special-price .price { color: var(--hp-green-dark); }
.price-and-msr:has(.special-price) { align-items: flex-end; }

/* Price ranges */
.price-and-msr:has(> .price-box > .minimal-price-link) > .price-box { display: contents; }
.price-box:has(> .regular-price):has(> .minimal-price-link) {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px;
}
.price-box:has(> .minimal-price-link) > .regular-price { display: inline-flex; align-items: baseline; gap: 6px; }
.price-box:has(> .minimal-price-link) > .regular-price::before { content: "\2013"; color: var(--muted); }
.price-box:has(> .minimal-price-link) > .regular-price > .price { font-size: 1.6rem; line-height: 1.4; white-space: nowrap; }
.price-box > .minimal-price-link {
  order: -1; display: inline-flex; align-items: baseline; line-height: 1.4;
}
.price-box > .minimal-price-link > .label { display: none; }
.price-box > .minimal-price-link > .price { font-size: 1.6rem; line-height: 1.4; white-space: nowrap; }
.price-box > .minimal-price-link:hover > .price,
.price-box > .minimal-price-link:focus-visible > .price { color: var(--hp-link); text-decoration: underline; text-underline-offset: 3px; }
.price-box:has(.price-from):has(.price-to) { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.price-box .price-from,
.price-box .price-to { display: inline-flex; align-items: baseline; gap: 8px; margin: 0; }
.price-box .price-from .price-label,
.price-box .price-to .price-label { display: none; }
.price-box .price-to::before { content: "\2013"; color: var(--muted); font-weight: 500; }
.price-box .price-from .price,
.price-box .price-to .price { font-size: 1.2rem; line-height: 1.4; white-space: nowrap; }

/* Sale overlays */
.products-list .product-image{position:relative}
.product-image.productoverlay_onsale:after{content:" ";position:absolute;display:block;z-index:100;background-repeat:no-repeat;background-size:contain;pointer-events:none;background-image:url(/shop/media/wysiwyg/productoverlays/productoverlay_onsale.png);background-position:top left;width:100%;height:100%;top:0;left:0;right:unset;bottom:unset}
.product-image[class*="productoverlay_pctoff_"]:after{content:" ";position:absolute;display:block;width:50%;height:50%;z-index:100;right:1%;bottom:1%;top:unset;left:unset;background-repeat:no-repeat;background-size:contain;background-position:bottom right;pointer-events:none}
.product-image.productoverlay_pctoff_50:after,.product-image.productoverlay_pctoff_49:after{background-image:url(/shop/media/wysiwyg/productoverlays/productoverlay_pctoff_50.png);}
.product-image.productoverlay_pctoff_45:after,.product-image.productoverlay_pctoff_44:after{background-image:url(/shop/media/wysiwyg/productoverlays/productoverlay_pctoff_45.png);}
.product-image.productoverlay_pctoff_40:after,.product-image.productoverlay_pctoff_39:after{background-image:url(/shop/media/wysiwyg/productoverlays/productoverlay_pctoff_40.png);}
.product-image.productoverlay_pctoff_35:after,.product-image.productoverlay_pctoff_34:after{background-image:url(/shop/media/wysiwyg/productoverlays/productoverlay_pctoff_35.png);}
.product-image.productoverlay_pctoff_30:after,.product-image.productoverlay_pctoff_29:after{background-image:url(/shop/media/wysiwyg/productoverlays/productoverlay_pctoff_30.png);}
.product-image.productoverlay_pctoff_25:after,.product-image.productoverlay_pctoff_24:after{background-image:url(/shop/media/wysiwyg/productoverlays/productoverlay_pctoff_25.png);}
.product-image.productoverlay_pctoff_20:after,.product-image.productoverlay_pctoff_19:after{background-image:url(/shop/media/wysiwyg/productoverlays/productoverlay_pctoff_20.png);}
.product-image.productoverlay_pctoff_15:after,.product-image.productoverlay_pctoff_14:after{background-image:url(/shop/media/wysiwyg/productoverlays/productoverlay_pctoff_15.png);}
.product-image.productoverlay_pctoff_10:after,.product-image.productoverlay_pctoff_9:after{background-image:url(/shop/media/wysiwyg/productoverlays/productoverlay_pctoff_10.png);}
.product-image.productoverlay_pctoff_5:after,.product-image.productoverlay_pctoff_4:after{background-image:url(/shop/media/wysiwyg/productoverlays/productoverlay_pctoff_5.png);}

/* Buttons */
.button,
.btn-cart,
.add-to-cart-large button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  border-radius: 999px; font-weight: 700; font-size: .95rem; cursor: pointer;
  border: 2px solid transparent; padding: .7em 1.3em; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }

.btn-details { border-color: var(--hp-blue); color: var(--hp-blue); background: transparent; }
.btn-details:hover { background: var(--hp-blue); color: var(--white); }

.btn-cart { width: 100%; background: var(--hp-green); color: var(--white); box-shadow: 0 10px 24px -10px rgba(122, 181, 29, .8); }
.btn-cart:hover { background: var(--hp-green-dark); }
.btn-cart strong { display: inline-flex; align-items: center; gap: .55em; font-weight: 700; }

/* Shipping estimate chip */
.stock_availability { display: block; }
.next_available {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 6px;
  font-size: .82rem; color: var(--muted); line-height: 1.35;
}
.next_available::before {
  content: ""; width: 18px; height: 18px; flex: none; background: var(--hp-green);
  -webkit-mask: var(--i-truck) center / contain no-repeat; mask: var(--i-truck) center / contain no-repeat;
}
.next_available .date { font-weight: 700; color: var(--hp-green-dark); }

.add-to-links { list-style: none; margin: 0; padding: 0; }
.link-wishlist {
  display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 500; color: var(--muted);
}
.link-wishlist::before {
  content: ""; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: var(--i-heart) center / contain no-repeat; mask: var(--i-heart) center / contain no-repeat;
}
.link-wishlist:hover { color: var(--hp-red); }

/* "See more" loader */
.toolbar-bottom { margin-top: 36px; text-align: center; }
.productwidget_seemore {
  display: inline-flex; align-items: center; justify-content: center; min-width: 220px;
  padding: .9em 1.8em; border-radius: 999px; border: 2px solid var(--hp-blue); color: var(--hp-blue);
  font-weight: 700; cursor: pointer; user-select: none; transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.productwidget_seemore:hover { background: var(--hp-blue); color: var(--white); transform: translateY(-2px); }
.productwidget_seemore .loading { display: none; }
.productwidget_seemore.loading .loading { display: inline; }
.productwidget_seemore.loading .more { display: none; }

/* ======================================================================
   Product page
   ====================================================================== */
.breadcrumbs { margin-bottom: 22px; }
.breadcrumbs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .88rem; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .7); }
.breadcrumbs a { color: var(--hp-sky); font-weight: 500; }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs li > span { font-size: 0; }
.breadcrumbs li > span::before {
  content: ""; display: inline-block; width: 12px; height: 12px; background: rgba(255, 255, 255, .5);
  -webkit-mask: var(--i-chev-right) center / contain no-repeat; mask: var(--i-chev-right) center / contain no-repeat;
}
.breadcrumbs strong { color: var(--white); font-weight: 500; }
.breadcrumbs li.product > strong { font-size: 0; }
.breadcrumbs li.product > strong::after { content: "Product"; font-size: .88rem; }

#messages_product_view:empty { display: none; }

.product-essential {
  background: var(--white); border-radius: 22px; box-shadow: var(--shadow);
  padding: 36px; margin-bottom: 28px;
}
.product-essential form { margin: 0; }

.product-view .product-name h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 900; letter-spacing: -0.02em; margin: 0 0 28px;
}

.product-top-wrapper { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: start; }

.product-img-box {
  position: relative; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
  padding: 18px; overflow: hidden;
}
.product-img-box::after {
  content: ""; position: absolute; inset: auto -40px -60px auto; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 180, 236, .16), transparent 70%); pointer-events: none;
}
.product-image[class*="productoverlay_"] { position: relative; }
.product-image-gallery { position: relative; cursor: zoom-in; }
.product-image-gallery .gallery-image { display: none; width: 100%; height: auto; border-radius: 12px; }
.product-image-gallery .gallery-image.visible { display: block; }
.more-views { position: relative; z-index: 1; min-width: 0; margin-top: 18px; }
.more-views h2 { display: none; }
.product-image-thumbs {
  display: flex; gap: 10px; list-style: none; margin: 0; padding: 4px 2px 12px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  scrollbar-width: thin; scrollbar-color: var(--hp-link) var(--paper);
}
.product-image-thumbs li { flex: 0 0 80px; scroll-snap-align: start; }
.product-image-thumbs .thumb-link {
  display: block; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.product-image-thumbs img { display: block; width: 100%; height: 70px; object-fit: contain; border-radius: 8px; }
.product-image-thumbs .thumb-link:hover,
.product-image-thumbs .thumb-link.active { border-color: var(--hp-blue); box-shadow: 0 0 0 1px var(--hp-blue); }
.product-image-thumbs .thumb-link:focus-visible { outline: 2px solid var(--hp-link); outline-offset: 2px; }

.product-shop { display: flex; flex-direction: column; gap: 18px; }
.product-shop .clear { display: none; }

/* Customisable kit options: visibility remains controlled by the existing scripts. */
#product-options-wrapper {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fbfaf8;
}
#product-options-wrapper > dl { margin: 0; }
#product-options-wrapper dt {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 8px;
  font-size: .95rem; font-weight: 600; line-height: 1.5;
}
#product-options-wrapper dt:first-child { margin-top: 0; }
#product-options-wrapper dt > label { flex: 1; min-width: 0; margin: 0; }
#product-options-wrapper dt > label.required em { color: var(--hp-red); font-style: normal; margin-right: 4px; }
#product-options-wrapper dd { margin: 0; min-width: 0; }
#product-options-wrapper .options-list { list-style: none; margin: 0; padding: 0; }
#product-options-wrapper .options-list > li {
  display: flex; align-items: flex-start; gap: 10px; margin-top: 8px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--white);
}
#product-options-wrapper .options-list input[type="radio"],
#product-options-wrapper .options-list input[type="checkbox"] { flex: none; margin: 4px 0 0; accent-color: var(--hp-blue); }
#product-options-wrapper .options-list .label { flex: 1; min-width: 0; font-size: .88rem; line-height: 1.5; }
#product-options-wrapper .options-list label { font-weight: 500; }
#product-options-wrapper .options-list li:has(input:checked) { border-color: var(--hp-link); background: #eef5fc; }
#product-options-wrapper .options-list li:has(input:disabled) { background: #f1f1f1; color: var(--muted); }
#product-options-wrapper .options-list input:disabled + .label label { cursor: not-allowed; text-decoration: line-through; }
#product-options-wrapper .price-notice { color: var(--muted); font-size: .82rem; white-space: nowrap; }
#product-options-wrapper a:has(> .fa-eye) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  width: 19px;
  height: 19px;
}
#product-options-wrapper a:has(> .fa-eye)::before {
  content: ""; width: 19px; height: 19px; background: currentColor;
  -webkit-mask: var(--i-info) center / contain no-repeat; mask: var(--i-info) center / contain no-repeat;
}
#product-options-wrapper .fa-eye { display: none; }
#product-options-wrapper a:has(> .fa-eye):hover { color: var(--hp-blue-deep);  }
#product-options-wrapper a:focus-visible,
#product-options-wrapper input:focus-visible { outline: 2px solid var(--hp-link); outline-offset: 3px; }
#product-options-wrapper dt[class*="mdbksc_"] {
  position: relative; padding: 10px 12px 10px 38px; border: 1px solid var(--line); border-radius: 12px;
}
#product-options-wrapper dt.mdbksc_removable > label { cursor: pointer; }
#product-options-wrapper dt.mdbksc_mandatory > label { cursor: not-allowed; }
#product-options-wrapper dt.mdbksc_included { background: #eff7e6; border-color: #d6e6bf; color: #365317; }
#product-options-wrapper dt.mdbksc_removed { background: #fff1f0; border-color: #f1d2ce; color: #943a32; text-decoration: line-through; }
#product-options-wrapper dt.mdbksc_included > label::before,
#product-options-wrapper dt.mdbksc_removed > label::before {
  content: ""; position: absolute; left: 12px; top: 13px; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat;
}
#product-options-wrapper dt.mdbksc_removed > label::before {
  -webkit-mask-image: var(--i-close); mask-image: var(--i-close);
}
#product-options-wrapper .mdbksc_tip { display: none; font-size: .8rem; font-weight: 600; }
#product-options-wrapper .mdbksc_removed .mdbksc_remove_tip {
  display: block; flex-basis: 100%; padding: 6px 12px; border-radius: 8px; background: #fff1f0; color: #943a32;
}
#product-options-wrapper > p.required { margin: 16px 0 0; font-size: .8rem; color: var(--muted); text-align: right; }

/* Ratings */
.ratings { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0; }
.rating-box {
  position: relative; display: inline-block; line-height: 1; font-size: 19px; white-space: nowrap; vertical-align: middle;
}
.rating-box .rating-bg,
.rating-box .rating { display: flex; gap: 2px; }
.rating-box .rating-bg { color: #dcd9d4; }
.rating-box .rating-wrapper { position: absolute; top: 0; left: 0; bottom: 0; overflow: hidden; z-index: 1; }
.rating-box .rating { color: var(--hp-gold); }
.rating-links { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .92rem; }
.rating-links .separator { color: var(--line); }
.rating-links a { font-weight: 500; }

.product-shop .stock_availability {
  padding: 12px 16px; border-radius: 12px; background: #f2f8e8; border: 1px solid #dcebc4;
}
.product-shop .next_available { font-size: .92rem; color: var(--ink); }

/* Add to cart panel */
.add-to-box {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px 18px;
  padding: 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line);
}
.price [id*="product-price-"] { text-align: center; }
table.add-to-cart-large,
table.add-to-cart-large tbody,
table.add-to-cart-large tr { display: flex; width: 100%; }
table.add-to-cart-large { grid-column: 1 / -1; }
table.add-to-cart-large tr { align-items: center; gap: 18px; flex-wrap: wrap; }
table.add-to-cart-large td { display: block; padding: 0; }
table.add-to-cart-large td.price { flex: 1 1 auto; }
table.add-to-cart-large td.price .price { font-size: 2.6rem; font-weight: 900; color: var(--hp-blue); letter-spacing: -0.03em; line-height: 1; }
table.add-to-cart-large td.price > div:has(> .oldprice) > .price { color: var(--hp-green-dark); }
table.add-to-cart-large td.price .oldprice {
  display: block; margin-top: 8px; color: var(--muted); font-size: .95rem; font-weight: 500; line-height: 1.4;
}
table.add-to-cart-large td.price .oldprice .price {
  font-size: inherit; font-weight: inherit; color: inherit; letter-spacing: 0; line-height: inherit; text-decoration: line-through;
}
table.add-to-cart-large td.button { flex: 1 1 220px; }
.add-to-cart-large button {
  width: 100%; flex-direction: column; gap: 0; line-height: 1.2; padding: .8em 1.6em; font-size: 1.1rem;
  background: var(--hp-green); color: var(--white); box-shadow: 0 12px 28px -10px rgba(122, 181, 29, .85);
}
.add-to-cart-large button:hover { background: var(--hp-green-dark); transform: translateY(-2px); }
.add-to-cart-large button .small { font-size: .74rem; font-weight: 500; opacity: .85; letter-spacing: .06em; text-transform: uppercase; }

.qty-block { display: flex; align-items: center; gap: 10px; }
.qty-block label { font-size: .88rem; font-weight: 500; color: var(--muted); }
.qty-block input.qty { width: 72px; text-align: center; font-weight: 700; border-radius: 999px; }

.pmatch-button,
.add-to-box .link-wishlist { justify-self: start; }
.pmatch-button a {
  display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 500; color: var(--muted);
}
.pmatch-button a::before {
  content: ""; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: var(--i-tag-price) center / contain no-repeat; mask: var(--i-tag-price) center / contain no-repeat;
}
.pmatch-button a:hover { color: var(--hp-blue); }
.add-to-box .link-wishlist { grid-column: 2; grid-row: 2; justify-self: end; }
.add-to-box .pmatch-button { grid-column: 1 / -1; }
.zipmoney_insert:empty { display: none; }

/* Gift card product form and live preview */
body.catalog-product-view #giftvoucher-view-condition { display: none; }
.giftvoucher-product-info {
  padding: 20px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); color: var(--muted); font-size: .85rem;
}
.giftvoucher-product-info > p:empty,
.giftvoucher-product-info > p:has(> label:empty),
.giftcard-send-friend:has(> input[type="hidden"]:only-child) { display: none; }
.giftvoucher-product-info > div:has(+ #amount_range) {
  float: none !important; width: auto !important; color: var(--ink); font-size: .88rem; font-weight: 700;
}
.giftvoucher-product-info #amount_range { display: block; width: 100%; margin: 8px 0 6px; font-size: 1.1rem; font-weight: 700; }
.giftvoucher-product-info > .price { white-space: nowrap; }
.giftvoucher-receiver { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.giftvoucher-receiver > p { min-width: 0; margin: 0; }
.giftvoucher-receiver > p:has(#recipient_email),
.giftvoucher-receiver > p:has(#message),
.giftvoucher-receiver > p:has(#notify_success) { grid-column: 1 / -1; }
.giftvoucher-receiver label { display: block; margin-bottom: 6px; color: var(--ink); font-size: .88rem; font-weight: 700; }
.giftvoucher-receiver br { display: none; }
.giftvoucher-receiver input.input-text,
.giftvoucher-receiver textarea,
.giftvoucher-receiver select { width: 100%; min-width: 0; }
.giftvoucher-receiver textarea { min-height: 120px; }
.giftvoucher-receiver small { display: block; margin-top: 6px; color: var(--muted); }
.giftvoucher-receiver > p:has(#notify_success) { display: flex; align-items: flex-start; gap: 10px; }
.giftvoucher-receiver #notify_success { flex: none; margin-top: 4px; accent-color: var(--hp-blue); }
.giftvoucher-receiver label[for="notify_success"] { margin: 0; font-weight: 500; cursor: pointer; }
.giftvoucher-receiver .giftcard-date-box,
.giftvoucher-receiver .timezone-box { float: none !important; width: auto !important; }
.giftvoucher-receiver .giftcard-date-box { position: relative; }
.giftvoucher-receiver #day_to_send { float: none !important; margin-right: 0 !important; padding-right: 42px; }
.giftvoucher-receiver #calendar-day_to_send { position: absolute; top: 39px; right: 14px; cursor: pointer; }

/* The legacy script scales a 600px canvas; use a fluid card instead. */
#giftcard-product-media { width: 100%; height: auto !important; transform: none !important; zoom: 1 !important; }
.giftcard-product-media .giftcard-change-image-background-popup,
#popup-giftcard .giftcard-change-image-background-popup {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; padding: 18px;
  border-radius: 14px; overflow: hidden; background-size: cover !important; background-position: center;
  box-shadow: inset 0 0 0 100vmax rgba(15, 20, 51, .65); font-size: .85rem; line-height: 1.5;
}
.giftcard-logo img { display: block; width: 160px; max-width: 100%; border-radius: 6px; }
.giftcard-change-image-background-popup .expire-day { float: none !important; margin: 0 !important; align-self: center; }
.giftcard-change-image-background-popup .title-value,
.giftcard-change-image-background-popup .from-to-barcode-background,
.giftcard-change-image-background-popup .giftcard-box-background,
.giftcard-change-image-background-popup .giftcard-note-background { grid-column: 1 / -1; min-width: 0; }
.giftcard-change-image-background-popup .title-value { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.giftcard-change-image-background-popup .giftcard-title { font-size: 1.1rem; font-weight: 700; }
.giftcard-change-image-background-popup .giftcard-price-change { font-weight: 900; }
.giftcard-change-image-background-popup .from-to-barcode-background { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.giftcard-change-image-background-popup .from-to label { display: inline; margin-right: 4px; }
.giftcard-change-image-background-popup .giftcard-send-from,
.giftcard-change-image-background-popup .giftcard-send-to { overflow-wrap: anywhere; }
.giftcard-change-image-background-popup .giftcard-custom-message {
  margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit;
  color: var(--white) !important;
}
.giftcard-change-image-background-popup .giftcard-custom-message:empty { display: none; }
.giftcard-change-image-background-popup .form-note p { margin: 0; color: var(--white) !important; font-size: .72rem; line-height: 1.5; }
body:has(.giftvoucher-product-info) #bg-fade {
  position: fixed; inset: 0; height: 100dvh !important; z-index: 10002; background: rgba(15, 20, 51, .55);
}
#popup-giftcard {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10003;
  width: min(640px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto;
  padding: 60px 16px 16px; border-radius: 20px; background: var(--white); box-shadow: var(--shadow);
}
#popup-giftcard::before { content: "Gift card preview"; position: absolute; top: 18px; left: 20px; color: var(--hp-blue); font-weight: 700; }
#close-popup-giftcard {
  position: absolute; top: 8px; right: 8px; display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: #eef2fb; color: var(--hp-blue);
}
#close-popup-giftcard::before {
  content: ""; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: var(--i-close) center / contain no-repeat; mask: var(--i-close) center / contain no-repeat;
}
#close-popup-giftcard:hover { background: var(--hp-blue); color: var(--white); }
#close-popup-giftcard:focus-visible { outline: 2px solid var(--hp-link); outline-offset: 2px; }
body:has(.giftvoucher-product-info) .calendar {
  position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%);
  z-index: 10004; width: min(340px, calc(100% - 32px)); padding: 12px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow);
  font-size: .8rem;
}
body:has(.giftvoucher-product-info) .calendar table { width: 100%; border-collapse: collapse; table-layout: fixed; }
body:has(.giftvoucher-product-info) .calendar td { height: 34px; padding: 3px; text-align: center; }
body:has(.giftvoucher-product-info) .calendar td.button {
  display: table-cell; border: 0; border-radius: 6px; padding: 3px; background: #eef2fb;
  color: var(--hp-blue); font-size: .9rem; box-shadow: none; transform: none;
}
body:has(.giftvoucher-product-info) .calendar .title { color: var(--hp-blue); font-weight: 700; }
body:has(.giftvoucher-product-info) .calendar .name,
body:has(.giftvoucher-product-info) .calendar .wn,
body:has(.giftvoucher-product-info) .calendar .ttip { color: var(--muted); font-size: .7rem; }
body:has(.giftvoucher-product-info) .calendar .day:not(.disabled):not(.name):not(.wn) { cursor: pointer; border-radius: 6px; }
body:has(.giftvoucher-product-info) .calendar .day:not(.disabled):hover { background: #eef2fb; }
body:has(.giftvoucher-product-info) .calendar .day.selected { background: var(--hp-blue); color: var(--white); font-weight: 700; }
body:has(.giftvoucher-product-info) .calendar .day.disabled { color: #b6b9c2; cursor: default; }
body:has(.giftvoucher-product-info) .calendar .emptyrow,
body:has(.giftvoucher-product-info) .calendar .combo { display: none; }
body:has(.giftvoucher-product-info) .calendar .combo {
  position: absolute; padding: 8px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--white); box-shadow: var(--shadow-sm); cursor: pointer;
}
body:has(.giftvoucher-product-info) .calendar .combo .label { padding: 4px 8px; }
body:has(.giftvoucher-product-info) .calendar .combo .label:hover { background: #eef2fb; }

/* Share */
.share_links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.share_links li { display: flex; }
.share_links iframe { display: block; }
.share_links .email-friend .a {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  background: var(--hp-slate); color: var(--white); font-size: .85rem; font-weight: 700; transition: background-color .2s ease;
}
.share_links .email-friend .a:hover { background: var(--hp-blue); }

/* Description / reviews / specs */
.product-collateral { display: grid; gap: 28px; }
.box-collateral {
  background: var(--white); border-radius: 22px; border: 1px solid var(--line); padding: 34px 36px;
}
.box-collateral > h2 {
  display: flex; align-items: center; gap: 12px; font-size: 1.55rem; font-weight: 900; margin-bottom: 20px;
}
.box-collateral > h2::before {
  content: ""; width: 6px; height: 1.1em; border-radius: 4px; background: linear-gradient(180deg, var(--hp-link), var(--hp-blue));
}

.box-description .std { font-size: 1.04rem; color: #343b4b; }
.box-description .std p:empty { display: none; }
.box-description .std ul.features,
.box-description .std div.features > ul { list-style: none; margin: 8px 0 22px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.box-description .std .features li {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 14px;
  background: var(--paper); font-weight: 500; color: var(--ink); line-height: 1.4;
}
.box-description .std .features li { position: relative; }
.box-description .std .features li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--hp-green);
}
.box-description .std .features li::after {
  content: ""; position: absolute; left: 21px; top: 19px; width: 12px; height: 12px; background: var(--white);
  -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat;
}
p.note {
  display: block; padding: 14px 18px; border-left: 4px solid var(--hp-gold); background: #fff8ea;
  border-radius: 0 12px 12px 0; color: #5a4a22; font-size: .95rem;
}

/* Reviews */
.box-reviews dl { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.box-reviews dt.average_rating {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hp-link); margin-bottom: 12px;
}
.box-reviews dd.average_rating { margin: 0 0 26px; padding: 22px 24px; border-radius: var(--radius); background: var(--hero-grad); }
.ratings-table { width: 100%; }
table.ratings-table { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
table.ratings-table tbody { display: contents; }
table.ratings-table tr { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
table.ratings-table th { text-align: left; font-weight: 500; color: rgba(255, 255, 255, .85); font-size: .95rem; }
table.ratings-table td { padding: 0; }
.box-reviews dd.average_rating .rating-bg { color: rgba(255, 255, 255, .22); }

.box-reviews dt:not(.average_rating) {
  padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px;
}
.box-reviews dt .ratings { order: 0; }
.box-reviews dt .rating-box { font-size: 16px; }
.box-reviews dt .clearer { display: none; }
.box-reviews .review-title { font-size: 1.1rem; font-weight: 700; line-height: 1.35; margin-top: 6px; }
.box-reviews .review-title a { color: var(--ink); }
.box-reviews .review-title a:hover { color: var(--hp-blue); }
.box-reviews .review-poster { font-size: .86rem; color: var(--muted); }
.box-reviews .review-poster > span:first-child { font-weight: 700; color: var(--ink); }
.box-reviews dd:not(.average_rating) {
  margin: 10px 0 22px; padding: 14px 18px; border-radius: 14px; background: var(--paper); color: #343b4b;
  position: relative;
}
.box-reviews dd:not(.average_rating)::before {
  content: ""; position: absolute; top: -7px; left: 22px; width: 14px; height: 14px; background: var(--paper); transform: rotate(45deg);
}
.box-reviews dd.last { margin-bottom: 0; }

.review-nologged { margin: 0; color: var(--muted); }
.review-nologged a { font-weight: 700; }

/* Data tables (spec sheets, order history, transactions) */
.data-table {
  width: 100%; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); border-collapse: separate; border-spacing: 0;
  background: var(--white); font-size: .94rem;
}
.data-table th,
.data-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.data-table tr:last-child th,
.data-table tr:last-child td { border-bottom: 0; }
.data-table th { background: var(--paper); font-weight: 700; font-size: .9rem; color: var(--muted); width: 25%; }
.data-table thead th { width: auto; white-space: nowrap; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.data-table td { font-weight: 500; }
.data-table td.a-right,
.data-table th.a-right { text-align: right; }
.data-table tbody tr:hover td { background: #fbfaf8; }
.data-table td:last-child > a:not(.btn-remove),
body.pmatch-request-index #my-orders-table td[id^="details-button-"] > button.button {
  display: inline-flex; padding: .3em .95em; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; font-size: .85rem;
}
.data-table td:last-child > a:not(.btn-remove):hover { border-color: var(--hp-blue); }
body.pmatch-request-index #my-orders-table td[id^="details-button-"] > button.button {
  background: transparent; color: var(--hp-link); box-shadow: none;
}
body.pmatch-request-index #my-orders-table td[id^="details-button-"] > button.button:hover,
body.pmatch-request-index #my-orders-table td[id^="details-button-"] > button.button:focus-visible {
  background: transparent; color: var(--hp-blue); border-color: var(--hp-blue); transform: none;
}
/* Product rows inside data tables (wishlist, order items) */
.data-table td .product-image {
  display: block; width: 96px; aspect-ratio: 1; padding: 4px; border-radius: 12px; overflow: hidden;
  background: var(--white); border: 1px solid #efedea;
}
.data-table td .product-image img { width: 100%; height: 100%; object-fit: contain; }
.data-table td .product-name { margin: 0 0 6px; font-size: 1.02rem; font-weight: 700; line-height: 1.35; }
.data-table td .product-name a { color: var(--ink); }
.data-table td .product-name a:hover { color: var(--hp-blue); }
.data-table td .description { margin-bottom: 10px; font-weight: 400; color: var(--muted); font-size: .9rem; }
.data-table td .description:has(.inner:empty) { display: none; }
.data-table td textarea { min-height: 72px; font-size: .9rem; }
.data-table .price-box .price { font-size: 1.4rem; }
/* Mobile cell labels are only shown when rows stack (see 640px breakpoint) */
.data-table .label-cell { display: none; }

/* ======================================================================
   Shared page furniture — titles, cards, forms, buttons, messages
   ====================================================================== */
.a-left { text-align: left; }
.a-center { text-align: center; }
.a-right { text-align: right; }
.nobr { white-space: nowrap; }
.only-mobile { display: none !important; }
.only-no-js { display: none !important; }
.std:empty { display: none; }
address { font-style: normal; }
dl, dd { margin: 0; }

.col1-layout .main,
.col2-left-layout .main { min-width: 0; }
.col2-left-layout .main > .row { grid-template-columns: 270px minmax(0, 1fr); }

/* Page titles sit on the gradient band */
.page-title {
  position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 16px 24px; margin-bottom: 28px; color: rgba(255, 255, 255, .78);
}
.page-title h1 {
  display: flex; flex-direction: column; gap: 8px; margin: 0;
  color: var(--white); font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 900; letter-spacing: -0.02em;
}
.page-title h1::before {
  content: "Hemi Performance"; display: block; padding-left: 38px;
  background: linear-gradient(currentColor, currentColor) left center / 28px 2px no-repeat;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hp-sky);
}
:where(.col2-left-layout:has(.block-account)) .page-title h1::before,
.my-account .page-title h1::before { content: "My account"; }
body[class*="rewardpoints"] .page-title h1::before { content: "My rewards"; }
.cart-page-content .page-title h1::before { content: "Your order"; }
body[class*="categorypath-shop-by-category"] .page-title h1::before { content: "Shop the range"; }
.one-step-checkout .page-title h1::before { content: "Secure checkout"; }
#one-step-checkout-form h3 { background-color: transparent !important; outline: 0 !important; }
.page-title .subtitle { flex-basis: 100%; max-width: 640px; margin: 0; color: rgba(255, 255, 255, .75); }
/* Intro copy directly under a page title becomes a card so it never sits on the band */
.page-title + .std,
.category-sales .page-title + div {
  position: relative; margin-bottom: 24px; padding: 20px 24px; background: var(--white); border: 1px solid var(--line);
  border-left: 4px solid var(--hp-link); border-radius: 16px; box-shadow: var(--shadow-sm); color: #343b4b;
}
.page-title + .std p:last-child { margin-bottom: 0; }
.page-title + .std a,
.category-sales .page-title + div a { font-weight: 700; }

/* Account-page empty-state copy */
body.ewayrapid-mycards-index .my-account > p,
body.review-customer-index .my-account > .page-title + p,
body.pmatch-request-index .col-main > .padding-s > .page-title + .col-2:not(:has(*)) {
  margin: 0 0 24px; padding: 20px clamp(16px, 4vw, 24px); background: var(--white); color: var(--ink);
  border: 1px solid var(--line); border-left: 4px solid var(--hp-link); border-radius: 16px;
  box-shadow: var(--shadow-sm); font-size: 1rem; line-height: 1.7; overflow-wrap: anywhere;
}
body.ewayrapid-mycards-index .my-account > p a {
  color: var(--hp-link); font-weight: 700; text-decoration: underline; text-underline-offset: 3px;
}
body.ewayrapid-mycards-index .my-account > p a:hover,
body.ewayrapid-mycards-index .my-account > p a:focus-visible { color: var(--hp-blue); }

/* ERP order details */
body.erp-orders-view .customer-account-erp-ordersview > .back-link { margin: 0 0 24px; text-align: left; }
body.erp-orders-view .customer-account-erp-ordersview > .std:empty { display: none; }
body.erp-orders-view .document-holder {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
  margin-bottom: 24px;
  padding: clamp(16px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); box-shadow: var(--shadow-sm);
}
body.erp-orders-view .document-holder > .title {
  grid-column: 1 / -1; padding-bottom: 18px; border-bottom: 1px solid var(--line);
  color: var(--hp-blue); font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 800; line-height: 1.4;
}
body.erp-orders-view .document-holder > div { min-width: 0; overflow-wrap: anywhere; }
body.erp-orders-view .document-holder > div > .title {
  display: block; margin-bottom: 6px; color: var(--muted); font-size: .78rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
}
body.erp-orders-view .document-holder .transaction-number > .text,
body.erp-orders-view .document-holder .transaction-date > .text { color: var(--hp-blue); font-weight: 700; }
body.erp-orders-view .document-holder > :is(.billing-address, .shipping-address) {
  padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper);
}
body.erp-orders-view .document-holder > :is(.billing-address, .shipping-address) > .text { display: block; white-space: pre-line; }
body.erp-orders-view .document-holder > .item-list {
  grid-column: 1 / -1; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
}
body.erp-orders-view .document-holder table { width: 100%; border-collapse: collapse; font-size: .9rem; }
body.erp-orders-view .document-holder > .itemfulfillment-tracking {
  grid-column: 1 / -1; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper);
}
body.erp-orders-view .itemfulfillment-tracking table { table-layout: fixed; }
body.erp-orders-view .itemfulfillment-tracking th {
  padding: 0 12px 10px 0; color: var(--muted); font-size: .75rem; font-weight: 700; text-align: left;
}
body.erp-orders-view .itemfulfillment-tracking td {
  padding: 12px 12px 12px 0; border-top: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere;
}
body.erp-orders-view .itemfulfillment-tracking a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
body.erp-orders-view .item-list th {
  padding: 12px 10px; background: var(--paper); color: var(--muted); font-size: .72rem; font-weight: 700; text-align: left;
}
body.erp-orders-view .item-list td { padding: 16px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
body.erp-orders-view .item-list .order-item-name { min-width: 140px; font-weight: 700; }
body.erp-orders-view .item-list .currency { text-align: right; white-space: nowrap; }
body.erp-orders-view .item-list .order-item-quantity > span { display: block; }
body.erp-orders-view .document-holder > .order-summary {
  grid-column: 1 / -1; justify-self: end; width: min(100%, 460px); padding: 16px 20px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
}
body.erp-orders-view .order-summary th { padding: 10px 12px 10px 0; text-align: left; font-weight: 500; }
body.erp-orders-view .order-summary td { padding: 10px 0; text-align: right; white-space: nowrap; font-weight: 700; }
body.erp-orders-view .order-summary .order-summary-total {
  padding-top: 16px; border-top: 1px solid var(--line); color: var(--hp-blue); font-size: 1.15rem; font-weight: 800;
}
@media (max-width: 1120px) {
  body.erp-orders-view .item-list table { table-layout: auto; }
  body.erp-orders-view .item-list th,
  body.erp-orders-view .item-list td { padding: 12px 4px; overflow-wrap: anywhere; }
  body.erp-orders-view .item-list th { font-size: .65rem; }
  body.erp-orders-view .item-list td { font-size: .8rem; }
  body.erp-orders-view .item-list .order-item-price { display: none; }
  body.erp-orders-view .item-list .order-item-name { min-width: 180px; }
  body.erp-orders-view .item-list :is(.order-item-sku, .order-item-quantity, .order-item-unitmsr, .order-item-total) {
    white-space: nowrap; overflow-wrap: normal;
  }
  body.erp-orders-view .item-list .order-item-total .price { white-space: nowrap; }
}
@media (max-width: 640px) {
  body.erp-orders-view .document-holder { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  body.erp-orders-view .document-holder > .order-summary { padding: 12px 16px; }
  body.erp-orders-view .itemfulfillment-tracking thead { display: none; }
  body.erp-orders-view .itemfulfillment-tracking table,
  body.erp-orders-view .itemfulfillment-tracking tbody { display: block; }
  body.erp-orders-view .itemfulfillment-tracking tr { display: grid; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
  body.erp-orders-view .itemfulfillment-tracking tr:first-child { padding-top: 0; border-top: 0; }
  body.erp-orders-view .itemfulfillment-tracking tr:last-child { padding-bottom: 0; }
  body.erp-orders-view .itemfulfillment-tracking td { display: block; min-width: 0; padding: 0; border: 0; }
  body.erp-orders-view .itemfulfillment-tracking td::before {
    display: block; margin-bottom: 4px; color: var(--muted); font-size: .75rem; font-weight: 700;
  }
  body.erp-orders-view .itemfulfillment-tracking td.itemfulfillment-tracking-carrier::before { content: "Carrier"; }
  body.erp-orders-view .itemfulfillment-tracking td.itemfulfillment-tracking-packageweight::before { content: "Weight"; }
  body.erp-orders-view .itemfulfillment-tracking td.itemfulfillment-tracking-packagetrackingnumber::before { content: "Tracking Number"; }
}
@media (width < 450px) {
  body.erp-orders-view .item-list .order-item-sku { display: none; }
}

/* Page not found */
body.cms-no-route .col-main > .padding-s > .std > dl {
  position: relative; margin: 0 0 24px; padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line); border-left: 4px solid var(--hp-link); border-radius: 16px;
  background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); overflow-wrap: anywhere;
}
body.cms-no-route .col-main > .padding-s > .std > dl > dt {
  margin-bottom: 14px; color: var(--hp-blue); font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 700; line-height: 1.4;
}
body.cms-no-route .col-main > .padding-s > .std > dl > dd { margin: 0; line-height: 1.7; }
body.cms-no-route .col-main > .padding-s > .std > dl > dd + dd { margin-top: 14px; }
body.cms-no-route .col-main .std ul.disc { margin: 0; padding-left: 22px; }
body.cms-no-route .col-main .std ul.disc > li + li { margin-top: 12px; }
body.cms-no-route .col-main .std li::marker { color: var(--hp-link); }
body.cms-no-route .col-main .std a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
body.cms-no-route .col-main .std .separator { padding-inline: 8px; color: var(--muted); }

/* Warranty and returns policy navigation and sections */
body.cms-page-view .std > ul.disc.table-bordered {
  display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 10px;
  list-style: none; margin: 0 0 28px; padding: 16px !important; border: 1px solid var(--line);
  border-radius: 16px; background: #f6f7fb;
}
body.cms-page-view .std > ul.disc.table-bordered li { margin: 0; min-width: 0; }
body.cms-page-view .std > ul.disc.table-bordered a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%;
  padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white);
  color: var(--hp-blue); font-size: .94rem; font-weight: 800; line-height: 1.4; text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
body.cms-page-view .std > ul.disc.table-bordered a::after {
  content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px);
}
body.cms-page-view .std > ul.disc.table-bordered a:hover {
  background: var(--hp-blue); border-color: var(--hp-blue); color: var(--white);
}
body.cms-page-view .std > ul.disc.table-bordered a:focus-visible {
  outline: 3px solid var(--hp-link); outline-offset: 3px;
}
body.cms-page-view .std > dl { margin: 28px 0; }
body.cms-page-view .std > dl > dt {
  margin: 30px 0 14px; padding: 14px 18px; border-left: 4px solid var(--hp-link); border-radius: 0 12px 12px 0;
  background: linear-gradient(90deg, #eef2fb, #f8f9fc); color: var(--hp-blue); font-size: 1.2rem; font-weight: 900; line-height: 1.4;
}
body.cms-page-view .std > dl > dt > a {
  display: block; color: inherit; font-weight: inherit; text-decoration: none; scroll-margin-top: 150px;
}
body.cms-page-view .std > dl > dd { margin: 0; padding: 0 4px; line-height: 1.8; }

/* Gift card account listing */
body.giftvoucher-index-index .customer-account-giftcard {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0;
}
body.giftvoucher-index-index .customer-account-giftcard > .page-title { margin-bottom: 0; }
body.giftvoucher-index-index .customer-account-giftcard > .balance { position: relative; z-index: 2; justify-self: end; }
body.giftvoucher-index-index .customer-account-giftcard .addredeem {
  background: var(--hp-green); color: var(--white); box-shadow: 0 10px 24px -10px rgba(122, 181, 29, .8);
}
body.giftvoucher-index-index .customer-account-giftcard .addredeem:hover { background: var(--hp-green-dark); }
body.giftvoucher-index-index .giftvoucher-search-button {
  display: none; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 16px;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm);
}
body.giftvoucher-index-index .giftvoucher-search-button .button:first-child {
  background: var(--white); color: var(--hp-blue); border-color: var(--line); box-shadow: none;
}
body.giftvoucher-index-index .giftvoucher-search-button .button:first-child:hover { border-color: var(--hp-blue); }
body.giftvoucher-index-index .giftvoucher-timezone {
  padding: 10px 16px; border-radius: 12px; background: #eef2fb; color: var(--hp-blue); font-size: .85rem;
}
body.giftvoucher-index-index .customer-account-giftcard .pager { margin: 0; }
body.giftvoucher-index-index .customer-account-giftcard > .pager-header { display: none; }
body.giftvoucher-index-index #giftvoucher_grid {
  display: flex; flex-direction: column; gap: 20px; width: 100%; border: 0; border-radius: 0; background: none; box-shadow: none;
}
body.giftvoucher-index-index #giftvoucher_grid colgroup,
body.giftvoucher-index-index #giftvoucher_grid .giftvoucher-grid-title,
body.giftvoucher-index-index #giftvoucher_grid .giftvoucher-grid-search th:last-child { display: none; }
body.giftvoucher-index-index #giftvoucher_grid thead,
body.giftvoucher-index-index #giftvoucher_grid tr.giftvoucher-grid-search { display: none; }
body.giftvoucher-index-index #giftvoucher_grid tbody { display: block; min-width: 0; }
body.giftvoucher-index-index #giftvoucher_grid tbody tr {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm);
}
body.giftvoucher-index-index #giftvoucher_grid tbody tr + tr { margin-top: 20px; }
body.giftvoucher-index-index #giftvoucher_grid th,
body.giftvoucher-index-index #giftvoucher_grid td {
  display: block; width: auto; min-width: 0; padding: 0; border: 0; background: none;
  text-align: left; white-space: normal; letter-spacing: normal; text-transform: none; overflow-wrap: anywhere;
}
body.giftvoucher-index-index #giftvoucher_grid .giftvoucher-grid-title-hidden {
  display: block; margin-bottom: 8px; color: var(--muted); font-size: .72rem;
  font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
body.giftvoucher-index-index #giftvoucher_grid .giftvoucher-grid-detail { display: block; }
body.giftvoucher-index-index #giftvoucher_grid .giftvoucher-grid-search-item { width: 100% !important; }
body.giftvoucher-index-index #giftvoucher_grid .range-container { display: grid; gap: 8px; }
body.giftvoucher-index-index #giftvoucher_grid .data-range {
  display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 6px; position: relative;
}
body.giftvoucher-index-index #giftvoucher_grid .data-range .label { font-size: .76rem; font-weight: 600; color: var(--muted); }
body.giftvoucher-index-index #giftvoucher_grid input,
body.giftvoucher-index-index #giftvoucher_grid select { width: 100%; min-width: 0; font-size: .85rem; }
body.giftvoucher-index-index #giftvoucher_grid .from-date input,
body.giftvoucher-index-index #giftvoucher_grid .to-date input { padding-right: 30px; }
body.giftvoucher-index-index #giftvoucher_grid .data-range img {
  position: absolute; right: 10px; width: 15px; height: 15px; cursor: pointer;
}
body.giftvoucher-index-index #giftvoucher_grid tbody td:first-child a { font-weight: 800; color: var(--hp-blue); }
body.giftvoucher-index-index #giftvoucher_grid tbody .price { font-size: 1.3rem; font-weight: 900; color: var(--hp-blue); }
body.giftvoucher-index-index #giftvoucher_grid tbody td:nth-child(3) .giftvoucher-grid-detail {
  display: inline-block; padding: 4px 12px; border-radius: 999px; background: #eef2fb; color: var(--hp-blue); font-size: .85rem; font-weight: 700;
}
body.giftvoucher-index-index #giftvoucher_grid tbody td:last-child a {
  display: inline-block; margin: 0 0 4px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px;
  font-size: .8rem; font-weight: 700; text-decoration: none;
}
body.giftvoucher-index-index #giftvoucher_grid tbody td:last-child a:hover { background: #eef2fb; border-color: var(--hp-blue); }
body.giftvoucher-index-index #giftvoucher_grid a:focus-visible,
body.giftvoucher-index-index .customer-account-giftcard button:focus-visible { outline: 2px solid var(--hp-link); outline-offset: 3px; }
@media (max-width: 1120px) {
  body.giftvoucher-index-index #giftvoucher_grid tr.giftvoucher-grid-search,
  body.giftvoucher-index-index #giftvoucher_grid tbody tr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body.giftvoucher-index-index #giftvoucher_grid tr.giftvoucher-grid-search,
  body.giftvoucher-index-index #giftvoucher_grid tbody tr { grid-template-columns: minmax(0, 1fr); padding: 20px; gap: 18px; }
  body.giftvoucher-index-index .giftvoucher-search-button .button { flex: 1; }
  body.giftvoucher-index-index .customer-account-giftcard .pager { gap: 12px; padding: 16px; }
}

/* White content cards */
.welcome-msg,
.box-account,
.fieldset,
.col2-set .col-1 > .content,
.col2-set .col-2 > .content,
.addresses-list > div,
.cart-page-content .table-border,
.cart-collaterals .discount,
.one-step-checkout .billing_address,
.one-step-checkout .shipping_address,
.one-step-checkout li.shipping-method,
.one-step-checkout li.payment-method,
.one-step-checkout li.order-review-info {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-sm); padding: 28px 30px;
}

/* Card headings with the accent bar used on product pages */
.box-head h2,
.content > h2,
.legend,
.addresses-list h2,
.cart-page-content .shipping h2,
.cart-collaterals .discount h2 {
  display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 1.25rem; font-weight: 900;
}
.box-head h2::before,
.content > h2::before,
.legend::before,
.addresses-list h2::before,
.cart-page-content .shipping h2::before,
.cart-collaterals .discount h2::before {
  content: ""; flex: none; width: 5px; height: 1.05em; border-radius: 4px; background: linear-gradient(180deg, var(--hp-link), var(--hp-blue));
}

/* Form controls */
body.category-vin-decode .vindecode-holder {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px;
  margin-top: 24px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper);
}
body.category-vin-decode .page-title h1::before { content: "Vehicle identification"; }
body.category-vin-decode .std > ul { padding-left: 22px; }
body.category-vin-decode .std > ul li + li { margin-top: 12px; }
body.category-vin-decode .vindecode-holder > p:not(.vindecode-human-readable) { display: none; }
body.category-vin-decode .vindecode-holder > h1 {
  grid-column: 1 / -1; margin: 0; color: var(--hp-blue);
  font-size: clamp(1.2rem, 2.4vw, 1.8rem); line-height: 1.4; overflow-wrap: anywhere;
}
body.category-vin-decode .vindecode-holder > .vindecode-human-readable {
  grid-column: 1 / -1; margin: 0; padding: 16px 18px; border-left: 4px solid var(--hp-link);
  border-radius: 12px; background: #eef2fb; color: var(--ink); line-height: 1.7;
}
body.category-vin-decode .vindecode-holder > .data-table {
  grid-column: 1 / -1; width: 100%; margin: 4px 0 8px; table-layout: fixed; background: var(--white);
}
body.category-vin-decode .vindecode-holder .data-table th,
body.category-vin-decode .vindecode-holder .data-table td { overflow-wrap: anywhere; }
body.category-vin-decode .vindecode-holder .data-table tr:first-child th {
  background: var(--hp-slate); color: var(--white); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
}
body.category-vin-decode .vindecode-holder .data-table th:first-child { width: 28%; }
body.category-vin-decode .vindecode-holder .data-table th:nth-child(2) { width: 16%; }
body.category-vin-decode .vindecode-holder .data-table tr:first-child th:last-child { width: 56%; }
body.category-vin-decode .vindecode-holder .data-table td:first-of-type { color: var(--hp-blue); font-weight: 700; }
body.category-vin-decode .vindecode-holder .form-list,
body.category-vin-decode .vindecode-holder .input-box { min-width: 0; }
body.category-vin-decode .vindecode-field-number { height: 48px; letter-spacing: .04em; }
body.category-vin-decode .vindecode-field-submit { min-height: 48px; padding-inline: 28px; }
@media (min-width: 641px) {
  body.category-vin-decode .col-main > .padding-s { max-width: 1040px; margin-inline: auto; }
  body.category-vin-decode .vindecode-holder .data-table th,
  body.category-vin-decode .vindecode-holder .data-table td { padding: 11px 16px; }
  body.category-vin-decode .vindecode-holder > .form-list { grid-column: 1; }
  body.category-vin-decode .vindecode-holder > div:has(> .vindecode-field-submit) { grid-column: 2; }
}
input[type="password"]:focus { border-color: var(--hp-link); box-shadow: 0 0 0 3px rgba(33, 133, 197, .18); }

/* Contact page */
body.category-contact-us .col-main > .padding-s { max-width: 1100px; margin-inline: auto; }
body.category-contact-us .col-main .content {
  position: relative; margin: 0 0 20px; padding: 22px 24px; border: 1px solid var(--line);
  border-left: 4px solid var(--hp-link); border-radius: 16px; background: var(--white); box-shadow: var(--shadow-sm);
}
body.category-contact-us .col-main .content h1 {
  display: flex; align-items: center; gap: 12px; margin: 0 0 12px; color: var(--ink);
  font-size: 1.35rem; font-weight: 900;
}
body.category-contact-us .col-main .content h1::before {
  content: ""; flex: none; width: 5px; height: 1.05em; border-radius: 4px;
  background: linear-gradient(180deg, var(--hp-link), var(--hp-blue));
}
body.category-contact-us .col-main .content p:last-child { margin-bottom: 0; }
body.category-contact-us .col-main > .padding-s > .content:nth-of-type(2) p + p { margin-top: 12px; }
body.category-contact-us .col-main > .padding-s > .content:nth-of-type(2) p:last-child {
  padding: 12px 14px; border-radius: 10px; background: #fff8ea; color: #5a4a22;
}
body.category-contact-us #form-customcontact {
  margin: 0 0 32px; padding: 24px; border: 1px solid var(--line); border-radius: 20px;
  background: var(--white); box-shadow: var(--shadow-sm);
}
body.category-contact-us #form-customcontact > .fieldset { margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
body.category-contact-us #form-customcontact .form-list { gap: 20px; }
body.category-contact-us #form-customcontact .customer-contact,
body.category-contact-us #form-customcontact .email-classification {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
}
body.category-contact-us #form-customcontact .field { min-width: 0; }
body.category-contact-us #form-customcontact #whats-related { margin-top: 8px; padding: 12px; border-radius: 10px; background: #eef2fb; color: var(--muted); font-size: .85rem; }
body.category-contact-us #form-customcontact .wide { margin-top: 2px; }
body.category-contact-us #form-customcontact textarea { min-height: 160px; }
body.category-contact-us #form-customcontact .buttons-set { align-items: center; }
body.category-contact-us #contant-info-table { width: 100%; margin: 0 0 28px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--white); }
body.category-contact-us #contant-info-table > tbody > tr:first-child td {
  background: var(--hp-slate) !important; color: var(--white); font-size: 1rem; font-weight: 800;
}
body.category-contact-us #contant-info-table > tbody > tr:first-child > td:first-child { color: var(--white); }
body.category-contact-us #contant-info-table > tbody > tr:first-child td strong { color: inherit; }
body.category-contact-us #contant-info-table > tbody > tr > td:first-child { width: 24%; color: var(--ink); font-weight: 700; }
body.category-contact-us #contant-info-table > tbody > tr > td { padding: 14px 16px; }
body.category-contact-us #contant-info-table .phone-table { width: 100%; margin-top: 12px; border-collapse: collapse; }
body.category-contact-us #contant-info-table .phone-table tr + tr { border-top: 1px solid var(--line); }
body.category-contact-us #contant-info-table .phone-table td { padding: 7px 8px; border: 0; }
body.category-contact-us #contant-info-table .phone-table a { font-weight: 700; white-space: nowrap; }
body.category-contact-us #contant-info-table address { white-space: pre-line !important; }
input[type="checkbox"],
input[type="radio"] { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--hp-blue); cursor: pointer; }
select:not([multiple]) {
  -webkit-appearance: none; appearance: none; padding-right: 2.6em; cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6475' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right .9em center / 14px;
}
textarea { width: 100%; min-height: 96px; resize: vertical; }
input.validation-failed, select.validation-failed, textarea.validation-failed { border-color: var(--hp-red); }
.validation-advice, .error-message:not(:empty) { margin-top: 6px; font-size: .82rem; font-weight: 500; color: var(--hp-red); }
#email-error-message > p:has(a[onclick*="login_popup.show"]) {
  position: relative; margin: 10px 0 0; padding: 14px 16px 14px 46px; border: 1px solid #f6dfae;
  border-left: 4px solid var(--hp-gold); border-radius: 12px; background: #fff8ea; color: #5a4a22;
  font-size: .88rem; line-height: 1.6;
}
#email-error-message > p:has(a[onclick*="login_popup.show"])::before {
  content: ""; position: absolute; top: 17px; left: 14px; width: 20px; height: 20px; background: #a86b08;
  -webkit-mask: var(--i-star) center / contain no-repeat; mask: var(--i-star) center / contain no-repeat;
}
#email-error-message a[onclick*="login_popup.show"] {
  color: var(--hp-blue); font-weight: 800; text-decoration: underline; text-underline-offset: 3px;
}
#email-error-message a[onclick*="login_popup.show"]:hover { color: var(--hp-link); }

.form-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.form-list li.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-list .customer-name { display: contents; }
.form-list label,
.onestepcheckout-discount > label,
.onestepcheckout-comment > label,
.discount-form > label {
  display: block; margin-bottom: 6px; font-size: .88rem; font-weight: 700; color: var(--ink);
}
label em,
label .required { font-style: normal; font-weight: 700; color: var(--hp-red); }
label.required em { margin-right: 3px; }
.input-box input.input-text,
.input-box select,
.input-box textarea { width: 100%; max-width: 100% !important; }
.form-list li.control,
.form-list li.control > div,
.one-step-checkout li.control,
.one-step-checkout li.control > div {
  display: flex; align-items: center; gap: 10px;
}
.form-list li.control label,
.one-step-checkout li.control label { margin: 0; font-weight: 500; cursor: pointer; }
.form-list li.control { flex-wrap: wrap; }
.my-account #ewayrapid_saved_cc_type_exp_div > .input-box {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
}
.my-account #ewayrapid_saved_cc_type_exp_div .v-fix { min-width: 0; }
.my-account .form-list > li:has(#ewayrapid_saved_default) { display: flex; align-items: center; gap: 10px; }
.my-account .form-list > li:has(#ewayrapid_saved_default) > .v-fix { display: flex; padding-right: 0 !important; }
.my-account label[for="ewayrapid_saved_default"] { margin: 0; font-weight: 500; }
.form-instructions { margin: 6px 0 0; font-size: .82rem; color: var(--muted); }
#remember-me-tooltip {
  margin-top: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: #eef2fb; color: var(--hp-blue); font-size: .88rem; line-height: 1.6;
}
.rewardpointsbehavior-checkout-action,
.rewardpointsbehavior-checkout-action1 {
  order: 2; flex-basis: 100%; padding: 12px 16px; border: 1px solid #f6dfae;
  border-radius: 12px; background: #fff8ea; color: #5a4a22; font-size: .88rem; line-height: 1.6;
  font-weight: 500; min-width: 0; width: auto !important;
}
.rewardpointsbehavior-checkout-action img,
.rewardpointsbehavior-checkout-action1 img { width: 20px; height: 20px; vertical-align: middle; }
.fieldset > .rewardpointsbehavior-checkout-action1 { margin-bottom: 20px; }

.recaptcha { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.recaptcha > div[id^="recaptcha-"] { flex: none; }
.recaptcha .validation-advice { flex-basis: 100%; text-align: center; }

/* Date of birth trio */
.customer-dob { display: flex; flex-wrap: wrap; gap: 12px; }
.customer-dob > div { display: flex; flex-direction: column; }
.customer-dob .dob-day,
.customer-dob .dob-month { width: 84px; }
.customer-dob .dob-year { width: 112px; }
.customer-dob input.input-text { width: 100%; text-align: center; }
.customer-dob label { order: 2; margin: 4px 0 0; font-size: .72rem; font-weight: 500; letter-spacing: .1em; color: var(--muted); text-align: center; }
.customer-dob .dob-full { display: none; }
.customer-dob .validation-advice { flex-basis: 100%; }
.customer-dob .rewardpointsbehavior-checkout-action {
  display: block; align-self: stretch;
}
.addresses-list { align-items: start; }

/* Default store buttons */
button.button:not([class*="btn-"]),
button.btn-add,
#add_coupon_code_button,
#remove_coupon_code_button {
  background: var(--hp-blue); color: var(--white); box-shadow: 0 10px 24px -12px rgba(44, 56, 144, .85);
}
button.button:not([class*="btn-"]):hover,
button.btn-add:hover,
#add_coupon_code_button:hover { background: var(--hp-link); }
#add_coupon_code_button,
#remove_coupon_code_button {
  display: inline-flex; align-items: center; justify-content: center; align-self: center; flex: none;
  width: 104px; height: 30px; padding: 4px 6px; border: 1px solid transparent; border-radius: 999px;
  font-weight: 500; font-size: .75rem; line-height: 1.4; cursor: pointer; transition: background-color .2s ease, transform .2s ease;
}
#remove_coupon_code_button {
  border-color: var(--line); background: transparent; color: var(--muted); box-shadow: none;
}
#remove_coupon_code_button:hover,
#remove_coupon_code_button:focus-visible { background: var(--paper); color: var(--ink); border-color: var(--muted); }

.buttons-set button[type="submit"].button,
.title-buttons > button.button,
.btn-checkout {
  background: var(--hp-green); color: var(--white); box-shadow: 0 10px 24px -10px rgba(122, 181, 29, .8);
}
.buttons-set button[type="submit"].button:hover,
.title-buttons > button.button:hover,
.btn-checkout:hover { background: var(--hp-green-dark); }

.buttons-set { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 24px; }
.buttons-set p { margin: 0; }
.buttons-set .button { margin-left: auto; min-width: 160px; }
.buttons-set .button ~ .button { margin-left: 0; }
body.giftvoucher-index-addredeem #addredeem-giftvoucher-code {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 16px; align-items: start;
}
body.giftvoucher-index-addredeem #addredeem-giftvoucher-code > .fieldset { grid-column: 1 / -1; min-width: 0; }
body.giftvoucher-index-addredeem #addredeem-giftvoucher-code > .buttons-set {
  grid-column: 2; grid-row: 2; flex-direction: row; justify-content: flex-end; margin-top: 0;
}
body.giftvoucher-index-addredeem #addredeem-giftvoucher-code > .back-link {
  grid-column: 1; grid-row: 2; margin: 0; align-self: start;
}
.buttons-set p.required { order: 3; flex-basis: 100%; text-align: right; font-size: .82rem; color: var(--muted); }

.back-link a {
  display: inline-flex; align-items: center; gap: 6px; padding: .55em 1.1em .55em .8em; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink); font-weight: 700; font-size: .9rem;
}
.back-link a::before {
  content: ""; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: var(--i-chev-left) center / contain no-repeat; mask: var(--i-chev-left) center / contain no-repeat;
}
.back-link a:hover { border-color: var(--hp-blue); color: var(--hp-blue); }
.back-link small { display: none; }

/* Single review page */
body.review-product-view .col-main { grid-column: 1; width: 100%; max-width: none; }
body.review-product-view .product-review {
  display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); grid-template-areas: "title title" "name name" "img shop" "back back";
  gap: 22px 36px; align-items: start;
}
body.review-product-view .product-review > .page-title { grid-area: title; }
body.review-product-view .product-review > .product-name,
body.review-product-view .product-review > .product-shop,
body.review-product-view .product-review > .product-img-box,
body.review-product-view .product-review > .buttons-set { position: relative; z-index: 2; }
body.review-product-view .product-review > .product-name {
  grid-area: name; margin: 0; padding: 20px 24px; border: 1px solid var(--line); border-left: 4px solid var(--hp-link);
  border-radius: 16px; background: var(--white); box-shadow: var(--shadow-sm);
}
body.review-product-view .product-review > .product-name h2 { margin: 0; color: var(--ink); font-size: 1.2rem; font-weight: 800; line-height: 1.35; }
body.review-product-view .product-review > .product-img-box { grid-area: img; padding: 12px; }
body.review-product-view .product-img-box .product-image { display: block; position: relative; z-index: 1; }
body.review-product-view .product-img-box img { display: block; width: 100%; height: auto; border-radius: 10px; }
body.review-product-view .product-review > .product-shop {
  grid-area: shop; display: block; padding: 26px 28px; border: 1px solid var(--line); border-radius: 20px;
  background: var(--white); box-shadow: var(--shadow-sm);
}
body.review-product-view .product-shop h3 { margin: 0; color: var(--hp-blue); font-size: 1.35rem; font-weight: 900; }
body.review-product-view .product-shop .posted_on { margin: 2px 0 18px; color: var(--muted); font-size: .88rem; }
body.review-product-view .product-shop .posted_on span { font-weight: 700; color: var(--ink); }
body.review-product-view .product-shop dl { margin: 0; }
body.review-product-view .product-shop dd { margin: 0; }
body.review-product-view .product-shop table.ratings-table {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0 0 22px; padding: 18px 20px;
  border-radius: 14px; background: #eef2fb; border: 1px solid #dbe3f4;
}
body.review-product-view .product-shop table.ratings-table th { color: var(--ink); font-weight: 600; }
body.review-product-view .product-shop .rating-bg { color: #c7cfe0; }
body.review-product-view .product-shop dl:last-child dt { font-size: 1.15rem; font-weight: 800; line-height: 1.35; color: var(--ink); }
body.review-product-view .product-shop dl:last-child dt br { display: none; }
body.review-product-view .product-shop dl:last-child dd { margin-top: 8px; color: var(--ink); line-height: 1.7; }
body.review-product-view .product-review > .buttons-set { grid-area: back; margin: 0; }
@media (max-width: 800px) {
  body.review-product-view .product-review { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "name" "img" "shop" "back"; gap: 18px; }
  body.review-product-view .product-review > .product-name { padding: 16px 18px; }
  body.review-product-view .product-review > .product-name h2 { font-size: 1.05rem; }
  body.review-product-view .product-review > .product-shop { padding: 20px 18px; border-radius: 16px; }
  body.review-product-view .product-review > .product-img-box { max-width: 420px; }
}

/* Status messages */
ul.messages { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
ul.messages ul { list-style: none; margin: 0; padding: 0; }
/* Message boxes apply wherever the class is used (div, li, p), not only inside ul.messages */
:where(ul.messages > li),
.error-msg,
.success-msg,
.notice-msg,
.note-msg,
.note-msg-empty-catalog,
.warning-msg {
  --msg-bg: #eef6fc; --msg-line: #cfe5f5; --msg-ink: #18496b; --msg-accent: var(--hp-link); --msg-icon: var(--i-info);
  position: relative; margin: 0 0 22px; padding: 16px 20px 16px 58px; border: 1px solid var(--msg-line);
  border-left: 4px solid var(--msg-accent); border-radius: 14px; background: var(--msg-bg); color: var(--msg-ink);
  font-weight: 500; line-height: 1.5; box-shadow: var(--shadow-sm);
}
ul.messages > li { margin: 0; }
:where(ul.messages > li)::before,
.error-msg::before,
.error-msg::before,
.success-msg::before,
.notice-msg::before,
.note-msg::before,
.note-msg-empty-catalog::before,
.warning-msg::before {
  content: ""; position: absolute; left: 20px; top: 17px; width: 22px; height: 22px; background: var(--msg-accent);
  -webkit-mask: var(--msg-icon) center / contain no-repeat; mask: var(--msg-icon) center / contain no-repeat;
}
.success-msg { --msg-bg: #f2f8e8; --msg-line: #dcebc4; --msg-ink: #3d5c12; --msg-accent: var(--hp-green-dark); --msg-icon: var(--i-check); }
.error-msg {
  --msg-bg: #fdeeee; --msg-line: #f5c9cb; --msg-ink: #8e1b21; --msg-accent: var(--hp-red);
  --msg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.3 2.8h7.4l5.5 5.5v7.4l-5.5 5.5H8.3l-5.5-5.5V8.3z'/%3E%3Cpath d='M12 7.5v5.5M12 16.5h.01'/%3E%3C/svg%3E");
}
.notice-msg,
.note-msg,
.note-msg-empty-catalog,
.warning-msg {
  --msg-bg: #fff8ea; --msg-line: #f6dfae; --msg-ink: #5a4a22; --msg-accent: #d98e04;
  --msg-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 3.9L1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z'/%3E%3Cpath d='M12 9.5v4.5M12 17.5h.01'/%3E%3C/svg%3E");
}
ul.messages > li.error-msg,
ul.messages > li.success-msg,
ul.messages > li.notice-msg,
ul.messages > li.warning-msg { margin: 0; }
.error-msg a,
.success-msg a,
.notice-msg a,
.note-msg a,
.note-msg-empty-catalog a,
.warning-msg a { color: inherit; font-weight: 700; text-decoration: underline; }
.error-msg ul,
.success-msg ul,
.notice-msg ul,
.note-msg ul,
.warning-msg ul { list-style: none; margin: 0; padding: 0; }
.note-msg-empty-catalog > h3 { margin: 0 0 12px; color: inherit; font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.4; }
.note-msg-empty-catalog > div { overflow-wrap: anywhere; }
.note-msg-empty-catalog > div + div { margin-top: 8px; }
@media (max-width: 640px) {
  .error-msg, .success-msg, .notice-msg, .note-msg, .note-msg-empty-catalog, .warning-msg, ul.messages > li { padding: 14px 16px 14px 50px; font-size: .95rem; }
  ul.messages > li::before, .error-msg::before, .success-msg::before, .notice-msg::before, .note-msg::before, .note-msg-empty-catalog::before, .warning-msg::before { left: 15px; top: 15px; }
}
p.item-msg.notice { font-size: .85rem; color: #b36b00; }

/* Toast notifications use the existing plainToast.make / burn lifecycle */
.plainToastTray {
  position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 10000;
  width: min(400px, calc(100% - 32px)); max-height: calc(100dvh - 96px);
  overflow-x: hidden; overflow-y: auto; scrollbar-width: none; pointer-events: none;
}
.plainToastTray::-webkit-scrollbar { display: none; }
.plainToast {
  position: relative; max-height: 0; margin-top: 0; overflow: hidden; opacity: 0;
  background: var(--hp-slate); color: var(--white); border-radius: 14px; box-shadow: var(--shadow);
  text-align: left; cursor: pointer; pointer-events: auto;
  transition: max-height .3s ease, margin-top .3s ease, opacity .3s ease;
}
.plainToast.shown { max-height: 360px; margin-top: 10px; opacity: 1; animation: hp-toast-in .25s ease both; }
.plainToast.shown.afterShown {
  max-height: 0; margin-top: 0; opacity: 0; pointer-events: none; animation: hp-toast-out .3s ease both;
}
.plainToast.persist { cursor: auto; }
.plainToast .inner { display: flex; align-items: center; gap: 14px; padding: 16px 18px 20px; }
.plainToast .image {
  flex: none; width: 64px; height: 64px; border-radius: 10px; background-color: var(--white);
  background-size: contain; background-position: center; background-repeat: no-repeat;
}
.plainToast .text { min-width: 0; flex: 1; font-size: .95rem; line-height: 1.5; overflow-wrap: anywhere; }
.plainToast .text p:last-child { margin-bottom: 0; }
.plainToast .text a { color: var(--hp-sky); text-decoration: underline; font-weight: 700; }
.plainToast .indicator { position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; background: var(--hp-sky); }
.plainToast.success .indicator { background: var(--hp-green); }
.plainToast.error .indicator { background: var(--hp-red); }
.plainToast.warning .indicator { background: var(--hp-gold); }
.plainToast.loading .indicator {
  background: linear-gradient(90deg, var(--hp-sky), var(--hp-green), var(--hp-sky)); background-size: 200% 100%;
  animation: hp-toast-loading 1.5s linear infinite;
}
.plainToast.small .inner { padding: 12px 16px 16px; }
.plainToast.small .image { width: 40px; height: 40px; }
.plainToast .install-ignore-web-app { display: flex; justify-content: space-around; }
.plainToast .install-ignore-web-app span {
    border: 1px solid var(--white);
    border-radius: var(
    --radius-sm);
    padding: 4px 9px;
    cursor: pointer;
}
@keyframes hp-toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hp-toast-out { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(12px); } }
@keyframes hp-toast-loading { to { background-position: -200% 0; } }

/* ======================================================================
   Customer account
   ====================================================================== */
.sidebar .block-content ul { list-style: none; margin: 0; padding: 0; }
.block-account .block-content li.current strong {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-sm); background: var(--hp-blue); color: var(--white); font-weight: 700;
}
.block-account .block-content li.current strong::after {
  content: ""; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: var(--i-chev-right) center / contain no-repeat; mask: var(--i-chev-right) center / contain no-repeat;
}
.block-account .block-content li a .price {
  margin-left: auto; padding: 2px 9px; border-radius: 999px; background: #f2f8e8; color: var(--hp-green-dark);
  font-size: .76rem; font-weight: 700; white-space: nowrap;
}
.block-account .block-content li a img { width: 18px; height: 18px; object-fit: contain; margin-left: -4px; }

/* Dashboard */
.welcome-msg { margin-bottom: 24px; }
.welcome-msg p { margin: 0; color: var(--muted); }
.welcome-msg p.hello { margin-bottom: 6px; font-size: 1.3rem; color: var(--ink); }
.welcome-msg p.hello strong { font-weight: 900; }

.box-account { margin-bottom: 24px; }
.box-account:last-child { margin-bottom: 0; }
.box-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.box-head h2 { margin: 0; }
.box-head > a,
.box-title > a { font-size: .88rem; font-weight: 700; white-space: nowrap; }

.box-rewardpoints-summary { background: var(--hero-grad); border-color: transparent; color: rgba(255, 255, 255, .8); overflow: hidden; }
.box-rewardpoints-summary::after {
  content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 180, 236, .3), transparent 70%); pointer-events: none;
}
.box-rewardpoints-summary .box-head h2 { color: var(--white); }
.box-rewardpoints-summary .box-head h2::before { background: var(--hp-sky); }
.info-summary { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
.info-summary p { margin: 0; }
.info-summary p br { display: none; }
.info-summary > p:first-child > strong { font-weight: 500; }
.info-summary > p:first-child > strong:has(> .rewardpoints-money) {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; width: fit-content; max-width: 100%;
}
.info-summary > p:first-child .rewardpoints-money {
  display: block; grid-column: 1; grid-row: 2; margin-top: 2px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 900; color: var(--white); letter-spacing: -0.01em;
}
.info-summary .rewardpoints-money .price { color: var(--hp-gold); }
.info-summary .rewardpoints-name-img { grid-column: 2; grid-row: 2; align-self: end; }
.info-summary .rewardpoints-name-img img { width: 22px; height: 22px; }
.info-summary > p + p a {
  display: inline-flex; align-items: center; gap: 8px; padding: .7em 1.4em; border-radius: 999px;
  background: var(--white); color: var(--hp-blue); font-weight: 700; transition: transform .2s ease;
}
.info-summary > p + p a::after {
  content: ""; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: var(--i-chev-right) center / contain no-repeat; mask: var(--i-chev-right) center / contain no-repeat;
}
.info-summary > p + p a:hover { transform: translateY(-2px); }

.col2-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.col2-set > .wrapper:only-child { display: contents; }
.col2-set .col-1,
.col2-set .col-2 { min-width: 0; }
.col2-set + .col2-set { margin-top: 18px; }
.col2-set > .box:only-child { grid-column: 1 / -1; }
.box-account .box { height: 100%; padding: 20px 22px; border-radius: 14px; background: #fbfaf8; border: 1px solid #efedea; }
.box-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.box-title h3 { margin: 0; font-size: 1.02rem; font-weight: 700; }
.box-content p { margin: 0; color: var(--muted); }
.box-content p a { font-weight: 700; }
.box-content:has(> .col-1) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.box-content h4,
.addresses-list li.item h3 {
  margin: 0 0 8px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hp-link);
}
.box-content address,
.addresses-list address { color: var(--muted); line-height: 1.65; }
.box-content address a { display: inline-block; margin-top: 8px; font-weight: 700; }

/* Address book */
.title-buttons .button { flex: none; }
.addresses-list { margin-bottom: 0; gap: 24px; }
.addresses-list ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.addresses-list li.item { padding: 18px 20px; border-radius: 14px; background: #fbfaf8; border: 1px solid #efedea; }
.addresses-list li.item p { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 12px 0 0; font-size: .9rem; font-weight: 700; }
.addresses-list .separator { color: var(--line); font-weight: 400; }
.addresses-list .link-remove { color: var(--hp-red); }
.addresses-list .link-remove:hover { color: #a51d24; }

/* Edit forms */
.fieldset { margin-bottom: 24px; }
.fieldset ~ .buttons-set { margin-top: 0; }

/* Inline add-to-cart (qty + button) and item links */
input.qty { width: 4.5em; text-align: center; font-weight: 700; }
.add-to-cart-alt { display: flex; align-items: center; gap: 8px; }
.add-to-cart-alt input.qty { flex: none; border-radius: 999px; }
.add-to-cart-alt .btn-cart { flex: 1 1 auto; width: auto; white-space: nowrap; }
.cart-cell { display: grid; gap: 10px; justify-items: start; min-width: 220px; }
.cart-cell .add-to-cart-alt { width: 100%; }
.cart-cell p { margin: 0; }
.link-edit { font-size: .85rem; font-weight: 700; }

/* Wishlist */
.wishlist-share-url {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-bottom: 24px; padding: 18px 22px;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm);
}
.wishlist-share-url > span { font-weight: 700; color: var(--ink); }
.wishlist-share-url #shareurl { flex: 1 1 0; min-width: 0; border-radius: 999px; color: var(--muted); background: var(--paper); }
.copy-btn {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 999px; cursor: pointer;
  border: 0; background: var(--hp-blue); color: var(--white); transition: background-color .2s ease;
}
.copy-btn:hover { background: var(--hp-link); }
.wishlist-copy-failed-msg { flex-basis: 100%; font-size: .85rem; color: var(--hp-red); }
.wishlist-privacy { flex-basis: 100%; padding-top: 10px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.wishlist-privacy strong { color: var(--ink); }
.wishlist-privacy a { font-weight: 700; }
.wishlist-privacy .separator { margin: 0 6px; color: var(--line); }
#wishlist-table td.last { width: 1px; text-align: center; }

/* Pagination toolbar */
.pager {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 0 0 20px;
  padding: 12px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm);
  font-size: .9rem; color: var(--muted);
}
table + .pager { margin: 20px 0 0; }
.pager .amount { margin: 0; font-weight: 500; }
.pager .limiter { display: flex; align-items: center; gap: 8px; }
.pager .limiter label { font-weight: 700; color: var(--ink); }
.pager .limiter select { padding-top: .4em; padding-bottom: .4em; }
.pager .pages { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.pager .pages > strong { color: var(--ink); }
.pager .pages ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.pager .pages li a {
  display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 10px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink); font-weight: 700;
  -webkit-mask: none; mask: none;
}
.pager .pages li a:hover { border-color: var(--hp-blue); color: var(--hp-blue); }
.pager .pages li.current a { background: var(--hp-blue); border-color: var(--hp-blue); color: var(--white); }
.pager .pages a.next::before,
.pager .pages a.previous::before {
  content: ""; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: var(--i-chev-right) center / contain no-repeat; mask: var(--i-chev-right) center / contain no-repeat;
}
.pager .pages a.previous::before { transform: scaleX(-1); }

/* Listing toolbar — pager + sorter share one card */
.toolbar {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 0 0 24px; padding: 14px 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm);
  font-size: .9rem; color: var(--muted); text-align: left;
}
.toolbar .pager { flex: 1 1 auto; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.toolbar-bottom .toolbar { margin: 0; }
.toolbar-bottom .sorter { display: none; }

.sorter {
  flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding-top: 12px; border-top: 1px solid var(--line);
}
.category-products > .toolbar > .pager { display: none; }
.category-products > .toolbar { padding: 10px 16px; }
.category-products > .toolbar > .sorter { padding-top: 0; border-top: 0; }
.category-products > .toolbar .view-mode > label,
.category-products > .toolbar .sort-by > label { display: none; }
.view-mode { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 0; }
.view-mode > * { font-size: .88rem; }
.view-mode label { font-weight: 700; color: var(--ink); margin-right: 4px; }
.view-mode .list,
.view-mode .grid {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink); font-weight: 700;
}
.view-mode .list::before,
.view-mode .grid::before {
  content: ""; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: var(--i-view) center / contain no-repeat; mask: var(--i-view) center / contain no-repeat;
}
.view-mode .list { --i-view: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M9 6h12M9 12h12M9 18h12M3.5 6h.01M3.5 12h.01M3.5 18h.01'/%3E%3C/svg%3E"); }
.view-mode .grid { --i-view: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7.5' height='7.5' rx='1.5'/%3E%3Crect x='13.5' y='3' width='7.5' height='7.5' rx='1.5'/%3E%3Crect x='3' y='13.5' width='7.5' height='7.5' rx='1.5'/%3E%3Crect x='13.5' y='13.5' width='7.5' height='7.5' rx='1.5'/%3E%3C/svg%3E"); }
.view-mode a:hover { border-color: var(--hp-blue); color: var(--hp-blue); }
.view-mode strong.list,
.view-mode strong.grid { background: var(--hp-blue); border-color: var(--hp-blue); color: var(--white); }

.sort-by { display: flex; align-items: center; gap: 8px; }
.sort-by label { font-weight: 700; color: var(--ink); }
.sort-by select { padding-top: .4em; padding-bottom: .4em; }
.sort-by .right { order: 3; }
.icon-arrow-up { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 20V4M3 8l4-4 4 4M14 6h7M14 12h5M14 18h3'/%3E%3C/svg%3E"); }
.icon-arrow-down { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4v16M3 16l4 4 4-4M14 6h3M14 12h5M14 18h7'/%3E%3C/svg%3E"); }
.sort-by a[class*="icon-arrow"] {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink); -webkit-mask: none; mask: none;
}
.sort-by a[class*="icon-arrow"]::before {
  content: ""; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat;
}
.sort-by a[class*="icon-arrow"]:hover { border-color: var(--hp-blue); color: var(--hp-blue); }

/* Layered navigation (category filters) */
.sidebar:has(.block-layered-nav) { position: static; }
.block-subtitle {
  margin: 0; padding: 10px 12px 6px; font-size: .74rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.block-layered-nav .currently ol { display: grid; gap: 6px; }
.block-layered-nav .currently li {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; padding: 10px 10px 10px 14px;
  border-radius: var(--radius-sm); background: #eef3ff; border: 1px solid #d6e0fb; color: var(--hp-blue); font-size: .92rem;
}
.block-layered-nav .currently .label { font-weight: 700; }
.block-layered-nav .currently .value { flex: 1 1 auto; }
.btn-remove {
  display: inline-flex; align-items: center; justify-content: center; gap: 0; flex: none; width: 28px; height: 28px; border-radius: 999px;
  font-size: 0; color: var(--muted); background: var(--white); border: 1px solid var(--line);
}
.btn-remove::before {
  content: ""; width: 12px; height: 12px; background: currentColor;
  -webkit-mask: var(--i-close) center / contain no-repeat; mask: var(--i-close) center / contain no-repeat;
}
.btn-remove:hover { color: var(--white); background: var(--hp-red); border-color: var(--hp-red); }
.sidebar .block-content li a.btn-remove { display: inline-flex; justify-content: center; gap: 0; padding: 0; border-radius: 999px; }
.sidebar .block-content li a.btn-remove::after { display: none; }
.block-layered-nav .actions { padding: 8px 12px 4px; text-align: right; font-size: .85rem; font-weight: 700; }
.block-layered-nav .actions a { color: var(--hp-red); }
.block-layered-nav .actions a:hover { text-decoration: underline; }
.block-layered-nav .filters { margin-top: 6px; border-top: 1px solid var(--line); }
#narrow-by-list { margin: 0; }
#narrow-by-list dt {
  padding: 14px 12px 6px; font-weight: 900; color: var(--ink); font-size: .98rem;
}
#narrow-by-list dt:not(:first-child) { margin-top: 6px; border-top: 1px solid var(--line); }
#narrow-by-list dd { margin: 0; }
#narrow-by-list dd ol { max-height: 372px; overflow-y: auto; scrollbar-width: thin; }
.sidebar #narrow-by-list li a { justify-content: flex-start; padding: 7px 12px; font-size: .94rem; }
.sidebar #narrow-by-list li a::after { display: none; }
#narrow-by-list li a::before {
  content: ""; flex: none; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid #c3cad8; background: var(--white);
  transition: border-color .2s ease, background-color .2s ease;
}
#narrow-by-list li a:hover::before { border-color: var(--hp-blue); }
#narrow-by-list .price { font-weight: 500; }

/* ======================================================================
   Reward points
   ====================================================================== */
.info-summary:has(> .rewardpoints-dashboard-list) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.info-summary:has(> .rewardpoints-dashboard-list) > p { grid-column: 1 / -1; }
.rewardpoints-dashboard-list {
  padding: 20px 22px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  font-size: .92rem; line-height: 1.55;
}
.rewardpoints-dashboard-list br { display: none; }
.rewardpoints-dashboard-list .rewardpoints-title { display: block; margin-bottom: 6px; font-size: 1.05rem; font-weight: 800; color: var(--white); }
.rewardpoints-dashboard-list .rewardpoints-title-content { display: block; }
.rewardpoints-dashboard-list .rewardpoints-money { font-weight: 800; color: var(--hp-gold); }
.rewardpoints-dashboard-ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.rewardpoints-dashboard-ul:not(:has(li)) { display: none; }
.rewardpoints-dashboard-ul li {
  position: relative; padding: 10px 14px 10px 44px; border-radius: 10px; background: rgba(255, 255, 255, .1); color: var(--white); font-weight: 500;
}
.rewardpoints-dashboard-ul li::before {
  content: ""; position: absolute; left: 12px; top: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--hp-green);
}
.rewardpoints-dashboard-ul li::after {
  content: ""; position: absolute; left: 17px; top: 15px; width: 12px; height: 12px; background: var(--white);
  -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat;
}
.rewardpointsrule-rule-name-policy { font-weight: 800; color: var(--hp-gold); }

/* Refer friends: title across the top, content + share tools side by side */
.padding-s:has(> .rewardpointsreferfriends-dashboard-left) {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 0 28px; align-items: start;
}
.rewardpointsreferfriends-dashboard-left { display: contents; }
.rewardpointsreferfriends-dashboard-left > .page-title { grid-column: 1 / -1; }
.rewardpointsreferfriends-content > br { display: none; }
.rewardpointsreferfriends-content > strong {
  position: relative; display: block; margin-bottom: 24px; padding: 22px 26px; border-radius: 20px; background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 1.12rem; font-weight: 700; line-height: 1.45;
}
.box-rewardpoints-summary.box-referfriends-content { background: var(--white); border-color: var(--line); color: var(--muted); }
.box-referfriends-content::after { display: none; }
.box-rewardpoints-summary.box-referfriends-content .box-head h2 { color: var(--ink); }
.box-rewardpoints-summary.box-referfriends-content .box-head h2::before { background: linear-gradient(180deg, var(--hp-link), var(--hp-blue)); }
.box-referfriends-content .info-summary { display: grid; gap: 10px; }
.box-referfriends-content .info-summary p {
  position: relative; padding: 14px 16px 14px 50px; border-radius: 14px; background: var(--paper); color: var(--ink); font-weight: 500;
}
.box-referfriends-content .info-summary p::before {
  content: ""; position: absolute; left: 16px; top: 15px; width: 22px; height: 22px; border-radius: 50%; background: var(--hp-green);
}
.box-referfriends-content .info-summary p::after {
  content: ""; position: absolute; left: 21px; top: 20px; width: 12px; height: 12px; background: var(--white);
  -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat;
}
.box-referfriends-content .info-summary > p:first-child > strong,
.box-referfriends-content .info-summary strong { font-weight: 800; }

.rewardpointsreferfriends-dashboard-right { display: grid; gap: 20px; min-width: 0; }
.refer-sharing-box-content { padding: 18px 22px !important; color: var(--muted); }
.rewardpointsreferfriend-box-url { display: grid; gap: 14px; }
.refer-content { display: grid; gap: 6px; }
.refer-content > div { font-weight: 700; color: var(--ink); }
.refer-content input.input-text { width: 100%; background: var(--paper); font-size: .88rem; font-weight: 600; color: var(--hp-blue); cursor: copy; }

ol.opc { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
ol.opc > li.section { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.step-title { display: flex; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; transition: background-color .2s ease; }
.step-title:hover { background: var(--paper); }
.step-title::after {
  content: ""; flex: none; margin-left: auto; width: 16px; height: 16px; background: var(--muted);
  -webkit-mask: var(--i-chev-down) center / contain no-repeat; mask: var(--i-chev-down) center / contain no-repeat;
}
.step-title h2 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 1rem; font-weight: 800; }
.step-title h2.logo::before {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--hp-blue) no-repeat center / 20px;
}
.step-title h2.facebook-logo::before {
  background-color: #1877f2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M13.5 22v-8.2h2.8l.4-3.3h-3.2V8.4c0-.9.3-1.6 1.6-1.6h1.7V3.9c-.3 0-1.3-.1-2.5-.1-2.5 0-4.2 1.5-4.2 4.3v2.4H7.3v3.3h2.8V22z'/%3E%3C/svg%3E");
}
.step-title h2.twitter-logo::before {
  background-color: #14171a; background-size: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.8 2.5h3.3l-7.2 8.2 8.5 11.2h-6.6l-5.2-6.8-6 6.8H1.3l7.7-8.8L.9 2.5h6.8l4.7 6.2zm-1.2 17.4h1.8L6.6 4.4H4.6z'/%3E%3C/svg%3E");
}
ol.opc .step { padding: 16px 18px 18px; border-top: 1px solid var(--line); }
ol.opc .step ul.message { list-style: none; margin: 0; padding: 0; }
ol.opc .step > p:empty { display: none; }
ol.opc .step .buttons-set { margin-top: 14px; }
ol.opc .step textarea { min-height: 130px; font-size: .9rem; }

/* ======================================================================
   Shopping cart (page + slide-out panel)
   ====================================================================== */
.padding-s:has(> .cart-page-content),
#popup-shopping-cart { container: cart / inline-size; }

.cart-page-content:has(> .table) {
  display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-rows: auto auto 1fr; align-items: start; gap: 0 28px;
  grid-template-areas: "title title" "items side" "extras side";
}
.cart-page-content > .page-title { grid-area: title; }
.cart-page-content > .table { display: contents; }
.cart-page-content #shopping-cart-table-holder { grid-area: items; min-width: 0; }
.cart-page-content .seperator { display: none; }
.cart-page-content .totals-holder { grid-area: side; display: grid; gap: 24px; min-width: 0; }
.cart-page-content .cart-collaterals { grid-area: extras; min-width: 0; margin-top: 24px; }
.cart-page-content > p { margin: 0 0 10px; }
.cart-page-content:not(:has(> .table)) > p,
.cart-page-content:not(:has(> .table)) > p a { color: rgba(255, 255, 255, .85); }
.cart-page-content:not(:has(> .table)) > p a { color: #b7e07a; text-decoration: underline; }
.cart-page-content form { margin: 0; }

.cart-page-content .go-back { display: none; }
.cart-page-content .page-title .checkout-types { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.cart-page-content .page-title .next_available { color: rgba(255, 255, 255, .8); }
.cart-page-content .page-title .next_available::before { background: #b7e07a; }
.cart-page-content .page-title .next_available .date { color: #b7e07a; }
.btn-checkout { padding: .9em 1.6em; font-size: 1.02rem; }

/* Line items */
.cart-page-content .table-border { padding: 6px 26px; }
#shopping-cart-table { width: 100%; }
#shopping-cart-table th {
  padding: 16px 10px; border-bottom: 1px solid var(--line); text-align: left;
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
#shopping-cart-table th.a-center { text-align: center; }
#shopping-cart-table th.a-right { text-align: right; }
#shopping-cart-table td { padding: 20px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
#shopping-cart-table th:first-child,
#shopping-cart-table td:first-child { padding-left: 0; }
#shopping-cart-table th:last-child,
#shopping-cart-table td:last-child { padding-right: 0; }
#shopping-cart-table tbody tr:last-child td { border-bottom: 0; }
#shopping-cart-table .product-image {
  display: block; width: 88px; aspect-ratio: 1; padding: 4px; border-radius: 12px; overflow: hidden;
  background: var(--white); border: 1px solid #efedea;
}
#shopping-cart-table .product-image img { width: 100%; height: 100%; object-fit: contain; }
#shopping-cart-table .product-name { margin: 0 0 8px; font-size: 1.02rem; font-weight: 700; line-height: 1.35; }
#shopping-cart-table .product-name a { color: var(--ink); }
#shopping-cart-table .product-name a:hover { color: var(--hp-blue); }
#shopping-cart-table .cartitem-edit a { font-size: .85rem; font-weight: 700; }
#shopping-cart-table .cart-price .price { font-weight: 700; white-space: nowrap; }
#shopping-cart-table .cartitem-subtotal { text-align: right; }
#shopping-cart-table .cartitem-subtotal .price { font-size: 1.15rem; font-weight: 900; color: var(--hp-blue); }
#shopping-cart-table .cartitem-subtotal .link-wishlist { margin-top: 6px; font-size: .8rem; white-space: nowrap; }
#shopping-cart-table .cartitem-qty .link-wishlist { display: none; }

.quantity-selector {
  display: inline-flex; align-items: center; padding: 3px; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
}
.quantity-selector a {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  font-size: 1.1rem; font-weight: 900; line-height: 1; color: var(--hp-blue); cursor: pointer; user-select: none;
}
.quantity-selector a:hover { background: var(--paper); color: var(--hp-blue); }
.quantity-selector input.qty {
  width: 42px; padding: 0; border: 0; border-radius: 0; background: transparent; text-align: center; font-weight: 700;
}
.quantity-selector input.qty:focus { box-shadow: none; }
.cartitem-remove {
  display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 8px;
  font-size: .8rem; font-weight: 500; color: var(--muted); white-space: nowrap;
}
.cartitem-remove::before {
  content: ""; width: 12px; height: 12px; background: currentColor;
  -webkit-mask: var(--i-close) center / contain no-repeat; mask: var(--i-close) center / contain no-repeat;
}
.cartitem-remove:hover { color: var(--hp-red); }

/* Totals */
.cart-page-content .totals { padding: 24px 26px 26px; }
#shopping-cart-totals-table { width: 100%; }
#shopping-cart-totals-table td { padding: 6px 0; color: var(--muted); vertical-align: top; text-align: left; }
#shopping-cart-totals-table td + td { padding-left: 14px; color: var(--ink); font-weight: 700; white-space: nowrap; text-align: right; }
#shopping-cart-totals-table thead td { font-size: .85rem; color: var(--hp-green-dark); }
#shopping-cart-totals-table thead tr:last-child td { padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
#shopping-cart-totals-table thead + tbody tr:first-child td { padding-top: 12px; }
#shopping-cart-totals-table tfoot tr:first-child td { padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink); font-size: 1.1rem; }
#shopping-cart-totals-table tfoot tr:first-child .price { font-size: 1.55rem; font-weight: 900; color: var(--hp-blue); letter-spacing: -0.02em; }
#shopping-cart-totals-table td.coupon_code { padding-top: 14px; }
.coupon_code .input-box { display: flex; flex-direction: row-reverse; gap: 8px; }
.coupon_code .input-box .input-text { flex: 1; min-width: 0; }
.coupon_code .button { padding-inline: 1.1em; }
.totals .checkout-types { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; justify-items: center; }
.totals .checkout-types li { width: 100%; text-align: center; }
.totals .btn-checkout { width: 100%; }

/* Shipping estimate */
.cart-page-content .shipping-holder { padding: 26px 26px 28px; }
.shipping-form > form > p { color: var(--muted); font-size: .92rem; }
.shipping-form .form-list { gap: 14px; }
.shipping-form .buttons-set { margin-top: 16px; }
.shipping-form .buttons-set .button { margin-left: 0; width: 100%; }
#co-shipping-method-form-holder:not(:empty) { margin-top: 18px; }

.sp-methods dt {
  margin: 14px 0 10px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hp-link);
}
.sp-methods dd > ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sp-methods dd > ul > li:has(> input.radio) {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--white); transition: border-color .2s ease, background-color .2s ease;
}
.sp-methods dd > ul > li:has(> input.radio:checked) { border-color: var(--hp-link); background: #f1f8fd; }
.sp-methods dd > ul > li:has(> input.radio) > label { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; font-weight: 500; cursor: pointer; }
.sp-methods dd > ul > li:has(> input.radio) > label .price { font-weight: 700; color: var(--ink); white-space: nowrap; }

/* Discounts, points & gift cards */
#discount-coupon-form,
#discount-giftcard-form { display: none; }
.cart-collaterals { display: none; }
.cart-collaterals .col2-set { display: block; }
.cart-collaterals .col-1:not(:has(*)) { display: none; }
.cart-collaterals .col-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; align-items: start; }
.cart-collaterals .discount { padding: 24px 26px; }
.cart-collaterals .discount-form { color: var(--muted); font-size: .92rem; }
.cart-collaterals .discount-form .buttons-set { margin-top: 12px; }
.cart-collaterals .discount-form .buttons-set .button { margin-left: 0; }
.rewards-sales-rules dt label { display: block; margin-bottom: 6px; font-weight: 700; color: var(--ink); }
.rewards-sales-rules dd > span .price { color: var(--hp-green-dark); font-weight: 700; }
#rewardpoints-slider { display: flex; align-items: center; gap: 10px; margin: 16px 0 12px; }
#rewardpoints-slider-zoom-out,
#rewardpoints-slider-zoom-in { flex: none; cursor: pointer; line-height: 0; }
#rewardpoints-track { position: relative; flex: 1; height: 8px; border-radius: 999px; background: var(--line); }
#rewardpoints-handle {
  position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; cursor: grab;
  background: var(--hp-blue); border: 3px solid var(--white); box-shadow: 0 2px 8px rgba(15, 20, 51, .35);
}
.rewardpoints-slider-input { display: grid; gap: 10px; }
.rewardpoints-slider-input .input-point span { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
#reward_sales_point { width: 96px; text-align: center; font-weight: 700; }
.rewardpoints-slider-input .input-max { display: flex; align-items: center; gap: 10px; }
#giftvoucher_container dt, 
#rewardpoints-checkout-payment-method-load > dt { display: flex; align-items: center; gap: 10px; }
#giftvoucher_container dt label,
#rewardpoints-checkout-payment-method-load > dt label { margin: 0; cursor: pointer; }
#giftvoucher_container dd { margin-top: 12px; }
#giftvoucher_container dd ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

/* Slide-out panel */
#popup-shopping-cart { width: min(700px, 100%); background: var(--paper); }
#popup-shopping-cart .cart-page-content { padding: 0 20px 32px; }
#popup-shopping-cart .page-title {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px;
  margin: 0 -20px 20px; padding: 26px 20px 24px; background: var(--hero-grad);
}
#popup-shopping-cart .page-title h1 { font-size: 1.7rem; }
#popup-shopping-cart .go-back { display: block; grid-column: 2; grid-row: 1; cursor: pointer; }
#popup-shopping-cart .page-title .checkout-types { grid-column: 1 / -1; }
#popup-shopping-cart .page-title .checkout-types li:first-child { flex: 1 1 100%; }
#popup-shopping-cart .page-title .btn-checkout { width: 100%; }
#popup-shopping-cart .cart-page-content > p { color: var(--muted); }
#popup-shopping-cart > .mobile-loading-overlay,
#popup-shopping-cart > div:not(.cart-page-content) { padding: 40px 20px; text-align: center; color: var(--muted); }

@container cart (max-width: 820px) {
  .cart-page-content:has(> .table) { display: block; }
  .cart-page-content .totals-holder { margin-top: 20px; }
  .cart-page-content .cart-collaterals { margin-top: 20px; }
  .cart-page-content .table-border { padding: 4px 18px; border-radius: 16px; }
  .cart-page-content .totals,
  .cart-page-content .shipping-holder,
  .cart-collaterals .discount { padding: 22px 20px; border-radius: 16px; }
  .cart-collaterals .col-2 { gap: 20px; }

  #shopping-cart-table,
  #shopping-cart-table tbody { display: block; }
  #shopping-cart-table thead { display: none; }
  #shopping-cart-table tr {
    display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; column-gap: 14px; row-gap: 8px; align-items: center;
    grid-template-areas: "img name name" "img price total" "img qty edit";
    padding: 16px 0; border-bottom: 1px solid var(--line);
  }
  #shopping-cart-table tbody tr:last-child { border-bottom: 0; }
  #shopping-cart-table td { display: block; padding: 0 !important; border: 0; text-align: left; }
  #shopping-cart-table td.cartitem-image { grid-area: img; align-self: start; }
  #shopping-cart-table td.cartitem-product { grid-area: name; }
  #shopping-cart-table td.cartitem-unitprice { grid-area: price; font-size: .88rem; color: var(--muted); }
  #shopping-cart-table td.cartitem-unitprice::after { content: " each"; }
  #shopping-cart-table td.cartitem-subtotal { grid-area: total; text-align: right; }
  #shopping-cart-table td.cartitem-subtotal .link-wishlist { display: none; }
  #shopping-cart-table td.cartitem-qty { grid-area: qty; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
  #shopping-cart-table td.cartitem-edit { grid-area: edit; text-align: right; }
  #shopping-cart-table .product-image { width: 72px; }
  #shopping-cart-table .product-name { font-size: .97rem; margin-bottom: 4px; }
  .cartitem-remove { margin-top: 0; }
}

/* ======================================================================
   One-step checkout
   ====================================================================== */
#ajaxcart-load-ajax { display: none; }
ol.one-step-checkout,
ol.one-step-checkout ol { list-style: none; margin: 0; padding: 0; }
ol.one-step-checkout { counter-reset: osc-step; }

.onestepcheckout-login-link { margin: -10px 0 26px; }
.onestepcheckout-login-link a {
  display: inline-flex; align-items: center; gap: 10px; padding: .6em 1.2em; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); color: var(--white); font-weight: 700;
  transition: background-color .2s ease;
}
.onestepcheckout-login-link a:hover { background: rgba(255, 255, 255, .2); color: var(--white); }
.onestepcheckout-login-link a span,
#onestepcheckout-return-login-link span,
#onestepcheckout-forgot-password-link span { display: none; }
.onestepcheckout-login-link a::before {
  content: ""; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: var(--i-user) center / contain no-repeat; mask: var(--i-user) center / contain no-repeat;
}

#one-step-checkout-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; margin: 0; }
.one-step-checkout .address-information,
.onestepcheckout-shipping-payment-review { display: grid; gap: 24px; min-width: 0; }
.one-step-checkout .order-information,
.one-step-checkout .order-review-section,
.one-step-checkout .onestepcheckout-review-info { min-width: 0; }

.one-step-checkout h3[id$="_step_header"] {
  float: none !important; display: flex; align-items: center; gap: 12px; margin: 0 0 6px;
  font-size: 1.25rem; font-weight: 900; counter-increment: osc-step;
}
.one-step-checkout h3[id$="_step_header"]::before {
  content: counter(osc-step); flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--hp-link), var(--hp-blue)); color: var(--white); font-size: .9rem; font-weight: 900;
}
.one-step-checkout p.label { margin: 0 0 18px; font-size: .92rem; color: var(--muted); }
.one-step-checkout .clear { display: none; }

.one-step-checkout fieldset > ul,
.one-step-checkout .billing_address > ul,
.one-step-checkout .shipping_address > ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.one-step-checkout .billing_address > ul { margin-top: 18px; }
.one-step-checkout fieldset > ul > li { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.one-step-checkout fieldset > ul > li > :only-child,
.one-step-checkout fieldset > ul > li > p,
.one-step-checkout .one-field { grid-column: 1 / -1; }
.one-step-checkout fieldset > ul > li > p.label { margin: 0; }
.one-step-checkout fieldset > ul > li:has(> input[type="hidden"]:only-child) { display: none; }
.one-step-checkout .one-field,
.one-step-checkout .two-fields { position: relative; min-width: 0; }
.one-step-checkout .one-field > br,
.one-step-checkout .two-fields > br { display: none; }
.one-step-checkout .one-field > label,
.one-step-checkout .two-fields > label { display: block; margin-bottom: 6px; font-size: .88rem; font-weight: 700; color: var(--ink); }
.one-step-checkout .one-field > input.input-text,
.one-step-checkout .two-fields > input.input-text,
.one-step-checkout .one-field > select,
.one-step-checkout .two-fields > select,
.one-step-checkout select.address-select { width: 100% !important; }
#valid_email_address_image { position: absolute; right: 12px; top: 39px; line-height: 0; }
.one-step-checkout .address-select { margin-bottom: 4px; }
.one-step-checkout .billing_address > ul:not(fieldset ul) li { list-style: none; }
.one-step-checkout .billing_address > p.label + ul { margin-top: 0; }

/* Methods */
.onestepcheckout-shipping-method-section .sp-methods dt:first-child { margin-top: 0; }
.onestepcheckout-shipping-method-section ul.messages { margin: 0; }
.one-step-checkout .sp-methods dd.partialshipment {
  margin-top: 16px; padding: 16px 18px; border: 1px solid #f6dfae; border-left: 4px solid var(--hp-gold);
  border-radius: 12px; background: #fff8ea; color: #5a4a22; font-size: .9rem; line-height: 1.6;
  overflow-wrap: anywhere;
}
.one-step-checkout .partialshipment > br { display: block; }
.one-step-checkout .partialshipment > input[type="checkbox"] {
  float: left; margin: 17px 0 0; width: 18px; height: 18px;
}
.one-step-checkout .partialshipment > label {
  display: block; margin: 14px 0 0 28px; color: inherit; font-size: .9rem; font-weight: 600; line-height: 1.5;
}
.one-step-checkout .partialshipment .price { white-space: nowrap; font-weight: 700; }
#checkout-payment-method-load { display: grid; gap: 10px; margin: 0; }
#checkout-payment-method-load > dt.split-special-methods:empty,
#checkout-payment-method-load > dl:not(:has(dt)) { display: none; }
#checkout-payment-method-load > dt {
  display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 16px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--white); transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
#checkout-payment-method-load > dt:has(input:checked) { border-color: var(--hp-link); background: #f1f8fd; box-shadow: 0 0 0 3px rgba(33, 133, 197, .12); }
#checkout-payment-method-load > dt label { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; cursor: pointer; font-weight: 500; }
#checkout-payment-method-load > dt label img { max-height: 34px; width: auto; }
#checkout-payment-method-load > dt label a { font-size: .8rem; }
#checkout-payment-method-load > dt label[for="p_method_paypal_express"] { min-width: 0; }
/* Crop the empty right side of the wide PayPal asset without shrinking its logo. */
#checkout-payment-method-load > dt label[for="p_method_paypal_express"] img {
  flex: none; width: 60px; height: 34px; object-fit: cover; object-position: left center;
}
#checkout-payment-method-load > dt label[for="p_method_paypal_express"] a {
  display: inline-flex; letter-spacing: normal; text-transform: none; white-space: nowrap; font-weight: 700;
}
#checkout-payment-method-load > dd { margin: 0; }
#checkout-payment-method-load > dd .form-list,
#payment_form_zip_payment { margin: 4px 0 6px; padding: 16px; border-radius: 14px; background: #fbfaf8; border: 1px solid #efedea; gap: 14px; }
#checkout-payment-method-load > dd .form-list > li { min-width: 0; }
#checkout-payment-method-load > dd .form-list > li > label { text-align: left; }
#checkout-payment-method-load > dd .form-list .input-box {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-width: 0;
}
#checkout-payment-method-load .v-fix { flex: 1 1 100px; min-width: 0; }
#checkout-payment-method-load .input-box:has(.cvv) .v-fix { flex: 0 1 120px; }
#checkout-payment-method-load .cvv { max-width: 120px; }
#checkout-payment-method-load .saved_token_fields:has(.save_card) { display: flex; align-items: center; gap: 10px; }
#checkout-payment-method-load .saved_token_fields:has(.save_card) .v-fix { flex: 0 1 auto; }
#checkout-payment-method-load .saved_token_fields:has(.save_card) label { margin: 0; cursor: pointer; }
#giftvoucher_container dd > ul#payment_form_giftvoucher,
#cart-rewards-form > dl.rewards-sales-rules {
  margin: 8px 0 6px; padding: 16px; border-radius: 14px; background: #fbfaf8; border: 1px solid #efedea; gap: 14px;
}
#giftvoucher_container dd > ul#payment_form_giftvoucher > li { min-width: 0; }
#giftvoucher_container dd > ul#payment_form_giftvoucher > li.giftvoucher-description:not(:has(*)),
#giftvoucher_container dd > ul#payment_form_giftvoucher > li#giftvoucher_message:not(:has(*)) { display: none; }
#giftvoucher_container dd > ul#payment_form_giftvoucher > p:empty { display: none; }
label[for] { cursor: pointer; }
.cvv-what-is-this { font-size: .82rem; font-weight: 700; }
.tool-tip {
  position: absolute; z-index: 20; padding: 0; border: 1px solid var(--line); border-radius: 18px;
  background: var(--white); box-shadow: var(--shadow); overflow: hidden;
}
.tool-tip .btn-close {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 12px 16px;
  background: var(--hp-slate); border-bottom: 1px solid var(--line);
}
.tool-tip .btn-close a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; background: rgba(255, 255, 255, .1);
  color: var(--white); font-size: .88rem; font-weight: 700;
}
.tool-tip .btn-close a::after {
  content: ""; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: var(--i-close) center / contain no-repeat; mask: var(--i-close) center / contain no-repeat;
}
.tool-tip .btn-close a:hover { background: var(--hp-blue); }
.tool-tip .tool-tip-content { padding: 20px; overflow-wrap: anywhere; }
#payment-tool-tip {
  position: fixed; top: 50% !important; left: 50%; transform: translate(-50%, -50%); z-index: 10001;
  width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto;
  box-shadow: 0 24px 70px rgba(15, 20, 51, .4), 0 0 0 100vmax rgba(15, 20, 51, .45);
}
#payment-tool-tip .btn-close::before {
  content: "Card security code"; margin-right: auto; color: var(--white); font-size: .95rem; font-weight: 700;
}
#payment-tool-tip .tool-tip-content img { display: block; margin-inline: auto; max-width: 100%; height: auto; }

/* Review */
#checkout-review-table { border: 0; border-radius: 0; overflow: visible; }
#checkout-review-table th {
  width: auto; padding: 0 0 12px; background: none; border-bottom: 1px solid var(--line);
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
#checkout-review-table td { padding: 14px 0; vertical-align: middle; }
#checkout-review-table th + th,
#checkout-review-table td + td { padding-left: 12px; }
#checkout-review-table .product-name { margin: 0; overflow: hidden; font-size: .95rem; font-weight: 700; line-height: 1.4; }
#checkout-review-table .remove-item {
  float: left; display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 32px; height: 32px; margin: 0 10px 0 0; border: 1px solid var(--line); border-radius: 50%;
  background: #eef2fb; color: var(--hp-blue); line-height: 0;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
#checkout-review-table .remove-item img,
#checkout-review-table .box-qty a img { display: none; }
#checkout-review-table .remove-item::before {
  content: ""; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: var(--i-close) center / contain no-repeat; mask: var(--i-close) center / contain no-repeat;
}
#checkout-review-table .remove-item:hover { background: #fff1f0; border-color: var(--hp-red); color: var(--hp-red); }
#checkout-review-table .box-qty {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); white-space: nowrap;
}
#checkout-review-table .box-qty a {
  position: relative; display: flex; flex: none; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; background: #eef2fb; color: var(--hp-blue); line-height: 0;
  transition: color .2s ease, background-color .2s ease;
}
#checkout-review-table .box-qty a::before,
#checkout-review-table .box-qty a:last-child::after {
  content: ""; position: absolute; width: 12px; height: 2px; border-radius: 1px; background: currentColor;
}
#checkout-review-table .box-qty a:last-child::after { transform: rotate(90deg); }
#checkout-review-table .box-qty a:hover { background: var(--hp-blue); color: var(--white); }
#checkout-review-table .remove-item:focus-visible,
#checkout-review-table .box-qty a:focus-visible { outline: 2px solid var(--hp-link); outline-offset: 3px; }
#checkout-review-table .box-qty .qty { min-width: 24px; font-weight: 700; text-align: center; color: var(--hp-blue); }
#checkout-review-table .price { font-weight: 700; white-space: nowrap; }
#checkout-review-table tfoot tr:first-child,
#checkout-review-table tfoot tr:last-child { display: none; }
#checkout-review-table tfoot td { padding: 5px 0; border: 0; color: var(--muted); font-weight: 500; }
#checkout-review-table tfoot tr:nth-child(2) td { padding-top: 16px; border-top: 1px solid var(--line); }
#checkout-review-table tfoot tr:has(strong) td {
  padding: 16px 14px; border-top: 10px solid var(--white); background: #eef2fb; background-clip: padding-box;
  color: var(--hp-blue); font-size: 1rem; vertical-align: middle;
}
#checkout-review-table tfoot tr:has(strong) td:first-child { border-radius: 14px 0 0 14px; text-align: left; }
#checkout-review-table tfoot tr:has(strong) td:last-child { border-radius: 0 14px 14px 0; text-align: right; }
#checkout-review-table tfoot tr:has(strong) .price {
  font-size: 1.1rem; font-weight: 900; color: var(--hp-blue); letter-spacing: -.02em; line-height: 1.2;
}

.onestepcheckout-discount,
.onestepcheckout-comment { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.onestepcheckout-discount .input-box { display: flex; gap: 8px; }
.onestepcheckout-discount .input-box br,
.onestepcheckout-comment br { display: none; }
.onestepcheckout-discount .input-box .input-text { flex: 1; min-width: 0; }
.onestepcheckout-survey select { padding: 5px; }
.af_list { text-align: left; }

/* Checkout confirmation */
body.checkout-onepage-success .col-main > .padding-s {
  --success-padding: clamp(18px, 3vw, 32px);
  position: relative; padding: var(--success-padding); border: 1px solid var(--line); border-radius: 20px;
  background: var(--white); box-shadow: var(--shadow-sm); overflow-wrap: anywhere;
}
body.checkout-onepage-success .col-main .page-title {
  margin: calc(-1 * var(--success-padding)) calc(-1 * var(--success-padding)) 28px;
  padding: var(--success-padding); border-radius: 19px 19px 0 0; background: var(--hero-grad);
}
body.checkout-onepage-success .main-container .col-main .page-title::after { display: none; }
body.checkout-onepage-success .page-title h1::before { content: "Order confirmed"; }
body.checkout-onepage-success .col-main .sub-title {
  display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--hp-blue);
  font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.4;
}
body.checkout-onepage-success .col-main .sub-title::before {
  content: ""; flex: none; width: 28px; height: 28px; background: var(--hp-green-dark);
  -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat;
}
body.checkout-onepage-success .col-main > .padding-s > p { margin: 0 0 16px; color: var(--ink); line-height: 1.7; }
body.checkout-onepage-success .col-main > .padding-s > p a {
  font-weight: 700; text-decoration: underline; text-underline-offset: 3px;
}
body.checkout-onepage-success .col-main > .padding-s > .buttons-set { margin: 24px 0 0; }
body.checkout-onepage-success .col-main > .padding-s > .buttons-set .button {
  margin: 0; background: var(--hp-green); color: var(--white);
}
body.checkout-onepage-success .col-main > .padding-s > .buttons-set .button:hover,
body.checkout-onepage-success .col-main > .padding-s > .buttons-set .button:focus-visible { background: var(--hp-green-dark); }
body.checkout-onepage-success .col-main > .padding-s > #rewardpoints-referfriends-popup {
  margin-top: 32px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
body.checkout-onepage-success .col-main #rewardpoints-referfriends-popup .referfriends-title { position: static; }
body.checkout-onepage-success .col-main #rewardpoints-referfriends-popup .referfriends-title h2 {
  padding: 20px; font-size: 1.15rem;
}

/* Place order */
.button-onestepcheckout { display: grid; gap: 14px; justify-items: center; }
.one-step-checkout .button-onestepcheckout > .stock_availability {
  order: -1; width: 100%; padding: 18px 20px; border: 1px solid #cfe5f5; border-left: 4px solid var(--hp-link);
  border-radius: 16px; background: #eef6fc; text-align: center;
}
.one-step-checkout .button-onestepcheckout .next_available {
  justify-content: center; gap: 8px 12px; font-size: 1.15rem; color: var(--hp-blue); line-height: 1.4;
}
.one-step-checkout .button-onestepcheckout .next_available::before { width: 28px; height: 28px; background: var(--hp-link); }
.one-step-checkout .button-onestepcheckout .next_available .expected { font-weight: 600; }
.one-step-checkout .button-onestepcheckout .next_available .date {
  font-size: 1.2rem; font-weight: 800; color: var(--hp-blue);
}
#onestepcheckout-button-place-order,
button.onestepcheckout-btn-checkout {
  float: none !important; width: 100%; padding: 1em 1.6em; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--hp-green); color: var(--white); font-size: 1.2rem; font-weight: 900; letter-spacing: .01em;
  box-shadow: 0 16px 32px -12px rgba(122, 181, 29, .9); transition: background-color .2s ease, transform .2s ease;
}
#onestepcheckout-button-place-order:hover:not(:disabled),
button.onestepcheckout-btn-checkout:hover:not(:disabled) { background: var(--hp-green-dark); transform: translateY(-2px); }
#onestepcheckout-button-place-order:disabled { opacity: .55; cursor: progress; box-shadow: none; }
#onestepcheckout-place-order-loading p,
#review-please-wait p { float: none !important; margin: 0; color: var(--muted); }

/* Ajax loaders & overlays */
@keyframes hp-spin { to { transform: rotate(360deg); } }
.ajax-loader1,
.ajax-loader3 {
  width: 22px; height: 22px; background: var(--hp-link);
  -webkit-mask: var(--i-spinner) center / contain no-repeat; mask: var(--i-spinner) center / contain no-repeat;
  animation: hp-spin .8s linear infinite;
}
#control_overlay_shipping,
#control_overlay_payment,
#control_overlay_review { background: rgba(255, 255, 255, .6); border-radius: 20px; }
/* Keep the inline z-index:9998 overlays from covering the sticky header */
.shipping-method:has(> [id^="control_overlay_"]),
.payment-method:has(> [id^="control_overlay_"]),
.order-review-info:has(> [id^="control_overlay_"]) { isolation: isolate; }
#onestepcheckout_popup_overlay { position: fixed; inset: 0; z-index: 9990; background: rgba(15, 20, 51, .6); backdrop-filter: blur(2px); }
#loading-process { position: fixed; inset: 0; z-index: 9995; }

/* Login popup */
#onestepcheckout-login-popup { z-index: 9999 !important; }
.onestepcheckout-popup-wrapper {
  position: relative; width: min(420px, 92vw); padding: 30px 32px; border-radius: var(--radius);
  background: var(--white); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65);
}
.onestepcheckout-popup-wrapper h1 { margin-bottom: 18px; font-size: 1.6rem; font-weight: 900; }
.onestepcheckout-popup-wrapper .title-forgot { color: var(--muted); }
.onestepcheckout-popup-wrapper p.close { position: absolute; top: 14px; right: 14px; margin: 0; }
.onestepcheckout-popup-wrapper p.close a {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 0; background: var(--paper);
}
.onestepcheckout-popup-wrapper p.close a::before {
  content: ""; width: 14px; height: 14px; background: var(--ink);
  -webkit-mask: var(--i-close) center / contain no-repeat; mask: var(--i-close) center / contain no-repeat;
}
#onestepcheckout-login-table,
#onestepcheckout-forgot-table { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
#onestepcheckout-login-table label,
#onestepcheckout-forgot-table label { display: block; margin-bottom: 6px; font-size: .88rem; font-weight: 700; }
#onestepcheckout-login-table .input-text,
#onestepcheckout-forgot-table .input-text { width: 100%; }
#onestepcheckout-login-table li.last .button,
#onestepcheckout-forgot-table li.last .button { width: 100%; }
#onestepcheckout-forgot-table li.last { display: grid; gap: 12px; }
#onestepcheckout-forgot-table li.last p { margin: 0; }
.onestepcheckout-popup-wrapper .forgot-link { margin: 14px 0 0; text-align: center; font-size: .9rem; }
.onestepcheckout-error { margin-bottom: 14px; padding: 10px 14px; border-radius: 12px; background: #fdeeee; color: #8e1b21; font-size: .9rem; }
.loading-ajax-login { height: 24px; margin-bottom: 10px; background: var(--hp-link); -webkit-mask: var(--i-spinner) center / contain no-repeat; mask: var(--i-spinner) center / contain no-repeat; animation: hp-spin .8s linear infinite; }

#payment_form_zip_payment span,
#payment_form_zip_payment a { display: inline-block; }
label[for="p_method_zip_payment"] img { height: 34px; }

/* ======================================================================
   Footer
   ====================================================================== */
.footer-container { background: #121923; color: rgba(255, 255, 255, .7); padding: 64px 10px 40px; font-size: .95rem; position: relative; }
.footer-container::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--hp-blue), var(--hp-link), var(--hp-green));
}
.footer-cols-wrapper { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.footer-cols-wrapper > .clear { display: none; }
.footer h4 {
  color: var(--white); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer h4 .toggle { display: none; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a { color: rgba(255, 255, 255, .8); }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer .contacts .footer-col-content { white-space: pre-line; line-height: 1.6; margin-top: 12px; }
.footer .contacts .tel {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); color: var(--white); font-weight: 700; white-space: nowrap;
}
.footer .contacts .tel::before {
  content: ""; width: 15px; height: 15px; background: var(--hp-green);
  -webkit-mask: var(--i-phone) center / contain no-repeat; mask: var(--i-phone) center / contain no-repeat;
}
.footer .socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; white-space: normal; font-size: 1.3rem; line-height: 1; }
.footer .socials a {
  display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px !important; border-radius: 12px;
  background: rgba(255, 255, 255, .08); color: var(--white); transition: background-color .2s ease, transform .2s ease;
}
.footer .socials a:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); text-decoration: none; }
.footer .socials svg { position: static !important; height: 1em; width: auto; display: block; }
.footer .socials img { height: 22px; width: auto; }
.footer .disclaimer {
  grid-column: 1 / -1; margin-top: 8px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .8rem; color: rgba(255, 255, 255, .45);
}

#back-top { margin: 0; }
#back-top a {
  position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 48px; height: 48px; border-radius: 50%;
  background: var(--hp-blue); box-shadow: var(--shadow-sm);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s ease, transform .3s ease, visibility .3s ease, background-color .2s ease;
}
#back-top a:hover { background: var(--hp-link); }
#back-top span {
  position: absolute; inset: 13px; background: var(--white);
  -webkit-mask: var(--i-chev-up) center / contain no-repeat; mask: var(--i-chev-up) center / contain no-repeat;
}
body.not-at-top #back-top a { opacity: 1; visibility: visible; transform: none; }

.bottom-container { background: #0c1118; color: rgba(255, 255, 255, .5); padding: 18px 0; font-size: .85rem; }
.bottom-container address { font-style: normal; text-align: center; }

/* ======================================================================
   Responsive
   ====================================================================== */
/* Desktop checkout: steps stack on the left, Order Review sticks on the right */
@media (min-width: 1121px) {
  #one-step-checkout-form { grid-template-columns: minmax(0, 1fr) 640px; grid-auto-flow: row; }
  .onestepcheckout-shipping-payment-review,
  .one-step-checkout .order-information,
  .one-step-checkout .order-review-section,
  .one-step-checkout .onestepcheckout-review-info,
  .one-step-checkout .order-information > ol,
  .one-step-checkout .order-review-section > ol,
  .one-step-checkout .onestepcheckout-review-info > ol { display: contents; }
  #one-step-checkout-form > .address-information,
  .one-step-checkout li.shipping-method,
  .one-step-checkout li.payment-method,
  .onestepcheckout-shipping-payment-review > .button-onestepcheckout { grid-column: 1; }
  .one-step-checkout li.order-review-info {
    grid-column: 2; grid-row: 1 / span 4; align-self: start;
    position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto;
  }
}

@media (max-width: 1120px) {
  #desktop-font-size { display: none; }
  #desktop-account-button { margin-left: auto; }
  .main > .row { grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; }
  .products-list > li.item {
    grid-template-columns: 160px minmax(0, 1fr);
    grid-template-areas: "img name" "img desc" "img buy";
    grid-template-rows: auto auto 1fr;
  }
  .products-list .price-add-to-cart {
    padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--line);
    display: grid; grid-template-columns: 1fr auto; align-items: center;
  }
  .products-list .buttons { grid-template-columns: auto auto; }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-top-wrapper { grid-template-columns: 1fr; gap: 28px; }
  .product-img-box { max-width: 560px; }
  .col2-left-layout .main > .row { grid-template-columns: 240px minmax(0, 1fr); }
  #one-step-checkout-form { grid-template-columns: 1fr; }
  .onestepcheckout-shipping-payment-review { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .onestepcheckout-review-info,
  .button-onestepcheckout { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .breadcrumbs { display: none; }
  #desktop-top-bar { display: none; }
  #mobile-top-bar { display: flex; }

  #checkout-payment-method-load > dt label[for="p_method_zip_payment"] { flex-wrap: nowrap; min-width: 0; }
  #checkout-payment-method-load > dt label[for="p_method_zip_payment"] > img { flex: none; margin-right: 0; }
  #checkout-payment-method-load > dt label[for="p_method_zip_payment"] > span {
    flex: 1; min-width: 0; font-size: .82rem; letter-spacing: normal; text-transform: none; line-height: 1.4;
  }

  .main-container { padding: 24px 0 64px; }
  .main-container::before { height: 200px; }
  .catalog-product-view .main-container { padding-top: 18px; }
  .catalog-product-view .main-container::before { height: 170px; }
  .main > .row { grid-template-columns: 1fr; }
  .sidebar { position: static; }

  .footer-cols-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-essential { padding: 26px 22px; }
  .box-collateral { padding: 26px 22px; }

  /* Account navigation becomes a scrolling chip bar above the content */
  .col2-left-layout .main > .row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .col2-left-layout .main-container::before { height: 260px; }
  .block-account .block-title { display: none; }
  .block-account .block-content { padding: 8px; }
  .block-account .block-content ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .block-account .block-content ul::-webkit-scrollbar { display: none; }
  .block-account .block-content li { flex: none; }
  .block-account .block-content li a,
  .block-account .block-content li.current strong { padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
  .block-account .block-content li a::after,
  .block-account .block-content li.current strong::after { display: none; }

  /* Category filters: horizontal chip rows; recently viewed drops below the products */
  .col2-left-layout .col-left:has(.block-layered-nav) { display: contents; }
  .col2-left-layout .col-left:has(.block-layered-nav) > .block { position: relative; z-index: 2; }
  .col2-left-layout .col-left:has(.block-layered-nav) > .block-viewed { order: 2; }
  #narrow-by-list dd ol {
    display: flex; gap: 6px; max-height: none; overflow-x: auto; padding: 2px 0 8px; scrollbar-width: none;
  }
  #narrow-by-list dd ol::-webkit-scrollbar { display: none; }
  #narrow-by-list li { flex: none; }
  .sidebar #narrow-by-list li a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
  #narrow-by-list li a::before { display: none; }

  .onestepcheckout-shipping-payment-review { grid-template-columns: 1fr; }
  .padding-s:has(> .rewardpointsreferfriends-dashboard-left) { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .rewardpointsreferfriends-content > strong { margin-bottom: 20px; }
  .info-summary:has(> .rewardpoints-dashboard-list) { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  #product-options-wrapper { padding: 0; border: 0; background: transparent; }
  body.category-contact-us .col-main > .padding-s { max-width: none; }
  body.category-contact-us .col-main .content { padding: 18px 16px; }
  body.category-contact-us #form-customcontact { padding: 16px; border-radius: 16px; }
  body.category-contact-us #form-customcontact .customer-contact,
  body.category-contact-us #form-customcontact .email-classification { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  body.category-contact-us #form-customcontact .g-recaptcha { justify-content: flex-start; }
  body.category-contact-us #form-customcontact .buttons-set { flex-direction: column-reverse; align-items: stretch; }
  body.category-contact-us #form-customcontact .buttons-set .button { width: 100%; margin: 0; }
  body.category-contact-us #contant-info-table,
  body.category-contact-us #contant-info-table tbody,
  body.category-contact-us #contant-info-table > tbody > tr { display: block; }
  body.category-contact-us #contant-info-table > tbody > tr:first-child { padding: 0; background: var(--hp-slate); }
  body.category-contact-us #contant-info-table > tbody > tr:not(:first-child) {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px;
    padding: 12px 16px; border-bottom: 1px solid var(--line);
  }
  body.category-contact-us #contant-info-table > tbody > tr > td:first-child,
  body.category-contact-us #contant-info-table > tbody > tr > td { width: auto; padding: 0; border: 0; }
  body.category-contact-us #contant-info-table > tbody > tr:first-child > td:first-child { display: block; padding: 14px 20px; }
  body.category-contact-us #contant-info-table .phone-table { table-layout: fixed; }
  body.category-contact-us #contant-info-table .phone-table td { padding: 8px 4px; }
  body.category-contact-us #contant-info-table .phone-table td:first-child { width: 34%; }
  body.category-vin-decode .vindecode-holder { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  body.category-vin-decode .vindecode-field-submit { width: 100%; }
  body.category-vin-decode .vindecode-holder .data-table,
  body.category-vin-decode .vindecode-holder .data-table tbody { display: block; }
  body.category-vin-decode .vindecode-holder .data-table tr:first-child { display: none; }
  body.category-vin-decode .vindecode-holder .data-table tr {
    display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px 12px;
    padding: 14px; border-bottom: 1px solid var(--line);
  }
  body.category-vin-decode .vindecode-holder .data-table tr:last-child { border-bottom: 0; }
  body.category-vin-decode .vindecode-holder .data-table th,
  body.category-vin-decode .vindecode-holder .data-table td { display: block; width: auto; padding: 0; border: 0; background: none; }
  body.category-vin-decode .vindecode-holder .data-table th:first-child { grid-column: 1 / -1; width: auto; color: var(--ink); }
  body.category-vin-decode .vindecode-holder .data-table td::before {
    display: block; margin-bottom: 4px; font-size: .65rem; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; color: var(--muted);
  }
  body.category-vin-decode .vindecode-holder .data-table td:first-of-type::before { content: "Input"; }
  body.category-vin-decode .vindecode-holder .data-table td:last-child::before { content: "Decoded"; }
  .container { width: min(100% - 4px, var(--wrap)); }
  .main-container { padding-top: 16px; }
  .breadcrumbs { position: relative; margin-bottom: 12px; }
  .main-container::before { height: 140px; }
  /* Let the band grow with tall page titles (cart / checkout headers) */
  .main-container:has(.col-main .page-title) { overflow: clip; }
  .main-container .col-main .page-title:not(#popup-shopping-cart *) { padding-bottom: 4px; }
  .main-container .col-main .page-title:not(#popup-shopping-cart *)::after {
    content: ""; position: absolute; z-index: -1; pointer-events: none; inset: -100vh -50vw -70px; background: var(--hero-grad);
  }
  .col2-left-layout .col-left { position: relative; top: auto; z-index: 2; }
  .main-container .page-title:has(+ .onestepcheckout-login-link)::after { display: none; }
  .onestepcheckout-login-link { position: relative; margin-top: -4px; }
  .onestepcheckout-login-link::after {
    content: ""; position: absolute; z-index: -1; pointer-events: none; inset: -100vh -50vw -70px; background: var(--hero-grad);
  }
  .onestepcheckout-login-link a { width: 100%; justify-content: center; }
  .magestore-bannerslider { margin-bottom: 32px; }
  .flexslider { border-radius: 14px; }
  .flex-control-nav { bottom: 8px; }

  .products-list > li.item {
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-areas: "img name" "desc desc" "buy buy";
    grid-template-rows: auto; padding: 16px; column-gap: 16px;
  }
  .products-list .product-name { font-size: 1.05rem; align-self: center; }
  .products-list .desc { font-size: .92rem; }
  .products-list .price-add-to-cart { grid-template-columns: 1fr; }
  .products-list .buttons { grid-template-columns: 1fr 1.4fr; }
  .products-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 14px; }
  .products-grid > li.item > div {
    display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "img name" "buy buy";
    gap: 12px 16px; padding: 16px;
  }
  .products-grid .product-image { grid-area: img; }
  .products-grid .product-shop { grid-area: name; align-self: center; }
  .products-grid .price-add-to-cart { grid-area: buy; }
  .products-grid .buttons { grid-template-columns: 1fr 1.4fr; }
  .price-box .price { font-size: 1.6rem; }

  .product-essential { border-radius: var(--radius); }
  .giftvoucher-product-info { padding: 16px; }
  .giftvoucher-receiver { grid-template-columns: minmax(0, 1fr); }
  .giftcard-change-image-background-popup .expire-day { grid-column: 1 / -1; }
  .product-view .product-name h2 { margin-bottom: 20px; }
  .add-to-box { grid-template-columns: 1fr; padding: 18px; }
  .add-to-box .link-wishlist { grid-column: auto; grid-row: auto; justify-self: start; }
  table.add-to-cart-large td.price .price { font-size: 2.2rem; }
  .box-collateral { border-radius: var(--radius); }
  .box-collateral > h2 { font-size: 1.3rem; }
  table.ratings-table { grid-template-columns: 1fr; }

  .footer-container { padding-top: 48px; }
  .footer-cols-wrapper { grid-template-columns: 1fr; gap: 30px; }

  .only-desktop { display: none !important; }
  .only-mobile { display: revert !important; }
  .welcome-msg,
  .box-account,
  .fieldset,
  .col2-set .col-1 > .content,
  .col2-set .col-2 > .content,
  .addresses-list > div,
  .one-step-checkout .billing_address,
  .one-step-checkout .shipping_address,
  .one-step-checkout li.shipping-method,
  .one-step-checkout li.payment-method,
  .one-step-checkout li.order-review-info { padding: 22px 18px; border-radius: 16px; }
  .page-title { margin-bottom: 22px; }
  .page-title.title-buttons > .button { width: 100%; }
  .col2-set,
  .box-content:has(> .col-1),
  .form-list li.fields,
  .one-step-checkout fieldset > ul > li { grid-template-columns: minmax(0, 1fr); }
  .box-head { flex-wrap: wrap; }
  .data-table th,
  .data-table td { padding: 10px 8px; }
  body.pmatch-request-index #my-orders-table colgroup,
  body.pmatch-request-index #my-orders-table thead { display: none; }
  body.pmatch-request-index #my-orders-table,
  body.pmatch-request-index #my-orders-table tbody,
  body.pmatch-request-index #my-orders-table tr { display: block; }
  body.pmatch-request-index #my-orders-table tr:not(:has(.aw-pm-details)) {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 18px 16px;
    border-top: 1px solid var(--line);
  }
  body.pmatch-request-index #my-orders-table tbody > tr:first-child { border-top: 0; }
  body.pmatch-request-index #my-orders-table td {
    display: block; min-width: 0; padding: 0; border: 0; text-align: left; overflow-wrap: anywhere;
  }
  body.pmatch-request-index #my-orders-table tr:not(:has(.aw-pm-details)) > td::before {
    display: block; margin-bottom: 4px; color: var(--muted); font-size: .75rem; font-weight: 700;
  }
  body.pmatch-request-index #my-orders-table tr:not(:has(.aw-pm-details)) > td:nth-child(1)::before { content: "Request #"; }
  body.pmatch-request-index #my-orders-table tr:not(:has(.aw-pm-details)) > td:nth-child(2)::before { content: "Created On"; }
  body.pmatch-request-index #my-orders-table tr:not(:has(.aw-pm-details)) > td:nth-child(3)::before { content: "Product"; }
  body.pmatch-request-index #my-orders-table tr:not(:has(.aw-pm-details)) > td:nth-child(4)::before { content: "Product Price"; }
  body.pmatch-request-index #my-orders-table tr:not(:has(.aw-pm-details)) > td:nth-child(5)::before { content: "Status"; }
  body.pmatch-request-index #my-orders-table tr:not(:has(.aw-pm-details)) > td:nth-child(6)::before { content: "Discount"; }
  body.pmatch-request-index #my-orders-table tr:not(:has(.aw-pm-details)) > td:nth-child(3),
  body.pmatch-request-index #my-orders-table td[id^="details-button-"] { grid-column: 1 / -1; }
  body.pmatch-request-index #my-orders-table td[id^="details-button-"] > button.button { min-height: 44px; }
  body.pmatch-request-index #my-orders-table td.aw-pm-details {
    padding: 16px; background: var(--paper); border-top: 1px solid var(--line);
  }
  body.pmatch-request-index #my-orders-table .aw-pm-details p { margin: 0 0 12px; }
  body.pmatch-request-index #my-orders-table .aw-pm-details p:last-child { margin-bottom: 0; }
  body.pmatch-request-index #my-orders-table .aw-pm-details b { display: block; color: var(--ink); }
  #my-creditcards-table colgroup,
  #my-creditcards-table thead { display: none; }
  #my-creditcards-table,
  #my-creditcards-table tbody { display: block; }
  #my-creditcards-table tr { display: grid; gap: 14px; padding: 18px 16px; border-bottom: 1px solid var(--line); }
  #my-creditcards-table tr:last-child { border-bottom: 0; }
  #my-creditcards-table td {
    display: block; min-width: 0; padding: 0; border: 0; text-align: left; overflow-wrap: anywhere; background: none;
  }
  #my-creditcards-table td > .only-mobile {
    display: block !important; margin-bottom: 4px; color: var(--muted); font-size: .75rem; font-weight: 700;
  }
  #my-creditcards-table .nobr { white-space: normal; }
  #my-creditcards-table td.last { padding-top: 12px; border-top: 1px solid var(--line); }
  #my-creditcards-table td.last a {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 18px;
    border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; font-weight: 700;
  }
  #my-creditcards-table td.last a:hover,
  #my-creditcards-table td.last a:focus-visible { border-color: var(--hp-blue); background: var(--paper); }
  /* Tables that ship mobile cell labels stack into one card per row */
  .data-table:has(.label-cell) colgroup,
  .data-table:has(.label-cell) thead { display: none; }
  .data-table:has(.label-cell),
  .data-table:has(.label-cell) tbody,
  .data-table:has(.label-cell) tr { display: block; }
  .data-table:has(.label-cell) tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .data-table:has(.label-cell) tr:last-child { border-bottom: 0; }
  .data-table:has(.label-cell) td {
    display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 3px 0; border: 0;
    text-align: right; background: none !important;
  }
  .data-table:has(.label-cell) td .label-cell {
    display: block; flex: none; max-width: 45%; text-align: left; font-size: .72rem; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: var(--muted);
  }
  .data-table:has(.label-cell) td.first { justify-content: flex-start; gap: 2px; padding-bottom: 6px; font-weight: 800; color: var(--hp-blue); }
  .data-table:has(.label-cell) td.first::before { content: "#"; color: var(--muted); }
  /* Wishlist rows: image beside details, add-to-cart underneath, remove in the corner */
  #wishlist-table colgroup,
  #wishlist-table thead { display: none; }
  #wishlist-table,
  #wishlist-table tbody { display: block; }
  #wishlist-table tr {
    position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px 14px; padding: 16px;
    border-bottom: 1px solid var(--line);
  }
  #wishlist-table tr:last-child { border-bottom: 0; }
  #wishlist-table td { display: block; padding: 0; border: 0; background: none !important; }
  #wishlist-table td .product-image { width: 76px; }
  #wishlist-table td:nth-child(2) { padding-right: 36px; }
  #wishlist-table td.cart-cell,
  #wishlist-table td:has(.cart-cell) { grid-column: 1 / -1; min-width: 0; }
  #wishlist-table .cart-cell { min-width: 0; }
  #wishlist-table td.last { position: absolute; top: 14px; right: 14px; width: auto; }
  .wishlist-share-url > span { flex-basis: 100%; }
  .buttons-set { flex-direction: column-reverse; align-items: stretch; }
  .buttons-set .button { margin-left: 0; width: 100%; }
  .buttons-set p.required { order: 0; text-align: left; }
  .back-link { text-align: center; }
  .cart-page-content .page-title .checkout-types,
  .cart-page-content .page-title .checkout-types li:first-child { width: 100%; }
  .cart-page-content .page-title .btn-checkout { width: 100%; }
  /* Checkout items use the full row for their title, with controls and price below. */
  #checkout-review-table { display: flex; flex-direction: column; width: 100%; }
  #checkout-review-table colgroup,
  #checkout-review-table tbody:has(th) { display: none; }
  #checkout-review-table tbody { display: block; }
  #checkout-review-table tbody tr {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px;
    padding: 16px 0; border-bottom: 1px solid var(--line);
  }
  #checkout-review-table tbody td { display: block; min-width: 0; padding: 0; border: 0; }
  #checkout-review-table tbody td:first-child {
    grid-column: 1 / -1; display: flex; flex-direction: row-reverse; align-items: flex-start; gap: 12px;
  }
  #checkout-review-table .product-name { flex: 1; }
  #checkout-review-table .remove-item { float: none; margin: 0; }
  #checkout-review-table .qty-box { text-align: left; }
  #checkout-review-table .qty-box::before,
  #checkout-review-table tbody td:last-child::before {
    display: block; margin-bottom: 6px; color: var(--muted); font-size: .7rem;
    font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  }
  #checkout-review-table .qty-box::before { content: "Qty"; }
  #checkout-review-table tbody td:last-child::before { content: "Subtotal"; }
  #checkout-review-table .cart-price { display: inline-flex; align-items: center; min-height: 40px; }
  #checkout-review-table tfoot { display: block; order: 1; }
  #checkout-review-table tfoot tr { display: grid; grid-template-columns: minmax(0, 1fr) max-content; }
  #checkout-review-table tfoot td { display: block; min-width: 0; }
  #checkout-review-table tfoot td:first-child { text-align: left; }
  #checkout-review-table tfoot tr:nth-child(2) td { border-top: 0; }
}

@media (max-width: 360px) {
  .recaptcha > div[id^="recaptcha-"] { width: 258.4px; height: 66.3px; }
  .recaptcha > div[id^="recaptcha-"] > div { transform: scale(.85); transform-origin: left top; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  #desktop-top-bar, #mobile-top-bar, #desktop-top-menu, .sidebar, .footer-container, #back-top, .share_links { display: none !important; }
  .main-container { background: none; }
  .print-only { display: block !important; }
}
