/* AirKicks – Variant boxes + drobné úpravy UI
   ========================================================= */

/* =========================================================
   1) DETAIL: skryť pôvodné bloky a prvky čo nahrádzaš custom UI
   ========================================================= */
#simple-variants-select { display: none !important; }

.detail-price-block.detail-grid-item,
.detail-availability-block.detail-grid-item,
.widget-parameter-list,
.quantity,
.amount,
header[itemprop="headline"] {
  display: none !important;
}

/* na mobile schovať aj tvoj custom "Cena" box */
@media (max-width: 640px) {
  #ak-price { display: none !important; }
}

/* CTA button na detaile – full šírka + centrovanie */
.p-info-wrapper .btn.btn-conversion,
.p-info-wrapper a.btn.btn-conversion {
  width: -webkit-fill-available !important;
}
.btn.btn-conversion,
a.btn.btn-conversion {
  justify-content: center !important;
}

/* =========================================================
   2) Variant boxes (custom UI namiesto selectu)
   ========================================================= */
.variant-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
  margin-bottom: -30px !important; /* nechávam ako si mal */
}

.variant-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  min-height: 56px;

  border: 1px solid #d0d0d0;
  border-radius: 10px;
  background: #fff;

  cursor: pointer;
  user-select: none;
  text-align: center;
  line-height: 1.2;
  outline: none;

  transition: transform .12s, box-shadow .12s, border-color .12s, background .12s;

  flex: 0 0 88px;
  width: 88px;
}

.variant-box:hover {
  background: #f7f7f7;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transform: translateY(-1px);
}

.variant-box.active {
  border: 2px solid #111;
  background: #eee;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
}

.variant-box.disabled {
  opacity: .45;
  cursor: not-allowed;
  filter: grayscale(.2);
}

.variant-box:focus-visible {
  box-shadow: 0 0 0 3px rgba(0,0,0,.12), 0 4px 14px rgba(0,0,0,.08);
  border-color: #111;
}

.variant-box .variant-size {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2px;
  white-space: nowrap;
}

.variant-box .variant-price {
  margin-top: 2px;
  font-size: 12px;
  color: #555;
  white-space: nowrap;
}

/* variant tabulka – drobnosť */
tr.variant-list.variant-not-chosen-anchor th:first-child { display: none !important; }

@media (max-width: 480px){
  .variant-boxes{
    display:grid;
    grid-template-columns:repeat(5, minmax(0, 1fr));
    gap:6px;
    margin:12px 0;
    margin-bottom:-30px!important;
  }
  .variant-box{
    width:auto!important;
    flex:unset!important;
    min-height:52px;
    padding:8px 6px;
    box-sizing:border-box;
    -webkit-tap-highlight-color:transparent;
  }
}
@media (max-width: 390px){
  .variant-boxes{ grid-template-columns:repeat(4, minmax(0, 1fr)); }
}



/* =========================================================
   3) Color options (grid + mobile slider)
   ========================================================= */
.color-options-container {
  margin: 20px 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.color-options-title {
  font-weight: 600;
  font-size: 15px;
  color: #111;
  margin-bottom: 12px;
}

.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.color-option {
  width: 78px;
  height: 78px;
  border-radius: 10px;

  background-size: cover;
  background-position: center;
  background-color: #fff;

  border: 1px solid #ddd;
  display: block;

  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.color-option:hover {
  transform: scale(1.05);
  border-color: #aaa;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

/* mobile slider */
@media (max-width: 640px) {
  .color-options {
    overflow-x: auto;
    flex-wrap: nowrap;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .color-option {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
  .color-options::-webkit-scrollbar { display: none; }
}

/* =========================================================
   4) Trust badges pod "Do košíka"
   ========================================================= */
.ak-trust-badges {
  margin-top: 14px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

@media (min-width: 860px) {
  .ak-trust-badges { grid-template-columns: 1fr 1fr; }
}

.ak-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;

  border-radius: 14px;
  background: #fff;
  color: #111;
  border: 1px solid #e8e8e8;

  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ak-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.ak-badge__icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: #111;
}

.ak-badge__title {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  margin: 0;
}

.ak-badge__desc {
  font-size: 12px;
  color: #555;
  margin: 2px 0 0;
}

/* dark mode */
.dark .ak-badge {
  background: #171717;
  color: #fff;
  border-color: #2b2b2b;
}
.dark .ak-badge__desc { color: #c8c8c8; }
.dark .ak-badge__icon { color: #fff; }

/* =========================================================
   5) Sociálne + Instagram layout drobnosti
   ========================================================= */
.social-buttons,
.social-buttons-wrapper {
  display: none !important;
}

.instagram-block { margin-top: -20px !important; }

/* =========================================================
   6) Navigácia (menu-level-3 forced open)
   ========================================================= */
.navigation-in > ul ul.menu-level-3 { display: block !important; }

/* =========================================================
   7) Homepage / listy / typografia
   ========================================================= */
.content-wrapper.container .products-group { margin-top: 20px !important; }
.homepage-box.before-carousel { margin-bottom: -50px !important; }

.type-page .content-inner article ol>li,
.type-page .content-inner article ul>li {
  color: #888 !important;
}

/* =========================================================
   8) CTA tlačidlá v kategóriách
   ========================================================= */
.ctgr_btn, .ctgr_btn2 {
  display: inline-block;
  width: 200px;
  margin: 5px;
  padding: 12px 24px;

  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  text-align: center;

  border-radius: 8px;
  transition: background .3s, transform .3s, box-shadow .3s;
}

.ctgr_btn  { background: #000; }
.ctgr_btn2 { background: #1c2833; }

.ctgr_btn:hover, .ctgr_btn2:hover {
  background: #444;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,.3);
}

@media (max-width: 480px) {
  .ctgr_btn, .ctgr_btn2 {
    width: auto;
    padding: 8px 16px;
    font-size: 12px;
  }
}

/* =========================================================
   9) Karusel – ak rušia bodky
   ========================================================= */
.carousel-indicators { display: none; }

/* =========================================================
   10) Size table (FAQ / tabuľky veľkostí)
   ========================================================= */
.size-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;

  font-family: "Poppins", system-ui, sans-serif;
  font-size: 14px;
  text-align: center;

  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.size-table thead {
  background: #000;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
}

.size-table th,
.size-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #e4e4e4;
}

.size-table tr:last-child td { border-bottom: none; }

.size-table tbody tr:nth-child(even) { background: #f9f9f9; }
.size-table tbody tr:hover {
  background: #f2f2f2;
  transition: background 0.25s;
}

.size-table td:last-child { color: #333; font-weight: 500; }
.size-table th,
.size-table td:first-child { font-weight: 600; }

@media (max-width: 480px) {
  .size-table { font-size: 12px; }
  .size-table th, .size-table td { padding: 8px 4px; }
}

/* =========================================================
   11) Mobile: väčšie CTA tlačidlo na detaile
   ========================================================= */
@media (max-width: 480px) {
  .p-info-wrapper .btn.btn-conversion,
  .p-info-wrapper a.btn.btn-conversion {
    font-size: 20px !important;
  }
}

/* =========================================================
   12) Drobnosť: radius pre add-to-cart button (ak chceš)
   ========================================================= */
.btn-conversion.add-to-cart-button { border-radius: 8px !important; }
