* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue: #0b52ff;
  --violet: #7a3cff;
  --ink: #071735;
  --muted: #60708b;
  --line: #dfe7f4;
  --soft: #f7faff;
}

body {
  color: var(--ink);
  background: #fff;
  font-family: var(--font-body);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.shop-header {
  min-height: 91px;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 24px;
  max-width: 1360px;
  margin: auto;
  padding: 16px clamp(22px, 5vw, 64px);
  background: #fff;
}

.shop-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  color: var(--ink);
  text-decoration: none;
}

.shop-logo img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
}

.shop-logo h2 {
  font-size: 21px;
  line-height: 1.1;
  font-weight: 700;
}

.shop-logo p {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}

.shop-header nav {
  display: flex;
  justify-content: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 800;
}

.shop-header nav a.active,
.shop-header nav a:hover {
  color: var(--blue);
}

.call-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 9px;
  padding: 14px 22px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.shop-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1fr);
  gap: 28px;
  align-items: center;
  max-width: 1360px;
  min-height: 520px;
  margin: auto;
  padding: 56px 70px;
  overflow: hidden;
  border-radius: 40px;
  background:
    radial-gradient(circle at 92% 16%, rgba(255, 255, 255, .24), transparent 12rem),
    linear-gradient(115deg, #fff 0%, #f7f6ff 48%, #4f62ff 100%);
}

.shop-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(122, 60, 255, .26);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy > span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero-copy h1 {
  max-width: 620px;
  margin: 18px 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.12;
}

.hero-copy strong {
  color: var(--violet);
}

.hero-copy p {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.hero-actions a,
.price-grid article a,
.shop-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  border-radius: 8px;
  padding: 0 26px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.hero-actions a.ghost {
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--blue);
}

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 44px;
}

.hero-stats div {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 9px;
}

.hero-stats i {
  grid-row: span 2;
  color: var(--blue);
  font-size: 28px;
}

.hero-stats b {
  font-size: 24px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 13px;
}

.hero-device {
  position: relative;
  z-index: 1;
  min-height: 360px;
}

.ecom-laptop {
  position: absolute;
  right: 50px;
  bottom: 14px;
  width: min(640px, 92%);
  height: 360px;
  border: 14px solid #111;
  border-radius: 22px;
  background: #111;
}

.ecom-laptop::after {
  content: "";
  position: absolute;
  left: 16%;
  bottom: -30px;
  width: 68%;
  height: 28px;
  border-radius: 0 0 40px 40px;
  background: linear-gradient(#8a8f9c, #232733);
}

.demo-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 9px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .86) 0 40%, rgba(255, 255, 255, .15) 40%),
    url("assets/ecommerce-images/fashion/fashion_001.svg") center / contain no-repeat #f6f8ff;
}

.ecom-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 172px;
  height: 312px;
  border: 10px solid #111;
  border-radius: 32px;
  background: #111;
}

.phone-demo {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  background:
    linear-gradient(#fff 0 16%, rgba(122, 60, 255, .18) 16% 48%, #fff 48%),
    url("assets/ecommerce-images/fashion/fashion_002.svg") center / contain no-repeat #fff;
}

.section-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  max-width: 980px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-title > span {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue));
}

.section-title > span:last-child {
  background: linear-gradient(90deg, var(--blue), transparent);
}

.section-title h2 {
  color: var(--blue);
  font-size: clamp(28px, 3vw, 38px);
}

.section-title p {
  color: var(--muted);
}

.themes,
.features,
.pricing {
  max-width: 1360px;
  margin: auto;
  padding: 42px 28px;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.theme-grid article,
.feature-row div,
.price-grid article,
.shop-footer {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.theme-grid article {
  position: relative;
  overflow: hidden;
  padding: 0 22px 22px;
  text-align: center;
}

.theme-img {
  height: 170px;
  margin: 0 -22px 22px;
  background: linear-gradient(135deg, #f7faff, #edf3ff);
}

.theme-img img {
  width: 100%;
  height: 100%;
  padding: 12px;
  object-fit: contain;
}

.theme-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: -50px auto 14px;
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
}

.purple { background: #7a3cff; }
.green { background: #27b65e; }
.blue { background: #2585ff; }
.brown { background: #b77b4a; }
.pink { background: #ff4f9a; }
.red { background: #f04838; }
.teal { background: #12b8b8; }
.violet { background: #8754ff; }

.theme-grid h3 {
  font-size: 20px;
}

.theme-grid p {
  color: var(--muted);
  font-size: 13px;
  margin: 6px 0 14px;
}

.theme-grid ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0 18px;
  text-align: left;
}

.theme-grid li,
.price-grid li {
  list-style: none;
  color: #52627a;
  font-size: 13px;
}

.theme-grid li::before,
.price-grid li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--violet);
  margin-right: 7px;
}

.theme-grid article button,
.price-grid article a {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--blue);
  border-radius: 7px;
  color: var(--blue);
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
}

.feature-row div {
  min-height: 118px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 16px;
  text-align: center;
  font-size: 14px;
}

.feature-row i {
  color: var(--violet);
  font-size: 28px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.price-grid article {
  position: relative;
  padding: 30px 24px;
  text-align: center;
}

.price-grid article.popular {
  border: 2px solid var(--blue);
}

.price-grid em {
  position: absolute;
  right: -9px;
  top: 14px;
  padding: 6px 18px;
  color: #fff;
  background: var(--blue);
  font-style: normal;
  font-size: 12px;
  transform: rotate(38deg);
}

.price-grid h3 {
  color: var(--blue);
  font-size: 24px;
}

.price-grid p {
  color: var(--muted);
}

.price-grid b {
  display: block;
  margin: 18px 0;
  color: var(--violet);
  font-size: 34px;
}

.price-grid ul {
  display: grid;
  gap: 11px;
  margin: 22px 0;
  text-align: left;
}

.price-grid article.popular a {
  color: #fff;
  background: var(--blue);
}

.shop-cta {
  max-width: 1288px;
  margin: 18px auto 28px;
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px 42px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #0534d8, #7a3cff);
}

.cta-icon {
  width: 96px;
  min-height: 90px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 14px;
  background: rgba(255, 255, 255, .14);
  font-size: 42px;
}

.shop-cta p {
  color: #eaf0ff;
}

.shop-cta span {
  font-weight: 900;
}

.shop-footer {
  max-width: 1288px;
  margin: 0 auto 26px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding: 28px 42px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 900;
  color: var(--ink);
}

.shop-footer img,
.footer-brand img {
  width: 82px;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
}

.footer-brand h3 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.1;
}

.shop-footer p,
.shop-footer a:not(.footer-brand) {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin: 7px 0;
}

.shop-footer .footer-brand p {
  color: var(--muted);
  margin: 0;
}

.shop-footer h4 {
  margin-bottom: 10px;
}

@media (max-width: 1100px) {
  .shop-header,
  .shop-hero,
  .shop-cta,
  .shop-footer {
    grid-template-columns: 1fr;
  }

  .shop-header nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .theme-grid,
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 620px) {
  .shop-header {
    height: auto;
    padding: 18px;
  }

  .shop-logo {
    min-width: 0;
  }

  .shop-logo img {
    width: 50px;
    height: 50px;
  }

  .shop-logo h2 {
    font-size: 17px;
  }

  .shop-logo p {
    font-size: 14px;
  }

  .shop-header nav {
    gap: 14px;
  }

  .shop-hero {
    padding: 34px 20px;
    border-radius: 0 0 28px 28px;
    text-align: center;
  }

  .hero-actions,
  .hero-stats {
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .theme-grid,
  .feature-row,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    grid-template-columns: 1fr;
  }

  .shop-cta,
  .shop-footer {
    margin-left: 18px;
    margin-right: 18px;
    padding: 24px;
    text-align: center;
  }
}

.theme-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(7, 23, 53, .72);
}

.theme-modal.open {
  display: flex;
}

.theme-modal-box {
  position: relative;
  width: min(1120px, 96vw);
  max-height: 90vh;
  overflow: auto;
  border-radius: 22px;
  background: #fff;
}

.theme-close {
  position: sticky;
  top: 12px;
  float: right;
  z-index: 2;
  width: 42px;
  height: 42px;
  margin: 12px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
}

.preview-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 34px;
  background: #fff;
  font-weight: 900;
}

.preview-nav b {
  margin-right: auto;
}

.preview-hero {
  min-height: 360px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: center;
  padding: 44px;
  color: #fff;
}

.preview-hero h2 {
  font-size: 48px;
  line-height: 1.08;
}

.preview-hero p {
  max-width: 520px;
  margin: 14px 0 22px;
  color: rgba(255, 255, 255, .84);
}

.preview-hero button {
  border: 0;
  border-radius: 10px;
  padding: 14px 24px;
  color: var(--ink);
  background: #fff;
  font-weight: 900;
}

.preview-hero img {
  width: 100%;
  border-radius: 22px;
  background: rgba(255, 255, 255, .92);
  padding: 18px;
}

.preview-title {
  padding-top: 30px;
  text-align: center;
  color: var(--blue);
  font-size: 30px;
}

.preview-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 30px;
}

.preview-product {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: center;
}

.preview-product img {
  width: 100%;
  height: 170px;
  padding: 12px;
  object-fit: contain;
  background: #f7faff;
}

.preview-product h4 {
  padding: 14px 10px 4px;
}

.preview-product p {
  padding-bottom: 14px;
  color: var(--violet);
  font-weight: 900;
}

@media (max-width: 620px) {
  .ecom-laptop,
  .ecom-phone {
    position: relative;
    inset: auto;
    width: 100%;
    height: 220px;
    margin-top: 16px;
  }

  .ecom-laptop::after {
    display: none;
  }

  .ecom-phone {
    height: 220px;
  }

  .preview-nav {
    flex-wrap: wrap;
  }

  .preview-hero,
  .preview-products {
    grid-template-columns: 1fr;
  }

  .preview-hero {
    padding: 28px;
    text-align: center;
  }
}
