/* ============================================================
   StorageKeys — brand system (brand book p.8–20, website mockups p.26–27)
   Loaded after the page sheets on every public page. Rules are prefixed with
   `body` so they win over the per-page copies of the same components.
============================================================ */

/* ---------- Layout: one width for header, sections and footer ---------- */
html:root {
  --sk-chrome-max: 1380px;    /* same box for the header bar and every section container */
  --sk-header-max: var(--sk-chrome-max);
  --sk-gutter: 32px;
  --sk-chrome-pad: var(--sk-gutter);
  --sk-text: #050505;
  --sk-copy: #2E2826;
}
@media (max-width: 991px) {
  html:root {
    --sk-gutter: 28px;
  }
}
@media (max-width: 575px) {
  html:root {
    --sk-gutter: 20px;
  }
}

body .pv-header .pv-header-in.sk-container,
body .pv-banner-note .sk-container {
  max-width: var(--sk-header-max);
}

/* ---------- Typography (Capitana scale: medium/semibold headings, regular body) ---------- */
body {
  color: var(--sk-text);
  font-weight: 400;
}
input,
select,
textarea,
button,
option {
  font-family: inherit;
}
body h1,
body h2,
body h3,
body h4,
body h5 {
  font-family: var(--sk-font);
  color: inherit;
}
/* Section headings share one size and weight across pages (colour stays with each section) */
body .sk-section-head h2,
body .sk-section-head .sk-section-title,
body .ab-head h2,
body .bk-block-title,
body .bk-visual-card h2 {
  font-size: clamp(28px, 2.7vw, 38px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.005em;
}

/* Section heads sit left, as on every mockup page; eyebrow labels are not part of the design */
body .sk-section-head {
  text-align: left;
  max-width: 820px;
  margin: 0 0 44px;
}
body .sk-section-head p:not(.sk-section-title) {
  font-size: 18px;
  line-height: 1.55;
  color: var(--sk-copy);
}
body .sk-eyebrow {
  display: none;
}
body .sk-hero .sk-eyebrow {
  display: inline-flex;
}

/* Hero content always starts below the header, whatever padding a page sheet gives its hero */
html body:has(.ps-hero) .ps-hero {
  padding-top: calc(var(--pv-header-h, 100px) + 56px) !important;
}

/* Inner page hero titles: uppercase, medium weight, white (home hero keeps its own style) */
body .ps-hero h1 {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .005em;
  color: #fff;
  margin-bottom: 14px;
}
body .ps-hero h1 span {
  color: inherit;
}
body .ps-hero p.lead {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, .92);
}

/* ---------- Buttons: uppercase, 8px corners, framed edge ---------- */
body .sk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  min-width: 200px;
  padding: 12px 32px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-family: var(--sk-font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: none;
  transform: none;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
body .sk-btn i {
  display: none;
}
body .sk-btn:hover {
  transform: none;
}
body .sk-btn-primary {
  background: #F48922;
  border-color: #F48922;
  color: #fff;
  box-shadow: inset 0 0 0 2px #fff;
}
body .sk-btn-primary:hover,
body .sk-btn-primary:focus-visible {
  background: #EC5D2C;
  border-color: #EC5D2C;
  color: #fff;
}
body .sk-btn-ghost,
body .sk-btn-wa {
  background: #fff;
  border-color: #fff;
  color: #050505;
  box-shadow: inset 0 0 0 2px rgba(5, 5, 5, .22);
}
body .sk-btn-ghost:hover,
body .sk-btn-wa:hover,
body .sk-btn-ghost:focus-visible,
body .sk-btn-wa:focus-visible {
  background: #FCF8F5;
  border-color: #FCF8F5;
  color: #6C365B;
}
/* Grape button (mockup "BOOK YOUR UNIT" / "HELP ME CHOOSE"); .sk-btn-white is the existing name for it */
body .sk-btn-grape,
body .sk-btn-white {
  background: #6C365B;
  border-color: #EC5D2C;
  color: #fff;
  box-shadow: none;
}
body .sk-btn-grape:hover,
body .sk-btn-white:hover {
  background: #050505;
  border-color: #050505;
  color: #fff;
}
body .sk-btn-outline {
  background: transparent;
  border-color: currentColor;
  box-shadow: none;
}
@media (max-width: 575px) {
  body .sk-btn {
    min-width: 0;
    width: 100%;
  }
}

/* ---------- Header ---------- */
body .pv-nav > a,
body .pv-nav > .pv-has-sub > a {
  font-weight: 500;
}
body .pv-nav a.active {
  font-weight: 500;
}
body .pv-book {
  border-radius: 8px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: .02em;
  font-size: 15px;
  padding: 12px 34px;
  border: 2px solid #F48922;
  box-shadow: inset 0 0 0 2px #fff;
}
body .pv-cart {
  border-radius: 8px;
}

/* Inner pages: floating white header bar over the hero, active page as an orange pill */
@media (min-width: 992px) {
  body:has(.ps-hero) .pv-header:not(.is-solid) {
    padding: 18px 0 0;
  }
  body:has(.ps-hero) .pv-header .pv-header-in.sk-container {
    background: #FCF8F5;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(5, 5, 5, .12);
    padding-left: var(--sk-gutter) !important;
    padding-right: var(--sk-gutter) !important;
  }
  body:has(.ps-hero) .pv-header.is-solid .pv-header-in.sk-container {
    box-shadow: none;
  }
  body:has(.ps-hero) .pv-header .pv-logo img {
    filter: none !important;
  }
  body:has(.ps-hero) .pv-header .pv-nav > a,
  body:has(.ps-hero) .pv-header .pv-nav > .pv-has-sub > a {
    color: #050505 !important;
    text-shadow: none !important;
    padding: 8px 14px;
    border-radius: 10px;
  }
  body:has(.ps-hero) .pv-header .pv-nav > a.active,
  body:has(.ps-hero) .pv-header .pv-nav > .pv-has-sub > a.active {
    background: #F48922;
    color: #fff !important;
  }
  body:has(.ps-hero) .pv-header .pv-nav > a:not(.active):hover,
  body:has(.ps-hero) .pv-header .pv-nav > .pv-has-sub > a:not(.active):hover {
    color: #EC5D2C !important;
  }
  body:has(.ps-hero) .pv-header .pv-nav {
    gap: 6px 10px;
  }
  body:has(.ps-hero) .pv-header .pv-cart {
    color: #F48922 !important;
    border: 2px solid #F48922 !important;
    background: #fff !important;
  }

  /* Home: transparent header, white outlined Book Now */
  body:has(.sk-hero) .pv-header:not(.is-solid) .pv-book {
    background: #fff;
    color: #050505;
    border-color: #fff;
    box-shadow: inset 0 0 0 2px #050505;
  }
  body:has(.sk-hero) .pv-header:not(.is-solid) .pv-book:hover {
    background: #F48922;
    color: #fff;
    border-color: #F48922;
    box-shadow: inset 0 0 0 2px #fff;
  }
}

/* ---------- Reusable design blocks ---------- */

/* Photo cards: "Storage Solutions for Every Need" (home) */
.sk-sol-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.sk-sol-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(5, 5, 5, .05);
}
.sk-sol-card .ph {
  aspect-ratio: 3 / 2;
  background: #E7DDD4 center / cover no-repeat;
}
.sk-sol-card .bd {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 26px;
}
body .sk-sol-card h3 {
  color: #6C365B;
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 8px;
}
body .sk-sol-card p {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 18px;
}
.sk-explore {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #F48922;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.sk-explore::after {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
.sk-explore:hover {
  color: #EC5D2C;
}

/* Grape service band with the brand book's service icons */
.sk-svc-band {
  background: #6C365B;
  color: #fff;
  padding: 40px 0;
}
.sk-svc-band-in {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
}
.sk-svc-band-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  line-height: 1.4;
  color: #fff;
}
.sk-svc-band-item .sk-brand-svg {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
}

/* "How booking works" card with the ribbon pattern and the attached CTA panel */
.sk-book-card {
  position: relative;
  background: #fff;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(5, 5, 5, .06);
}
.sk-book-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 330px;
  height: 156px;
  background: url('../../assets/images/frontend/brand/ribbon.svg') no-repeat right top / contain;
  pointer-events: none;
}
.sk-book-card-in {
  position: relative;
  padding: 64px 72px 52px;
}
body .sk-book-card .sk-book-card-in h2 {
  font-size: clamp(28px, 2.7vw, 38px);
  font-weight: 600;
  line-height: 1.2;
  color: #050505;
  margin: 0 0 10px;
  max-width: 640px;
}
body .sk-book-card .lead {
  font-size: 18px;
  max-width: 640px;
  margin: 0 0 44px;
}
.sk-book-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  text-align: center;
}
.sk-book-steps .num {
  width: 76px;
  height: 76px;
  margin: 0 auto 16px;
  border-radius: 18px;
  background: #6C365B;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
}
body .sk-book-steps h3 {
  font-size: 20px;
  margin: 0 0 6px;
  color: #050505;
}
body .sk-book-steps p {
  font-size: 14.5px;
  line-height: 1.45;
  margin: 0;
}

/* Orange panel with a photo on the left: "Get started…" / "Not sure which size is right?" */
.sk-panel {
  display: grid;
  grid-template-columns: 31% 1fr;
  background: #F48922;
  color: #fff;
  overflow: hidden;
}
.sk-panel--card {
  border-radius: 40px;
}
.sk-panel .ph {
  min-height: 300px;
  background: #E7DDD4 center / cover no-repeat;
}
.sk-panel .bd {
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
body .sk-panel h2 {
  color: #fff;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 600;
  margin: 0 0 10px;
}
body .sk-panel p {
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 30px;
  max-width: 640px;
}
.sk-panel .btns {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
}

/* Storage option pages: hero with a white text card */
body .so-hero h1 {
  text-transform: none;
  font-size: clamp(32px, 3.4vw, 46px);
  max-width: 560px;
}
.so-hero-card {
  max-width: 560px;
  margin-top: 26px;
  background: #FCF8F5;
  color: #050505;
  border-radius: 22px;
  padding: 26px 28px 28px;
}
body .so-hero-card p {
  color: #050505;
  font-size: 16px;
  line-height: 1.5;
  text-align: justify;
  margin: 0 0 14px;
}
.so-hero-card .btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}
.so-hero-card .btns .sk-btn {
  min-width: 0;
  flex: 1 1 200px;
}

/* Storage option cards: photo with a white body overlapping its lower edge */
.so-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 28px;
}
.so-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(5, 5, 5, .06);
  background: #fff;
  transition: transform .2s, box-shadow .2s;
}
.so-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(5, 5, 5, .1);
}
.so-card .ph {
  aspect-ratio: 16 / 10;
  background: #E7DDD4 center / cover no-repeat;
}
.so-card .bd {
  position: relative;
  margin-top: -26px;
  background: #fff;
  border-radius: 24px 24px 0 0;
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
body .so-card h3 {
  color: #6C365B;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin: 0 0 8px;
}
body .so-card p {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 18px;
}

/* "What can you store?" — tappable grape tiles */
.so-store {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.so-store-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: #050505;
  font-size: 16px;
  line-height: 1.25;
  text-align: center;
}
.so-store-item .tile {
  width: 92px;
  height: 92px;
  border-radius: 20px;
  background: #6C365B;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  transition: background-color .2s, transform .2s;
}
.so-store-item:hover .tile {
  transform: translateY(-2px);
}
.so-store-item[aria-pressed="true"] .tile {
  background: #F48922;
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px #F48922;
}
.so-store-note {
  margin: -24px 0 40px;
  font-size: 15px;
  color: var(--sk-copy);
  min-height: 1.5em;
}

/* Grape stats band (storage page mockup footer band) */
.sk-statband {
  background: #6C365B;
  color: #fff;
  padding: 44px 0;
}
.sk-statband-in {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  text-align: center;
  font-size: 15px;
}
.sk-statband-in strong {
  display: block;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 6px;
}
.sk-statband-in strong span {
  color: #F48922;
}
@media (max-width: 767px) {
  .sk-statband-in {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 30px;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .sk-sol-grid,
  .sk-svc-band-in {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .so-store {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 991px) {
  .so-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sk-book-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 36px;
  }
  .sk-book-card-in {
    padding: 56px 36px 44px;
  }
  .sk-panel {
    grid-template-columns: 1fr;
  }
  .sk-panel .ph {
    min-height: 220px;
  }
  .sk-panel .bd {
    padding: 36px 32px 40px;
  }
}
@media (max-width: 575px) {
  .sk-sol-grid,
  .sk-svc-band-in,
  .so-card-grid,
  .sk-book-steps {
    grid-template-columns: 1fr;
  }
  .so-store {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .so-store-item .tile {
    width: 76px;
    height: 76px;
    font-size: 30px;
  }
  .sk-book-card,
  .sk-panel--card {
    border-radius: 28px;
  }
  .sk-book-card::before {
    width: 190px;
    height: 90px;
  }
  .sk-book-card-in {
    padding: 72px 22px 36px;
  }
  .sk-panel .bd {
    padding: 30px 22px 34px;
  }
  .so-hero-card {
    padding: 22px 20px;
  }
}

/* ============================================================
   Tablet + mobile polish (checked at 1024, 820, 768, 600, 414, 360)
============================================================ */
@media (max-width: 991px) {
  /* Ribbon pattern sits above the booking heading instead of over it */
  .sk-book-card::before {
    width: 230px;
    height: 109px;
  }
  .sk-book-card-in {
    padding-top: 120px;
  }
}

@media (max-width: 767px) {
  /* Top bar: one line — phone number + login/register */
  body .pv-banner-note .pv-banner-row {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 12px;
  }
  body .pv-banner-note .pv-banner-left li:first-child,
  body .pv-banner-note .pv-banner-left li:nth-child(3) {
    display: none !important;
  }
  body .pv-banner-note .ltn__top-bar-menu > ul,
  body .pv-banner-note .ltn__social-media ul {
    flex-wrap: nowrap;
    gap: 6px 14px;
  }
  body .pv-banner-note a {
    white-space: nowrap;
  }
}

@media (max-width: 575px) {
  /* Header row: logo, Book Now, cart and menu button on one line */
  body .pv-header-in {
    flex-wrap: nowrap;
    gap: 8px;
  }
  body .pv-logo img {
    height: 30px;
  }
  body .pv-book {
    padding: 9px 14px;
    font-size: 13px;
    letter-spacing: .01em;
  }
  body .pv-cart {
    width: 38px;
    height: 38px;
  }
  body .pv-nav.open {
    flex-basis: 100%;
  }
  body .pv-header-in:has(.pv-nav.open) {
    flex-wrap: wrap;
  }

  /* USP strip: two columns instead of five stacked cards */
  body .sk-usp-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  body .sk-usp-inner > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .sk-book-card::before {
    width: 170px;
    height: 81px;
  }
  .sk-book-card-in {
    padding-top: 96px;
  }
}

@media (max-width: 380px) {
  body .pv-book {
    padding: 8px 10px;
    font-size: 12px;
  }
  body .pv-logo img {
    height: 26px;
  }
}

/* ---------- Shared bits used on several pages ---------- */
/* Space between a section heading and its intro text */
body .sk-section-head h2,
body .sk-section-head .sk-section-title {
  margin-bottom: 12px;
}

/* Tick list in the dark quote cards (blogs, storage options, about, contact) */
body .so-quote-points {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
}
body .so-quote-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, .92);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 10px;
}
body .so-quote-points li::before {
  content: none;
}
body .so-quote-points li i {
  display: inline;
  color: #F48922;
  margin-top: 3px;
}

@media (max-width: 575px) {
  /* Justified text leaves big gaps on narrow screens */
  body .so-hero-card p,
  body .bl-featured-excerpt {
    text-align: left;
  }

  /* About testimonials: keep the arc pattern off the heading */
  body .ab-said::after {
    display: none;
  }

  /* Booking size slider: label first, middle and last stops only */
  .bk-range-marks span:nth-child(2),
  .bk-range-marks span:nth-child(4),
  .bk-range-marks span:nth-child(5) {
    display: none;
  }

  /* Blog featured card: date label flush with the card edge */
  body .bl-featured-body {
    padding: 0 20px 26px;
  }
  body .bl-featured .bl-date-flag {
    margin: 0 0 18px -20px;
    padding: 14px 44px 14px 20px;
  }

  /* Personal storage "What can you store?": two per row */
  body .ps-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 991px) {
  /* About "What we provide": checklist full width, photo below */
  body .ab-page .ab-provide {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  body .ab-said::after {
    display: none;
  }

  /* Top bar on one line on tablets: email, phone, login/register */
  body .pv-banner-note .pv-banner-row {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 12px;
  }
  body .pv-banner-note .pv-banner-left li:nth-child(3) {
    display: none !important;
  }
  body .pv-banner-note .ltn__top-bar-menu > ul,
  body .pv-banner-note .ltn__social-media ul {
    flex-wrap: nowrap;
  }
  body .pv-banner-note a {
    white-space: nowrap;
  }
}
@media (max-width: 991px) {
  body .pv-banner-note .pv-banner-row {
    flex-direction: row;
    align-items: center;
  }
  body .pv-banner-note .pv-banner-left,
  body .pv-banner-note .pv-banner-right {
    width: auto;
  }
  body .pv-banner-note .ltn__top-bar-menu > ul {
    justify-content: flex-start;
    width: auto;
  }
}
@media (max-width: 400px) {
  /* Smallest phones: tighter top bar so phone + login/register fit on one line */
  body .pv-banner-note {
    font-size: 11px;
    letter-spacing: 0;
  }
  body .pv-banner-note .pv-banner-row,
  body .pv-banner-note .ltn__top-bar-menu > ul,
  body .pv-banner-note .ltn__social-media ul {
    gap: 4px 8px;
  }
  body .pv-banner-note i {
    margin-right: 2px;
  }
}
@media (max-width: 400px) {
  body .pv-banner-note a,
  body .pv-banner-note li {
    font-size: 11px !important;
  }
  body .pv-banner-note .ltn__social-media i {
    display: none !important;
  }
}

/* Footer: six columns on wide screens, three on small laptops */
@media (max-width: 1240px) and (min-width: 992px) {
  body .pv-foot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Corner line patterns: no free corner on narrow phones, so they would sit on the heading */
@media (max-width: 575px) {
  .sk-lines-tr::before,
  .sk-lines-bl::before {
    display: none;
  }
}
