/*
Theme Name: eSIMX Store
Theme URI: https://example.com
Author: You
Author URI: https://example.com
Description: Minimal WooCommerce theme for an eSIM digital shop (light version).
Version: 1.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: esimx
*/

:root {
  /*--bg: #f3f4f6;*/
  --bg-alt: #ffffff;
  --panel: #ffffff;
  --panel-alt: #f9fafb;
  --primary: #2563eb;
  --primary-soft: rgba(37, 99, 235, 0.08);
  --accent: #f97316;
  --accent-soft: rgba(249, 115, 22, 0.12);
  --border: #e5e7eb;
  --text: #111827;
  --muted: #6b7280;
  --radius-lg: 18px;
  --shadow-soft: 0 16px 35px rgba(15, 23, 42, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /*background:
    radial-gradient(circle at top, rgba(37, 99, 235, 0.08), transparent 55%),
    radial-gradient(circle at bottom, rgba(249, 115, 22, 0.06), transparent 60%),
    var(--bg);
    */
  color: var(--text);
}

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

a:hover {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER */

.langBox{
    position: absolute; 
    text-align:right; 
    width:100%;
}
.langBox2{display: none;}

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

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  /*background:
    radial-gradient(circle at 10% 0, #f97316, #2563eb 55%, #0ea5e9 100%);*/
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.brand-title {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-sub {
  font-size: 11px;
  color: var(--muted);
}
/*
.nav-menu {
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

.nav-menu a {
  position: relative;
  padding-bottom: 2px;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.16s ease;
}

.nav-menu a:hover {
  color: var(--text);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
*/

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.14s ease,
    box-shadow 0.14s ease,
    background 0.14s ease,
    border-color 0.14s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.3);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--muted);
  background: #ffffff;
}

.btn-ghost:hover {
  border-color: #d1d5db;
  color: var(--text);
}

/* HERO */

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 16px 26px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.hero-title {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.05;
  margin: 14px 0 10px;
}

.hero-highlight {
  background: linear-gradient(120deg, #f97316, #facc15, #2563eb);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: var(--muted);
  font-size: 14px;
  max-width: 440px;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
}

/* HERO SEARCH CARD (reused .hero-card class) */

.hero-card {
  border-radius: var(--radius-lg);
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.hero-card-title {
  font-size: 14px;
  font-weight: 600;
}

.hero-card-sub {
  font-size: 11px;
  color: var(--muted);
}

.hero-card-tag {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: #1d4ed8;
}

.hero-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-form-label {
  font-size: 11px;
  color: var(--muted);
}

.hero-form-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

/* single column modifier for category dropdown row */
.hero-form-control--single {
  grid-template-columns: minmax(0, 1fr);
}

.select,
.input {
  width: 100%;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #f9fafb;
  color: var(--text);
  font-size: 13px;
  padding: 8px 12px;
}

.select:focus,
.input:focus {
  outline: 1px solid var(--primary);
  border-color: var(--primary);
  background: #ffffff;
}

.hero-search-submit {
  width: 100%;
  margin-top: 8px;
}

.hero-price-row {
  display: none; /* old quick-quote row removed visually */
}

.hero-support {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

/* SECTIONS */

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 16px 10px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}


.section-title {
  font-size: 20px;
  font-weight: 600;
}


.section-subtitle {
  font-size: 13px;
  color: var(--muted);
}

/* PRODUCT GRID / CARDS */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

.card {
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.card-title {
  font-size: 14px;
  font-weight: 600;
}

.card-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: #1d4ed8;
}

.card-meta {
  font-size: 11px;
  color: var(--muted);
}

.card-price {
  font-size: 18px;
  font-weight: 600;
}

.card-footer {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-footer small {
  color: var(--muted);
}

/* STEPS */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step {
  border-radius: 16px;
  border: 1px dashed var(--border);
  padding: 14px;
  background: #ffffff;
}

.step-label {
  font-size: 11px;
  color: var(--muted);
}

.step-title {
  font-size: 14px;
  font-weight: 600;
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 18px;
}

.faq-item {
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 12px 14px;
  background: #ffffff;
}

.faq-q {
  font-size: 13px;
  font-weight: 500;
}

.faq-a {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

/* FOOTER */

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 18px 16px 26px;
  font-size: 12px;
  color: var(--muted);
  background: #ffffff;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* WOO: LISTINGS */

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 14px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 14px;
  color: var(--text);
}

.woocommerce ul.products li.product .price {
  color: #111827;
  font-weight: 600;
}

.woocommerce ul.products li.product .button {
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: none;
  padding: 7px 14px;
  font-size: 13px;
  color: #ffffff;
}

/* WOO: SINGLE PRODUCT */

/*.product-header-mobile{display: none;}
div:has(h2 .product-header-mobile){display:none;}*/

.single-product-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 16px 40px;
}

.single-product-panel {
  /*display: grid;*/
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
}

.single-product-sidebar {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 16px;
  background: #ffffff;
}

.single_add_to_cart_button{
    width: 100%;
    margin: 5px;
    margin-bottom: 8px;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 24px;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .nav-menu {
    display: none;
  }
}

@media (max-width: 600px) {
    .langBox{
        display: none;
        /*position: absolute; 
        text-align:right; 
        width: 100%;
       margin-left: auto;
        margin-right: auto;*/
    }
    .langBox2{
        display: inline;
    }
    
  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  
  .single-product-panel{
      display:block;
  }
  
  .product-header-mobile{
      display: revert;
      padding: 6px;
      font-size: 30px;
      width: 100%;
      text-align: center;
      border-bottom: solid 1px black;
  }
  
  div:has(.product-header-mobile){
      display:block;
  }
}
