/* Store pages (/store/, /store/<country>/). Linked from baseof only on Section "store".
   Port of the iprx-js-landing styled-components (src/components/blocks/store/*). */

.store {
  --st-green: #0FAB73;
  --st-green-light: #67CDAA;
  --st-green-bg: #E7F9F2;
  --st-blue: var(--brand-blue);
  --st-violet-line: #E6E6FF;
  --st-gray-bg: var(--surface-table);
  --st-sky: #F7FBFF;
  --st-gray: #757575;
  --st-chip-off: #cfd0d1;
  --st-grad-green: linear-gradient(270deg, #67CDAA 0%, #0FAB73 100%);
  color: #000;
  font-size: 16px;
  line-height: 1.4;
}
.store { overflow-x: clip; }

/* Width comes from the shared container group in style.css. */
.store .st-container { position: relative; }

.store-hl-green { color: var(--st-green); }
.store-hl-blue { color: var(--st-blue); }

.store a { color: var(--st-blue); font-weight: 500; }
.store a:hover { text-decoration: none; opacity: .7; }
.store img { max-width: none; }
.store ul { list-style: none; }

/* === BUTTONS === */
.store .st-button {
  display: inline-block;
  width: fit-content;
  padding: 15px 50px;
  border-radius: 84px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  transition: opacity .3s;
}
.store .st-button:hover { opacity: .8; }
.store .st-button--blue { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; }
.store .st-button--white {
  background: #fff;
  color: var(--st-green);
  padding: 16px 40px;
  font-size: 16px;
  line-height: 1.4;
  white-space: nowrap;
}

/* The header card sits on the hero colour, as on the blog. */
.body--store { background: #E7F9F2; }
/* The footer's top margin moves inside .store, so no hero colour shows above the footer. */
.store { background: #fff; padding-bottom: 60px; }
.body--store .site-footer { margin-top: 0; }

/* === HERO === */
.store .st-hero {
  position: relative;
  background: var(--st-green-bg);
  overflow: hidden;
}
.store .st-hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  width: 1061px;
  height: auto;
  pointer-events: none;
}
.store .st-hero-inner { z-index: 1; padding-top: 8px; }
/* Blog breadcrumbs (style.css), placed as in .blog-hero. */
.store .st-hero .breadcrumbs { padding: 0 0 8px; position: relative; z-index: 2; }
.store .st-hero-body {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 40px 0 70px;
}
.store .st-hero-title { font-size: 62px; line-height: 1.4; font-weight: 500; }
.store .st-hero-art {
  position: absolute;
  z-index: 1;
  top: 270px;
  right: -300px;
  width: 630px;
  height: auto;
  pointer-events: none;
}
.store .st-checks {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}
.store .st-checks li { display: flex; gap: 10px; max-width: 160px; align-items: flex-start; }
.store .st-checks strong { font-weight: 600; }
.store .st-hero .st-button { margin-top: 24px; }

/* === GENERIC SECTION === */
.store .st-section { padding: 40px 0; }
.store .st-title {
  font-size: 42px;
  line-height: 1.4;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.store .st-text { margin-top: 24px; }
.store .st-text strong { font-weight: 600; }

/* === BANNER === */
.store .st-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  padding: 30px 50px;
  border-radius: 10px;
  background: var(--st-grad-green);
  color: #fff;
}
.store .st-banner-message { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.store .st-banner-title { font-size: 24px; font-weight: 700; }
.store .st-messengers { display: flex; gap: 20px; align-items: center; }
.store .st-messengers img { width: 50px; height: 50px; }

/* === COUNTRY TILES === */
.store .st-regions { margin-top: 30px; }
.store .st-region-name { font-size: 24px; font-weight: 700; margin: 20px 0; }
.store .st-tiles { display: grid; grid-template-columns: 1fr 1fr; column-gap: 25px; }
.store .st-tile {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 0;
  border-top: 1px solid var(--st-violet-line);
  color: inherit;
  font-weight: 400;
  transition: color .3s;
}
.store .st-tile:last-child,
.store .st-tile:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--st-violet-line); }
.store .st-tile:hover { color: var(--st-green-light); opacity: 1; }
.store .st-tile img { width: 30px; height: 15px; object-fit: cover; }

/* === BENEFITS === */
.store .st-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.store .st-benefits li {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 40px 20px;
  border-radius: 10px;
  background: var(--st-gray-bg);
}
.store .st-benefits img { width: 50px; height: 50px; flex: none; }
.store .st-benefits strong,
.store .st-benefits a { font-weight: 600; }

/* === ATTENTION === */
.store .st-attention {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 20px 0;
  padding: 30px;
  border: 1px solid var(--st-green-light);
  border-radius: 10px;
  font-weight: 500;
}
.store .st-attention img { width: 43px; height: 43px; flex: none; }
.store .st-attention strong { font-weight: 600; }

/* === FEATURES === */
.store .st-features {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.store .st-features li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.store .st-features img { width: 50px; height: 50px; margin-bottom: 15px; }

/* === SELLER CARDS === */
.store .st-sellers { margin-top: 20px; }
.store .st-seller { display: flex; margin-bottom: 20px; border-radius: 10px; }
.store .st-seller-side {
  flex: 0 0 30%;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 10px 0 0 10px;
  background: var(--st-grad-green);
  color: #fff;
}
.store .st-seller-head {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #fff;
}
.store .st-seller-logo {
  width: 70px;
  height: 70px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}
.store .st-seller-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--st-green);
  font-size: 24px;
  font-weight: 700;
}
.store .st-seller-name { font-size: 24px; font-weight: 700; word-break: break-word; }
.store .st-seller-contacts { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; }
.store .st-seller-contacts a { color: #fff; font-size: 16px; font-weight: 500; line-height: 20px; }
.store .st-seller-info {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 20px;
  align-content: start;
  padding: 20px;
  border: 1px solid var(--st-green-light);
  border-radius: 0 10px 10px 0;
}
.store .st-seller-info dt { font-weight: 600; text-align: right; }
.store .st-seller-info dd { overflow-wrap: anywhere; }
.store .st-seller-info dd a { color: var(--st-green); }
.store .st-flags { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.store .st-flags li {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 1px 5px;
  border-radius: 5px;
}
.store .st-flags li.is-on { background: var(--st-green-bg); color: var(--st-green); }
.store .st-flags li.is-off { background: var(--st-chip-off); color: var(--st-gray); }
.store .st-flags img { width: 15px; height: 15px; }

/* === FAQ === */
.store .st-faq-title { font-size: 42px; line-height: 1.4; font-weight: 500; text-align: center; }
.store .st-faq-list { margin-top: 64px; }
.store .st-faq-item {
  padding: 20px 32px;
  background: var(--st-sky);
  border-radius: 10px;
}
.store .st-faq-item + .st-faq-item { margin-top: 12px; }
.store .st-faq-item summary {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  list-style: none;
}
.store .st-faq-item summary::-webkit-details-marker { display: none; }
.store .st-faq-item summary h3 { flex: 1; font-size: 16px; font-weight: 700; line-height: 1.4; }
.store .st-faq-item summary svg { flex: none; color: var(--st-blue); transition: transform .3s; }
.store .st-faq-item[open] summary h3 { color: var(--st-blue); }
.store .st-faq-item[open] summary svg { transform: rotate(180deg); }
.store .st-faq-answer { margin-top: 20px; }

/* === SIGN-UP === */
.store .st-signup {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 0 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.store .st-signup h2 { font-size: 26px; font-weight: 500; }
.store .st-signup .st-button { margin-top: 15px; }

/* === RESPONSIVE === */
@media (max-width: 1660px) { .store .st-hero-art { right: -200px; } }
@media (max-width: 1560px) { .store .st-hero-art { right: -150px; } }
@media (max-width: 1280px) { .store .st-hero-art { opacity: .6; } }
@media (max-width: 992px) {
  .store .st-hero-body { padding: 32px 0 70px; }
  .store .st-seller-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  .store .st-hero-bg,
  .store .st-hero-art { display: none; }
  .store .st-hero-body { padding: 24px 0 40px; }
  .store .st-hero-title { font-size: 34px; }
  .store .st-checks { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px; }
  .store .st-section { padding: 30px 0; }
  .store .st-title,
  .store .st-faq-title { font-size: 34px; }
  .store .st-banner { flex-direction: column; align-items: flex-start; padding: 20px; gap: 10px; }
  .store .st-tiles { grid-template-columns: 1fr; }
  .store .st-tile:nth-last-child(2):nth-child(odd) { border-bottom: none; }
  .store .st-benefits { grid-template-columns: 1fr; margin-top: 20px; gap: 10px; }
  .store .st-benefits li { padding: 20px 10px; }
  .store .st-benefits img { width: 40px; height: 40px; }
  .store .st-features { grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }
  .store .st-features li { flex-direction: row; gap: 20px; text-align: left; }
  .store .st-features img { width: 40px; height: 40px; margin-bottom: 0; flex: none; }
  .store .st-seller { flex-direction: column; }
  .store .st-seller-side { border-radius: 10px 10px 0 0; }
  .store .st-seller-info { display: flex; flex-direction: column; gap: 0; border-radius: 0 0 10px 10px; }
  .store .st-seller-info dt { text-align: left; }
  .store .st-seller-info dt:not(:first-child) { margin-top: 10px; }
  .store .st-faq-list { margin-top: 24px; }
}
@media (max-width: 480px) {
  .store .st-hero-body { padding: 10px 0 30px; }
  .store .st-hero-title,
  .store .st-title,
  .store .st-faq-title { font-size: 26px; }
  .store,
  .store .st-banner-title,
  .store .st-region-name,
  .store .st-seller-name { font-size: 18px; }
  .store .st-button--white { font-size: 14px; padding: 12px 30px; }
  .store .st-messengers img { width: 40px; height: 40px; }
  .store .st-attention { align-items: flex-start; gap: 10px; padding: 20px; }
  .store .st-attention img { width: 34px; height: 34px; }
  .store .st-faq-item { padding: 16px; }
  .store .st-faq-item summary h3 { font-size: 14px; }
  .store .st-signup { padding-top: 30px; }
  .store .st-signup h2 { font-size: 24px; }
}

.st-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
