:root {
  --background: #f5f3ed;
  --text-color: #1f1c17;
  --accent: #6bb7ff;
  --accent-dark: #3a8edc;
  --overlay: rgba(25, 22, 18, 0.6);
  --brand-shift-x: -170px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-color);
  background-color: var(--background);
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.page-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem clamp(1.5rem, 2.5vw, 3rem) 4rem;
  position: relative;
  isolation: isolate;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 2rem;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background-color: #fff7eb;
  cursor: pointer;
  padding: 0.65rem 0.55rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.menu-line {
  height: 2px;
  width: 100%;
  background-color: var(--text-color);
  border-radius: 2px;
}


.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  transform: none;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.brand-kicker {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

.brand-title {
  margin: 0;
  font-family: 'Yeseva One', cursive;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
}

.cart-link:hover,
.cart-link:focus-visible {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.cart-link[aria-current="page"] {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

.cart-link[aria-current="page"] .cart-icon {
  filter: invert(1);
}

.cart-link[aria-current="page"] .cart-count {
  border-color: #fff;
}

.cart-icon {
  inline-size: 1.8rem;
  block-size: 1.8rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: url('data:image/svg+xml,%3Csvg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M6 7h15l-1.3 8.45a2 2 0 0 1-1.98 1.68H9.78a2 2 0 0 1-1.97-1.63L6 4H3" stroke="%23000" stroke-width="1.6" stroke-linecap="round"/%3E%3Ccircle cx="10" cy="19" r="1.4" fill="%23000"/%3E%3Ccircle cx="17" cy="19" r="1.4" fill="%23000"/%3E%3C/svg%3E')
    center / contain no-repeat;
}

.cart-count {
  min-width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  background: #e74c3c;
  color: #fff;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.3rem;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: clamp(2rem, 4vw, 4.5rem);
  padding-bottom: clamp(2rem, 5vw, 5rem);
}

.hero-visual {
  position: relative;
  padding: clamp(1rem, 2vw, 1.6rem);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.hero-list {
  margin: 0;
  padding-left: 50px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(31, 28, 23, 0.85);
  list-style: disc;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-left: 50px;
  align-items: center;
  margin-top: 0.35rem;
}

.hero-intro {
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.hero-text {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(31, 28, 23, 0.85);
}

.hero-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
}

.hero-cta--block {
  width: min(460px, 100%);
  align-self: stretch;
  justify-self: stretch;
  text-align: center;
}

.hero-share {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(158, 126, 82, 0.3);
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.hero-share-group {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.25rem;
  flex-wrap: nowrap;
}

.hero-share__icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
}

.hero-share svg {
  width: 100%;
  height: 100%;
}

.hero-share:hover,
.hero-share:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.hero-share__text {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(31, 28, 23, 0.8);
  line-height: 1.6;
}

.hero-cta:hover,
.hero-cta:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.hero-cta--ghost {
  background: transparent;
  color: var(--accent-dark);
  border: 1px solid var(--accent-dark);
}

.hero-cta--ghost:hover,
.hero-cta--ghost:focus-visible {
  background: rgba(200, 169, 126, 0.1);
  transform: translateY(-1px);
}

.highlight {
  background: rgba(255, 255, 255, 0.55);
  border-radius: 24px;
  padding: 2.5rem clamp(1.5rem, 3vw, 3.5rem);
  margin-bottom: 2.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.highlight.secondary {
  background: rgba(255, 255, 255, 0.4);
}

.highlight h2 {
  margin-top: 0;
  font-family: 'Yeseva One', cursive;
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
}

.highlight p {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.8;
}

.page-footer {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(31, 28, 23, 0.7);
  margin-top: 3rem;
}

.side-menu {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(340px, 85vw);
  background: #fff;
  height: 100vh;
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  z-index: 1000;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2);
}

body.menu-open .side-menu {
  transform: translateX(0);
}

.overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 900;
  pointer-events: none;
}

.overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-title {
  font-family: 'Yeseva One', cursive;
  font-size: 1.6rem;
}

.menu-close {
  background: none;
  border: none;
  width: 2.25rem;
  height: 2.25rem;
  cursor: pointer;
  position: relative;
}

.menu-close-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 65%;
  height: 2px;
  background: var(--text-color);
  border-radius: 2px;
}

.menu-close-line:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-close-line:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.menu-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.menu-links a {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
}

.menu-links a:hover,
.menu-links a:focus-visible {
  color: var(--accent-dark);
}

.button-secondary {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  background: #fff;
  color: var(--text-color);
  border: 1px solid rgba(31, 28, 23, 0.25);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--accent-dark);
  transform: translateY(-1px);
}

.certificate-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.certificate-modal[hidden] {
  display: none;
}

.certificate-modal.is-open {
  opacity: 1;
  transform: translateY(0);
}

.certificate-dialog {
  width: min(560px, 100%);
  background: #fff;
  border-radius: 24px;
  padding: clamp(1.8rem, 3vw, 2.4rem);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.certificate-dialog--preview {
  width: min(760px, 80%);
  align-items: center;
  gap: 1.25rem;
}

.certificate-dialog h2 {
  margin: 0;
  font-family: 'Yeseva One', cursive;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
}

.certificate-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.certificate-label {
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.certificate-form input[type='text'] {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(31, 28, 23, 0.25);
  font-size: 1rem;
  font-family: inherit;
}

.certificate-form input[type='text']:focus {
  outline: 2px solid rgba(200, 169, 126, 0.55);
  border-color: transparent;
}

.certificate-fieldset {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.certificate-gallery { 
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.certificate-gallery-window {
  overflow: hidden;
  inline-size: min(100%, calc(140px * 3 + 2rem));
  display: flex;
  justify-content: center;
}

.certificate-gallery-nav {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(31, 28, 23, 0.25);
  background: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  line-height: 1;
  color: var(--text-color);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.certificate-gallery-nav:hover,
.certificate-gallery-nav:focus-visible {
  border-color: var(--accent-dark);
  transform: translateY(-1px);
}

.certificate-gallery-track {
  display: flex;
  gap: 1rem;
  justify-content: center;
  scroll-behavior: smooth;
}

.certificate-gallery-track::-webkit-scrollbar {
  display: none;
}

.certificate-gallery-option {
  position: relative;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.certificate-gallery-option img {
  display: block;
  width: 140px;
  height: 140px;
  object-fit: cover;
}

.certificate-gallery-option:hover,
.certificate-gallery-option:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(200, 169, 126, 0.55);
}

.certificate-gallery-option.is-selected {
  border-color: var(--accent);
}

.certificate-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  align-items: center;
}

.certificate-actions .hero-cta,
.certificate-actions .button-secondary {
  flex: 1 1 0;
  min-width: 0;
}

.certificate-success-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  justify-content: center;
}

.certificate-modal--success .certificate-dialog {
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.certificate-dialog--success {
  padding: clamp(1.8rem, 3vw, 2.2rem);
}

.certificate-success-message {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.certificate-success-note {
  margin: 0.25rem 0 0;
  font-weight: 500;
}

.certificate-modal--success .hero-cta {
  min-width: 160px;
}

.certificate-preview {
  width: min(100%, 900px);
  height: 600px;
  max-height: calc(100vh - 12rem);
  background: linear-gradient(135deg, #eef4fb, #f7f3ed);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  margin: 0 auto;
}

.certificate-preview__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}

.certificate-preview-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: clamp(2rem, 5vw, 5rem);
}

.about-content h2 {
  margin: 0;
  font-family: 'Yeseva One', cursive;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.about-content p {
  margin: 0;
  line-height: 1.8;
  max-width: 70ch;
}

.cart-content {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cart-content h2 {
  margin: 0;
  font-family: 'Yeseva One', cursive;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.cart-empty {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 1.05rem;
  color: rgba(31, 28, 23, 0.75);
}

.cart-empty[hidden] {
  display: none;
}

.cart-table {
  background: rgba(255, 255, 255, 0.65);
  border-radius: 24px;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-table[hidden] {
  display: none;
}

.cart-header {
  display: grid;
  grid-template-columns: 1fr auto;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(31, 28, 23, 0.65);
}

.cart-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(31, 28, 23, 0.12);
}

.cart-item-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-item-image {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-title {
  margin: 0 0 0.25rem;
  font-weight: 600;
}

.cart-item-owner {
  margin: 0;
  color: rgba(31, 28, 23, 0.75);
}

.cart-item-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
  font-weight: 600;
}

.cart-item-actions {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 0.5rem;
  justify-content: stretch;
  width: 100%;
  align-items: stretch;
}

.cart-item-actions--primary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cart-item-actions--secondary {
  grid-auto-flow: row;
  grid-template-columns: 1fr;
}

.cart-action {
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
  width: 100%;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
}

.cart-remove {
  border: 1px solid rgba(31, 28, 23, 0.25);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  background: #fff;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
  width: 100%;
  font-size: 0.9rem;
}

.cart-remove:hover,
.cart-remove:focus-visible {
  border-color: var(--accent-dark);
  transform: translateY(-1px);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 1.1rem;
}

.cart-total-value {
  font-weight: 700;
}

.cart-actions {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

.cart-actions[hidden] {
  display: none;
}

.payment-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.payment-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.payment-form input[type='text'],
.payment-form input[type='email'] {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(31, 28, 23, 0.25);
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}

.payment-form input[type='text']:focus,
.payment-form input[type='email']:focus {
  outline: 2px solid rgba(200, 169, 126, 0.55);
  border-color: transparent;
}

.payment-methods {
  border: 1px solid rgba(31, 28, 23, 0.12);
  border-radius: 16px;
  padding: 1rem 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: rgba(255, 255, 255, 0.7);
}

.payment-methods legend {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.payment-option {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.65rem;
  row-gap: 0.5rem;
  align-items: center;
}

.payment-option label {
  font-weight: 600;
}

.payment-option input[type='radio'] {
  margin: 0;
  align-self: center;
}

.payment-card,
.payment-request {
  grid-column: 1 / -1;
}

.payment-card,
.payment-request {
  border: 1px solid rgba(31, 28, 23, 0.25);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

.payment-card .StripeElement,
.payment-request .StripeElement {
  width: 100%;
  padding: 0;
}

.payment-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  margin-top: 0.75rem;
}

.payment-actions .hero-cta,
.payment-actions .button-secondary {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}

.payment-option--wallet.is-unavailable {
  opacity: 0.6;
}

.payment-wallet-hint {
  font-size: 0.9rem;
  color: rgba(31, 28, 23, 0.7);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 560px) {
  .certificate-dialog--preview {
    width: 100%;
    padding: 1.1rem;
  }

  .certificate-preview {
    width: calc(100vw - 1rem);
    margin: 0.25rem auto 0;
    height: min(75vh, 520px);
    padding: 0.65rem;
  }
}

@media (max-width: 720px) {
  .brand {
    align-items: center;
    flex: 1;
    transform: none;
  }

  .brand-title {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
  }

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

  .hero-visual {
    padding: 0;
    background: none;
    box-shadow: none;
    border-radius: 0;
  }

  .hero-cta--block {
    width: 100%;
  }

  .hero-list {
    padding-left: 1.25rem;
  }

  .hero-visual {
    order: -1;
  }

  .certificate-gallery-option img {
    width: 120px;
    height: 120px;
  }

  .certificate-gallery-window {
    inline-size: min(100%, calc(120px * 2 + 0.75rem));
  }

  .cart-item {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .cart-item-price {
    align-items: flex-start;
  }

  .cart-item-actions--primary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .top-bar {
    flex-wrap: wrap;
  }

  .cart-link {
    order: 1;
    margin-left: auto;
  }

  .brand {
    width: 100%;
    align-items: center;
  }

  .certificate-dialog {
    padding: 1.5rem;
  }

  .certificate-gallery { 
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
  }

  .certificate-gallery-nav {
    width: 2.5rem;
  }

  .certificate-gallery-window {
    inline-size: min(100%, calc(120px * 2 + 0.75rem));
  }

  .certificate-actions {
    gap: 0.5rem;
  }

  .certificate-actions .hero-cta,
  .certificate-actions .button-secondary {
    font-size: 0.95rem;
    padding: 0.7rem;
  }

  .cart-item-actions {
    gap: 0.4rem;
  }

  .cart-action {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }

  .cart-remove {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }

  .certificate-success-actions {
    width: 100%;
    flex-direction: column;
    gap: 0.6rem;
  }

  .certificate-success-actions .hero-cta,
  .certificate-success-actions .hero-cta.hero-cta--ghost {
    width: 100%;
    min-width: 0;
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
  }
}

.certificate-dialog--success {
  text-align: center;
}

.certificate-success-message {
  font-weight: 700;
  font-size: 1.15rem;
}

.certificate-success-note {
  margin: 0.35rem 0 1rem;
}

.certificate-success-downloads {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.certificate-download-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.certificate-download-list a {
  color: inherit;
  text-decoration: underline;
}
