/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

#image_crop.img {
    display: block;
    max-width: 100%;
}


  /* Pasek postępu */
    #progress {
      display: none;
      width: 100%;
      background: #f3f3f3;
      border: 1px solid #ddd;
      border-radius: 4px;
      height: 25px;
      margin-top: 10px;
      position: relative;
      overflow: hidden;
    }
    #progress .bar {
      width: 0%;
      height: 100%;
      background: #4caf50;
      transition: width 0.2s ease;
    }
    #progress .percent {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      line-height: 25px;
      font-weight: bold;
      color: #333;
    }
    /* Popup błędu – wyśrodkowany i tekst wyjustowany */
    .error-popup {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      max-width: 300px;
      width: 80%;
      background: #e74c3c;
      color: #fff;
      padding: 20px 20px 20px 20px;
      border-radius: 6px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.3);
      z-index: 1000;
      cursor: default;
      min-width: 600px;
      text-align: center;
    }
    .error-popup .close-btn {
      position: absolute;
      top: 8px;
      right: 12px;
      font-weight: bold;
      font-size: 18px;
      line-height: 1;
      cursor: pointer;
    }

    /* Dodaj do istniejącego <style> */

/* Kontener‐overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  z-index: 999;
}

/* Popup z progres barem */
.progress-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 320px;
  width: 80%;
  background: #fff;
  color: #333;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  z-index: 1000;
  text-align: center;
}

/* Sam pasek */
.progress-popup .bar-container {
  background: #f3f3f3;
  border-radius: 4px;
  overflow: hidden;
  height: 20px;
  margin: 15px 0;
}
.progress-popup .bar {
  width: 0%;
  height: 100%;
  background: #2196F3; /* najczęściej spotykany niebieski pasek */
  transition: width 0.2s ease;
}
.progress-popup .percent {
  font-weight: bold;
}

.sendbtn, .resendbtn {
    margin-top: 20px;
    text-align: center;
}



/* Kontener na 100% */
table.variations {
  width: 100%;
  border-collapse: collapse; /* usuwa odstępy tabeli */
}

/* Ustawiamy tr obok siebie, każdy zajmuje 50% */
table.variations tbody {
  display: flex;
  width: 100%;
}

table.variations tr {
  flex: 1;                 /* każdy zajmuje tyle samo miejsca */
  display: flex;
  flex-direction: column;  /* label nad selectem */
  align-items: center;     /* wyśrodkowanie */
  gap: 6px;
  box-sizing: border-box;
}

/* Label */
table.variations th.label {
  text-align: center;
  font-weight: 600;
  width: 100%;
}

/* Wartość (select + reset) */
table.variations td.value {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
}

/* Selecty jednakowej szerokości */
table.variations td.value select {
  width: 80%; /* np. 80% szerokości kolumny */
  max-width: 200px; /* możesz ustawić stałą max szerokość */
  box-sizing: border-box;
  text-align: center;
}


.ast-shipping-text {
    display: none !important;
}

h1.product_title.entry-title {
    font-size: 25px !important;
}

.woocommerce div.product form.cart .button.single_add_to_cart_button {
    width: 75%;
    text-align: center;
}

.woocommerce-variation.single_variation
{
  display: none !important;
}


.custom-message {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.option-group {
    margin-bottom: 15px;
}

.option-label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.option-select {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.option-select:focus {
    border-color: #0073aa;
    box-shadow: 0 0 4px rgba(0,115,170,0.4);
    outline: none;
}

.reset_variations
{
  display: none !important;
}
div#more_cart {
    text-align: center;
    padding-bottom: 10px;
}

.tabs.wc-tabs {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
  border-bottom: 2px solid #ddd;
}

.tabs.wc-tabs li {
  flex: 1; /* każdy li zajmuje równą szerokość */
  text-align: center;
  margin: 0 !important;
}

.tabs.wc-tabs li a {
  display: block;
  width: 100%;
  padding: 12px 0;
  text-decoration: none;
  color: white !important;
  background: var(--ast-global-color-0);
  border-right: 1px solid #ddd;
  transition: background 0.3s ease, color 0.3s ease;
}

.tabs.wc-tabs li:last-child a {
  border-right: none;
}

.tabs.wc-tabs li.active a,
.tabs.wc-tabs li a:hover {
  background: #0073aa;
  color: #fff;
}


.cropper-drag-box {
    opacity: 0.6 !important;
    background-image: repeating-conic-gradient(#ccc 0% 25%, transparent 0% 50%);
    background-size: 20px 20px;
}
.cropper-line, .cropper-point {
    opacity: .7 !important;
}

img.lastupload {
    max-width: 150px;
    max-height: 150px;
    width: auto !important;
}

div#boki_txt {
    width: 50%;
    float: left;
}
.buttony-obrazki button {
    font-size: 13px;
    margin: 5px;
    text-align: left;
    padding: 15px !important;
}
.list-unstyled
{
  list-style: none;
  margin-left: 0;
}

@media (max-width: 767px) { /* Typowy breakpoint dla urządzeń mobilnych */
    .tabs.wc-tabs {
        display: block !important;
    }
}

.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item {
    line-height: 24px;
}


.menu-item-3223 .menu-link {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white !important;
    font-weight: 700;
    /*padding: 12px 20px;*/
    border-radius: 25px;
    /*margin: 0 5px;*/
    text-align: center;
    box-shadow: 0 4px 15px rgba(238, 90, 36, 0.3);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.menu-item-3223 .menu-link:hover {
    background: linear-gradient(135deg, #ee5a24, #ff6b6b);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 90, 36, 0.4);
    color: white !important;
}

.menu-item-3223 .menu-link b {
    color: white !important;
    font-size: 1.1em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .menu-item-3223 .menu-link {
        margin: 5px 0;
        border-radius: 20px;
        line-height: 28px;
        width: 80% !important;
        text-align: center;
    }
    li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-3223 {
      text-align: center;
    }
}

.postid-3294 .price, .postid-3294 .variations
{
    display: none !important;
}