@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Poppins:wght@400;600&family=Urbanist:wght@400;500;600;700&display=swap');

:root {
  --primary: #3de325;
  /* Unified light fill (inputs, chips, page chrome, icon wells) */
  --surface-fill: #fafafa;
  --bg-color: var(--surface-fill);
  --card-bg: #ffffff;
  --text-main: #111827;
  --text-muted: #6b7280;
  /* UI borders — match checkout email field */
  --border-default: #e0e0e0;
  --border-default-light: #F4F4F4;
  --border-color: var(--border-default);
  --border-dark: var(--border-default);
  --border-subtle: var(--surface-fill);
  --input-surface: var(--surface-fill);
  --footer-bg: #343536;
  --footer-text: #d1d5db;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-input: 16px;
  --radius-full: 9999px;
}

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

.page-wrapper {
  flex-grow: 1;
  padding: 0 0 60px 0;
}

/* Header */
header {
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-dark);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.logo-img {
  width: 40px;
  height: 41px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  color: #000000;
  letter-spacing: -0.03em;
}

.logo-sub {
  font-size: 13px;
  color: #737373;
  font-weight: 400;
  line-height: 1.2;
  margin-top: 2px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* —— Storefront header (layouts/partials/frontend-header) —— */
header.storefront-header {
  display: block;
  padding: 16px 40px;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-dark);
}

header.success-page-header.storefront-header {
  padding: 12px clamp(20px, 6.94vw, 100px);
  box-shadow: 0 10px 20px rgba(4, 6, 15, 0.04);
  border-bottom: none;
}

.storefront-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  width: 100%;
}

.storefront-header__row--has-nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: 'logo nav badges';
  align-items: center;
  gap: 12px 16px;
}

.storefront-header__row--has-nav .storefront-header__logo {
  grid-area: logo;
}

.storefront-header__row--has-nav .storefront-header__menu-btn {
  grid-area: menu;
}

.storefront-header__row--has-nav .storefront-header__nav {
  grid-area: nav;
}

.storefront-header__row--has-nav .storefront-header__badges {
  grid-area: badges;
}

.storefront-header__logo {
  min-width: 0;
}

.storefront-header__menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--surface-fill);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

.storefront-header__menu-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.storefront-header__menu-icon {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-main);
  border-radius: 1px;
  box-shadow: 0 -6px 0 var(--text-main), 0 6px 0 var(--text-main);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.storefront-header.is-nav-open .storefront-header__menu-icon {
  box-shadow: none;
  transform: rotate(45deg);
}

.storefront-header__nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}

.storefront-header__badges {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.storefront-header__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}

.storefront-header__tick {
  flex-shrink: 0;
}

/* Primary header nav (landing, API docs, any page using @section('header_nav')) */
.landing-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.landing-nav a.landing-nav__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: color 0.2s, background 0.2s;
}

.landing-nav a.landing-nav__link:hover {
  color: var(--text-main);
  background: var(--surface-fill);
}

.landing-nav a.landing-nav__link[aria-current='page'] {
  color: var(--text-main);
  background: var(--surface-fill);
  font-weight: 700;
}

.landing-nav a.landing-nav__link--primary {
  color: var(--text-main);
  background: #ecfccb;
  border: 1px solid #bbf7d0;
}

.landing-nav a.landing-nav__link--primary:hover {
  background: #d9f99d;
}

@media (max-width: 900px) {
  .storefront-header__row--has-nav {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      'logo menu'
      'nav nav';
  }

  .storefront-header__badges {
    display: none !important;
  }

  .storefront-header__row--has-nav .storefront-header__menu-btn {
    display: inline-flex !important;
  }

  .storefront-header__nav {
    justify-content: stretch;
    align-items: stretch;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.32s ease, opacity 0.22s ease, padding 0.22s ease;
    padding-top: 0;
    padding-bottom: 0;
    border-top: 1px solid transparent;
  }

  .storefront-header.is-nav-open .storefront-header__nav {
    max-height: min(75vh, 28rem);
    opacity: 1;
    overflow-y: auto;
    padding-top: 12px;
    padding-bottom: 14px;
    border-top-color: var(--border-default);
    -webkit-overflow-scrolling: touch;
  }

  .storefront-header__nav .landing-nav {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    max-width: none;
    gap: 4px;
  }

  .storefront-header__nav .landing-nav a.landing-nav__link {
    justify-content: center;
    text-align: center;
    padding: 12px 14px;
  }
}

.pill-encrypted {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 2px solid #A1A1AA;
  background: white;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 700;
  color: #4B5563;
}

.header-check-badge {
  background: #1C1C1E;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Container */
.container {
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

.container-sm {
  max-width: 700px;
}

.container-lg {
  max-width: 1160px;
}

/* Cards */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  padding: 40px;
  margin: 40px auto 0;
}

.card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.card-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

.card-price {
  font-size: 24px;
  font-weight: 700;
}

.card-subtitle {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 28px;
  font-weight: 500;
}

/* Features grid details page */
.features-wrapper {
  border: 1px solid #F4F4F4;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  background: white;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.feature-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #F0FDF4;
  color: #22C55E;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
  line-height: 1.2;
}

.feature-text p {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.2;
}

/* Files List */
.files-section {
  border: 1px solid #F4F4F4;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  /* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03); */
}

.files-header {
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.files-divider {
  border: 0;
  border-top: 1px solid var(--border-default);
  margin-bottom: 16px;
}

.badge {
  background: var(--surface-fill);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.file-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid #F4F4F4;
  border-radius: var(--radius-input);
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.file-info {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
}

.file-icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.file-info svg {
  color: #111827;
}

.btn-download-sm {
  background: var(--primary);
  color: var(--text-main);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

/* Success page — file row download (Figma secondary pill) */
.btn-download-file {
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 8px 24px;
  gap: 10px;
  width: 123px;
  height: 38px;
  background: #41e314;
  border: none;
  border-radius: 100px;
  flex: none;
  flex-grow: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  line-height: 1;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.btn-download-file:hover {
  filter: brightness(0.96);
}

.btn-download-file:active {
  filter: brightness(0.92);
}

.btn-download-file__label {
  display: inline;
}

.btn-download-file__icon {
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.btn-download-file__icon img {
  display: block;
  width: 20px;
  height: 20px;
}

/* Info Box */
.info-box {
  background: #EEF2FF;
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.info-box-icon {
  color: #4F46E5;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-content h4 {
  color: #4F46E5;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.info-content p {
  color: #6366F1;
  font-size: 12.5px;
  line-height: 1.6;
  font-weight: 500;
}

/* Button */
.btn-primary {
  background: var(--primary);
  color: black;
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-full);
  border: none;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: block;
  text-align: center;
  letter-spacing: 0.2px;
}

.btn-primary:hover {
  background: #32c41c;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-dark);
  color: var(--text-main);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.consent-text {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 24px;
  margin-bottom: 24px;
}

.consent-text strong {
  color: var(--text-main);
  font-weight: 700;
  text-decoration: underline;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: nowrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  padding: 6px 12px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* Site footer — Dark-Footer 03 (4 columns + bottom bar) */
.site-footer {
  box-sizing: border-box;
  background-color: #343536;
  border-top: 1px solid #343536;
  color: #ffffff;
  padding: 64px clamp(24px, 9.5vw, 152px) 40px;
  margin-top: auto;
}

.site-footer__shell {
  box-sizing: border-box;
  max-width: 1296px;
  margin: 0 auto;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.site-footer__col {
  min-width: 0;
}

.site-footer__col--brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 220px;
}

.site-footer__logo {
  display: block;
  height: 28px;
  width: auto;
  max-width: 132px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}

.site-footer__tagline {
  margin: 0;
  font-family: 'Urbanist', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  color: #ffffff;
}

.site-footer__blurb {
  margin: 0;
  font-family: 'Urbanist', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  color: #ffffff;
}

.site-footer__heading {
  margin: 0 0 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: -0.2px;
  color: #ffffff;
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.site-footer__list li + li {
  margin-top: 2px;
}

.site-footer__list a {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: #e4e4e7;
  text-decoration: none;
  display: inline-block;
}

.site-footer__list a:hover {
  color: #ffffff;
}

.site-footer__col--apps .site-footer__heading {
  margin-bottom: 14px;
}

.site-footer__stores {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.site-footer__store-link {
  display: block;
  line-height: 0;
  border-radius: 8px;
  overflow: hidden;
  max-width: 177px;
}

.site-footer__store-link img {
  display: block;
  width: 100%;
  max-width: 177px;
  height: auto;
  object-fit: contain;
}

.site-footer__store-link:hover {
  opacity: 0.92;
}

.site-footer__bottom {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #9b9b9b;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer__copyright {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #ffffff;
}

.site-footer__social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}

.site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border-radius: 6px;
}

.site-footer__social-link img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.site-footer__social-link:hover {
  opacity: 0.85;
}

@media (max-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__col--brand {
    grid-column: 1 / -1;
    max-width: none;
  }

  .site-footer__col--apps {
    grid-column: 1 / -1;
  }

  .site-footer__stores {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 40px 20px 32px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer__col--brand,
  .site-footer__col--apps {
    grid-column: auto;
  }

  .site-footer__stores {
    flex-direction: column;
    align-items: stretch;
  }

  .site-footer__store-link {
    max-width: none;
  }

  .site-footer__store-link img {
    max-width: 200px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
  }

  .site-footer__social {
    justify-content: center;
  }
}

/* Checkout Page Specific */
.checkout-header {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-sticky-continue {
  display: none;
}

.pill-container {
  background: white;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.pill-outline-item {
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 8px 12px;
  gap: 4px;
  min-height: 33px;
  background: var(--surface-fill);
  border: 1.5px solid var(--border-default);
  border-radius: 100px;
  flex: none;
  font-family: 'Urbanist', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  line-height: 140%;
  letter-spacing: 0.2px;
  color: #666666;
  white-space: nowrap;
}

.pill-chip-img {
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.pill-chip-img--instant {
  width: 11px;
  height: 15px;
}

.pill-chip-img--email {
  width: 15px;
  height: 14px;
}

.pill-chip-img--clock {
  width: 16px;
  height: 16px;
}

/* Checkout — two columns: left = pills card + form card; right = order summary (top-aligned with pills) */
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  gap: 32px;
  align-items: start;
}

.checkout-main-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.checkout-pills-card {
  box-sizing: border-box;
  width: 100%;
  background: #ffffff;
  border: none;
  border-radius: 24px;
  padding: 16px 20px;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.04);
}

.checkout-pills-card .pill-container {
  margin-bottom: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.checkout-form-container {
  background: white;
  border: none;
  border-radius: 24px;
  padding: 40px;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.04);
}

.step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.step-num {
  width: 26px;
  height: 26px;
  background: var(--text-main);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}

.input-container {
  position: relative;
  margin-bottom: 12px;
}

.input-container svg {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 18px 16px 18px 48px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-input);
  background: var(--input-surface);
  font-family: inherit;
  font-size: 15px;
  color: var(--text-main);
  outline: none;
}

.form-control::placeholder {
  color: #9CA3AF;
  font-weight: 500;
}

.input-note {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 20px;
}

.input-lock {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 32px;
}

/* Checkout — email field (Figma Frame 126125) */
.checkout-email-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  gap: 8px;
  width: 100%;
  max-width: 700px;
  margin-bottom: 32px;
  padding: 0;
  box-sizing: border-box;
  flex: none;
  flex-grow: 0;
}

.checkout-email-input-wrap {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 20px;
  gap: 12px;
  width: 100%;
  height: 56px;
  background: var(--input-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-input);
  flex: none;
  flex-grow: 0;
  align-self: stretch;
  order: 0;
}

.checkout-email-input-wrap:focus-within {
  border-color: #bdbdbd;
  box-shadow: 0 0 0 3px rgba(158, 158, 158, 0.12);
}

.checkout-email-message-icon {
  flex: none;
  flex-grow: 0;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
  order: 0;
}

.checkout-email-field {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  order: 1;
  border: none;
  background: transparent;
  outline: none;
  font-family: 'Urbanist', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: 0.2px;
  color: var(--text-main);
  box-sizing: border-box;
}

.checkout-email-field::placeholder {
  color: #9e9e9e;
  font-weight: 400;
}

.checkout-email-hint {
  display: flex;
  align-items: center;
  margin: 0;
  width: 100%;
  min-height: 22px;
  font-family: 'Urbanist', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: 0.2px;
  color: #9e9e9e;
  flex: none;
  flex-grow: 0;
  align-self: stretch;
  order: 1;
}

.checkout-email-lock {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 22px;
  font-family: 'Urbanist', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: 0.2px;
  color: #9e9e9e;
  flex: none;
  flex-grow: 0;
  align-self: stretch;
  order: 2;
  padding: 0;
  box-sizing: border-box;
}

.checkout-email-lock span {
  flex: 1 1 auto;
  min-width: 0;
  order: 1;
}

.checkout-email-unlock-icon {
  flex: none;
  flex-grow: 0;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  display: block;
  object-fit: contain;
  order: 0;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.method-card {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--surface-fill);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
   
}

.method-card__icon-wrap {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.method-card__icon-img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.method-card.active .method-card__icon-img--apple,
.method-card.active .method-card__icon-img--mono {
  filter: brightness(0) invert(1);
}

.method-card.active {
  background: var(--text-main);
  color: white;
  border-color: var(--text-main);
}

.method-name {
  flex-grow: 1;
  font-size: 14px;
  font-weight: 600;
}

.radio-btn {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border-default);
}

.method-card.active .radio-btn {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: inset 0 0 0 3px var(--text-main);
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.req {
  color: #Ef4444;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.coupon-block {
  margin-top: 16px;
  margin-bottom: 32px;
}

.coupon-block-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 10px;
  cursor: default;
}

.coupon-block-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}

.coupon-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.coupon-input {
  flex: 1;
  min-width: 0;
  padding: 18px 16px;
}

.coupon-input:focus {
  border-color: #bdbdbd;
  box-shadow: 0 0 0 3px rgba(158, 158, 158, 0.12);
}

.btn-coupon-apply {
  flex-shrink: 0;
  padding: 0 22px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-input);
  background: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.btn-coupon-apply:hover {
  border-color: #bdbdbd;
  background: var(--bg-color);
}

.btn-coupon-apply:active {
  background: var(--surface-fill);
}

.right-summary {
  background: white;
  border: none;
  border-radius: 24px;
  padding: 40px;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.04);
  align-self: start;
}

.summary-header {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
}

.summary-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
  padding: 24px 0;
}

.s-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  background: white;
  border: 1px solid var(--border-default-light);
  border-radius: var(--radius-input);
  padding: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.s-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.s-item-icon {
  background: var(--surface-fill);
  border: none;
  border-radius: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
}

.s-totals {
  border-top: 1px solid var(--border-default);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.s-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 500;
  color: #6B7280;
}

.s-row-total {
  border-top: 1px solid var(--border-default);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 18px;
  color: var(--text-main);
  margin-top: 8px;
}

.s-row-total div:last-child {
  font-size: 24px;
}

.s-secure-badge {
  background: var(--surface-fill);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Success page — Figma “Normal Checkout Screens” (single main card, #F5F5F5 chrome) */
body.success-page {
  background-color: #f5f5f5;
}

.success-page .success-layout {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 24px 20px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Frame 126169 — top bar */
.success-page-header {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 12px clamp(20px, 6.94vw, 100px);
  gap: 24px;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(4, 6, 15, 0.04);
  border-bottom: none;
}

.success-header-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.success-header-brand__logo {
  display: block;
  width: 174px;
  height: auto;
  max-width: min(174px, 42vw);
}

.success-header-brand__sub {
  font-family: 'Urbanist', sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 140%;
  letter-spacing: 0.2px;
  color: #757575;
}

.pill-encrypted--success {
  border-width: 1.5px;
  border-color: #a3a3a3;
  padding: 8px 12px;
  gap: 4px;
  font-family: 'Urbanist', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 140%;
  letter-spacing: 0.2px;
  color: #545454;
}

.success-header-verify {
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  border-radius: 100px;
  background: #212121;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 8px;
}

.success-header-verify img {
  display: block;
  width: 25px;
  height: auto;
  max-height: 24px;
  object-fit: contain;
}

/* Frame 1 — main white card */
.success-main-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 674px;
  margin: 0 auto;
  padding: 32px 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(4, 6, 15, 0.04);
  border-radius: 24px;
}

.success-main-card__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.success-main-card__title {
  margin: 0;
  font-family: 'Urbanist', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 120%;
  text-align: center;
  color: #212121;
}

.success-main-card__lede {
  margin: 0;
  max-width: 340px;
  font-family: 'Urbanist', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: 0.2px;
  text-align: center;
  color: #757575;
}

.backup-pill--success {
  margin: 0;
  border-width: 1.5px;
  border-color: #a3a3a3;
  padding: 8px 12px;
  gap: 4px;
  font-family: 'Urbanist', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 140%;
  letter-spacing: 0.2px;
  color: #545454;
}

.backup-pill--success strong {
  color: #212121;
}

.success-main-card__body {
  width: 100%;
  max-width: 590px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
}

/* Security + files + copy: full width inside body */
.success-page .security-expiry-card {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 24px;
}

.success-page .security-expiry-card__title {
  font-size: 18px;
  line-height: 140%;
}

.success-page .security-expiry-card__timer {
  padding: 8px 24px;
  min-height: 38px;
  background: #424242;
  border-radius: 6px;
  font-family: 'Urbanist', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: 0.06em;
  color: #fafafa;
}

/* Frame 126146 — Your files */
.success-files-card {
  box-sizing: border-box;
  width: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #f4f4f4;
  box-shadow: 0 10px 20px rgba(4, 6, 15, 0.04);
  border-radius: 20px;
}

.success-files-card__head {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 0 0 14px;
  border-bottom: 1px solid #cbcbcb;
}

.success-files-card__title {
  font-family: 'Urbanist', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 140%;
  letter-spacing: 0.2px;
  color: #212121;
}

.badge--success-files {
  background: #e9e9e9;
  color: #9b9b9b;
  border: none;
  padding: 2px 6px;
  font-family: 'Urbanist', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 140%;
  letter-spacing: 0.2px;
}

.success-files-card__divider {
  display: none;
}

.success-files-card__list {
  gap: 12px;
}

.file-item--success {
  padding: 12px 16px;
  border: 1px solid #f4f4f4;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(4, 6, 15, 0.04);
}

.file-item--success .file-info--compact {
  gap: 12px;
  min-width: 0;
}

.file-icon-wrap--success {
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  padding: 9px;
  background: #fafafa;
  border: 1px solid #f5f5f5;
  border-radius: 12px;
}

.file-icon-img--success {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.file-item__name {
  font-family: 'Urbanist', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 120%;
  color: #757575;
}

/* Web: green pill + “Download” label, black type (icon hidden) */
.success-page .file-item--success .btn-download-file {
  width: auto;
  min-width: 123px;
  height: 38px;
  padding: 8px 24px;
  border-radius: 100px;
  font-family: 'Urbanist', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: 0.2px;
  color: #212121;
  background: #41e314;
  text-shadow: none;
}

.success-page .file-item--success .btn-download-file__label {
  display: inline;
}

.success-page .file-item--success .btn-download-file__icon {
  display: none;
}

/* Frame 126144 — copy */
.success-copy-card {
  box-sizing: border-box;
  width: 100%;
  padding: 24px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  border: 1px solid #f4f4f4;
  box-shadow: 0 10px 20px rgba(4, 6, 15, 0.04);
  border-radius: 20px;
}

.btn-copy-access-chip {
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 8px 24px;
  gap: 8px;
  border: 1.5px solid #212121;
  border-radius: 100px;
  background: #ffffff;
  font-family: 'Urbanist', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: 0.2px;
  color: #212121;
  cursor: pointer;
}

.btn-copy-access-chip svg {
  flex-shrink: 0;
  stroke: #212121;
}

.btn-copy-access-chip:hover {
  background: #fafafa;
}

.success-support-line {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  font-family: 'Urbanist', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: 0.2px;
  color: #545454;
  text-align: center;
}

.success-support-line__icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  display: block;
  object-fit: contain;
}

.success-support-line__link {
  font-weight: 600;
  color: #545454;
  cursor: pointer;
  text-decoration: underline;
}

.trust-badges--success-figma {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.trust-badge--figma {
  background: #ffffff;
  border-width: 1.5px;
  border-style: solid;
  border-color: #d4d4d4;
  padding: 4px 8px;
  gap: 4px;
  font-family: 'Urbanist', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 140%;
  letter-spacing: 0.2px;
  color: #545454;
}

.trust-badge--figma .trust-badge__img {
  object-fit: contain;
}

.success-icon-main {
  margin: 0 auto 24px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.success-icon-main--large {
  width: 120px;
  height: 120px;
}

.success-icon-main__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.btn-mobile-close {
  display: none;
}

.success-badge {
  color: var(--primary);
  width: 64px;
  height: 64px;
  z-index: 2;
}

.dots-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--primary) 2px, transparent 2px);
  background-size: 12px 12px;
  opacity: 0.3;
  z-index: 1;
}

.backup-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 12px;
  margin-bottom: 32px;
}

.backup-pill strong {
  color: var(--text-main);
  font-weight: 700;
}

/* Success page — Security expiry (Figma Frame 126121) */
.security-expiry-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 14px;
  gap: 14px;
  width: 100%;
  max-width: 340px;
  margin: 0 auto 24px;
  background: #ffffff;
  border: 1px solid #f4f4f4;
  box-shadow: 0 10px 20px rgba(4, 6, 15, 0.04);
  border-radius: 20px;
}

.security-expiry-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 14px;
  flex: 1;
  min-width: 0;
  width: 100%;
}

.security-expiry-card__row-top {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 14px;
  gap: 14px;
  width: 100%;
  border-bottom: 1px solid #cbcbcb;
  border-radius: 0;
}

.security-expiry-card__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.security-expiry-card__title {
  font-family: 'Urbanist', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: 0.2px;
  color: #212121;
  margin: 0;
}

.security-expiry-card__subtitle {
  font-family: 'Urbanist', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: 0.2px;
  color: #757575;
  margin: 0;
}

.security-expiry-card__timer {
  box-sizing: border-box;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  min-height: 36px;
  background: #27272a;
  border-radius: 8px;
  font-family: 'Plus Jakarta Sans', 'Urbanist', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
}

/* Size=Medium chip — hugs icon + text (not full row width) */
.security-expiry-card__chip {
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  padding: 2px 6px;
  gap: 4px;
  width: auto;
  max-width: 100%;
  min-height: 21px;
  background: #e9e9e9;
  border-radius: 100px;
}

.security-expiry-card__chip-icon {
  flex: none;
  order: 0;
  width: 16px;
  height: 16px;
  flex-grow: 0;
}

.security-expiry-card__chip-text {
  flex: 0 1 auto;
  order: 1;
  min-width: 0;
  font-family: 'Urbanist', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  line-height: 140%;
  letter-spacing: 0.2px;
  color: #545454;
  text-align: left;
}

.support-link {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Gallery Specifics */
.gallery-card {
  max-width: 800px;
  margin: 40px auto;
  padding: 48px;
  text-align: center;
}

.gallery-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border: 1px solid var(--border-default-light);
  border-radius: var(--radius-input);
  background: white;
}

.gallery-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gallery-icon-bg {
  background: var(--surface-fill);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.gallery-text {
  text-align: left;
}

.gallery-link-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-link-date {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

/* Global gallery — “New” pill (Frame 126149) */
.badge-new {
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 4px 8px;
  gap: 10px;
  width: 45px;
  height: 25px;
  background: #E5FFDE;
  border: 1px solid #41E314;
  border-radius: 24px;
  flex: none;
  flex-grow: 0;
  order: 1;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: #111827;
}

.btn-price {
  background: var(--primary);
  color: black;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

/* Package details page — digital data flow (Figma), scoped; does not affect success.html */
.package-details-page {
  background: #f5f5f5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.package-page-header {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 12px clamp(20px, 6.94vw, 100px);
  gap: 24px;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(4, 6, 15, 0.04);
  border-bottom: none;
}

.package-page-header-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.package-page-header-brand__logo {
  display: block;
  width: 174px;
  height: auto;
  max-width: min(174px, 42vw);
}

.package-page-header-brand__sub {
  font-family: 'Urbanist', sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 140%;
  letter-spacing: 0.2px;
  color: #757575;
}

.package-page-header-verify {
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  border-radius: 100px;
  background: #212121;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 8px;
}

.package-page-header-verify img {
  display: block;
  width: 25px;
  height: auto;
  max-height: 24px;
  object-fit: contain;
}

.package-details-page main.page-wrapper {
  flex: 1;
  padding: 24px 20px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.package-details-layout {
  width: 100%;
  max-width: 674px;
  margin: 0 auto;
}

.package-details-main-card {
  box-sizing: border-box;
  width: 100%;
  padding: 32px 42px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #ffffff;
  border: none;
  border-radius: 24px;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.04);
}

.package-details-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.package-details-title {
  margin: 0;
  font-family: 'Urbanist', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2px;
  color: #212121;
}

.package-details-price {
  font-family: 'Urbanist', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: #212121;
  flex-shrink: 0;
}

.package-details-subtitle {
  margin: -8px 0 0;
  font-family: 'Urbanist', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #757575;
}

.package-features-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 14px;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06), 0 4px 24px rgba(0, 0, 0, 0.04);
}

.package-feature-col {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.package-feature-icon-well {
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(65, 227, 20, 0.1);
  border: none;
  border-radius: 12px;
}

.package-feature-icon-well img {
  display: block;
  width: 26px;
  height: auto;
}

.package-feature-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.package-feature-title {
  margin: 0;
  font-family: 'Urbanist', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: #212121;
}

.package-feature-label {
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 500;
  color: #757575;
}

.package-files-card {
  border: none;
  border-radius: 12px;
  padding: 20px 20px 16px;
  background: #ffffff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06), 0 4px 24px rgba(0, 0, 0, 0.04);
}

.package-files-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.package-files-head__title {
  margin: 0;
  font-family: 'Urbanist', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #212121;
}

.package-files-count {
  font-family: 'Urbanist', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #757575;
  padding: 4px 10px;
  background: #f5f5f5;
  border: none;
  border-radius: 100px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.package-files-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.06);
  margin: 0 0 14px;
  border: 0;
}

.package-files-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.package-file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: none;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
}

.package-file-icon-well {
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border: none;
  border-radius: 12px;
}

.package-file-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.package-file-name {
  font-family: 'Urbanist', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #212121;
  min-width: 0;
}

.package-notice {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  background: #ebf0ff;
  border: none;
  border-radius: 16px;
  align-items: flex-start;
  box-shadow: 0 2px 12px rgba(67, 83, 255, 0.08);
}

.package-notice__icon {
  flex-shrink: 0;
  color: #4353ff;
  margin-top: 1px;
}

.package-notice__icon svg {
  display: block;
}

.package-notice__heading {
  margin: 0 0 6px;
  font-family: 'Urbanist', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #4353ff;
}

.package-notice__body p {
  margin: 0;
  font-family: 'Urbanist', sans-serif;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 500;
  color: #4353ff;
}

.package-details-page .btn-package-pay {
  box-sizing: border-box;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Urbanist', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  background: #39b455;
  border: none;
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(57, 180, 85, 0.35);
  text-decoration: none;
  padding: 14px 24px;
}

.package-details-page .btn-package-pay:hover {
  filter: brightness(0.97);
}

.package-consent {
  text-align: center;
  margin: 0;
  font-family: 'Urbanist', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #545454;
}

.package-consent strong {
  font-weight: 700;
  text-decoration: underline;
  color: #212121;
}

.package-trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.package-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1.5px solid #a3a3a3;
  border-radius: 100px;
  font-family: 'Urbanist', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #545454;
}

.package-trust-badge img {
  flex-shrink: 0;
  object-fit: contain;
}

@media (max-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  /* Header/footer stay visible on all pages; tighten header padding on small screens */
  header {
    padding: 16px 20px;
  }

  header.storefront-header {
    padding: 12px 16px;
  }

  header.success-page-header.storefront-header {
    padding: 10px 16px;
  }

  .header-right {
    gap: 8px;
  }

  .logo-text {
    font-size: 20px;
  }

  .logo-img {
    width: 174px;
    height: 33px;
  }

  .logo-sub {
    font-size: 12px;
    margin-top: 2px;
  }

  .pill-encrypted {
    font-size: 13px;
    padding: 6px 12px;
  }

  .header-check-badge {
    width: 32px;
    height: 32px;
  }

  .package-page-header {
    padding: 10px 16px;
    gap: 12px;
  }

  .package-page-header-brand__logo {
    max-width: min(148px, 48vw);
  }

  .package-page-header-verify {
    width: 36px;
    height: 36px;
    padding: 6px;
  }

  .package-details-page main.page-wrapper {
    padding: 12px 16px 40px;
  }

  .package-details-main-card {
    padding: 24px 16px;
    border-radius: 20px;
    gap: 16px;
  }

  .package-details-title {
    font-size: 24px;
  }

  .package-details-price {
    font-size: 24px;
  }

  .package-details-subtitle {
    font-size: 14px;
    margin-top: -4px;
  }

  .package-features-card {
    flex-direction: column;
    align-items: stretch;
  }

  .package-feature-col {
    flex: none;
    width: 100%;
  }

  .card {
    padding: 24px 20px;
    margin: 20px auto 0;
  }

  .card-title-row {
    align-items: flex-start;
  }

  .card-title {
    font-size: 24px;
    max-width: 70%;
  }

  .card-price {
    font-size: 20px;
  }

  .features-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
  }

  .payment-methods {
    grid-template-columns: 1fr;
  }

  /* 2-Step Mobile Split Logic — Continue sits inside #checkoutSummaryBlock, not fixed */
  .mobile-sticky-continue {
    display: block;
    position: static;
    margin-top: 24px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    z-index: auto;
  }

  .mobile-sticky-continue .btn-primary {
    width: 100%;
    box-shadow: none;
  }

  /* Step 1: order summary only (Continue is inside the card) */
  body.mobile-step-1 #checkoutFormBlock,
  body.mobile-step-1 #checkoutPillsCard {
    display: none !important;
  }

  body.mobile-step-1 #checkoutSummaryBlock {
    display: block !important;
  }

  /* Step 2: form + pills card; summary (and in-card Continue) hidden */
  body.mobile-step-2 #checkoutSummaryBlock {
    display: none !important;
  }

  body.mobile-step-2 #checkoutFormBlock {
    display: block !important;
  }

  body.mobile-step-2 #checkoutPillsCard {
    display: block !important;
  }

  .checkout-pills-card .pill-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .pill-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 14px 10px;
    background: white;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  }

  .pill-outline-item {
    padding: 8px 12px;
    gap: 4px;
    min-height: 33px;
    border-width: 1.5px;
    border-color: var(--border-default);
    background: var(--surface-fill);
    border-radius: 100px;
    font-family: 'Urbanist', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 140%;
    letter-spacing: 0.2px;
    color: #666666;
  }

  .checkout-header {
    margin-top: 24px !important;
    margin-bottom: 16px !important;
    font-size: 24px !important;
  }

  .checkout-pills-card,
  .checkout-form-container,
  .right-summary {
    padding: 24px;
    border-radius: 20px;
  }

  .coupon-row {
    flex-direction: column;
  }

  .btn-coupon-apply {
    width: 100%;
    padding: 14px 22px;
  }

  .files-section {
    padding: 16px;
  }

  .file-item {
    padding: 8px 12px;
  }

  .file-info {
    gap: 12px;
    font-size: 13px;
  }

  .file-icon-img {
    width: 32px;
    height: 32px;
  }

  .btn-download-file {
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
    gap: 0;
    border-radius: 50%;
  }

  .btn-download-file__label {
    display: none;
  }

  .btn-download-file__icon {
    display: flex;
  }

  .info-box {
    padding: 16px;
  }

  .trust-badges {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }

  .trust-badges::-webkit-scrollbar {
    display: none;
  }

  .trust-badge {
    margin-right: 0;
    padding: 6px 8px;
    font-size: 10px;
    gap: 4px;
  }

  /* Success page mobile — match app UI: one main card, row file rows, round download */
  .success-page main.page-wrapper {
    padding: 0 0 40px;
  }

  .success-page-header {
    padding: 10px 16px;
    gap: 12px;
  }

  .success-header-brand__logo {
    max-width: min(148px, 48vw);
  }

  .pill-encrypted--success {
    font-size: 12px;
    padding: 6px 10px;
  }

  .success-header-verify {
    width: 36px;
    height: 36px;
    padding: 6px;
  }

  .success-page .success-layout {
    padding: 12px 16px 32px;
  }

  .success-main-card {
    padding: 24px 16px;
    border-radius: 20px;
    gap: 12px;
    box-shadow: 0 10px 20px rgba(4, 6, 15, 0.06);
  }

  .success-main-card__hero {
    gap: 12px;
  }

  .success-icon-main--large {
    width: 100px;
    height: 100px;
  }

  .success-main-card__title {
    font-size: 24px;
    line-height: 120%;
  }

  .success-main-card__lede {
    font-size: 15px;
    max-width: 100%;
    padding: 0 4px;
  }

  .success-main-card__body {
    gap: 16px;
    max-width: none;
  }

  .success-page .security-expiry-card {
    padding: 16px 14px;
    border-radius: 20px;
  }

  .success-page .security-expiry-card__title {
    font-size: 16px;
  }

  .success-page .security-expiry-card__timer {
    background: #545454;
    border-radius: 100px;
    padding: 8px 14px;
    min-height: 36px;
    font-size: 14px;
    letter-spacing: 0.08em;
    color: #ffffff;
    text-shadow: none;
  }

  .success-page .security-expiry-card__chip {
    width: auto;
    max-width: 100%;
    justify-content: flex-start;
    align-items: center;
    min-height: 21px;
    padding: 2px 6px;
    gap: 4px;
  }

  .success-files-card {
    padding: 16px 14px;
    gap: 12px;
    border-radius: 20px;
  }

  .success-files-card__head {
    padding-bottom: 12px;
  }

  .success-files-card__title {
    font-size: 16px;
  }

  .success-copy-card {
    padding: 16px 14px;
  }

  /* Mobile ref: full-width pill, black outline + black icon/text */
  .success-page .success-copy-card .btn-copy-access-chip {
    width: 100%;
    max-width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    border: 1.5px solid #212121;
    gap: 10px;
  }

  /* File row: icon + name left, circular green download right (no stacked pill) */
  .success-page .file-item--success {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
  }

  .success-page .file-item--success .file-info--compact {
    flex: 1;
    min-width: 0;
    align-items: center;
  }

  .success-page .file-item--success .file-item__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .success-page .file-item--success .btn-download-file {
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
    border-radius: 50%;
    gap: 0;
    background: #41e314;
    box-shadow: none;
    text-shadow: none;
  }

  .success-page .file-item--success .btn-download-file__label {
    display: none;
  }

  .success-page .file-item--success .btn-download-file__icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .success-page .file-item--success .btn-download-file__icon img {
    width: 22px;
    height: 22px;
    display: block;
  }

  /* Mobile ref: support + trust aligned with card edges */
  .success-page .success-support-line {
    justify-content: flex-start;
    text-align: left;
    width: 100%;
    font-size: 13px;
    padding: 0 2px;
    color: #212121;
  }

  .success-page .success-support-line__link {
    color: #212121;
  }

  .success-page .trust-badges--success-figma {
    justify-content: flex-start;
    gap: 8px;
  }

  .success-page .trust-badge--figma {
    background: #ffffff;
    border-width: 1px;
    border-color: #e8e8e8;
    padding: 6px 10px;
    font-size: 11px;
    color: #212121;
  }

  .success-page .btn-mobile-close {
    display: block;
    width: 100%;
    background: #eeeeee;
    color: #111;
    font-weight: 700;
    font-size: 16px;
    padding: 16px;
    border-radius: 100px;
    border: none;
    margin-top: 8px;
    cursor: pointer;
    text-align: center;
  }

  /* Gallery mobile: same layout as desktop; spacing only */
  .gallery-page main.page-wrapper {
    padding: 0 0 48px;
  }

  .gallery-page .container-lg {
    padding-left: 16px;
    padding-right: 16px;
  }

  .gallery-page .gallery-card {
    margin-top: 20px;
    padding: 24px 20px;
  }

  .gallery-page .gallery-item {
    flex-wrap: wrap;
    gap: 12px;
  }

  .gallery-page .btn-price {
    margin-left: auto;
  }
}