/* GigaFone iPhone Pricelist Dedicated Styles */
.lang-switch {
  position: relative;
  z-index: 2;
}
.pl-hero {
  padding: 36px 0 28px;
  background: radial-gradient(circle at 50% -30%, rgba(255, 138, 25, 0.1), rgba(245, 34, 77, 0.06) 40%, rgba(104, 18, 171, 0.02) 75%, transparent 100%);
  text-align: center;
}
.pl-hero-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}
.pl-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #71727a;
  margin: 0;
}
.pl-breadcrumb a {
  color: #71727a;
  transition: color 0.2s;
}
.pl-breadcrumb a:hover {
  color: #f5224d;
}
.pl-update-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f4f2f7;
  border: 1px solid #e5e1eb;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #636574;
}
.pl-update-pill svg {
  width: 12px;
  height: 12px;
  color: #25d366;
}
.pl-hero h1 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 auto 16px;
  max-width: 820px;
}
.pl-hero-lead {
  font-size: clamp(0.85rem, 1.5vw, 0.96rem);
  color: #555763;
  line-height: 1.55;
  max-width: 660px;
  margin: 0 auto 18px;
}
.pl-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
}
.pl-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #fff;
  border: 1px solid #e7e4ec;
  border-radius: 99px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #2e303d;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.pl-badge svg {
  width: 13px;
  height: 13px;
  color: #f5224d;
  flex-shrink: 0;
}

/* Search & Filter Toolbar */
.pl-toolbar-sticky {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #ebe8ef;
  box-shadow: 0 4px 18px rgba(25, 10, 35, 0.04);
  padding: 12px 0;
  transition: box-shadow 0.2s;
}
.pl-filter-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 1.1fr auto;
  gap: 10px;
  align-items: center;
}
.pl-search-wrap {
  position: relative;
  width: 100%;
}
.pl-search-input {
  width: 100%;
  height: 42px;
  padding: 0 36px 0 40px;
  font-size: 16px;
  font-family: inherit;
  font-weight: 600;
  color: #17181d;
  background: #f7f6f9;
  border: 1.5px solid #e1dde6;
  border-radius: 12px;
  outline: none;
  transition: all 0.2s;
}
.pl-search-input:focus {
  background: #fff;
  border-color: #f5224d;
  box-shadow: 0 0 0 4px rgba(245, 34, 77, 0.12);
}
.pl-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #8c8e9b;
  pointer-events: none;
}
.pl-search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e1dde6;
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #555;
  font-size: 13px;
  padding: 0;
}
.pl-search-clear.visible {
  display: flex;
}

/* Custom Dropdown Styling */
.pl-select-wrap {
  position: relative;
  width: 100%;
}
.pl-select-box {
  position: relative;
  width: 100%;
}
.pl-select {
  width: 100%;
  height: 42px;
  padding: 0 34px 0 14px;
  font-size: 16px;
  font-family: inherit;
  font-weight: 700;
  color: #21222c;
  background: #f7f6f9;
  border: 1.5px solid #e1dde6;
  border-radius: 12px;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: all 0.2s;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.pl-select:focus {
  background: #fff;
  border-color: #f5224d;
  box-shadow: 0 0 0 4px rgba(245, 34, 77, 0.12);
}
.pl-select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: #717382;
  pointer-events: none;
}

/* Reset Button */
.pl-btn-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1.5px solid #e1dde6;
  background: #fff;
  color: #616373;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.pl-btn-reset:hover {
  border-color: #f5224d;
  color: #f5224d;
  background: #fff5f6;
}
.pl-btn-reset svg {
  width: 14px;
  height: 14px;
}

/* Filter Summary Bar */
.pl-filter-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding: 6px 14px;
  background: #fbf6ff;
  border: 1px solid #eddffc;
  border-radius: 8px;
  font-size: 0.78rem;
  color: #4b3469;
}
.pl-filter-summary strong {
  color: #da1742;
}
.pl-filter-summary-clear {
  background: none;
  border: none;
  color: #8b32ac;
  font-weight: 800;
  font-size: 0.74rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.15s;
}
.pl-filter-summary-clear:hover {
  background: #e3d0f7;
}

/* Category Sections */
.pl-content-area {
  padding: 32px 0 48px;
}
.pl-cat-section {
  margin-bottom: 40px;
  scroll-margin-top: 120px;
}
.pl-cat-section.is-hidden {
  display: none;
}
.pl-cat-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0edf4;
}
.pl-cat-title-wrap h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 3px;
  color: #17181d;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pl-cat-title-wrap p {
  margin: 0;
  font-size: 0.84rem;
  color: #6c6f7d;
}
.pl-cat-estimate {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 2px 0 0;
  font-size: 0.82rem;
  color: #686976;
  font-weight: 500;
}
.pl-cat-estimate svg {
  color: #8553ab;
  flex-shrink: 0;
}
.pl-cat-count {
  font-size: 0.74rem;
  font-weight: 700;
  color: #8c8e9b;
  background: #f3f1f6;
  padding: 3px 9px;
  border-radius: 99px;
}

/* Table Card Design */
.pl-scroll-hint {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #8b8798;
  margin-bottom: 8px;
  padding: 0 2px;
}
.pl-scroll-hint svg {
  width: 14px;
  height: 14px;
  color: #f5224d;
}
.pl-table-card {
  background: #fff;
  border: 1px solid #e8e5ec;
  border-radius: 16px;
  box-shadow: 0 3px 16px rgba(24, 12, 34, 0.03);
  overflow: hidden;
}
.pl-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.pl-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  font-size: 0.86rem;
}
.pl-table-caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.pl-table th {
  background: #fbfafc;
  padding: 12px 16px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #555765;
  border-bottom: 1px solid #ebe8ef;
  white-space: nowrap;
}
.pl-table th .th-badge {
  display: block;
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: #8c8e9b;
  margin-top: 1px;
}
.pl-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f2eff5;
  vertical-align: middle;
}
.pl-table tbody tr {
  transition: background 0.15s;
}
.pl-table tbody tr:hover {
  background: #faf8fc;
}
.pl-table tbody tr:last-child td,
.pl-table tbody tr:last-child th {
  border-bottom: none;
}
.pl-table tbody tr.is-hidden {
  display: none;
}
.pl-table tbody th.pl-model-name {
  background: #fff;
  padding: 12px 16px;
  border-bottom: 1px solid #f2eff5;
  vertical-align: middle;
  text-transform: none;
  letter-spacing: normal;
}
.pl-model-name {
  font-weight: 800;
  color: #17181d;
  font-size: 0.9rem;
  white-space: nowrap;
}
.pl-price-val {
  font-weight: 800;
  color: #1b1c24;
  font-size: 0.92rem;
  white-space: nowrap;
}
.pl-price-val.highlight {
  color: #da1742;
}
.pl-price-empty {
  font-weight: 700;
  color: #a4a0af;
  font-size: 1.1rem;
  padding: 0 4px;
}
.pl-price-ask {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #8553ab;
  background: #f6eefc;
  padding: 3px 9px;
  border-radius: 99px;
  white-space: nowrap;
  transition: background 0.2s;
}
.pl-price-ask:hover {
  background: #edd8fa;
}
.pl-row-action {
  text-align: right;
  white-space: nowrap;
}
.pl-btn-chat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 99px;
  background: #25d366;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  transition: transform 0.15s, box-shadow 0.15s;
}
.pl-btn-chat:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  color: #fff;
}
.pl-btn-chat svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

/* No Search Results Card */
.pl-no-results {
  display: none;
  text-align: center;
  padding: 48px 20px;
  background: #fff;
  border: 1.5px dashed #d8d4df;
  border-radius: 20px;
  margin: 20px auto;
  max-width: 500px;
}
.pl-no-results.visible {
  display: block;
}
.pl-no-results h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 8px;
}
.pl-no-results p {
  color: #656776;
  font-size: 0.88rem;
  margin: 0 0 18px;
}

/* FAQ / Guarantee Cards */
.pl-info-section {
  padding: 48px 0;
  background: #fbfafc;
  border-top: 1px solid #ebe8ef;
}
.pl-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.pl-info-card {
  background: #fff;
  border: 1px solid #e7e4eb;
  border-radius: 16px;
  padding: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pl-info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(25, 10, 35, 0.05);
}
.pl-info-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fef0f2;
  color: #f5224d;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.pl-info-icon svg {
  width: 20px;
  height: 20px;
}
.pl-info-card h3 {
  font-size: 0.98rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: #17181d;
}
.pl-info-card p {
  font-size: 0.82rem;
  color: #656775;
  line-height: 1.5;
  margin: 0;
}

/* Quick Inquiry Banner */
.pl-cta-banner {
  margin: 48px 0 0;
  background: linear-gradient(135deg, #20132b, #331548);
  border-radius: 20px;
  padding: 36px 30px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.pl-cta-copy h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  margin: 0 0 6px;
}
.pl-cta-copy p {
  color: #d1c7df;
  margin: 0;
  font-size: 0.9rem;
  max-width: 520px;
}

/* Mobile Responsive Optimization */
@media (max-width: 768px) {
  .site-header {
    height: 64px !important;
  }
  .site-nav {
    z-index: 99 !important;
  }
  .pl-hero {
    padding: 20px 0 16px;
  }
  .pl-hero-top {
    gap: 8px;
    margin-bottom: 8px;
  }
  .pl-breadcrumb {
    font-size: 0.74rem;
  }
  .pl-update-pill {
    font-size: 0.68rem;
    padding: 2px 8px;
  }
  .pl-hero h1 {
    font-size: 1.45rem;
    margin-bottom: 6px;
  }
  .pl-hero-lead {
    font-size: 0.8rem;
    line-height: 1.45;
    margin-bottom: 12px;
  }
  .pl-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .pl-badge {
    padding: 5px 8px;
    font-size: 0.69rem;
    justify-content: center;
    border-radius: 8px;
  }
  .pl-badge svg {
    width: 12px;
    height: 12px;
  }
  .pl-toolbar-sticky {
    padding: 8px 0 8px;
  }
  .liquid-theme.pricelist-page .pl-filter-grid { row-gap: 4px; }
  .liquid-theme.pricelist-page .pl-filter-grid label { margin-bottom: 2px; font-size: .72rem; line-height: 1.2; }
  .pl-filter-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .pl-search-wrap {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }
  .pl-search-input {
    height: 40px;
    padding: 0 32px 0 36px;
    font-size: 16px;
  }
  .pl-search-icon {
    left: 12px;
    width: 14px;
    height: 14px;
  }
  .pl-select {
    height: 40px;
    padding: 0 28px 0 10px;
    font-size: 16px;
    border-radius: 10px;
  }
  .pl-select-arrow {
    right: 8px;
    width: 13px;
    height: 13px;
  }
  .pl-btn-reset {
    display: none; /* hidden on mobile grid to keep dropdowns full width, or reset via summary clear */
  }
  .pl-content-area {
    padding: 20px 0 36px;
  }
  .pl-cat-section {
    margin-bottom: 28px;
    scroll-margin-top: 100px;
  }
  .pl-cat-header {
    margin-bottom: 8px;
  }
  .pl-cat-title-wrap h2 {
    font-size: 1.15rem;
  }
  .pl-cat-title-wrap p {
    font-size: 0.76rem;
  }
  .pl-scroll-hint {
    display: flex;
  }
  .pl-table-card {
    border-radius: 12px;
  }
  .pl-table th, .pl-table td {
    padding: 9px 12px;
    font-size: 0.8rem;
  }
  /* Mobile sticky first column */
  .pl-table th:first-child,
  .pl-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #fff;
    box-shadow: 3px 0 5px -2px rgba(0, 0, 0, 0.08);
  }
  .pl-table thead th:first-child {
    background: #fbfafc;
    z-index: 3;
  }
  .pl-table tbody tr:hover th:first-child {
    background: #faf8fc;
  }
  .pl-table tbody th.pl-model-name {
    padding: 9px 12px;
    font-size: 0.82rem;
  }
  .pl-price-val {
    font-size: 0.84rem;
  }
  .pl-btn-chat {
    padding: 4px 8px;
    font-size: 0.68rem;
  }
  .pl-cta-banner {
    padding: 24px 18px;
    margin: 32px 0 0;
  }
  .pl-cta-copy h2 {
    font-size: 1.25rem;
  }
  .pl-cta-copy p {
    font-size: 0.82rem;
  }
  .pl-info-section {
    padding: 32px 0;
  }
  .pl-info-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
  }
  .pl-info-card {
    padding: 16px;
  }
}

/* Active Nav Indicator for Pricelist Page */
.site-nav a:first-child:not(.active) {
  color: inherit !important;
}
.site-nav a:first-child:not(.active):after {
  display: none !important;
  content: none !important;
}
.site-nav a.active {
  color: #e83c51 !important;
}
.site-nav a.active:after {
  content: "" !important;
  display: block !important;
  position: absolute;
  bottom: -9px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #f74148;
}
@media (max-width: 1050px) {
  .site-nav a.active:after {
    display: none !important;
  }
}
