/**
 * Self-contained UC prod chrome for drafthorse-nms.
 * Tuned from live nissan-nms.com (admin session Oct 2026).
 * Do not import full UC navi.css / assets.css — they fight Tailwind/Vue.
 */

@font-face {
  font-family: drafthorse_symbolsregular;
  src: url(../fonts/drafthorsesymbols.woff2) format("woff2"),
       url(../fonts/drafthorsesymbols.woff) format("woff"),
       url(../fonts/drafthorsesymbols.ttf) format("truetype");
  font-weight: 400;
  font-style: normal;
}

/* ── Login (body.login) ─────────────────────────────────────── */
body.login {
  margin: 0;
  background: #fff;
  color: #414141;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
}

body.login header {
  background: #090909;
  padding: 0;
  margin: 0;
}

body.login header img {
  width: 100%;
  display: block;
}

body.login .content {
  padding: 30px 60px;
}

body.login .content > .col > p {
  margin: 0 0 1em;
  font-size: 16px;
}

body.login .form-container .login-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  max-width: 360px;
}

body.login .form-container .login-input {
  width: 100%;
  min-width: 0;
  border-radius: 9999px;
  padding: 0.7rem 1.15rem;
  font-size: 0.95rem;
  background: #fff;
  border: 1px solid #d1d5db;
  color: #111827;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

body.login .form-container .login-input:focus {
  border-color: #c51733;
  outline: none;
  box-shadow: 0 0 0 3px rgba(197, 23, 51, 0.12);
}

body.login .form-container .login-submit {
  margin-top: 4px;
  min-width: 140px;
  padding: 0.7rem 1.75rem;
  font-size: 0.95rem;
  border-radius: 9999px;
  text-transform: none;
  letter-spacing: 0;
}

body.login .login-help {
  margin-top: 18px;
}

body.login .login-help a {
  color: #989898;
  text-decoration: none;
  font-size: 13px;
}

body.login .login-help a:hover {
  color: #c51733;
  text-decoration: underline;
}

body.login .message-box {
  margin-top: 12px;
  color: #c51733;
  font-size: 14px;
}

/*
 * App shell — ALL sizes in px (no rem).
 * UC uses html{font-size:62.5%} + rem; if a browser clamps the root font-size,
 * rem-based chrome blows up. Absolute px keeps us locked to live metrics.
 */
.uc-app {
  min-height: 100vh;
  background: #f8f8f8;
  color: #414141;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.uc-app .icon {
  font-family: drafthorse_symbolsregular, sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  font-size: 25px;
}

/* Header — live nissan-nms.com: #3c3c3c, 61px, pad-left 165px.
   Use px (not rem) so Tailwind/html rem base cannot inflate the bar. */
.uc-app > header.clr {
  background: #3c3c3c;
  color: #d0d0d0;
  text-transform: uppercase;
  font-size: 17px;
  font-weight: 200;
  height: 61px;
  padding: 0 0 0 165px;
  position: relative;
  flex-shrink: 0;
  overflow: visible;
  min-width: 777px;
}

/* Keep bar height; overflow must stay visible so user/Create dropdowns work.
   (Material/Admin subnav is position:fixed and was fine; user menu is absolute and was clipped.) */
.uc-app > header.clr > div {
  height: 61px;
  overflow: visible;
}

/* Live logo is 165×137 PNG; hangs under the 61px bar */
.uc-app > header a.logo-link {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1000;
  width: 165px;
  height: 137px;
  padding: 0;
  line-height: 0;
  background: transparent !important;
  border: 0;
}

.uc-app > header .logo,
.uc-app > header a > .logo {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1000;
  width: 165px;
  height: 137px;
  max-width: none;
  object-fit: fill;
  display: block;
  margin: 0;
  background: transparent;
  border: 0;
}

.uc-app > header nav {
  height: 61px;
}

.uc-app > header nav:last-of-type {
  float: right;
}

.uc-app > header nav:first-of-type {
  float: left;
}

.uc-app > header ul.user {
  float: right;
}

.uc-app > header ul {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 60px;
  /* float layout like UC — avoid flex growing the bar */
}

.uc-app > header ul::after {
  content: "";
  display: table;
  clear: both;
}

.uc-app > header ul li {
  position: relative;
  border-left: 1px solid #292929;
  float: left;
  height: 60px;
}

.uc-app > header ul.navigation > li:last-child {
  border-right: 1px solid #292929;
}

.uc-app > header ul li > a {
  /* Match UC float + line-height layout (not flex) — keeps bar at 60px */
  display: block;
  float: left;
  padding: 0 1em;
  line-height: 60px;
  height: 60px;
  color: #d0d0d0;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.uc-app > header ul li > a:hover {
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
}

.uc-app > header ul li.active > a,
.uc-app > header ul li > a.mainnavi-active {
  background: #2d2d2d;
  color: #d0d0d0;
}

.uc-app > header ul li > a .icon,
.uc-app > header ul li > a .text {
  display: inline-block;
  vertical-align: top;
  line-height: 60px;
  height: 60px;
}

.uc-app > header ul li > a .icon {
  font-family: drafthorse_symbolsregular, sans-serif !important;
  font-size: 25px;
  font-weight: 400;
  font-style: normal;
  speak: none;
  -webkit-font-smoothing: antialiased;
}

.uc-app > header .icon-dropdown {
  font-size: 18px !important;
  padding-left: 2px;
}

/* Dropdown / second-level bar — reset bar height so items aren't clipped */
.uc-app > header ul ul {
  display: none;
  position: absolute;
  top: 60px;
  left: 0;
  z-index: 200;
  height: auto;
  background: #2d2d2d;
  min-width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  flex-direction: column;
  flex-wrap: nowrap;
}

/* User menu opens downward under the name, right-aligned */
.uc-app > header ul.user > li > ul {
  left: auto;
  right: 0;
  min-width: 140px;
}

.uc-app > header ul li:hover > ul,
.uc-app > header ul li.open > ul,
.uc-app > header ul ul.subnavi-active {
  display: flex;
}

/* When Material/Admin active: full-width second bar under header */
.uc-app > header ul.navigation > li.active > ul.subnavi-active {
  position: fixed;
  left: 0;
  right: 0;
  top: 60px;
  padding-left: 165px;
  width: auto;
  min-width: 0;
  height: 48px;
  border-top: 1px solid #333;
  flex-direction: row;
  flex-wrap: wrap;
}

.uc-app > header ul ul li {
  border-left: 1px solid #333;
  float: none;
  height: auto;
}

.uc-app > header ul ul li a {
  float: none;
  display: block;
  height: auto;
  line-height: 48px;
  padding: 0 1.5em;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  background: transparent;
}

.uc-app > header ul ul li a:hover,
.uc-app > header ul ul li.active > a {
  text-decoration: underline;
  background: transparent;
}

.uc-app > header ul li > a .text {
  padding-left: 6px;
}

.uc-app > header ul.user .text {
  max-width: 116px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* SVG nav icons (cart / user) — keep in the 60px bar */
.uc-app > header ul li > a .nav-svg-icon {
  display: inline-block;
  vertical-align: top;
  width: 22px;
  height: 22px;
  margin-top: 19px;
  stroke-width: 1.75;
}

.uc-app > header ul li > a.cart-nav-link {
  position: relative;
  padding-right: 1.35em;
}

.uc-app > header ul li > a .cart-badge,
.uc-app > header #shoppping-cart-count.cart-badge {
  position: absolute;
  top: 12px;
  right: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #00a9e0;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  float: none;
}

.uc-body {
  flex: 1;
  display: flex;
  min-height: 0;
}

/* Compact hanging logo when Admin side menu is open */
.uc-app.admin-mode > header.clr {
  padding-left: 72px;
  min-width: 0;
}

.uc-app.admin-mode > header a.logo-link,
.uc-app.admin-mode > header .logo,
.uc-app.admin-mode > header a > .logo {
  width: 72px;
  height: 60px;
  object-fit: contain;
  object-position: left top;
}

/* Admin side menu — same chrome language as dealer UI */
.admin-sidebar {
  width: 220px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: #2d2d2d;
  color: #d0d0d0;
  border-right: 1px solid #1f1f1f;
}

.admin-sidebar-head {
  padding: 18px 16px 12px;
  border-bottom: 1px solid #3a3a3a;
}

.admin-sidebar-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #999;
}

.admin-sidebar-title {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.admin-sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-sidebar-foot {
  padding: 10px 8px 14px;
  border-top: 1px solid #3a3a3a;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #c8c8c8;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.admin-nav-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.admin-nav-item.active {
  background: #c51733;
  color: #fff;
}

.admin-nav-item.admin-nav-back {
  color: #aaa;
  font-weight: 500;
}

.admin-nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke-width: 1.75;
}

.uc-content.admin-content {
  padding: 0;
  background: #f8f8f8;
}

/* Legacy imaging sidebar (unused; kept for safety) */
.uc-sidebar {
  width: 170px;
  flex-shrink: 0;
  background: #ebebeb;
  border-right: 1px solid #c8c8c8;
}

.uc-sidebar nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #c8c8c8;
}

.uc-sidebar nav li {
  border-bottom: 1px solid #c8c8c8;
  border-top: 1px solid #fff;
}

.uc-sidebar nav a {
  display: block;
  padding: 14px 10px;
  color: #999;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
}

.uc-sidebar nav li.active a,
.uc-sidebar nav a.router-link-active {
  background: #f6f6f6;
  color: #414141;
}

.uc-sidebar nav a:hover {
  color: #c51733;
}

.uc-content {
  flex: 1;
  min-width: 0;
  overflow: auto;
  background: #f8f8f8;
}

/* Top pad clears the hanging 165×137 logo (bar is 61px; ~76px hangs into body). */
.uc-content.padded {
  padding: 80px 32px 40px;
}

/* Editor: reclaim logo hang + fill viewport under the 61px nav bar */
.uc-app.editor-mode {
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}

.uc-app.editor-mode > header a.logo-link,
.uc-app.editor-mode > header .logo,
.uc-app.editor-mode > header a > .logo {
  width: 72px;
  height: 60px;
  object-fit: contain;
  object-position: left top;
}

.uc-app.editor-mode > .uc-body {
  flex: 1;
  height: calc(100vh - 61px);
  min-height: 0;
  overflow: hidden;
}

.uc-app.editor-mode .uc-content {
  padding: 0 !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: #2a2a2a;
}

/* ── Page: filter sidebar + grid ────────────────────────────── */
.uc-page {
  display: flex;
  min-height: 100%;
  align-items: stretch;
}

.uc-filter {
  width: 220px;
  flex-shrink: 0;
  background: #ebebeb;
  padding: 16px 12px 32px;
  border-right: 1px solid #ddd;
  box-sizing: border-box;
}

.uc-filter label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: #888;
  font-weight: 700;
  margin: 14px 0 6px;
}

.uc-filter .search-wrap {
  position: relative;
  margin-bottom: 8px;
}

.uc-filter .search-wrap input {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 28px 8px 10px;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 14px;
}

.uc-filter .search-wrap .ico {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-family: drafthorse_symbolsregular, sans-serif;
  pointer-events: none;
}

.uc-filter select {
  width: 100%;
  box-sizing: border-box;
  padding: 8px;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 13px;
  margin-bottom: 8px;
}

.uc-filter .cat-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  padding: 11px 12px;
  margin-bottom: 2px;
  border: 0;
  background: #3c3c3c;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.uc-filter .cat-btn.active,
.uc-filter .cat-btn:hover {
  background: #555;
}

/* Soft / pill category filters (aligned with Create & Download) */
.uc-filter .cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.uc-filter .cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #4b5563;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.uc-filter .cat-pill.active,
.uc-filter .cat-pill:hover {
  background: #c51733;
  border-color: #c51733;
  color: #fff;
}

.uc-filter .cat-pill:disabled {
  opacity: 0.55;
  cursor: wait;
  pointer-events: none;
}

.uc-filter .cat-pill:disabled {
  opacity: 0.55;
  cursor: wait;
  pointer-events: none;
}

.uc-filter select {
  border-radius: 8px;
}

.uc-filter .search-wrap input {
  border-radius: 8px;
}

.uc-filter .reset {
  width: 100%;
  margin-top: 14px;
  border: 0;
  padding: 10px;
  background: #c51733;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.uc-main {
  flex: 1;
  min-width: 0;
  padding: 24px 28px 40px;
  background: #fff;
}

.uc-main h1,
.uc-main .page-title {
  margin: 0 0 20px;
  font-size: 28px;
  font-weight: 200;
  color: #888;
}

.uc-main .page-title span {
  color: #bbb;
}

.uc-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.uc-card {
  width: 240px;
  background: #fff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.uc-card .thumb {
  background: #f0f0f0;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.uc-card .thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.uc-card .body {
  padding: 14px 16px 16px;
}

.uc-card .title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 10px;
  line-height: 1.3;
  color: #333;
}

.uc-card .meta {
  font-size: 11px;
  color: #888;
  line-height: 1.55;
  margin-bottom: 10px;
}

.uc-card .meta b {
  color: #666;
  text-transform: uppercase;
  font-weight: 700;
}

.uc-card .dl {
  color: #c51733;
  text-decoration: none;
  font-size: 12px;
}

.uc-card .dl:hover {
  text-decoration: underline;
}

.uc-card .qty-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}

.uc-card .qty-row button {
  border: 1px solid #ccc;
  background: #d0d0d0;
  padding: 6px 10px;
  cursor: pointer;
}

.uc-card .qty-row input {
  width: 56px;
  text-align: center;
  padding: 6px;
  border: 1px solid #ccc;
}

.uc-card .add {
  width: 100%;
  border: 0;
  padding: 10px;
  background: #c51733;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  font-size: 13px;
}

.uc-card .add:disabled {
  background: #e5cbd0;
  cursor: default;
}

.uc-card.soft {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.uc-card .qty-row.soft {
  display: inline-flex;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  gap: 0;
}

.uc-card .qty-row.soft button {
  border: 0;
  background: transparent;
  padding: 6px 12px;
  color: #4b5563;
  font-size: 14px;
}

.uc-card .qty-row.soft button:hover {
  background: #f3f4f6;
}

.uc-card .qty-row.soft input {
  width: 40px;
  border: 0;
  border-left: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
  padding: 6px 4px;
  background: #fff;
  font-size: 13px;
}

.uc-card .add.soft {
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.uc-card .add.soft:hover:not(:disabled) {
  background: #b1152e;
}

/* ── Home — live: container-fluid is #f8f8f8 (matches logo PNG) ─ */
.uc-home {
  background: #f8f8f8;
  color: #333;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
}

.uc-home .container-fluid {
  width: 100%;
  box-sizing: border-box;
  padding: 60px 20px 20px;
  background: #f8f8f8;
}

.uc-home .news-row {
  display: flex;
  flex-wrap: wrap;
  margin: 40px -5px 50px;
  box-sizing: border-box;
}

.uc-home .news-row > .col {
  width: 50%;
  box-sizing: border-box;
  padding: 0 5px;
  float: none;
}

.uc-home .news h2 {
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 500;
  line-height: 33px;
  color: #333;
  text-transform: uppercase;
}

.uc-home .news hr {
  border: 0;
  border-top: 1px solid #d0d0d0;
  border-bottom: 1px solid #fff;
  margin: 0 0 20px;
}

.uc-home .news-item {
  margin-bottom: 10px;
  padding-bottom: 10px;
  font-weight: 700;
  border-bottom: 1px dashed #d0d0d0;
}

.uc-home .news-item .date {
  margin: 20px 0 5px;
  font-size: 80%;
  line-height: 1.1;
  color: #999;
  font-weight: 700;
  text-transform: uppercase;
}

.uc-home .news-item h4 {
  margin: 10px 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.1;
  color: #333;
  text-transform: none;
}

.uc-home .news-item p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #333;
}

.uc-home .more-news {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  box-sizing: border-box;
  border: 0;
  border-radius: 999px;
  padding: 10px 24px;
  background: #c51733;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 8px;
}

.uc-home .more-news:hover {
  background: #a8142b;
}

.uc-home .fb-col {
  text-align: center;
}

.uc-home .templates-block {
  background: #fff;
  padding: 10px 20px 50px;
  text-align: center;
}

.uc-home .templates-block h2,
.uc-home .templates-block h3 {
  margin: 20px 0 10px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
  color: #333;
  text-transform: none;
  text-align: center;
}

.uc-home .tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  justify-content: center;
}

.uc-home .tabs button {
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #555;
  cursor: pointer;
  font-family: inherit;
}

.uc-home .tabs button.active {
  background: #111;
  border-color: #111;
  color: #fff;
}

.uc-home .carousel {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  justify-content: center;
  overflow-x: auto;
  width: 100%;
  margin: 0 auto;
  padding: 0 5%;
  box-sizing: border-box;
}

.uc-home .carousel a {
  flex: 0 0 160px;
  width: 160px;
  text-decoration: none;
  color: inherit;
}

.uc-home .carousel img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: #f8f8f8;
  display: block;
}

.uc-home .carousel .cap {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uc-home .ext-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 30px;
}

.uc-home .ext-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 10px 24px;
  border-radius: 999px;
  background: #c51733;
  color: #fff !important;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.uc-home .ext-links a:hover {
  background: #a8142b;
  color: #fff !important;
}

@media (max-width: 991px) {
  .uc-home .news-row > .col {
    width: 100%;
  }

  .uc-home .news-row {
    margin: 16px 0 28px;
  }

  .uc-home .container-fluid {
    padding: 24px 14px 20px;
  }

  .uc-home .templates-block {
    padding: 10px 12px 28px;
  }

  .uc-home .carousel {
    padding: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .uc-home .carousel a {
    flex: 0 0 calc(50% - 8px);
    width: calc(50% - 8px);
  }

  .uc-home .ext-links {
    padding: 20px 8px 28px;
    gap: 10px;
  }

  .uc-home .ext-links a {
    width: 100%;
    max-width: 280px;
  }
}

/* Icons-only nav on narrow viewports (UC prod behaviour) */
@media (max-width: 960px) {
  .uc-app > header.clr {
    padding-left: 72px;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .uc-app > header a.logo-link,
  .uc-app > header .logo,
  .uc-app > header a > .logo {
    width: 72px;
    height: 60px;
    object-fit: contain;
    object-position: left top;
  }

  /* Higher specificity than the default inline-block rule */
  .uc-app > header ul li > a .text,
  .uc-app > header ul.user .text,
  .uc-app > header .text {
    display: none !important;
  }

  .uc-app > header ul li > a .icon-dropdown {
    display: none !important;
  }

  .uc-app > header ul li > a {
    padding: 0 0.7em;
  }

  .uc-app > header ul li > a.cart-nav-link {
    padding-right: 0.9em;
  }

  .uc-app > header ul.navigation > li.active > ul.subnavi-active {
    padding-left: 72px;
  }

  .uc-content.padded {
    padding: 24px 14px 28px;
  }

  .uc-page {
    flex-direction: column;
  }

  .uc-filter {
    width: 100%;
  }

  .uc-body {
    flex-direction: column;
  }

  .uc-sidebar {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid #e5e5e5;
  }

  .admin-sidebar {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid #1f1f1f;
  }

  .admin-sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }

  .admin-nav-item {
    flex: 1 1 auto;
    justify-content: center;
    padding: 8px 10px;
    font-size: 12px;
  }

  .admin-sidebar-foot {
    display: none;
  }
}

@media (max-width: 480px) {
  .uc-app > header.clr {
    padding-left: 56px;
  }

  .uc-app > header a.logo-link,
  .uc-app > header .logo,
  .uc-app > header a > .logo {
    width: 56px;
    height: 48px;
  }

  .uc-app > header ul li > a {
    padding: 0 0.55em;
  }

  .uc-home .carousel a {
    flex: 0 0 100%;
    width: 100%;
  }
}
