/* Inline overrides (ship in section HTML to beat the compiled-CSS cache) */
.smyk-pd-tabs.smyk-pd-tabs {
  display: flex !important; align-items: center !important; flex-wrap: nowrap !important;
  background: #F3F4F6 !important; border: 0 !important; border-radius: 999px !important;
  padding: 4px !important; gap: 0 !important; width: max-content !important; max-width: 100% !important;
  overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; scrollbar-width: none !important;
}
.smyk-pd-tabs.smyk-pd-tabs::-webkit-scrollbar { display: none !important; }
.smyk-pd-tab.smyk-pd-tab {
  flex: 0 0 auto !important;
  padding: 8px 24px !important; background: transparent !important; border: none !important;
  border-radius: 999px !important; font-family: var(--smyk-font) !important; font-size: 15px !important;
  font-weight: 500 !important; color: #6B7280 !important; box-shadow: none !important;
}
.smyk-pd-tab.smyk-pd-tab:hover { color: #1F2937 !important; }
.smyk-pd-tab[aria-selected="true"].smyk-pd-tab {
  background: #e41d56 !important; color: #ffffff !important; font-weight: 500 !important; box-shadow: none !important;
}
.smyk-pd-content.smyk-pd-content { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.smyk-pd-content.smyk-pd-content table { width: 100%; max-width: 100%; table-layout: fixed; border-collapse: collapse; }
.smyk-pd-content.smyk-pd-content td,
.smyk-pd-content.smyk-pd-content th { word-break: break-word; overflow-wrap: anywhere; }
.smyk-pd-content details > *:not(summary) { display: block !important; }
.smyk-pd-content details { overflow: visible !important; }
/* Mobile: 3 tabs as 2 + 1 (centered) rows */
@media (max-width: 600px) {
  .smyk-pd-tabs.smyk-pd-tabs {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }
  .smyk-pd-tab.smyk-pd-tab {
    justify-content: center !important;
    text-align: center !important;
    background: #F3F4F6 !important;
    border-radius: 999px !important;
    padding: 11px 14px !important;
    font-size: 14px !important;
  }
  .smyk-pd-tab[aria-selected="true"].smyk-pd-tab {
    background: #e41d56 !important;
    color: #ffffff !important;
  }
  .smyk-pd-tabs.smyk-pd-tabs .smyk-pd-tab:nth-child(3) {
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    width: calc(50% - 4px) !important;
  }
}

/* Integrated with the product page: global .smyk-section spacing +
   .smyk-container width + shared .smyk-section-heading, narrowed for reading. */
.smyk-container.smyk-pd__inner { max-width: 820px; }
.smyk-pd__inner .smyk-pd-wrap { margin-top: 28px; }
.smyk-pd-wrap {
  --pd-navy:   #222222;
  --pd-blue:   #e41d56;
  --pd-border: #e5e5e5;
  --pd-muted:  #64748b;
  --pd-text:   #1e293b;
  --pd-light:  #f8fafc;
  --pd-radius: 16px;
  margin-top: 0;
  margin-bottom: 4px;
}
.smyk-pd-tabs {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  background: #F3F4F6;
  border: 0;
  border-radius: 999px;
  padding: 4px;
  margin: 0 auto 20px;
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.smyk-pd-tabs::-webkit-scrollbar { display: none; }
.smyk-pd-tab { flex: 0 0 auto; }
.smyk-pd-tab {
  padding: 8px 24px;
  background: transparent;
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: #6B7280;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease;
  font-family: var(--smyk-font);
  white-space: nowrap;
  outline: none;
  display: flex;
  align-items: center;
}
.smyk-pd-tab:hover { color: #1F2937; }
.smyk-pd-tab[aria-selected="true"] {
  background: #e41d56;
  color: #ffffff;
  font-weight: 500;
  box-shadow: none;
}
.smyk-pd-panel { display: none; animation: smykPdFade .2s ease; }
.smyk-pd-panel.is-active { display: block; }
@keyframes smykPdFade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.smyk-pd-content { font-size: 0.92rem; line-height: 1.65; color: var(--pd-text); }
.smyk-pd-list {
  padding-left: 0;
  list-style: none;
  margin: 0;
}
.smyk-pd-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--pd-border);
  font-size: 0.92rem;
  color: var(--pd-text);
  line-height: 1.55;
}
.smyk-pd-list li:last-child { border-bottom: none; }
.smyk-pd-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pd-blue);
  margin-top: 5px;
}
.smyk-pd-content p { margin: 0 0 8px; }
.smyk-pd-content p:last-child { margin-bottom: 0; }
.smyk-pd-content h2 {
  font-size: 1.05rem; font-weight: 800; color: var(--pd-navy);
  margin: 20px 0 10px; padding-bottom: 6px;
  border-bottom: 2px solid var(--pd-border);
}
.smyk-pd-content h2:first-child { margin-top: 0; }
.smyk-pd-content ul, .smyk-pd-content ol { padding-left: 0; list-style: none; margin: 0 0 14px; display: block; }
.smyk-pd-content ul li, .smyk-pd-content ol li {
  position: relative; display: block; width: 100%;
  padding: 6px 0 6px 18px; border-bottom: none;
  font-size: 0.92rem; line-height: 1.55; color: var(--pd-text);
}
.smyk-pd-content ul li::before {
  content: "•"; position: absolute; left: 2px; top: 6px;
  color: #e41d56; font-weight: 700; line-height: 1.55;
}
.smyk-pd-content ul li:last-child, .smyk-pd-content ol li:last-child { border-bottom: none; }
.smyk-pd-content ul li p { margin: 0; }
.smyk-pd-content ul.tab_ul {
  display: block;
  grid-template-columns: 1fr;
  gap: 0; margin-bottom: 0;
  border: 1px solid var(--pd-border); border-radius: var(--pd-radius); overflow: hidden;
}
.smyk-pd-content ul.tab_ul li {
  padding: 7px 12px; font-size: 0.86rem;
  border-bottom: 1px solid var(--pd-border); border-right: 1px solid var(--pd-border);
  display: block; background: #fff; transition: background .15s;
}
.smyk-pd-content ul.tab_ul li:hover { background: var(--pd-light); }
.smyk-pd-content a { color: var(--pd-blue); text-decoration: underline; text-underline-offset: 2px; }
.smyk-pd-content a:hover { opacity: .8; }
.smyk-pd-content strong { color: var(--pd-navy); }
.smyk-pd-content details {
  border: 1.5px solid var(--pd-border); border-radius: var(--pd-radius);
  margin-bottom: 8px; overflow: hidden;
}
.smyk-pd-content details summary {
  padding: 12px 16px; font-weight: 700; cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--pd-light); color: var(--pd-navy);
}
.smyk-pd-content details summary::-webkit-details-marker { display: none; }
.smyk-pd-content details[open] summary { border-bottom: 1px solid var(--pd-border); }
.smyk-pd-content details .summary-inner { padding: 12px 16px; font-size: 0.9rem; line-height: 1.6; }
.smyk-pd-content [class*="col-"] { display: block; width: auto; float: none; padding: 0; }

/* ============================================================
   Per-product long-form article (.smyk-pd-longform) — used by
   products that carry a rich WooCommerce long description
   (e.g. the Europe eSIM page). Base type comes from .rte.
   ============================================================ */
.smyk-pd-longform { max-width: 880px; margin-inline: auto; }
.smyk-pd-longform > h2 {
  font-size: clamp(1.35rem, 1.05rem + 1.3vw, 1.9rem);
  line-height: 1.2; font-weight: 800; color: #1a1a1a;
  margin: 2.2em 0 .55em; letter-spacing: -0.01em;
}
.smyk-pd-longform > h2:first-child { margin-top: 0; }
.smyk-pd-longform p { font-size: 1.02rem; line-height: 1.7; color: #3f4550; margin: 0 0 1em; }
.smyk-pd-longform ul, .smyk-pd-longform ol { margin: 0 0 1.1em; padding-left: 1.25em; }
.smyk-pd-longform li { font-size: 1.02rem; line-height: 1.65; color: #3f4550; margin: 0 0 .5em; }
.smyk-pd-longform a { color: #e41d56; text-decoration: underline; text-underline-offset: 2px; }
.smyk-pd-longform strong { color: #1a1a1a; }

/* Countries grid */
.smyk-pd-longform ul.smyk-pd-countries {
  list-style: none; padding: 0; margin: 0 0 1em;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 18px;
}
.smyk-pd-countries li {
  position: relative; padding-left: 22px; font-size: .96rem; margin: 0; color: #3f4550;
}
.smyk-pd-countries li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 14px; height: 14px;
  background: #e41d56;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* FAQ (native details/summary) */
.smyk-pd-faq { margin-top: .5em; border-top: 1px solid #ececf0; }
.smyk-pd-faq__item { border-bottom: 1px solid #ececf0; }
.smyk-pd-faq__item > summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative;
  font-size: 1.05rem; font-weight: 700; color: #1a1a1a; line-height: 1.4;
}
.smyk-pd-faq__item > summary::-webkit-details-marker { display: none; }
.smyk-pd-faq__item > summary::after {
  content: ""; position: absolute; right: 6px; top: 22px; width: 16px; height: 16px;
  background: #e41d56; transition: transform .2s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center/16px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center/16px no-repeat;
}
.smyk-pd-faq__item[open] > summary::after { transform: rotate(180deg); }
.smyk-pd-faq__a { padding: 0 0 18px; }
.smyk-pd-faq__a p { margin: 0; color: #4a4f5a; font-size: 1rem; line-height: 1.7; }

@media (max-width: 720px) {
  .smyk-pd-longform ul.smyk-pd-countries { grid-template-columns: repeat(2, 1fr); }
}
