/* Base Reset & Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans", Arial, Helvetica, sans-serif;
  color: #222222;
  background-color: #f8f9fa;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

.header-main {
  height: 70px;
  background: #ffffff;
  display: flex;
  align-items: center;
}

.header-container {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  height: 40px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: stretch;
  height: 70px;
}

.main-nav a {
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 15px;
  color: #333333;
  font-weight: 600;
  transition: background-color 0.2s, color 0.2s;
}

.main-nav a:hover {
  color: #204a8e;
  background: #f4f6f9;
}

.main-nav a.active {
  background: #204a8e;
  color: #ffffff;
}

.login-btn {
  background: transparent;
  border: 1px solid #555555;
  color: #333333;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.login-btn:hover {
  background: #204a8e;
  color: #ffffff;
  border-color: #204a8e;
}

/* Sub-nav */
.sub-nav {
  background: #204a8e;
  height: 40px;
  display: flex;
  align-items: center;
}

.sub-nav-container {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 28px;
}

.sub-nav a {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  position: relative;
  opacity: 0.9;
}

.sub-nav a:hover {
  opacity: 1;
}

.sub-nav a.selected {
  opacity: 1;
}

.sub-nav a.selected::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #f8f9fa;
}

/* Hero Section */
.hero {
  height: 150px;
  background: linear-gradient(rgba(32, 74, 142, 0.75), rgba(32, 74, 142, 0.75)),
              url("assets/hero.webp") center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero h1 {
  color: #ffffff;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Buy Steps Indicator */
.buy-steps {
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  padding: 16px 0;
  text-align: center;
}

.step-label {
  color: #204a8e;
  font-size: 18px;
  font-weight: 700;
}

/* Content Wrapper & Main Card */
.content-wrapper {
  padding: 40px 0 60px;
}

.main-card {
  background: #ffffff;
  max-width: 820px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 40px;
}

/* Country Block */
.country-block h3,
.operators-block h3,
.sub-operator-section h3,
.step2-account-section h3,
.step2-amount-section h3,
.step2-notify-section h3 {
  font-size: 22px;
  color: #222222;
  font-weight: 700;
  margin-bottom: 14px;
}

.country-input {
  height: 52px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 18px;
  font-weight: 600;
  background: #ffffff;
  cursor: pointer;
  margin-bottom: 36px;
  transition: border-color 0.2s;
}

.country-input:hover {
  border-color: #204a8e;
}

.flag-icon {
  width: 36px;
  height: 24px;
  display: flex;
  margin-right: 12px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.flag-green { flex: 1; background: #006847; }
.flag-white { flex: 1; background: #ffffff; position: relative; }
.flag-white::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 6px; height: 6px;
  background: #a28328;
  border-radius: 50%;
}
.flag-red { flex: 1; background: #ce1126; }

.country-name {
  flex: 1;
  color: #222222;
}

.search-icon {
  font-size: 16px;
  color: #666666;
}

/* 22 Operators Grid */
.operator-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.operator-card {
  height: 110px;
  border: 1px solid #d6d6d6;
  background: #ffffff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  transition: all 0.2s ease;
  position: relative;
  outline: none;
}

.operator-card:hover {
  border-color: #f36b21;
  box-shadow: 0 4px 12px rgba(243, 107, 33, 0.15);
  transform: translateY(-2px);
}

.operator-card img {
  max-width: 130px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Sub-Operator Bar & "Otras operadoras" Button */
.sub-operator-section {
  margin-bottom: 30px;
}

.sub-operator-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.sub-operator-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex: 1;
}

.sub-operator-item {
  height: 110px;
  width: 160px;
  border: 1px solid #d6d6d6;
  background: #ffffff;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s;
  overflow: hidden;
}

.sub-operator-item:hover {
  border-color: #204a8e;
}

.sub-operator-item.active {
  border: 1px solid #204a8e;
  box-shadow: inset 0 0 0 1px #204a8e;
}

.sub-op-logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  width: 100%;
}

.sub-op-logo img {
  max-width: 120px;
  max-height: 48px;
  object-fit: contain;
}

.sub-op-label {
  font-size: 13px;
  font-weight: 700;
  color: #777777;
  text-align: center;
  width: 100%;
  background: #f4f4f4;
  padding: 8px 0;
  border-top: 1px solid #eeeeee;
}

.sub-operator-item.active .sub-op-label {
  background: #ffffff;
  color: #000000;
  border-top: none;
}

.back-to-operators-btn {
  height: 110px;
  width: 160px;
  border: 1px solid #d6d6d6;
  background: #ffffff;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #204a8e;
  font-weight: 400;
  font-size: 14px;
  transition: all 0.2s;
  cursor: pointer;
}

.back-to-operators-btn:hover {
  border-color: #204a8e;
}

.back-to-operators-btn .arrow {
  font-size: 24px;
  line-height: 1;
}

/* Step 2: Phone Number Input Section */
.step2-account-section {
  margin-bottom: 30px;
}

.phone-input-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  max-width: 480px;
}

.phone-prefix {
  background: #f0f0f0;
  border: 1px solid #cccccc;
  border-right: none;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 16px;
  color: #333333;
  border-radius: 4px 0 0 4px;
  height: 48px;
  display: flex;
  align-items: center;
}

.phone-input-wrapper input {
  flex: 1;
  height: 48px;
  border: 1px solid #cccccc;
  padding: 0 16px;
  font-size: 16px;
  border-radius: 0 4px 4px 0;
  outline: none;
  font-weight: 600;
}

.phone-input-wrapper input:focus {
  border-color: #204a8e;
}

.check-valid-icon {
  position: absolute;
  right: 12px;
  width: 24px;
  height: 24px;
  background: #73b143;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.phone-mask-hint {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #888888;
}

/* Step 2: Packages Grid & Cards */
.step2-amount-section {
  margin-bottom: 36px;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.package-card {
  border: 1px solid #d6d6d6;
  background: #ffffff;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  min-height: 220px;
}

.package-card:hover {
  border-color: #f36b21;
  box-shadow: 0 4px 14px rgba(243, 107, 33, 0.15);
}

.package-card.active {
  border: 2px solid #f36b21;
  box-shadow: 0 0 0 3px rgba(243, 107, 33, 0.2);
  background: #fffdfb;
}

.pkg-badge {
  position: absolute;
  top: -12px;
  right: 16px;
  background: #f36b21;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pkg-header h4 {
  font-size: 17px;
  font-weight: 700;
  color: #204a8e;
  margin-bottom: 12px;
}

.pkg-bullets {
  list-style: disc;
  margin-left: 18px;
  font-size: 13px;
  color: #555555;
  line-height: 1.5;
  margin-bottom: 20px;
}

.pkg-footer {
  border-top: 1px solid #eeeeee;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.charge-label {
  font-size: 13px;
  color: #777777;
}

.charge-price {
  font-size: 18px;
  font-weight: 700;
  color: #222222;
}

/* Step 2: Free SMS Notification Section */
.step2-notify-section {
  margin-bottom: 36px;
  padding-top: 20px;
  border-top: 1px solid #eeeeee;
}

.notify-checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #333333;
  margin-bottom: 14px;
}

.notify-checkbox-row input {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.notify-textarea-wrapper textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  resize: vertical;
}

.notify-textarea-wrapper textarea:focus {
  border-color: #204a8e;
}

.char-count {
  display: block;
  font-size: 12px;
  color: #888888;
  margin-top: 4px;
}

/* Recharge Button */
.submit-holder {
  margin-bottom: 30px;
}

.recharge-now-btn {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  background: #f36b21;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(243, 107, 33, 0.3);
  transition: all 0.2s ease;
}

.recharge-now-btn:hover:not(.disabled) {
  background: #e05910;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(243, 107, 33, 0.4);
}

.recharge-now-btn.disabled {
  background: #cccccc;
  color: #888888;
  cursor: not-allowed;
  box-shadow: none;
}

/* SEO Text Block */
.seo-text-block {
  font-size: 15px;
  line-height: 1.6;
  color: #444444;
  border-top: 1px solid #eeeeee;
  padding-top: 30px;
}

.seo-text-block p {
  margin-bottom: 16px;
}

/* Trustpilot Section */
.trustpilot-section {
  background: #ffffff;
  padding: 60px 0;
  border-top: 1px solid #e0e0e0;
}

.trustpilot-section h2 {
  text-align: center;
  font-size: 26px;
  color: #222222;
  margin-bottom: 40px;
  font-weight: 700;
}

.trustpilot-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}

.trustpilot-score-card {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #eeeeee;
}

.score-title {
  font-size: 22px;
  font-weight: 700;
  color: #00b67a;
  margin-bottom: 8px;
}

.stars {
  color: #00b67a;
  font-size: 24px;
  margin-bottom: 12px;
}

.score-info {
  font-size: 14px;
  color: #555555;
  margin-bottom: 12px;
}

.powered-by {
  font-size: 14px;
  color: #777777;
  margin-bottom: 16px;
}

.read-more-reviews {
  font-size: 14px;
  color: #204a8e;
  font-weight: 600;
}

.trustpilot-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-card {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 6px;
  border-left: 4px solid #00b67a;
}

.review-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: #777777;
  margin-bottom: 8px;
}

.review-stars {
  color: #00b67a;
  font-weight: 700;
}

.review-author {
  font-weight: 600;
  color: #333333;
}

.review-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: #222222;
  margin-bottom: 4px;
}

.review-body p {
  font-size: 14px;
  color: #555555;
}

/* Why Us Section */
.why-us-section {
  background: #f4f6f9;
  padding: 60px 0;
}

.why-us-section h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.why-us-intro {
  max-width: 800px;
  margin: 0 auto 16px;
  text-align: center;
  font-size: 16px;
  color: #444444;
}

.section-divider {
  border: none;
  height: 1px;
  background: #dddddd;
  margin: 40px auto;
  max-width: 800px;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-us-item {
  text-align: center;
  padding: 20px;
}

.check-icon {
  width: 48px;
  height: 48px;
  background: #e8f4ec;
  color: #00b67a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.why-us-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.why-us-item p {
  font-size: 14px;
  color: #666666;
}

/* Easy Steps Section */
.easy-steps-section {
  background: #ffffff;
  padding: 60px 0;
}

.easy-steps-section h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
}

.steps-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.step-card {
  flex: 1;
  background: #f8f9fa;
  padding: 30px 20px;
  border-radius: 8px;
  text-align: center;
}

.step-icon {
  width: 50px;
  height: 50px;
  background: #204a8e;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #222222;
}

.step-card p {
  font-size: 14px;
  color: #666666;
}

.step-arrow {
  font-size: 24px;
  color: #cccccc;
  font-weight: 700;
}

/* FAQ Section */
.faq-section {
  background: #f4f6f9;
  padding: 60px 0;
}

.faq-section h2 {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.faq-accordion {
  max-width: 860px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
}

.faq-question {
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 700;
  color: #222222;
  cursor: pointer;
  outline: none;
  list-style: none;
  position: relative;
}

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

.faq-question::after {
  content: "▾";
  position: absolute;
  right: 24px;
  font-size: 18px;
  color: #666666;
  transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 15px;
  color: #555555;
  line-height: 1.6;
}

.faq-answer ol {
  margin-left: 20px;
  margin-bottom: 12px;
}

.faq-footer-btn {
  text-align: center;
}

.help-center-btn {
  background: #204a8e;
  color: #ffffff;
  border: none;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.help-center-btn:hover {
  background: #183a73;
}

/* Cross Selling & Apps Sections */
.cross-selling-section,
.apps-section {
  background: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.cross-selling-section h2,
.apps-section h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 30px;
}

.cross-selling-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.cross-card {
  flex: 1;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #eeeeee;
}

.cross-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.cross-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.cross-card p {
  font-size: 14px;
  color: #666666;
}

.app-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.app-badge {
  background: #111111;
  color: #ffffff;
  border: none;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
}

/* Newsletter Section */
.newsletter-section {
  background: #204a8e;
  color: #ffffff;
  padding: 40px 0;
}

.newsletter-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.newsletter-section h2 {
  font-size: 22px;
  font-weight: 700;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  width: 300px;
  height: 46px;
  padding: 0 16px;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  outline: none;
}

.newsletter-form button {
  background: #ffffff;
  color: #204a8e;
  border: none;
  padding: 0 24px;
  font-weight: 700;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.newsletter-form button:hover {
  background: #e6e6e6;
}

/* Floating Action Buttons */
.floating-accessibility,
.floating-help {
  position: fixed;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #ffffff;
  border: none;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-accessibility {
  left: 20px;
  background: #0b56e9;
}

.floating-help {
  right: 20px;
  background: #ff7415;
}

/* Site Footer */
.site-footer {
  background: #1b1b1b;
  color: #cccccc;
  padding: 60px 0 30px;
  font-size: 14px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.partner-heading {
  margin-top: 24px !important;
}

.footer-col a {
  display: block;
  color: #aaaaaa;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #ffffff;
}

.sub-links {
  padding-left: 12px;
  border-left: 2px solid #333333;
  margin-bottom: 10px;
}

.sub-links a {
  font-size: 13px;
  margin-bottom: 6px;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.social-icons a {
  width: 36px;
  height: 36px;
  background: #204a8e;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

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

.selector-item {
  color: #ffffff;
}

.lang-selector {
  background: transparent;
  border: 1px solid #444444;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 4px;
  width: fit-content;
}

.footer-divider {
  border: none;
  height: 1px;
  background: #333333;
  margin-bottom: 30px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #888888;
  font-size: 13px;
}

.payments-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.pay-badge {
  background: #2a2a2a;
  color: #dddddd;
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 12px;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .operator-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    flex-direction: column;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

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

  .newsletter-flex {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .main-nav {
    display: none;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

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

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

  /* Mobile Fixes for Navigation & Checkout */
  .header-main {
    height: auto;
    padding: 10px 0;
  }
  
  .header-container {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px;
    justify-content: center;
  }
  
  .header-actions {
    margin-left: 0;
  }

  .sub-nav-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 8px 12px;
  }
  
  .sub-nav {
    height: auto;
  }

  /* Checkout Step 3 Mobile Adjustments */
  .order-header {
    font-size: 13px;
  }

  .order-body {
    flex-direction: column;
  }

  .order-col-prod {
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
    padding: 16px;
  }

  .order-col-amt {
    padding: 20px;
  }

  .order-fee-row, .order-coupon-row, .order-total-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .fee-val, .total-val {
    align-self: flex-start;
    text-align: left;
  }

  .coupon-input-group {
    width: 100%;
    display: flex;
  }

  .coupon-input-group input {
    flex: 1;
    min-width: 0;
  }

  .guarantees-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .checkout-forms {
    flex-direction: column;
    gap: 24px;
  }

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

  .place-order-btn {
    width: 100%;
    max-width: none;
    font-size: 16px;
  }
}

/* Checkout Section (Step 3) */
.checkout-title {
  font-size: 28px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 24px;
}

.checkout-order > p {
  font-size: 16px;
  color: #333333;
  margin-bottom: 12px;
}

.order-table {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #fdfdfd;
  margin-bottom: 30px;
}

.order-header {
  display: flex;
  background: #757575;
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 20px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.header-prod {
  flex: 7;
}

.header-amt {
  flex: 3;
  text-align: center;
}

.order-body {
  display: flex;
  border-bottom: 1px solid #e0e0e0;
}

.order-col-prod {
  flex: 7;
  padding: 24px;
  border-right: 1px solid #e0e0e0;
  background: #ffffff;
}

.order-col-prod h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #333333;
}

.order-col-prod ul {
  padding-left: 20px;
  margin-bottom: 16px;
  color: #555555;
  font-size: 14px;
  line-height: 1.5;
}

.co-phone, .co-op {
  font-size: 14px;
  color: #555555;
  margin-bottom: 6px;
}

.auto-topup {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #eeeeee;
}

.auto-topup h5 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.auto-topup p {
  font-size: 14px;
  color: #555555;
  margin-bottom: 16px;
  line-height: 1.4;
}

.toggle-switch-container {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #333333;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #cccccc;
  transition: .3s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
  background-color: #000000;
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

.co-terms {
  margin-top: 20px;
  font-size: 13px;
  color: #555555;
  cursor: pointer;
}

.order-col-amt {
  flex: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
}

.price-val {
  font-size: 18px;
  font-weight: 700;
  color: #111111;
}

.order-fee-row, .order-total-row {
  display: flex;
  background: #f4f4f4;
  padding: 16px 20px;
  border-bottom: 1px solid #ffffff;
}

.order-total-row {
  background: #f0f0f0;
  border-bottom: none;
  font-size: 18px;
  font-weight: 700;
  color: #111111;
}

.order-coupon-row {
  display: flex;
  align-items: center;
  background: #fafafa;
  padding: 16px 20px;
  border-bottom: 1px solid #ffffff;
}

.fee-label, .coupon-label, .total-label {
  flex: 7;
  font-weight: 600;
  padding-left: 4px;
}

.fee-val, .total-val {
  flex: 3;
  text-align: center;
  font-weight: 700;
}

.coupon-input-group {
  flex: 7;
  display: flex;
  gap: 0;
}

.coupon-input-group input {
  padding: 8px 12px;
  border: 1px solid #cccccc;
  border-right: none;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  font-size: 14px;
  outline: none;
}

.coupon-input-group button {
  background: #f36b21;
  color: #ffffff;
  border: none;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  cursor: pointer;
}

.guarantees-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
  font-size: 14px;
  color: #204a8e;
  font-weight: 600;
}

.check-icon {
  color: #dddddd;
  margin-right: 4px;
  font-size: 16px;
  vertical-align: middle;
}

.checkout-forms {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}

.billing-info, .payment-methods {
  flex: 1;
}

.checkout-forms h3 {
  font-size: 18px;
  font-weight: 600;
  color: #555555;
  margin-bottom: 16px;
}

.form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.form-row.full {
  flex-direction: column;
}

.form-row input, .form-row select {
  flex: 1;
  padding: 12px;
  border: 1px solid #dddddd;
  border-radius: 4px;
  font-size: 15px;
  outline: none;
  background: #fcfcfc;
}

.form-row input:focus, .form-row select:focus {
  border-color: #aaaaaa;
}

.payment-box {
  border: 1px solid #dddddd;
  border-radius: 4px;
  margin-bottom: 10px;
  background: #f9f9f9;
}

.payment-box.selected {
  background: #ffffff;
  border: 1px solid #dcdcdc;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.payment-header {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
}

.payment-header input[type="radio"] {
  margin-right: 12px;
  transform: scale(1.2);
}

.payment-header label {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
}

.card-icons {
  font-size: 14px;
  color: #666;
  background: #eee;
  padding: 2px 6px;
  border-radius: 3px;
}

.payment-body {
  padding: 0 16px 16px 16px;
}

.payment-box:not(.selected) .payment-body {
  display: none;
}

.full-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #dddddd;
  border-radius: 4px;
  margin-bottom: 10px;
  font-size: 14px;
}

.card-exp {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.card-exp select, .cvv-input {
  padding: 10px;
  border: 1px solid #dddddd;
  border-radius: 4px;
  font-size: 14px;
  background: #ffffff;
}

.card-exp select {
  flex: 1;
}

.save-card {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #555555;
  margin-top: 10px;
}

.place-order-wrapper {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #eeeeee;
}

.place-order-btn {
  background: #f36b21;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(243, 107, 33, 0.2);
  transition: background 0.2s;
  margin-bottom: 16px;
  width: 100%;
  max-width: 320px;
}

.place-order-btn:hover {
  background: #e55b13;
}

.po-note, .po-note2 {
  font-size: 13px;
  color: #555555;
  margin-bottom: 4px;
}

.card-number-wrap {
  position: relative;
}

.card-number-wrap .full-input {
  padding-right: 78px;
}

.card-number-brand {
  position: absolute;
  right: 10px;
  top: 11px;
  color: #204a8e;
  font-size: 11px;
  font-weight: 700;
  pointer-events: none;
}

.card-exp select {
  min-width: 0;
}

.card-exp .cvv-input {
  width: 82px;
  min-width: 70px;
  margin: 0;
}

.field-error {
  border-color: #c62828 !important;
  background: #fff7f7 !important;
}

.card-error {
  margin: 8px 0 4px;
  color: #c62828;
  font-size: 13px;
}

.card-error.success {
  color: #087a4e;
}

/* Icon shapes (avoid platform-dependent emoji rendering) */
.search-icon {
  width: 17px;
  height: 17px;
  border: 2px solid #555555;
  border-radius: 50%;
  position: relative;
  flex: 0 0 17px;
  margin-right: 3px;
}

.search-icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  right: -6px;
  bottom: -3px;
  background: #555555;
  transform: rotate(45deg);
  border-radius: 1px;
}

.instagram-icon {
  font-size: 22px !important;
  line-height: 28px !important;
}

.selector-item,
.lang-selector {
  display: flex;
  align-items: center;
  gap: 8px;
}

.location-pin {
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: inline-block;
}

.globe-icon {
  width: 15px;
  height: 15px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}

.globe-icon::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 5px;
  border-top: 1px solid currentColor;
}

.cross-icon-text {
  font-size: 18px !important;
  font-weight: 700;
  letter-spacing: -1px;
}

/* Checkout guarantees use compact checks, independently of Why Us icons */
.guarantees-row > span {
  display: inline-flex;
  align-items: center;
  line-height: 1.35;
}

.guarantees-row .check-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 7px 0 0;
  border-radius: 50%;
  background: #e8f4ec;
  color: #00a66a;
  font-size: 13px;
}

/* Final responsive layer: kept last so checkout styles cannot override it */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .header-main {
    height: 62px;
    padding: 0;
  }

  .header-container {
    flex-wrap: nowrap;
    gap: 10px;
    padding: 0 14px;
  }

  .brand {
    min-width: 0;
    flex: 1;
  }

  .brand img {
    width: min(210px, 48vw);
    height: auto;
  }

  .main-nav {
    display: none;
  }

  .login-btn {
    padding: 7px 9px;
    font-size: 12px;
    white-space: nowrap;
  }

  .sub-nav {
    height: 40px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .sub-nav::-webkit-scrollbar {
    display: none;
  }

  .sub-nav-container {
    width: max-content;
    min-width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 22px;
    padding: 0 16px;
  }

  .sub-nav a {
    white-space: nowrap;
  }

  .hero {
    height: 112px;
    padding: 0 20px;
  }

  .hero h1 {
    font-size: clamp(25px, 7vw, 31px);
    line-height: 1.18;
  }

  .buy-steps {
    padding: 13px 0;
  }

  .step-label {
    font-size: 16px;
  }

  .content-wrapper {
    padding: 18px 0 38px;
  }

  .main-card {
    width: calc(100% - 24px);
    padding: 22px 14px;
    border-radius: 5px;
  }

  .country-block h3,
  .operators-block h3,
  .sub-operator-section h3,
  .step2-account-section h3,
  .step2-amount-section h3,
  .step2-notify-section h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .country-input {
    height: 50px;
    margin-bottom: 26px;
    padding: 0 13px;
    font-size: 17px;
  }

  .operator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 24px;
  }

  .operator-card {
    width: 100%;
    min-width: 0;
    height: 92px;
    padding: 8px;
  }

  .operator-card:hover {
    transform: none;
  }

  .operator-card img {
    max-width: min(112px, 88%);
    max-height: 54px;
  }

  .sub-operator-bar,
  .sub-operator-list {
    width: 100%;
  }

  .sub-operator-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .sub-operator-item,
  .sub-operator-item.active {
    width: 100%;
    min-height: 94px;
  }

  .back-to-operators-btn,
  .recharge-now-btn,
  .submit-holder {
    width: 100%;
  }

  .phone-input-wrapper,
  .packages-grid,
  .package-card {
    min-width: 0;
    width: 100%;
  }

  input,
  select,
  textarea {
    font-size: 16px !important;
    max-width: 100%;
  }

  .trustpilot-section,
  .why-us-section,
  .easy-steps-section,
  .faq-section,
  .cross-selling-section,
  .apps-section,
  .newsletter-section {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .trustpilot-section h2,
  .why-us-section h2,
  .easy-steps-section h2,
  .faq-section h2,
  .cross-selling-section h2,
  .apps-section h2,
  .newsletter-section h2 {
    font-size: 25px;
    line-height: 1.25;
  }

  .trustpilot-grid,
  .why-us-grid,
  .cross-selling-grid {
    grid-template-columns: 1fr;
  }

  .cross-selling-grid {
    flex-direction: column;
    gap: 16px;
  }

  .steps-grid,
  .newsletter-flex,
  .newsletter-form,
  .app-badges {
    flex-direction: column;
  }

  .newsletter-form,
  .newsletter-form input,
  .newsletter-form button,
  .app-badge {
    width: 100%;
  }

  .app-badge {
    display: flex;
    justify-content: center;
  }

  .faq-question {
    padding: 16px 44px 16px 14px;
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 14px 17px;
  }

  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 34px 20px;
  }

  .footer-bottom,
  .payments-row {
    align-items: flex-start;
  }

  .payment-badges {
    flex-wrap: wrap;
  }

  /* Checkout */
  .checkout-title {
    font-size: 24px;
  }

  .order-header {
    display: none;
  }

  .order-body,
  .order-fee-row,
  .order-coupon-row,
  .order-total-row,
  .checkout-forms,
  .form-row,
  .guarantees-row {
    flex-direction: column;
  }

  .order-col-prod {
    border-right: 0;
    border-bottom: 1px solid #e0e0e0;
    padding: 17px 14px;
  }

  .order-col-amt {
    justify-content: flex-start;
    padding: 15px;
  }

  .order-fee-row,
  .order-coupon-row,
  .order-total-row {
    align-items: stretch;
    gap: 9px;
    padding: 14px;
  }

  .fee-label,
  .coupon-label,
  .total-label {
    padding-left: 0;
  }

  .fee-val,
  .total-val {
    text-align: left;
  }

  .coupon-input-group {
    width: 100%;
  }

  .coupon-input-group input {
    min-width: 0;
  }

  .checkout-forms {
    gap: 28px;
  }

  .payment-header {
    padding: 13px 11px;
  }

  .place-order-btn {
    max-width: none;
  }
}

@media (max-width: 420px) {
  .header-container {
    padding: 0 10px;
  }

  .brand img {
    width: min(190px, 47vw);
  }

  .login-btn {
    font-size: 11px;
    padding: 7px;
  }

  .sub-nav-container {
    width: 100%;
    min-width: 0;
    justify-content: space-between;
    gap: 10px;
    padding: 0 10px;
  }

  .sub-nav a {
    font-size: 13px;
  }

  .main-card {
    width: calc(100% - 16px);
    padding: 20px 10px;
  }

  .operator-card {
    height: 86px;
  }

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

  .footer-bottom,
  .payments-row {
    align-items: center;
    text-align: center;
  }

  .payment-badges {
    justify-content: center;
  }
}
