/* Sidehand look for Odoo's own pages (shop, cart, checkout, order + download page, contact, blog).
   Only loaded on website 4's Odoo-layout pages; the designed pages use style.css alone.
   Tokens and fonts come from style.css's :root and @font-face, repeated here so this file stands alone. */
@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url(/sh/fonts/InstrumentSans-italic-400-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url(/sh/fonts/InstrumentSans-italic-400-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url(/sh/fonts/InstrumentSans-normal-400-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url(/sh/fonts/InstrumentSans-normal-400-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/sh/fonts/JetBrainsMono-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/sh/fonts/JetBrainsMono-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/sh/fonts/JetBrainsMono-normal-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/sh/fonts/JetBrainsMono-normal-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --night: #0a1033; --porcelain: #f4f5f9; --sheet: #ffffff; --ink: #15171e; --ink-soft: #4b5060; --steel: #6b7080;
  --line: #dde0e8; --cobalt: #3b5bff; --cobalt-deep: #2236c9; --cobalt-mist: #e8ecff; --mint: #14a37f;
  --radius-control: 999px;
  --font: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --bs-primary: #3b5bff; --bs-primary-rgb: 59, 91, 255; --bs-link-color: #2236c9; --bs-link-color-rgb: 34, 54, 201;
  --bs-link-hover-color: #3b5bff; --bs-body-font-family: var(--font); --bs-body-color: #15171e; --bs-body-bg: #f4f5f9;
}
body, #wrapwrap { font-family: var(--font); background: var(--porcelain); color: var(--ink); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 { font-family: var(--font); font-weight: 600; letter-spacing: -0.02em; }
#wrapwrap > main { min-height: 62vh; }

/* header + footer: the same markup as the designed pages */
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.site-head {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--night) 94%, transparent);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 56px; }
.site-head .brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 1.05rem; color: #fff;
  text-decoration: none; letter-spacing: -0.01em; }
.site-head .brand svg { width: 22px; height: 22px; }
.site-head .nav { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.site-head .nav a { color: rgba(255, 255, 255, 0.72); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.site-head .nav a:hover { color: #fff; }
.site-head .btn { display: inline-flex; align-items: center; padding: 0.45em 1em; border-radius: var(--radius-control);
  font: 500 0.85rem/1.2 var(--font); background: var(--cobalt); color: #fff; border: 1px solid transparent; }
.site-head .btn:hover { background: var(--cobalt-deep); color: #fff; }
@media (max-width: 760px) { .site-head .nav a:not(.btn) { display: none; } }
.site-foot { padding: 32px 0 56px; color: var(--steel); font-size: 0.86rem; background: var(--porcelain); border-top: 1px solid var(--line); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 18px 36px; align-items: center; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; }
.site-foot .foot-legal { max-width: 62ch; line-height: 1.5; }
.site-foot a { color: inherit; text-decoration: none; }
.site-foot a:hover { color: var(--cobalt); }

/* Odoo components in Sidehand colours */
a { color: var(--cobalt-deep); }
.btn-primary, .btn-fill-primary {
  --bs-btn-bg: var(--cobalt); --bs-btn-border-color: var(--cobalt); --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--cobalt-deep); --bs-btn-hover-border-color: var(--cobalt-deep); --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--cobalt-deep); --bs-btn-active-border-color: var(--cobalt-deep);
  --bs-btn-disabled-bg: var(--cobalt); --bs-btn-disabled-border-color: var(--cobalt);
  border-radius: var(--radius-control); font-weight: 600;
}
.btn-outline-primary, .btn-outline-secondary {
  --bs-btn-color: var(--cobalt-deep); --bs-btn-border-color: color-mix(in srgb, var(--cobalt) 45%, transparent);
  --bs-btn-hover-bg: var(--cobalt-mist); --bs-btn-hover-color: var(--cobalt-deep); --bs-btn-hover-border-color: var(--cobalt);
  border-radius: var(--radius-control);
}
.btn-lg { padding-inline: 1.6em; }
.text-primary { color: var(--cobalt-deep) !important; }
.bg-primary { background-color: var(--cobalt) !important; }
.form-control, .form-select { border-radius: 10px; border-color: var(--line); }
.form-control:focus, .form-select:focus { border-color: var(--cobalt); box-shadow: 0 0 0 3px var(--cobalt-mist); }
.form-check-input:checked { background-color: var(--cobalt); border-color: var(--cobalt); }
.card, .o_portal_wrap .card { border-color: var(--line); border-radius: 14px; }
.badge.text-bg-primary, .text-bg-primary { background-color: var(--cobalt) !important; }

/* shop: three plans, platform pills */
#products_grid .oe_product_image { background: var(--night); border-radius: 14px; overflow: hidden; }
.oe_product_cart { border-radius: 16px; }

/* contact + thank-you pages */
.sh-odoo-page { padding: 80px 0 100px; }
.sh-odoo-page h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); letter-spacing: -0.045em; line-height: 1.05; margin: 0 0 14px; }
.sh-odoo-page .sub { color: var(--ink-soft); font-size: 1.12rem; max-width: 62ch; margin: 0 0 36px; }
.sh-odoo-page .aside h3 { font-size: 1rem; margin: 0 0 6px; }
.sh-odoo-page .aside > div + div { margin-top: 22px; }

/* My licenses */
.sh-lic { margin: 22px 0 0; padding: 24px 26px; border-radius: 18px; background: var(--sheet); border: 1px solid var(--line); max-width: 760px; }
.sh-lic h2 { margin: 0 0 6px; font-size: 1.4rem; }
.sh-lic-meta { color: var(--ink-soft); margin: 0 0 14px; }
.sh-lic-computers { list-style: none; padding: 0; margin: 0 0 14px; border-top: 1px solid var(--line); }
.sh-lic-computers li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sh-lic-up { margin: 0 0 10px; }
.sh-lic details summary { cursor: pointer; color: var(--steel); font-size: 0.9rem; }
.sh-key { display: block; margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: var(--porcelain); word-break: break-all; font-size: 0.8rem; }
