:root {
  --cream: #fffdf7;
  --paper: #fff8ed;
  --paper-strong: #fbf1e3;
  --brown: #573015;
  --brown-dark: #42220f;
  --green: #3f742f;
  --green-soft: #6f8d5e;
  --orange: #f26b22;
  --yellow: #ffc94b;
  --line: #ece5d9;
  --muted: #3c332c;
  --shadow: 0 14px 32px rgba(76, 48, 26, 0.12);
  --soft-shadow: 0 10px 24px rgba(69, 52, 35, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #1e1714;
  background: var(--cream);
  font-family: "Nunito Sans", Arial, sans-serif;
  line-height: 1.45;
}

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

img {
  display: block;
  max-width: 100%;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.shell {
  width: min(100% - 60px, 1600px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: grid;
  grid-template-columns: 230px 1fr 230px; /* Equal side columns for perfect centering */
  align-items: center;
  min-height: 70px;
  gap: 24px;
}

.header-inner .brand {
  justify-self: start;
}

.header-inner .header-actions {
  justify-self: end;
}

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

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(87, 48, 21, 0.04);
  border: 1px solid rgba(87, 48, 21, 0.08);
  color: var(--brown);
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.cart-btn:hover {
  background: rgba(87, 48, 21, 0.08);
  transform: translateY(-1px);
}

.cart-btn svg {
  width: 20px;
  height: 20px;
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--orange);
  color: #fff;
  font-family: "Nunito Sans", sans-serif;
  font-size: 11px;
  font-weight: 800;
  border-radius: 10px;
  border: 2px solid #fffdf7;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--brown);
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn svg {
  width: 28px;
  height: 28px;
}

.mobile-auth-section {
  display: none !important;
}

.brand {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  width: max-content;
  color: var(--brown);
  font-family: "Baloo 2", "Trebuchet MS", sans-serif;
  font-size: 33px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.76;
}

.brand span:first-child {
  margin-left: 1px;
}

.brand .leaf {
  position: absolute;
  display: block;
  width: 14px;
  height: 24px;
  background: var(--green);
  border-radius: 100% 0 100% 0;
}

.leaf-one {
  top: -9px;
  right: 9px;
  transform: rotate(-25deg);
}

.leaf-two {
  top: 2px;
  right: -8px;
  width: 13px;
  height: 20px;
  background: #6b9d54;
  transform: rotate(68deg);
}

.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 38px;
  font-size: 15px;
  font-weight: 800;
}

.nav-menu a {
  position: relative;
  padding: 7px 0;
}

.nav-menu .is-active::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: 3px;
  left: 2px;
  height: 1px;
  background: currentColor;
}

.chevron {
  display: inline-block;
  margin-left: 4px;
  width: 14px;
  height: 14px;
  transform: translateY(2px);
}

.header-cta,
.btn,
.outline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 52px;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-cta {
  min-width: 140px;
  height: 40px;
  font-size: 14px;
  padding-inline: 20px;
  color: #fffaf0;
  background: var(--brown);
  box-shadow: 0 4px 10px rgba(91, 49, 21, 0.12);
}

.header-cta svg {
  width: 16px;
  height: 16px;
}

.header-cta svg,
.btn svg,
.outline-link svg {
  width: 20px;
  height: 20px;
}

.header-cta:hover,
.btn:hover,
.outline-link:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 45% 55%;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 0;
  padding-bottom: 0;
  gap: 40px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  margin: 0 0 24px;
  padding: 6px 19px 6px 9px;
  color: #2e3a23;
  border: 1px solid #91a177;
  border-radius: 999px;
  background: #f8f7df;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.star {
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 27px;
  color: var(--green);
  background: #fff2c7;
  border-radius: 999px;
}

.star svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.3;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  max-width: 457px;
  margin-bottom: 18px;
  color: var(--brown);
  font-family: "Baloo 2", "Trebuchet MS", sans-serif;
  font-size: 46px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
}

.green {
  color: var(--green);
}

.orange {
  color: var(--orange);
}

.hero-text {
  max-width: 457px;
  margin-bottom: 25px;
  color: #2e2a27;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.46;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 48px;
}

.btn {
  padding-inline: 30px;
  border: 1px solid transparent;
}

.btn-primary {
  min-width: 265px;
  color: #fffef6;
  background: var(--green);
}

.btn-secondary {
  min-width: 170px;
  color: #1d1714;
  background: transparent;
  border-color: #7e8f70;
}

.btn-secondary svg {
  width: 22px;
  height: 22px;
}

.btn-secondary svg path {
  fill: currentColor;
  stroke-width: 0;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 457px;
}

.hero-benefits div {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  gap: 8px;
  color: #3a3129;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.hero-benefits svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--brown);
  margin-top: 1px;
}

.hero-art {
  position: relative;
  min-width: 0;
  height: 100%;
}

.hero-frame {
  position: relative;
  width: 100%;
  height: 592px;
  overflow: hidden;
  border: 2px solid #ec7a27;
  border-radius: 45% 55% 47% 53% / 30% 25% 75% 70%;
  background: #f7ecd8;
  box-shadow: 0 22px 30px rgba(77, 40, 16, 0.13);
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 10px rgba(255, 253, 247, 0.24);
  pointer-events: none;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 53%;
}

.dashed-loop {
  position: absolute;
  top: -10px;
  left: 38px;
  width: 188px;
  height: 115px;
  border-top: 2px dashed #d89b42;
  border-radius: 50%;
  transform: rotate(-23deg);
}

.dashed-loop::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 37px;
  width: 37px;
  height: 37px;
  border: 2px dashed #d89b42;
  border-radius: 50%;
}

.leaf-float {
  position: absolute;
  z-index: 2;
  display: block;
  width: 32px;
  height: 17px;
  background: #8bad77;
  border-radius: 100% 0 100% 0;
}

.leaf-a {
  right: -16px;
  top: 95px;
  transform: rotate(24deg);
}

.leaf-a::before,
.leaf-a::after {
  content: "";
  position: absolute;
  width: 31px;
  height: 17px;
  background: #6d965e;
  border-radius: inherit;
}

.leaf-a::before {
  top: 20px;
  right: 8px;
  transform: rotate(-28deg);
}

.leaf-a::after {
  top: 40px;
  right: 18px;
  background: #88a974;
  transform: rotate(-52deg);
}

.leaf-b {
  bottom: 68px;
  left: 162px;
  width: 37px;
  height: 18px;
  transform: rotate(-21deg);
}

.sign-card {
  position: absolute;
  right: 250px;
  bottom: 78px;
  z-index: 4;
  width: 179px;
  min-height: 96px;
  padding: 17px 14px 13px;
  color: var(--brown-dark);
  background: #fff5e7;
  border: 2px solid #8b4d28;
  border-radius: 4px;
  text-align: center;
  transform: rotate(1deg);
  box-shadow: 0 6px 12px rgba(67, 43, 23, 0.16);
}

.sign-card span {
  display: block;
  font-family: "Baloo 2", "Trebuchet MS", sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
}

.sign-card strong {
  display: block;
  margin-top: 6px;
  color: #c88822;
  font-family: "Baloo 2", "Trebuchet MS", sans-serif;
  font-size: 19px;
  letter-spacing: 1px;
  line-height: 1;
  text-shadow: 0 1px 0 #7e4e20;
}

.seal {
  position: absolute;
  right: 44px;
  bottom: 11px;
  z-index: 5;
  display: grid;
  place-content: center;
  width: 133px;
  height: 133px;
  color: #fff9eb;
  background: #56743f;
  border: 4px solid #fff4c4;
  border-radius: 50%;
  outline: 2px solid #56743f;
  text-align: center;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.12;
  transform: rotate(11deg);
  box-shadow: 0 10px 18px rgba(45, 36, 24, 0.16);
}

.seal strong {
  margin-top: 5px;
  font-size: 17px;
}

.method {
  display: grid;
  grid-template-columns: 240px auto 290px;
  justify-content: center;
  gap: 36px;
  align-items: center;
  margin-top: 30px;
  padding: 24px 30px;
  border: 1px solid #f8e5d4;
  border-radius: 8px;
  background: #fbf8f1;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.teacher-card {
  align-self: end;
  margin-bottom: -24px;
  margin-left: 0;
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
}

.teacher-card img {
  width: 250px;
  max-width: 100%;
  display: block;
}

.method-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 8px;
}

.method-copy h2,
.products h2,
.bottom-cta h2 {
  color: var(--brown-dark);
  font-family: "Baloo 2", "Trebuchet MS", sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

.method-copy h2 {
  margin-bottom: 14px;
  font-size: 26px;
  line-height: 1.1;
}

.method-copy h2 span {
  color: var(--orange);
}

.method-copy p {
  max-width: 520px;
  margin-bottom: 10px;
  color: #1e1a17;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.outline-link {
  height: 52px;
  min-width: 230px;
  margin-top: 0;
  padding-inline: 25px;
  color: #32562b;
  border: 1px solid #7b936d;
  background: rgba(255, 253, 247, 0.54);
  font-size: 14px;
}

.method-list {
  display: grid;
  gap: 14px;
}

.method-list article {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 76px;
  padding: 12px 16px;
  border: 1px solid #f1e5d7;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(66, 43, 26, 0.06);
}

.round-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.round-icon svg {
  width: 28px;
  height: 28px;
}

.green-icon {
  color: var(--green);
  background: #eff8e9;
}

.orange-icon {
  color: var(--orange);
  background: #fff1e6;
}

.yellow-icon {
  color: #f2b92c;
  background: #fff8dc;
}

.method-list h3,
.product-card h3 {
  margin-bottom: 3px;
  font-size: 14px;
  font-weight: 900;
}

.method-list p {
  margin-bottom: 0;
  color: #2b2520;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.products {
  padding: 36px 6px 32px;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.products h2 {
  margin-bottom: 0;
  font-size: 29px;
  line-height: 1.1;
}

.section-head p {
  margin: 4px 0 0;
  color: #2e2b27;
  font-size: 16px;
  font-weight: 600;
}

.outline-link.compact {
  min-width: 230px;
  margin-top: 2px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 200px);
  justify-content: center;
  gap: 24px;
}

.product-card {
  min-height: 310px;
  padding: 18px 12px 18px;
  border: 1px solid #ece5dd;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  text-align: center;
  box-shadow: 0 3px 13px rgba(96, 70, 45, 0.05);
}

.book-cover {
  position: relative;
  width: 142px;
  height: 200px;
  margin: 0 auto 19px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 5px;
  background:
    radial-gradient(circle at 28% 54%, rgba(255, 255, 255, 0.82) 0 10%, transparent 11%),
    linear-gradient(180deg, #a8d6e0 0%, #e9f5df 48%, #8ab65f 100%);
  box-shadow:
    inset 10px 0 14px rgba(255, 255, 255, 0.55),
    inset -8px 0 12px rgba(89, 55, 29, 0.12),
    0 9px 17px rgba(46, 34, 22, 0.22);
}

.book-cover::before {
  content: "";
  position: absolute;
  inset: 10px 8px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 7px;
}

.book-cover::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 51px;
  background: linear-gradient(180deg, transparent, rgba(60, 104, 43, 0.7));
}

.cover-two {
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 224, 118, 0.85) 0 12%, transparent 13%),
    linear-gradient(180deg, #a5ddeb 0%, #f7dfaa 52%, #82b766 100%);
}

.cover-three {
  background:
    radial-gradient(circle at 52% 60%, rgba(255, 246, 210, 0.88) 0 16%, transparent 17%),
    linear-gradient(180deg, #9cd7df 0%, #f5ecd1 48%, #6cb16b 100%);
}

.cover-four {
  background:
    radial-gradient(circle at 70% 46%, rgba(255, 255, 255, 0.85) 0 13%, transparent 14%),
    linear-gradient(180deg, #e7dce7 0%, #f7eed2 50%, #d79b56 100%);
}

.book-title {
  position: relative;
  z-index: 2;
  margin-top: 15px;
  color: #6a3217;
  font-family: "Baloo 2", "Trebuchet MS", sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.82;
  text-shadow: 0 1px 0 #fff3cc;
}

.book-badge {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin-top: 7px;
  padding: 3px 9px;
  color: #fffdf7;
  background: var(--green);
  border-radius: 4px;
  font-size: 9px;
  font-weight: 900;
}

.book-scene {
  position: absolute;
  right: 16px;
  bottom: 21px;
  left: 16px;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  height: 82px;
}

.book-scene span {
  position: relative;
  display: block;
  width: 31px;
  height: 45px;
  border-radius: 16px 16px 8px 8px;
  background: #f28f35;
  box-shadow: inset 0 -14px 0 #2f8fb6;
}

.book-scene span::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 4px;
  width: 23px;
  height: 23px;
  background: #f8c58c;
  border-radius: 50%;
  box-shadow: inset 0 5px 0 #70391c;
}

.book-scene span:nth-child(2) {
  height: 55px;
  background: #f2c84b;
  box-shadow: inset 0 -17px 0 #d94f34;
}

.book-scene span:nth-child(2)::before {
  background: #b67643;
  box-shadow: inset 0 5px 0 #2b211c;
}

.book-scene span:nth-child(3) {
  height: 48px;
  background: #7cc563;
  box-shadow: inset 0 -15px 0 #7a4c28;
}

.product-card h3 {
  margin-bottom: 3px;
  color: #1f1a16;
  line-height: 1.1;
}

.product-card p {
  max-width: 198px;
  margin: 0 auto;
  color: #302924;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.38;
}

.bottom-cta {
  position: relative;
  margin-top: 110px;
  margin-bottom: 0;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  color: #fff9ee;
  border-radius: 33px 33px 0 0;
  background: #567a3c;
  box-shadow: 0 -5px 24px rgba(65, 63, 34, 0.08);
}

.bottom-cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  gap: 30px;
  min-height: 198px;
  padding: 25px 62px 22px 70px;
}

.bottom-cta::before {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px dashed rgba(255, 244, 198, 0.4);
  border-bottom: 0;
  border-radius: 25px 25px 0 0;
  pointer-events: none;
}

.cta-teacher {
  position: absolute;
  bottom: 0;
  left: 48px;
  width: 210px;
  z-index: 10;
}

.cta-teacher img {
  width: 100%;
  height: auto;
}

.cta-copy {
  grid-column: 2;
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 440px;
  margin: 0 auto;
}

.bottom-cta h2 {
  margin-bottom: 14px;
  color: #fff9ee;
  font-size: 26px;
  line-height: 1.1;
}

.bottom-cta p {
  margin-bottom: 0;
  color: rgba(255, 250, 239, 0.95);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.cta-action {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 11px;
}

.btn-yellow {
  min-width: 230px;
  color: #3b210c;
  background: linear-gradient(180deg, #ffd35e 0%, #ffb625 100%);
  border: 1px solid #eba423;
  box-shadow: 0 8px 18px rgba(53, 44, 26, 0.22), inset 0 2px 2px rgba(255, 255, 255, 0.35);
  font-weight: 900;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.btn-yellow:hover {
  background: linear-gradient(180deg, #ffca45 0%, #f7a812 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(53, 44, 26, 0.28), inset 0 2px 2px rgba(255, 255, 255, 0.4);
}

.secure {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 250, 238, 0.9);
  font-size: 12px;
  font-weight: 700;
}

.secure svg {
  width: 14px;
  height: 14px;
}


@media (max-width: 1040px) {
  .shell {
    width: min(100% - 48px, 950px);
  }

  .header-inner {
    grid-template-columns: 205px 1fr auto;
  }

  .nav-menu {
    gap: 22px;
  }

  .hero {
    grid-template-columns: 42% 58%;
    gap: 18px;
  }

  .hero h1 {
    font-size: 57px;
  }

  .hero-text {
    font-size: 18px;
  }

  .hero-frame {
    height: 548px;
  }

  .method {
    grid-template-columns: 250px 1fr 298px;
    gap: 28px;
    padding-right: 38px;
  }

  .product-grid {
    gap: 22px;
  }

  .bottom-cta-inner {
    grid-template-columns: 200px 1fr auto;
    padding-left: 44px;
  }
}

@media (max-width: 860px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto; /* Hamburger, spacer, Actions */
    min-height: auto;
    padding-block: 15px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .brand {
    order: 2; /* Center logo */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .brand img {
    max-height: 45px !important;
  }

  .mobile-menu-btn {
    display: flex;
    order: 1;
  }

  .header-actions {
    order: 3;
    width: auto;
  }

  .header-cta,
  .header-cta.user-logged-in {
    display: none !important; /* Hide desktop auth button on mobile */
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-top: 1px solid var(--line);
    text-align: center;
    gap: 15px;
    z-index: 1000;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .mobile-auth-section {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
  }

  .mobile-auth-section hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 0 20px;
  }

  .mobile-auth-link {
    color: var(--orange) !important;
    font-weight: 700;
  }

  .nav-menu a {
    font-size: 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 42px;
  }

  .hero h1 {
    font-size: clamp(46px, 12vw, 62px);
  }

  .hero-benefits {
    width: 100%;
  }

  .hero-frame {
    height: 520px;
  }

  .method {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .teacher-card {
    display: none;
  }

  .method-list {
    grid-template-columns: 1fr;
  }

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

  .bottom-cta-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 34px 28px 36px;
  }
  
  .bottom-cta {
    border-radius: 24px 24px 0 0;
  }

  .cta-teacher {
    display: none;
  }

  .cta-copy {
    grid-column: auto;
  }

  .cta-action {
    justify-items: start;
    padding-right: 0;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 30px, 560px);
  }

  .eyebrow {
    align-items: flex-start;
    border-radius: 18px;
    font-size: 12px;
  }

  .hero-actions,
  .section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .outline-link,
  .outline-link.compact {
    width: 100%;
    min-width: 0;
  }

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

  .hero-frame {
    height: 380px;
  }

  .sign-card,
  .seal,
  .dashed-loop {
    display: none;
  }

  .method-list article {
    grid-template-columns: 52px 1fr;
    padding: 16px;
  }

  .round-icon {
    width: 50px;
    height: 50px;
  }

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

/* --- Materials Page Styles --- */

.materials-hero {
  display: grid;
  grid-template-columns: 45% 55%;
  max-width: 1100px;
  margin: 0 auto;
  gap: 40px;
  align-items: center;
  padding: 50px 0 60px 0;
}

.materials-hero h1 {
  font-family: "Baloo 2", "Trebuchet MS", sans-serif;
  font-size: 42px;
  color: var(--brown);
  line-height: 1.1;
  margin-bottom: 12px;
}

.materials-hero h1 span.green {
  color: var(--green);
}

.materials-hero-text {
  font-size: 16px;
  color: #4a433d;
  margin-bottom: 25px;
  line-height: 1.5;
}

.search-bar {
  position: relative;
  margin-bottom: 25px;
  max-width: 400px;
}

.search-bar svg {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #8c857d;
}

.search-bar input {
  width: 100%;
  padding: 14px 15px 14px 45px;
  border: 1px solid #e2dbd1;
  border-radius: 8px;
  font-family: "Nunito Sans", Arial, sans-serif;
  font-size: 16px;
  color: var(--muted);
  outline: none;
  transition: border-color 0.2s;
}

.search-bar input:focus {
  border-color: var(--green);
}

.filter-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  padding: 8px 16px;
  border: 1px solid #d9d2c6;
  border-radius: 20px;
  background: transparent;
  color: #5c534b;
  font-family: "Nunito Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover {
  background: #f4eee6;
}

.filter-btn.is-active {
  background: #5b7944;
  color: #fff;
  border-color: #5b7944;
}

.collection-banner {
  display: flex;
  align-items: center;
  background: #fbf8f1;
  border: 1px solid #efe6d5;
  border-radius: 12px;
  padding: 12px 24px;
  gap: 20px;
  margin-bottom: 40px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.banner-badge-wrapper {
  flex-shrink: 0;
}

.banner-badge {
  position: relative;
  display: flex;
  align-items: center;
}

.star-icon {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 28px;
  height: 28px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.star-icon svg {
  width: 16px;
  height: 16px;
}

.banner-content {
  flex: 1;
}

.banner-content h3 {
  font-family: "Baloo 2", sans-serif;
  font-size: 22px;
  color: var(--brown);
  margin-bottom: 5px;
}

.banner-content p {
  font-size: 14px;
  color: #6a6055;
  margin: 0;
  line-height: 1.4;
}

.banner-features {
  display: flex;
  gap: 20px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #5c534b;
  line-height: 1.2;
}

.feature svg {
  width: 20px;
  height: 20px;
  color: #8fa679;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.material-card {
  background: #fff;
  border: 1px solid #eee7dd;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.material-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.card-cover {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.card-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
  align-items: center;
}

.card-info h3 {
  font-family: "Baloo 2", sans-serif;
  font-size: 18px;
  color: var(--brown);
  margin-bottom: 8px;
  line-height: 1.2;
}

.card-info p {
  font-size: 13px;
  color: #7a7065;
  margin-bottom: 15px;
  flex: 1;
}

.badge-pdf {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #8c8276;
  background: #f4eee6;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price {
  font-family: "Baloo 2", sans-serif;
  font-size: 24px;
  color: #d1561f;
  font-weight: 800;
  margin-bottom: 15px;
}

.card-actions-wrapper {
  display: flex;
  gap: 8px;
  width: 100%;
}

.btn-card {
  display: block;
  flex: 1;
  padding: 12px;
  background: #4f6e37;
  color: #fff;
  text-align: center;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-card:hover {
  background: #3e582a;
}

.btn-add-cart-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4eee6;
  color: var(--brown);
  border: 1px solid #eee7dd;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  width: 48px;
}

.btn-add-cart-card svg {
  width: 24px;
  height: 24px;
}

.btn-add-cart-card:hover {
  background: #e8ded1;
  color: #4f6e37;
  border-color: #d8cabd;
}

/* Responsividade Materiais */
@media (max-width: 960px) {
  .collection-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .banner-features {
    flex-wrap: wrap;
  }
  .materials-hero {
    grid-template-columns: 1fr;
  }
  .materials-hero-art {
    order: -1;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
  }
}

/* --- FAQ Page Styles --- */

.faq-hero {
  display: grid;
  grid-template-columns: 45% 55%;
  max-width: 1100px;
  margin: 0 auto;
  gap: 40px;
  align-items: center;
  padding: 40px 0 60px 0;
}

.badge-help {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f4eee6;
  color: #7a7065;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.badge-help svg {
  width: 14px;
  height: 14px;
}

.faq-hero h1 {
  font-family: "Baloo 2", sans-serif;
  font-size: 54px;
  color: var(--brown);
  line-height: 1.1;
  margin-bottom: 15px;
  position: relative;
}

.faq-hero h1 span.green {
  color: var(--green);
}

.faq-hero-text {
  font-size: 16px;
  color: #4a433d;
  margin-bottom: 25px;
  line-height: 1.5;
  max-width: 480px;
}

.search-bar-faq {
  max-width: 320px;
}

.faq-section {
  padding: 20px 0 80px 0;
  max-width: 800px;
  margin: 0 auto;
}

.faq-title {
  font-family: "Baloo 2", sans-serif;
  font-size: 28px;
  color: var(--brown);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}



.faq-item {
  background: #fff;
  border: 1px solid #e2dbd1;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: #8bad77;
}

.faq-item summary {
  padding: 20px;
  font-size: 16px;
  font-weight: 700;
  color: var(--green);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item .icon-toggle {
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-item .icon-toggle::before,
.faq-item .icon-toggle::after {
  content: "";
  position: absolute;
  background: var(--green);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item .icon-toggle::before {
  width: 14px;
  height: 2px;
}

.faq-item .icon-toggle::after {
  width: 2px;
  height: 14px;
  transition: transform 0.3s ease;
}

.faq-item[open] .icon-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-content {
  padding: 0 20px 20px;
  font-size: 14px;
  color: #5c534b;
  line-height: 1.5;
}

.support-banner {
  display: flex;
  align-items: center;
  background: #f4eee6;
  border-radius: 12px;
  padding: 20px 30px;
  gap: 20px;
}

.support-icon {
  background: #e2dbd1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-text h3 {
  font-family: "Baloo 2", sans-serif;
  font-size: 18px;
  color: var(--brown);
  margin-bottom: 4px;
}

.support-text p {
  font-size: 13px;
  color: #6a6055;
  margin: 0;
}

/* --- Global Site Footer --- */

.site-footer {
  background: #fff;
  padding-top: 16px;
  border-top: 1px solid #e2dbd1;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto auto auto auto;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  margin: 0 auto 10px;
  max-width: 1100px;
}

.footer-brand .footer-logo {
  max-height: 65px;
  margin-bottom: 6px;
}

.footer-brand p {
  font-size: 11px;
  color: #7a7065;
  line-height: 1.4;
  max-width: 250px;
  margin-bottom: 0;
}

.footer-links h4,
.footer-info h4 {
  font-family: "Baloo 2", sans-serif;
  font-size: 15px;
  color: var(--brown);
  margin-bottom: 6px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 2px;
}

.footer-links a {
  color: #5c534b;
  text-decoration: none;
  font-size: 11px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--green);
}

.footer-social {
  margin-bottom: 10px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.social-icons a:hover {
  transform: scale(1.1);
}

.social-icons svg {
  width: 16px;
  height: 16px;
}

.payment-icons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  padding: 6px 0;
  border-top: 1px solid #efe6d5;
  font-size: 10px;
  color: #8c8276;
}

@media (max-width: 960px) {
  .faq-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .faq-hero-text {
    margin: 0 auto 25px auto;
  }
  .search-bar-faq {
    margin: 0 auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }
  .footer-brand .footer-logo {
    margin: 0 auto 10px;
  }
  .footer-brand p {
    margin: 0 auto;
  }
  .footer-info {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .social-icons, .payment-icons {
    justify-content: center;
  }
  .support-banner {
    flex-direction: column;
    text-align: center;
  }
  .support-banner .btn {
    margin-left: 0 !important;
    width: 100%;
  }
}

/* --- Apostila Consoantes Landing Page --- */

.product-hero {
  display: grid;
  grid-template-columns: 1fr 1.3fr 320px;
  gap: 30px;
  padding: 40px 0 60px;
  align-items: stretch;
}

.product-image {
  height: 100%;
}

.product-image img {
  height: 100% !important;
  object-fit: cover;
}

.placeholder-book {
  width: 100%;
  aspect-ratio: 3/4;
  background: #fdfaf3;
  border-radius: 12px;
  border: 2px dashed #d1c4b2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a49682;
  font-weight: 800;
  text-align: center;
  padding: 20px;
  font-family: "Baloo 2", sans-serif;
  font-size: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.product-info {
  padding-top: 0;
  display: flex;
  flex-direction: column;
}

.badge-digital {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #5b7944;
  background: #eef5e9;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  align-self: flex-start;
}

.product-info h1 {
  font-family: "Baloo 2", sans-serif;
  font-size: 40px;
  color: var(--brown);
  line-height: 1.1;
  margin-bottom: 15px;
  position: relative;
}

.product-desc {
  font-size: 16px;
  color: #4a433d;
  margin-bottom: 15px;
  line-height: 1.5;
}

.product-subdesc {
  font-size: 14px;
  color: #6a6055;
  margin-bottom: 25px;
  line-height: 1.6;
}

.product-features {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.feat {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #5c534b;
  font-weight: 700;
  line-height: 1.3;
  position: relative;
}

.feat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 10%;
  height: 80%;
  border-right: 1px dashed #e2dbd1;
}

.feat svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.feat:nth-child(1) svg { color: #5b7944; }
.feat:nth-child(2) svg,
.feat:nth-child(3) svg,
.feat:nth-child(4) svg { color: #ff6b00; }

.product-actions {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: auto;
}

.product-price-card {
  background: #fff;
  border: 1px solid #e2dbd1;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 8px 24px rgba(76, 48, 26, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.access-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f4eee6;
  color: #5b7944;
  font-size: 10px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
  align-self: center;
}

.access-badge svg {
  width: 12px;
  height: 12px;
}

.price-big {
  font-family: "Baloo 2", sans-serif;
  font-size: 46px;
  color: var(--brown);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 25px;
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 2px dashed #f7b05b;
}

.price-includes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 15px;
}

.price-includes li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #5c534b;
  font-weight: 600;
  border-bottom: 1px solid #f4eee6;
  padding-bottom: 15px;
}

.price-includes li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.price-includes svg {
  width: 20px;
  height: 20px;
}
.price-includes li:nth-child(1) svg { color: #f26b21; }
.price-includes li:nth-child(2) svg { color: #5b7944; }
.price-includes li:nth-child(3) svg { color: #5b7944; }
.price-includes li:nth-child(4) svg { color: #4a433d; }

.secure-item {
  align-items: flex-start !important;
}

.secure-item svg {
  color: #666;
}

.secure-item div {
  line-height: 1.2;
}

.secure-item span {
  font-size: 11px;
  color: #999;
  font-weight: normal;
}

/* Benefits Box */
.product-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.benefit-box {
  background: #fff;
  border: 1px solid #e2dbd1;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.benefit-box h3 {
  font-size: 16px;
  color: var(--brown);
  margin-bottom: 6px;
}

.benefit-box p {
  font-size: 13px;
  color: #6a6055;
  margin: 0;
  line-height: 1.4;
}

/* Content Grid */
.product-content-grid {
  display: grid;
  grid-template-columns: 4fr 5fr;
  gap: 20px;
  margin-bottom: 60px;
  align-items: stretch;
}

.content-box {
  background: #fbf5eb;
  border: 1px solid #efe6d5;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content-box h3 {
  font-family: "Baloo 2", sans-serif;
  font-size: 22px;
  color: var(--brown);
  margin-bottom: 20px;
  text-align: center;
}

.find-grid {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: stretch;
}

.find-item {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 0 10px;
}

.find-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 10%;
  height: 80%;
  border-right: 1px dashed #e2dbd1;
}

.find-item .round-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
  color: #fff;
  border: none;
  padding: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.find-item .green-icon {
  background: var(--green) !important;
}

.find-item .orange-icon {
  background: var(--orange) !important;
}

.find-item .round-icon span {
  font-size: 20px !important;
  line-height: 1;
}

.find-item .round-icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.find-item h4 {
  font-size: 14px;
  color: var(--brown);
  margin-bottom: 4px;
  line-height: 1.2;
}

.find-item p {
  font-size: 12px;
  color: #7a7065;
  line-height: 1.3;
  margin: 0;
}

.preview-layout {
  display: flex;
  align-items: center;
  gap: 30px;
}

.preview-carousel-wrapper {
  flex: 1;
  min-width: 0;
  position: relative;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: #fff;
  border: 1px solid #e2dbd1;
  border-radius: 50%;
  color: #5c534b;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.carousel-btn:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.prev-btn {
  left: -16px;
}

.next-btn {
  right: -16px;
}

.preview-images {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0;
  scrollbar-width: none;
}

.preview-images::-webkit-scrollbar {
  display: none;
}

.preview-page {
  width: calc(33.333% - 10px);
  flex-shrink: 0;
  scroll-snap-align: start;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border: 1px solid #e2dbd1;
  object-fit: cover;
  height: auto;
}

.preview-text {
  width: 170px;
  flex-shrink: 0;
  text-align: left;
  position: relative;
}

.preview-text h4 {
  font-size: 18px;
  color: var(--brown);
  margin-bottom: 12px;
  line-height: 1.2;
}

.preview-text p {
  font-size: 13px;
  color: #6a6055;
  line-height: 1.5;
  margin: 0;
}

/* FAQ Row */
.product-faq {
  margin-bottom: 60px;
}

.product-faq h3 {
  font-family: "Baloo 2", sans-serif;
  font-size: 26px;
  color: var(--brown);
  margin-bottom: 25px;
}

.faq-row-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.faq-row-grid .faq-item {
  margin-bottom: 0;
}

.faq-row-grid summary {
  font-size: 13px;
  padding: 15px;
}

.faq-row-grid .faq-content {
  font-size: 12px;
  padding: 0 15px 15px;
}

/* Product CTA */
.product-cta {
  margin-bottom: 60px;
}

.product-cta-inner {
  position: relative;
  background: #567a3c;
  border-radius: 20px;
  padding: 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  color: #fff;
}

.product-cta-inner::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  pointer-events: none;
}

@media (max-width: 1040px) {
  .product-hero {
    grid-template-columns: 1fr 1fr;
  }
  .product-price-card {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }
  .product-benefits {
    grid-template-columns: 1fr;
  }
  .product-content-grid {
    grid-template-columns: 1fr;
  }
  .faq-row-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .product-hero {
    grid-template-columns: 1fr;
  }
  .product-features {
    grid-template-columns: 1fr;
  }
  .product-actions {
    flex-direction: column;
  }
  .product-actions button {
    width: 100%;
  }
  .faq-row-grid {
    grid-template-columns: 1fr;
  }
  .product-cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  .product-cta-inner .cta-teacher {
    display: none;
  }
  .product-cta-inner .cta-copy {
    margin: 0 !important;
    text-align: center !important;
  }
  .product-cta-inner .cta-action {
    justify-items: center !important;
  }
}

/* --- Carrinho e Pagamento --- */
.bg-gray {
  background: #fdfcf9;
}

.cart-page-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 30px;
  padding: 40px 0 80px;
  align-items: start;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* Esquerda */
.cart-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.cart-icon-circle {
  width: 48px;
  height: 48px;
  background: #f4eee6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5b7944;
}

.cart-icon-circle svg {
  width: 24px;
  height: 24px;
}

.cart-header-title h1 {
  font-family: "Baloo 2", sans-serif;
  font-size: 28px;
  color: var(--brown);
  line-height: 1.1;
  margin-bottom: 2px;
}

.cart-header-title p {
  font-size: 14px;
  color: #6a6055;
  margin: 0;
}

/* Lista de Itens */
.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid #e2dbd1;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.cart-item-image .mini-placeholder {
  width: 60px;
  height: 80px;
  background: #f4eee6;
  border: 1px dashed #d1c4b2;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: #a49682;
  text-align: center;
  padding: 5px;
}

.cart-item-info h3 {
  font-size: 15px;
  color: var(--brown);
  margin-bottom: 6px;
  line-height: 1.3;
}

.file-type {
  font-size: 11px;
  color: #8c8276;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pdf-tag {
  background: #fff3e6;
  color: #d88941;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 9px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  border: 1px solid #e2dbd1;
  border-radius: 6px;
  overflow: hidden;
}

.qty-btn {
  background: #fff;
  border: none;
  width: 28px;
  height: 28px;
  color: #d88941;
  font-weight: bold;
  cursor: pointer;
}

.qty-btn:hover {
  background: #fdfaf3;
}

.cart-item-qty span {
  width: 30px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--brown);
}

.cart-item-price {
  font-weight: 800;
  color: var(--green);
  font-size: 16px;
}

.cart-item-delete {
  background: none;
  border: none;
  color: #c4b9aa;
  cursor: pointer;
  padding: 5px;
  transition: color 0.2s;
}

.cart-item-delete:hover {
  color: #d9534f;
}

.cart-item-delete svg {
  width: 20px;
  height: 20px;
}

/* Coupon Box */
.coupon-box {
  background: #eef5e9;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.coupon-text {
  display: flex;
  align-items: center;
  gap: 15px;
}

.coupon-text svg {
  width: 24px;
  height: 24px;
}

.coupon-text strong {
  display: block;
  font-size: 14px;
  color: var(--brown);
  margin-bottom: 2px;
}

.coupon-text p {
  font-size: 12px;
  color: #6a6055;
  margin: 0;
}

.coupon-input-group {
  display: flex;
  gap: 10px;
}

.coupon-input-group .form-input {
  width: 200px;
  background: #fff;
}

.coupon-input-group .btn {
  padding: 10px 20px;
}

/* Buyer Box */
.buyer-box {
  background: #fff;
  border: 1px solid #e2dbd1;
  border-radius: 16px;
  padding: 24px 30px;
  position: relative;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.buyer-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.buyer-header h3 {
  font-size: 18px;
  color: var(--brown);
  margin-bottom: 2px;
}

.buyer-header p {
  font-size: 13px;
  color: #6a6055;
  margin: 0;
}

.buyer-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  max-width: 500px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e2dbd1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: #4a433d;
  background: #faf8f5;
  transition: border-color 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
}

.buyer-secure {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 25px;
  max-width: 400px;
}

.buyer-secure svg {
  width: 20px;
  height: 20px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

.buyer-secure strong {
  display: block;
  font-size: 12px;
  color: var(--brown);
  margin-bottom: 2px;
}

.buyer-secure p {
  font-size: 11px;
  color: #8c8276;
  margin: 0;
  line-height: 1.4;
}

.buyer-teacher-img {
  position: absolute;
  bottom: 0;
  right: 20px;
  width: 160px;
}

/* Support Box */
.support-box {
  background: #fbf5eb;
  border: 1px solid #efe6d5;
  border-radius: 12px;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.support-box-text {
  display: flex;
  align-items: center;
  gap: 15px;
}

.support-box-text strong {
  display: block;
  font-size: 14px;
  color: var(--brown);
  margin-bottom: 2px;
}

.support-box-text p {
  font-size: 12px;
  color: #6a6055;
  margin: 0;
}

/* Coluna Direita - Summary */
.summary-box {
  background: #fff;
  border: 1px solid #e2dbd1;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 24px rgba(76, 48, 26, 0.04);
  margin-bottom: 20px;
}

.summary-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
}

.summary-header svg {
  width: 20px;
  height: 20px;
}

.summary-header h3 {
  font-size: 18px;
  color: var(--brown);
  margin: 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #5c534b;
  margin-bottom: 12px;
}

.summary-row.discount {
  color: #d88941;
  font-weight: 600;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f4eee6;
  padding-top: 20px;
  margin-top: 10px;
  margin-bottom: 30px;
  font-weight: 800;
  color: var(--brown);
}

.summary-total .total-price {
  font-size: 26px;
  color: var(--green);
}

.payment-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 15px;
}

.payment-tabs-container {
  display: flex;
  flex-direction: column;
}

.payment-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: -1px;
  position: relative;
  z-index: 2;
}

.pay-tab {
  background: #fffdf7;
  border: 1px solid #efe6d5;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  padding: 14px 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #8c8175;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.01);
}

.pay-tab.active {
  background: #fff;
  border-color: #dce8d5;
  border-bottom: 1px solid #fff;
  color: #466835;
}

.payment-box {
  background: #fff;
  border: 1px solid #dce8d5;
  border-radius: 0 12px 12px 12px;
  padding: 24px;
  position: relative;
  z-index: 1;
}

.pay-content-block {
  display: block;
}

.pix-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.pix-qr-col {
  border: 1px solid #efe6d5;
  border-radius: 14px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.qr-svg-placeholder {
  width: 140px;
  height: 140px;
  border-radius: 8px;
}

.pix-text-col {
  flex: 1;
}

.pix-text-col h4 {
  margin: 0 0 6px;
  color: #4a3e35;
  font-size: 17px;
}

.pix-text-col p {
  margin: 0 0 16px;
  color: #6a6055;
  font-size: 14px;
  line-height: 1.4;
}

.pix-feature {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.pix-feature svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.pix-feature span {
  font-size: 13px;
  color: #8c8175;
  line-height: 1.4;
}

.pix-footer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #efe6d5;
  margin-top: 24px;
  padding-top: 16px;
}

.pix-action-btn {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
}

.pix-action-btn.green {
  color: #466835;
}

.pix-action-btn.gray {
  color: #8c8175;
}

.pix-action-btn svg {
  width: 16px;
  height: 16px;
}

.pix-timer-box {
  background: #fbfdf9;
  border: 1px dashed #dce8d5;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  margin-top: 20px;
}

.pix-timer-box h5 {
  color: #466835;
  font-size: 14px;
  margin: 0 0 5px;
}

.pix-timer-box p {
  color: #6a6055;
  font-size: 13px;
  margin: 0 0 10px;
}

.pix-time-display {
  font-size: 24px;
  font-weight: 700;
  color: var(--brown);
  font-family: monospace;
}

.pix-expired-msg {
  background: #fff5f5;
  border: 1px dashed #fdb8b8;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  margin-top: 20px;
}

.pix-expired-msg h5 {
  color: #e53e3e;
  font-size: 15px;
  margin: 0 0 8px;
}

.pix-expired-msg p {
  color: #6a6055;
  font-size: 13px;
  margin: 0;
}

.checkout-badges-horizontal {
  display: flex;
  background: #f4f8f1;
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  gap: 20px;
}

.badge-h-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-h-item .green-icon {
  width: 28px;
  height: 28px;
  color: #466835;
  flex-shrink: 0;
}

.badge-h-item strong {
  display: block;
  color: #466835;
  font-size: 13px;
  margin-bottom: 2px;
}

.badge-h-item p {
  color: #6a6055;
  font-size: 12px;
  margin: 0;
  line-height: 1.3;
}

.btn-block {
  width: 100%;
  padding: 16px;
  font-size: 16px;
}

.safe-checkout-wrapper {
  text-align: center;
  margin-top: 16px;
}

.safe-checkout-text {
  font-size: 13px;
  color: #5b7944;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
  margin-bottom: 6px;
}

.safe-checkout-desc {
  font-size: 11px;
  color: #8c8175;
  margin: 0;
  line-height: 1.4;
}

.safe-checkout-text svg {
  width: 14px;
  height: 14px;
}

.small-cta-banner {
  background: #fbf5eb;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  overflow: hidden;
}

.small-teacher-img {
  width: 60px;
  position: relative;
  z-index: 2;
  margin-bottom: -30px;
  margin-left: -5px;
}

.small-cta-banner h4 {
  font-size: 14px;
  color: var(--brown);
  margin-bottom: 4px;
}

.small-cta-banner p {
  font-size: 11px;
  color: #6a6055;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 960px) {
  .cart-page-layout {
    grid-template-columns: 1fr;
  }
  
  .cart-item {
    grid-template-columns: auto 1fr auto;
    row-gap: 15px;
  }
  
  .cart-item-qty {
    grid-column: 1 / -1;
    justify-self: start;
  }
  
  .cart-item-price {
    grid-column: 2 / 3;
    grid-row: 2;
  }
  
  .cart-item-delete {
    grid-column: 3 / 4;
    grid-row: 2;
  }
  
  .coupon-box {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  
  .buyer-teacher-img {
    display: none;
  }
  
  .support-box {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .support-box-text {
    flex-direction: column;
  }
}

/* User Widget (Header) */
.user-logged-in {
  display: flex !important;
  align-items: center;
  gap: 12px;
  background: transparent !important;
  color: var(--brown-dark) !important;
  padding: 0 !important;
  box-shadow: none !important;
  text-decoration: none;
}

.user-logged-in:hover {
  transform: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.user-avatar-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: #f1efde;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.user-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.user-info-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.user-greeting {
  font-weight: 700;
  font-size: 15px;
  color: var(--brown-dark);
  line-height: 1.2;
}

.user-link-text {
  font-size: 12px;
  color: var(--text-color);
  line-height: 1.2;
}

.user-chevron {
  width: 16px;
  height: 16px;
  color: var(--text-color);
  margin-left: 4px;
}

/* Minha Conta Layout */
.minha-conta-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: start;
}

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

.conta-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.conta-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.conta-card-icon {
  width: 48px;
  height: 48px;
  background: #f1efde;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}

.conta-card-icon svg {
  width: 24px;
  height: 24px;
}

.conta-card-title h2 {
  font-family: 'Baloo 2', cursive;
  font-size: 24px;
  color: var(--brown-dark);
  margin: 0;
  line-height: 1.2;
}

.conta-card-title p {
  color: var(--text-color);
  font-size: 14px;
  margin: 0;
}

/* Products List */
.materiais-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.material-card {
  border: 1px solid #f0e5d4;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  background: #fbf8f1;
}

.material-card-inner {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.material-cover {
  width: 80px;
  height: 110px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.material-info h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--brown-dark);
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.material-info p {
  font-size: 12px;
  color: var(--text-color);
  margin: 0 0 8px 0;
}

.badge-comprado {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #eff8e9;
  color: var(--green);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.badge-comprado svg {
  width: 14px;
  height: 14px;
}

.material-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: auto;
}

.btn-baixar {
  background: var(--green);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn-baixar:hover {
  opacity: 0.9;
  color: white;
}

.btn-detalhes {
  background: transparent;
  color: var(--text-color);
  border: 1px solid #dcd3c3;
  padding: 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-detalhes:hover {
  background: #f0e5d4;
}

/* Form Styles */
.perfil-form .form-group {
  margin-bottom: 16px;
}

.perfil-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 6px;
}

.perfil-form .input-wrapper {
  position: relative;
}

.perfil-form .input-wrapper svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #a0aec0;
}

.perfil-form input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 42px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-color);
  background: #fff;
  transition: border-color 0.2s;
}

.perfil-form input:focus {
  outline: none;
  border-color: var(--green);
}

.perfil-form input[readonly] {
  background: #f8f9fa;
  color: #a0aec0;
  cursor: not-allowed;
}

.btn-salvar {
  width: 100%;
  background: var(--green);
  color: white;
  border: none;
  height: 48px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  transition: opacity 0.2s;
}

.btn-salvar:hover {
  opacity: 0.9;
}

.seguranca-msg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #a0aec0;
  font-size: 12px;
  margin-top: 16px;
}

.minha-conta-header-page {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.minha-conta-header-page h1 {
  font-family: 'Baloo 2', cursive;
  font-size: 32px;
  color: var(--brown-dark);
  margin: 0;
}

.minha-conta-header-page p {
  color: var(--text-color);
  margin: 0;
}

.btn-sair-conta {
  background: transparent;
  border: 1px solid #e53e3e;
  color: #e53e3e;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-sair-conta:hover {
  background: #e53e3e;
  color: white;
}

/* User Dropdown */
.user-dropdown-wrapper {
  position: relative;
  cursor: pointer;
  padding: 8px !important;
}

.user-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #f0e5d4;
  z-index: 100;
}

.user-dropdown-wrapper:hover .user-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown-menu a, .user-dropdown-menu button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: var(--brown-dark);
  text-decoration: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.user-dropdown-menu a:hover, .user-dropdown-menu button:hover {
  background: #fbf8f1;
  color: var(--green);
}

.user-dropdown-menu hr {
  border: none;
  border-top: 1px solid #f0e5d4;
  margin: 4px 0;
}

.dropdown-logout {
  color: #e53e3e !important;
}

.dropdown-logout:hover {
  background: #fff5f5 !important;
  color: #c53030 !important;
}

/* Centralized Grid for single pages */
.minha-conta-grid-single {
  display: grid;
  grid-template-columns: minmax(auto, 900px);
  justify-content: center;
  gap: 24px;
  align-items: start;
}

/* Success Page */
.sucesso-page { padding: 40px 0 80px; }
.sucesso-hero { background: #fffdf7; border: 1px solid #efe6d5; border-radius: 20px; padding: 50px 60px; display: flex; align-items: center; gap: 40px; margin-bottom: 30px; position: relative; overflow: hidden; box-shadow: 0 10px 24px rgba(69, 52, 35, 0.05); }
.sucesso-content { flex: 1; position: relative; z-index: 2; }
.sucesso-icon { margin-bottom: 20px; }
.sucesso-icon svg { width: 80px; height: 80px; color: #6f8d5e; }
.sucesso-content h1 { font-family: "Baloo 2", sans-serif; font-size: 42px; color: var(--brown); line-height: 1.1; margin: 0 0 10px; }
.sucesso-content h2 { font-size: 20px; color: var(--brown); margin: 0 0 20px; }
.sucesso-content p { color: #6a6055; font-size: 15px; margin-bottom: 30px; max-width: 480px; }
.sucesso-content p strong { color: var(--green); }
.sucesso-timer-box { background: #f4f8f1; border: 1px solid #dce8d5; border-radius: 12px; padding: 15px 25px; display: flex; align-items: center; justify-content: space-between; max-width: 450px; margin-bottom: 30px; }
.sucesso-timer-text { display: flex; align-items: center; gap: 10px; color: #5c6e52; font-size: 14px; font-weight: 600; }
.sucesso-timer-circle { width: 60px; height: 60px; border-radius: 50%; border: 2px dashed #b7cdab; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--green); font-weight: bold; font-size: 22px; line-height: 1; }
.sucesso-timer-circle span { font-size: 10px; font-weight: normal; color: #7b946f; }
.sucesso-actions { display: flex; gap: 15px; }
.btn-sucesso { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 8px; font-weight: bold; font-size: 15px; transition: all 0.2s ease; }
.btn-sucesso-primary { background: #466835; color: #fff; border: none; }
.btn-sucesso-primary:hover { background: #39542a; transform: translateY(-2px); }
.btn-sucesso-secondary { background: transparent; color: #5c6e52; border: 1px solid #dce8d5; }
.btn-sucesso-secondary:hover { background: #f4f8f1; color: #466835; border-color: #b7cdab; }
.sucesso-image { flex: 0 0 400px; display: flex; justify-content: center; align-items: center; position: relative; }
.sucesso-image img { width: 100%; max-width: 450px; position: relative; z-index: 2; }
.sucesso-image-bg { position: absolute; width: 380px; height: 380px; background: #fdf5eb; border-radius: 50%; z-index: 1; }
.sucesso-bottom-grid { display: grid; grid-template-columns: 1fr 400px; gap: 30px; }
.sucesso-card { background: #fffdf7; border: 1px solid #efe6d5; border-radius: 16px; padding: 30px; display: flex; flex-direction: column; }
.sucesso-card > h3 { font-size: 18px; color: var(--brown); margin: 0 0 25px; }
.sucesso-steps { display: flex; justify-content: space-between; position: relative; }
.sucesso-steps::before { content: ''; position: absolute; top: 35px; left: 10%; right: 10%; border-top: 2px dashed #dce8d5; z-index: 1; }
.sucesso-step { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 2; flex: 1; padding: 0 10px; }
.step-icon { width: 70px; height: 70px; background: #fffdf7; border: 1px solid #dce8d5; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--green); margin-bottom: 15px; position: relative; }
.step-number { position: absolute; bottom: -8px; right: -8px; width: 24px; height: 24px; background: var(--green); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: bold; border: 2px solid #fffdf7; }
.sucesso-step h4 { font-size: 14px; color: var(--brown); margin: 0 0 8px; }
.sucesso-step p { font-size: 12px; color: #7a7065; margin: 0; line-height: 1.4; }
.summary-header { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.summary-icon { width: 48px; height: 48px; background: #fdf5eb; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--brown); }
.summary-header h3 { font-size: 18px; color: var(--brown); margin: 0; }
.summary-list { list-style: none; padding: 0; margin: 0 0 25px; display: flex; flex-direction: column; gap: 15px; }
.summary-list li { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: #5c534b; }
.summary-list li .label { display: flex; align-items: center; gap: 8px; }
.summary-list li .value { font-weight: 600; color: var(--brown); }
.summary-list li .value.status { color: var(--green); }
.summary-footer { margin-top: auto; background: #f4f8f1; border-radius: 12px; padding: 15px; display: flex; align-items: center; gap: 12px; }
.summary-footer-icon { width: 32px; height: 32px; background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.summary-footer-text h5 { color: var(--green); font-size: 13px; margin: 0 0 2px; }
.summary-footer-text p { color: #7b946f; font-size: 11px; margin: 0; }
@media (max-width: 900px) { .sucesso-hero { flex-direction: column; padding: 30px; text-align: center; } .sucesso-actions { justify-content: center; } .sucesso-timer-box { margin: 0 auto 30px; } .sucesso-bottom-grid { grid-template-columns: 1fr; } .sucesso-steps::before { display: none; } .sucesso-steps { flex-direction: column; gap: 30px; } }

/* --- Cookie Banner (LGPD) --- */
.cookie-banner {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 150%);
  width: min(100% - 40px, 700px);
  background: #fdfbf5;
  border: 1px solid #efe6d5;
  border-radius: 16px;
  padding: 20px 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 9999;
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s ease;
}

.cookie-banner.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.cookie-content-wrapper {
  flex: 1;
}

.cookie-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.cookie-header h3 {
  font-family: "Baloo 2", sans-serif;
  font-size: 24px;
  color: var(--brown);
  margin: 0;
  line-height: 1;
}

.cookie-content-wrapper p {
  font-size: 13px;
  color: #5c534b;
  line-height: 1.4;
  margin: 0;
}

.cookie-content-wrapper p a {
  color: #56733c;
  text-decoration: underline;
  font-weight: 700;
}

.btn-cookie-new {
  background: #6a8c4a;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-cookie-new:hover {
  background: #56733c;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(86, 115, 60, 0.2);
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    text-align: center;
    bottom: 15px;
    width: min(100% - 30px, 100%);
  }
  .cookie-header {
    justify-content: center;
  }
  .btn-cookie-new {
    width: 100%;
  }
}


