/* === Produkty custom === */

.container.custom-products-container {
    margin: 50px 0;
}

.custom-products-page .products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.custom-products-page .product-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #16181d 0%, #101216 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 20px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(0, 149, 255, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.custom-products-page .product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(0, 149, 255, 0.16), transparent 35%),
    radial-gradient(circle at bottom left, rgba(0, 102, 255, 0.12), transparent 30%);
  pointer-events: none;
}

.custom-products-page .product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 149, 255, 0.28);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.45),
    0 0 25px rgba(0, 149, 255, 0.12);
}

.custom-products-page .product-card a {
  text-decoration: none;
}

.custom-products-page .product-thumb {
  position: relative;
  margin-bottom: 18px;
  border-radius: 16px;
  overflow: hidden;
  background: #0d1015;
  border: 1px solid rgba(255,255,255,0.06);
}

.custom-products-page .product-thumb img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.custom-products-page .product-card:hover .product-thumb img {
  transform: scale(1.04);
}

.custom-products-page .product-card h2 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-align: center;
}

.custom-products-page .product-price {
  margin-bottom: 14px;
  font-size: 24px;
  font-weight: 800;
  color: #3aa0ff;
  text-shadow: 0 0 12px rgba(58, 160, 255, 0.18);
  text-align: center;
}

.custom-products-page .product-price .woocommerce-Price-currencySymbol {
  opacity: 0.9;
}

.custom-products-page .product-excerpt {
  margin-bottom: 20px;
  color: rgba(255,255,255,0.72);
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
}

.custom-products-page .product-actions {
  margin-top: auto;
}

.custom-products-page .product-card .button,
.custom-products-page .product-card .add_to_cart_button,
.woocommerce .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 10px;
  padding: 13px 25px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(58, 160, 255, 0.45) !important;
  background: linear-gradient(180deg, #1f8fff 0%, #006eff 100%) !important;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700 !important;
  text-align: center;
  text-decoration: none;
  box-shadow:
    0 8px 20px rgba(0, 110, 255, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.custom-products-page .product-card .button:hover,
.custom-products-page .product-card .add_to_cart_button:hover,
.woocommerce .button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    0 14px 28px rgba(0, 110, 255, 0.35),
    0 0 20px rgba(58, 160, 255, 0.2);
  color: #ffffff;
  background: linear-gradient(180deg, #1f8fff 0%, #006eff 100%);
}

.custom-products-page .product-card .button:focus,
.custom-products-page .product-card .add_to_cart_button:focus {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(58, 160, 255, 0.2),
    0 10px 25px rgba(0, 110, 255, 0.35);
}

.custom-products-page .product-card .added_to_cart {
  display: inline-block;
  margin-top: 12px;
  color: #8cc8ff;
  font-size: 14px;
}

.custom-products-page .products-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* wyśrodkowanie */
}

.custom-products-page .product-card {
  width: 100%;
  max-width: 31%;
  flex: 0 0 31%;
  margin: 1%
}

.custom-products-title {
  font-family: "Geologica", sans-serif;
  font-size: 38px;
  line-height: 1.1;
  font-weight: 700;
  color: #ededed;
  text-align: center;
  margin: 0 0 20px;
    margin-bottom: 40px;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.08),
    0 0 25px rgba(0, 110, 255, 0.15);
}


.actions .button {
  background: unset !important;
  max-width: 200px;
}

.cart-subtotal th, .cart-subtotal td {
  background-color: transparent !important;
}


.woocommerce-variation-description {
  font-size: 14px;
}


@media (max-width: 767px) {
  .custom-products-page .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .custom-products-page .product-thumb img {
    height: 220px;
  }

  .custom-products-page .product-card {
    padding: 16px;
    border-radius: 16px;
  }

  .custom-products-page .product-card h2 {
    font-size: 20px;
  }

  .custom-products-page .product-price {
    font-size: 22px;
  }
}


/* 
product page */


/* === Single Product FitFive === */

.custom-single-product-page {
  padding: 50px 20px 80px;
}

.custom-single-product-page .container {
  max-width: 1200px;
  margin: 0 auto;
}

.custom-single-product-page .product {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px;
}

/* LEWA KOLUMNA */
.custom-single-product-page .woocommerce-product-gallery {
  flex: 0 0 48%;
  max-width: 48%;
  background: linear-gradient(180deg, #16181d 0%, #101216 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 24px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(0, 149, 255, 0.04);
  overflow: hidden;
}

.custom-single-product-page .woocommerce-product-gallery__wrapper {
  border-radius: 18px;
  overflow: hidden;
  background: #0d1015;
}

.custom-single-product-page .woocommerce-product-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
}

/* PRAWA KOLUMNA */
.custom-single-product-page .summary.entry-summary {
  flex: 0 0 calc(52% - 48px);
  max-width: calc(52% - 48px);
  background: linear-gradient(180deg, #16181d 0%, #101216 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 32px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(0, 149, 255, 0.04);
  position: relative;
  overflow: hidden;
}

.custom-single-product-page .summary.entry-summary::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(0, 149, 255, 0.16), transparent 35%),
    radial-gradient(circle at bottom left, rgba(0, 102, 255, 0.12), transparent 30%);
  pointer-events: none;
}

.custom-single-product-page .summary.entry-summary > * {
  position: relative;
  z-index: 1;
}

.custom-single-product-page .product_title.entry-title {
  margin: 0 0 8px;
  font-family: "Geologica", sans-serif;
  font-size: 38px;
  line-height: 1.1;
  font-weight: 700;
  color: #ededed;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.08),
    0 0 25px rgba(0, 110, 255, 0.15);
    text-align: left;
}

table.variations td, table.variations th {
padding: 0;
}

.sku_wrapper {
display: none;
}

.summary.entry-summary .price ins span {
text-decoration: unset;
color: #fff;
font-size: 28px !important;
}

.summary.entry-summary .price ins  {
text-decoration: unset;
}

.woocommerce div.product span.price del .woocommerce-Price-amount.amount {
font-size: 20px;
font-weight: 400;
}

.reset_variations {
position: absolute;
bottom: 0;
}

.variations {
position: relative;
padding-bottom: 15px;
}

.variations tr th {
text-align: left;
}

.woocommerce-variation.single_variation {
margin-bottom: 30px;
}

.summary.entry-summary .price span {
font-size: 20px;
font-weight: 500;
}

.custom-single-product-page .summary .price {
  margin: 0 0 14px;
  font-size: 32px;
  font-weight: 800;
  color: #3aa0ff;
  text-shadow: 0 0 12px rgba(58, 160, 255, 0.18);
}

.custom-single-product-page .summary .price .woocommerce-Price-currencySymbol {
  opacity: 0.95;
}

/* FORMULARZ KUPNA */
.custom-single-product-page form.cart {
  display: flex;
  align-items: stretch;
  gap: 14px;
  margin: 0 0 24px;
  flex-wrap: wrap;
}

.custom-single-product-page .quantity {
  margin: 0;
}

.custom-single-product-page .quantity .qty {
  width: 100px;
  min-height: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-size: 16px;
  text-align: center;
  outline: none;
  box-shadow: none;
}

.custom-single-product-page .quantity .qty:focus {
  border-color: rgba(58, 160, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(58, 160, 255, 0.15);
}

.custom-single-product-page .single_add_to_cart_button.button.alt {
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid rgba(58, 160, 255, 0.45);
  background: linear-gradient(180deg, #1f8fff 0%, #006eff 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow:
    0 8px 20px rgba(0, 110, 255, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.custom-single-product-page .single_add_to_cart_button.button.alt:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    0 14px 28px rgba(0, 110, 255, 0.35),
    0 0 20px rgba(58, 160, 255, 0.2);
  color: #fff;
}

/* META */
.custom-single-product-page .product_meta {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.72);
  font-size: 14px;
}

.custom-single-product-page .product_meta a {
  color: #8cc8ff;
  text-decoration: none;
}

/* TABS / OPINIE POD SPODEM */
.custom-single-product-page .woocommerce-tabs {
  flex: 0 0 100%;
  max-width: 100%;
  margin-top: 10px;
  background: linear-gradient(180deg, #16181d 0%, #101216 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 28px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(0, 149, 255, 0.04);
}

.custom-single-product-page .wc-tabs {
  display: flex;
  gap: 12px;
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.custom-single-product-page .wc-tabs li {
  margin: 0;
}

.custom-single-product-page .wc-tabs li a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: #ededed;
  text-decoration: none;
}

.custom-single-product-page .wc-tabs li.active a {
  background: linear-gradient(180deg, #1f8fff 0%, #006eff 100%);
  color: #fff;
}

.custom-single-product-page .woocommerce-Tabs-panel,
.custom-single-product-page #reviews,
.custom-single-product-page .entry-content,
.custom-single-product-page .woocommerce-Reviews-title,
.custom-single-product-page .woocommerce-noreviews,
.custom-single-product-page .comment-reply-title,
.custom-single-product-page label,
.custom-single-product-page p,
.custom-single-product-page h2,
.custom-single-product-page h3 {
  color: #ededed;
}

.custom-single-product-page textarea,
.custom-single-product-page input[type="text"],
.custom-single-product-page input[type="email"] {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: #fff;
  padding: 14px 16px;
}

.custom-single-product-page input.submit,
.custom-single-product-page button.submit {
  border-radius: 999px;
  border: 1px solid rgba(58, 160, 255, 0.45);
  background: linear-gradient(180deg, #1f8fff 0%, #006eff 100%);
  color: #fff;
  padding: 12px 22px;
  font-weight: 700;
}

.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
  width: 100%;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 1024px) {
  .custom-single-product-page .woocommerce-product-gallery,
  .custom-single-product-page .summary.entry-summary {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .custom-single-product-page {
    padding: 30px 16px 60px;
  }

  .custom-single-product-page .product {
    gap: 24px;
  }

  .custom-single-product-page .woocommerce-product-gallery,
  .custom-single-product-page .summary.entry-summary,
  .custom-single-product-page .woocommerce-tabs {
    border-radius: 18px;
    padding: 18px;
  }



  .custom-single-product-page .summary .price {
    font-size: 26px;
  }

  .custom-single-product-page form.cart {
    flex-direction: column;
  }

  .custom-single-product-page .quantity .qty,
  .custom-single-product-page .single_add_to_cart_button.button.alt {
    width: 100%;
  }
}


.custom-single-product-page .price {
  font-size: 29px !important;
  font-weight: 800 !important;
  color: #3aa0ff !important;
  text-shadow: 0 0 12px rgba(58, 160, 255, 0.18) !important;
}

.custom-single-product-page  .woocommerce-product-details__short-description {
  font-size: 18px !important;
}

.custom-single-product-page .product {
  align-items: stretch;
}

.custom-single-product-page .summary.entry-summary {
  display: flex;
  flex-flow: column;
  justify-content: center;
}

.variations th , .variations td {
  background-color: unset !important;
}

/* === WooCommerce Toast Notification === */

.woocommerce-notices-wrapper {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: 100%;
  max-width: 1000px;
  pointer-events: none; /* żeby klik działał tylko na buttonie */
}

.woocommerce-message {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  background: linear-gradient(180deg, #16181d 0%, #101216 100%);
  border: 1px solid rgba(58, 160, 255, 0.25);
  border-radius: 16px;

  padding: 16px 20px;
  color: #ededed;
  font-size: 14px;
  line-height: 1.5;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(0, 110, 255, 0.15);

  backdrop-filter: blur(6px);

  pointer-events: auto; /* przycisk działa */

  animation: toastSlideUp 0.4s ease;
}

/* glow efekt */
.woocommerce-message::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background:
    radial-gradient(circle at right, rgba(0, 149, 255, 0.2), transparent 40%);
  pointer-events: none;
}

/* przycisk */
.woocommerce-message .button.wc-forward {
  flex-shrink: 0;

  border-radius: 999px;
  padding: 10px 16px;

  background: linear-gradient(180deg, #1f8fff 0%, #006eff 100%);
  border: 1px solid rgba(58, 160, 255, 0.45);
width: max-content;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;

  box-shadow:
    0 6px 16px rgba(0, 110, 255, 0.25),
    inset 0 1px 0 rgba(255,255,255,0.15);

  transition: all 0.25s ease;
}

.woocommerce-message .button.wc-forward:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow:
    0 10px 20px rgba(0, 110, 255, 0.35),
    0 0 15px rgba(58, 160, 255, 0.2);
}

/* animacja */
@keyframes toastSlideUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}


/* === Cart / Koszyk FitFive === */
/* === CART FITFIVE FINAL === */

/* spacing */
.woocommerce-cart .site-main,
.custom-cart-page {
  padding: 50px 20px 80px;
}
#tab-description {
font-size: 18px;
}

.related.products .products.columns-4 {
width: 100% !important;
}
.related.products {
width: 100%;
}
/* === LAYOUT 70 / 30 === */

.woocommerce-cart .woocommerce {
  max-width: 1320px;
  margin: 0 auto;
  display: block;
}

/* lewa strona */
.woocommerce-cart .woocommerce-cart-form {
  width: 70%;
  float: left;
}

/* prawa strona */
.woocommerce-cart .cart-collaterals {
  width: 30%;
  float: left;
  padding-left: 30px;
}

/* clearfix */
.woocommerce-cart .woocommerce::after {
  content: "";
  display: block;
  clear: both;
}

/* === FONT FIX (ważne u Ciebie) === */

.woocommerce-cart .woocommerce *,
.woocommerce-cart .woocommerce {
  font-size: 15px !important;
  box-sizing: border-box;
}

/* === TABELA → KARTY === */

.woocommerce-cart table.shop_table.cart {
  border: none;
  background: transparent;
  box-shadow: none;
}

.woocommerce-cart table.shop_table.cart thead {
  display: none;
}

.woocommerce-cart table.shop_table.cart tbody {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* karta produktu */
.woocommerce-cart table.shop_table.cart tr.cart_item {
  display: grid;
  grid-template-columns: 46px 90px 1fr 120px 100px 120px;
  align-items: center;
  gap: 18px;

  background: linear-gradient(180deg, #16181d 0%, #101216 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 20px;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.35),
    0 0 0 1px rgba(0,149,255,0.04);

  transition: all 0.25s ease;
}

.woocommerce-cart table.shop_table.cart tr.cart_item:hover {
  transform: translateY(-4px);
  border-color: rgba(0,149,255,0.25);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.45),
    0 0 25px rgba(0,149,255,0.12);
}

/* usuń stare style td */
.woocommerce-cart table.shop_table.cart td {
  border: none;
  padding: 0;
}

/* remove */
.woocommerce-cart .product-remove a.remove {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: #ff6b6b !important;
  font-size: 22px !important;
}

/* obrazek */
.woocommerce-cart .product-thumbnail img {
  width: 80px;
  height: 80px;
  border-radius: 14px;
}

/* nazwa */
.woocommerce-cart .product-name a {
  font-family: "Geologica", sans-serif;
  font-size: 18px !important;
  font-weight: 700;
  color: #fff;
}

/* ceny */
.woocommerce-cart .product-price *,
.woocommerce-cart .product-subtotal * {
  font-size: 17px !important;
  font-weight: 800;
  color: #3aa0ff;
}

/* ilość */
.woocommerce-cart .quantity .qty {
  width: 80px;
  min-height: 45px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
}

/* === KUPON / ACTIONS === */

.woocommerce-cart tr:last-child {
  margin-top: 10px;
  width: 100%;
  background: linear-gradient(180deg, #16181d 0%, #101216 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 20px;
}

.woocommerce-cart td.actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.woocommerce-cart .coupon {
  display: flex;
  gap: 12px;
}

.woocommerce-cart input#coupon_code {
  min-height: 45px;
  border-radius: 12px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
}

/* button */
.woocommerce-cart .button {
  border-radius: 999px;
  padding: 12px 18px;
  background: linear-gradient(180deg, #1f8fff 0%, #006eff 100%);
  border: 1px solid rgba(58,160,255,0.45);
  color: #fff !important;
  font-weight: 700;
}

/* === PODSUMOWANIE === */

.woocommerce-page #content {
  max-width: 1320px;
  padding-left: 0;
  padding-right: 0;
}

.woocommerce-cart .cart_totals {
  width: 100%;
  background: linear-gradient(180deg, #16181d 0%, #101216 100%);
  border-radius: 24px;
  padding: 28px;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.35),
    0 0 0 1px rgba(0,149,255,0.04);

  position: sticky;
  top: 120px;
}

.woocommerce-cart .cart_totals h2 {
  font-size: 28px !important;
  color: #ededed;
}

.woocommerce-cart .cart_totals table {
  width: 100%;
}

.woocommerce-cart .cart_totals td {
  text-align: right;
}

.woocommerce-cart .order-total *,
.woocommerce-cart .amount {
  font-size: 18px !important;
  font-weight: 800;
  color: #3aa0ff;
}

.woocommerce-cart .checkout-button {
  width: 100%;
  margin-top: 20px;
}

/* === MOBILE === */

@media (max-width: 1024px) {
  .woocommerce-cart .woocommerce-cart-form,
  .woocommerce-cart .cart-collaterals {
    width: 100%;
    float: none;
    padding-left: 0;
  }
}


/* Inline | https://fitfivemarketing.pl/koszyk/ */

.actions {
}

.actions .button {
  background: unset !important;
  width: ;
  max-width: 200px;
}

.coupon {
}

.cart-subtotal th, .cart-subtotal td {
  background-color: transparent !important;
}

.woocommerce #content table.cart td.actions .input-text, .woocommerce table.cart td.actions .input-text, .woocommerce-page #content table.cart td.actions .input-text, .woocommerce-page table.cart td.actions .input-text {
  width: 220px;
}

#add_payment_method table.cart img, .woocommerce-cart table.cart img, .woocommerce-checkout table.cart img {
  width: 92px;
}

#add_payment_method .cart-collaterals .cart_totals tr td, #add_payment_method .cart-collaterals .cart_totals tr th, .woocommerce-cart .cart-collaterals .cart_totals tr td, .woocommerce-cart .cart-collaterals .cart_totals tr th, .woocommerce-checkout .cart-collaterals .cart_totals tr td, .woocommerce-checkout .cart-collaterals .cart_totals tr th {
  border-top: unset;
}

.woocommerce-cart table.shop_table.cart td {
  background-color: transparent;
}



#add_payment_method table.cart td.actions .coupon .coupon-error-notice, .woocommerce-cart table.cart td.actions .coupon .coupon-error-notice, .woocommerce-checkout table.cart td.actions .coupon .coupon-error-notice {
  color: #fff;
  font-style: italic;
  font-size: 14px;
}

/* zamowienie */

/* === CHECKOUT FITFIVE === */

/* spacing */
.woocommerce-checkout .site-main,
.custom-checkout-page {
  padding: 50px 20px 80px;
}

/* wrapper */
.woocommerce-checkout #content {
  max-width: 1320px;
  padding-left: 0;
  padding-right: 0;
}

.woocommerce-checkout form.checkout.woocommerce-checkout {
  max-width: 1320px;
  margin: 0 auto;
}

/* fix na Twój font-size:0 */
.woocommerce-checkout,
.woocommerce-checkout * {
  box-sizing: border-box;
  font-size: 15px !important;
}

/* ===== GŁÓWNY UKŁAD ===== */
.woocommerce-checkout .col2-set#customer_details {
  width: 65%;
  margin-right: 1%;
  float: left;
  display: block;
}

.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  width: 34%;
  float: left;
  padding-left: 30px;
}

#payment .woocommerce-info {
margin-bottom: 0;
}

.woocommerce-checkout form.checkout::after {
  content: "";
  display: block;
  clear: both;
}

/* ukryj osobny heading po lewej jeśli przeszkadza */
.woocommerce-checkout #customer_details::after {
  content: "";
  display: block;
  clear: both;
}

/* ===== LEWA STRONA ===== */
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
  width: 100%;
  float: none;
  margin: 0 0 24px;
}

/* sekcje formularza */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-additional-fields {
  background: linear-gradient(180deg, #16181d 0%, #101216 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 28px;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.35),
    0 0 0 1px rgba(0,149,255,0.04);
}

/* nagłówki */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3,
.woocommerce-checkout #order_review_heading {
  margin: 0 0 22px;
  font-family: "Geologica", sans-serif;
  font-size: 30px !important;
  line-height: 1.15;
  font-weight: 700;
  color: #ededed;
  text-shadow:
    0 0 10px rgba(255,255,255,0.08),
    0 0 25px rgba(0,110,255,0.15);
}

/* dwa pola obok siebie */
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
  width: calc(50% - 10px);
  float: left;
}

.woocommerce-checkout .form-row-first {
  margin-right: 20px;
}

.woocommerce-checkout .form-row-wide {
  width: 100%;
  float: none;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper::after,
.woocommerce-checkout .woocommerce-additional-fields__field-wrapper::after {
  content: "";
  display: block;
  clear: both;
}

/* label */
.woocommerce-checkout label {
  display: block;
  margin-bottom: 8px;
  color: #ededed;
  font-weight: 600;
  font-size: 14px !important;
}

/* inputy */
.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce-checkout .select2-selection--single {
  width: 100%;
  min-height: 52px;
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  background: rgba(255,255,255,0.04) !important;
  color: #ffffff !important;
  padding: 12px 16px !important;
  box-shadow: none !important;
}

/* textarea */
.woocommerce-checkout textarea {
  min-height: 120px;
  resize: vertical;
  padding-top: 14px !important;
}

/* placeholder */
.woocommerce-checkout input::placeholder,
.woocommerce-checkout textarea::placeholder {
  color: rgba(255,255,255,0.45) !important;
}

/* focus */
.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout .select2-selection--single:focus {
  border-color: rgba(58,160,255,0.45) !important;
  box-shadow: 0 0 0 3px rgba(58,160,255,0.15) !important;
  outline: none;
}

/* select2 */
.woocommerce-checkout .select2-container--default .select2-selection--single {
  display: flex;
  align-items: center;
  height: 52px;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #fff !important;
  line-height: normal !important;
  padding-left: 0 !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100% !important;
  right: 12px !important;
}

/* błędy */
.woocommerce-checkout .woocommerce-invalid input,
.woocommerce-checkout .woocommerce-invalid .select2-selection--single {
  border-color: rgba(255, 80, 80, 0.65) !important;
}

/* ===== PRAWA STRONA ===== */
.woocommerce-checkout #order_review_heading {
  display: none;
}

.woocommerce-checkout #order_review {
  background: linear-gradient(180deg, #16181d 0%, #101216 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 28px;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.35),
    0 0 0 1px rgba(0,149,255,0.04);
  position: sticky;
  top: 120px;
}

/* tabela podsumowania */
.woocommerce-checkout table.shop_table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
  border: none;
  margin: 0 0 20px;
}

.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #ededed;
  font-size: 15px !important;
  background: transparent;
}

.woocommerce-checkout table.shop_table th {
  text-align: left;
  font-weight: 700;
}

.woocommerce-checkout table.shop_table td {
  text-align: right;
}

.woocommerce-checkout .product-name,
.woocommerce-checkout .product-total {
  color: #ededed;
}

.woocommerce-checkout .amount,
.woocommerce-checkout .amount *,
.woocommerce-checkout .order-total td,
.woocommerce-checkout .order-total td * {
  color: #3aa0ff !important;
  font-weight: 800;
  font-size: 18px !important;
  text-shadow: 0 0 12px rgba(58,160,255,0.14);
}

/* payment box */
.woocommerce-checkout #payment {
  background: transparent;
  border: none;
  margin-top: 10px;
}

.woocommerce-checkout #payment ul.payment_methods {
  padding: 0;
  margin: 0 0 20px;
  list-style: none;
  border: none;
}

.woocommerce-checkout #payment ul.payment_methods li {
  margin: 0 0 12px;
}

/* info */
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-message {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #ededed;
  border-radius: 16px;
  padding: 16px 18px;
}

/* polityka prywatności */
.woocommerce-checkout .woocommerce-privacy-policy-text,
.woocommerce-checkout .woocommerce-privacy-policy-text p,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper * {
  color: rgba(255,255,255,0.72);
  font-size: 14px !important;
  line-height: 1.6;
}

.woocommerce-checkout .woocommerce-privacy-policy-text a {
  color: #8cc8ff;
}

/* przycisk finalny */
.woocommerce-checkout #place_order,
.woocommerce-checkout .button.alt,
.woocommerce-checkout button.button,
.woocommerce-checkout input.button {
  width: 100%;
  min-height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(58,160,255,0.45);
  background: linear-gradient(180deg, #1f8fff 0%, #006eff 100%);
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 8px 20px rgba(0,110,255,0.28),
    inset 0 1px 0 rgba(255,255,255,0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.woocommerce-checkout #place_order:hover,
.woocommerce-checkout .button.alt:hover,
.woocommerce-checkout button.button:hover,
.woocommerce-checkout input.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    0 14px 28px rgba(0,110,255,0.35),
    0 0 20px rgba(58,160,255,0.2);
}
/* === Checkout układ pól FitFive === */

/* kraj na całą szerokość */
.woocommerce-checkout #billing_country_field {
  width: 100%;
  float: none;
  clear: both;
  margin-right: 0;
}

/* kod + miasto w jednym rzędzie */
.woocommerce-checkout #billing_postcode_field,
.woocommerce-checkout #billing_city_field {
  width: calc(50% - 10px);
  float: left;
}

.woocommerce-checkout #billing_postcode_field {
  margin-right: 20px;
}

/* telefon + mail w jednym rzędzie */
.woocommerce-checkout #billing_phone_field,
.woocommerce-checkout #billing_email_field {
  width: calc(50% - 10px);
  float: left;
}

.woocommerce-checkout #billing_phone_field {
  margin-right: 20px;
}

/* żeby kolejne rzędy się nie rozjeżdżały */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper::after {
  content: "";
  display: block;
  clear: both;
}


/* Inline | https://fitfivemarketing.pl/zamowienie/ */

.woocommerce-billing-fields__field-wrapper {
  display: flex;
  flex-flow: wrap;
}

#billing_first_name_field {
  width: calc(50% - 10px);
  margin-right: 20px;
}

#billing_last_name_field {
  width: calc(50% - 10px);
}

#billing_country {
  width: 100%;
}


/* === ORDER REVIEW → CARD STYLE === */

.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table {
  border: none;
  background: transparent;
  box-shadow: none;
}

/* usuń nagłówek tabeli */
.woocommerce-checkout table.shop_table thead {
  display: none;
}

/* body jako lista */
.woocommerce-checkout table.shop_table tbody {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* produkt jako card-row */
.woocommerce-checkout table.shop_table tbody tr.cart_item {
  display: flex;
  justify-content: space-between;
  align-items: center;

  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;

  padding: 16px 18px;
}

/* nazwa produktu */
.woocommerce-checkout .product-name {
  font-weight: 600;
  color: #ededed;
  font-size: 15px !important;
}

/* ilość */
.woocommerce-checkout .product-quantity {
  opacity: 0.7;
  margin-left: 6px;
}

/* cena */
.woocommerce-checkout .product-total {
  font-weight: 800;
  color: #3aa0ff;
  font-size: 16px !important;
}

/* === PODSUMOWANIE (tfoot) === */

.woocommerce-checkout table.shop_table tfoot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

/* pojedyncze linie */
.woocommerce-checkout table.shop_table tfoot tr {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 10px 4px;
}

/* label */
.woocommerce-checkout table.shop_table tfoot th {
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-align: left;
  border-top: unset;
}

.woocommerce-info::before {
  display: none;
}

.woocommerce #woocommerce-checkout-form-coupon{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #ededed;
  border-radius: 16px;
}

#woocommerce-checkout-form-coupon .button {
width: max-content;
}

#woocommerce-checkout-form-coupon .form-row.form-row-first {
width: 50%;
}

.woocommerce table.shop_table tbody th, .woocommerce table.shop_table tfoot td, .woocommerce table.shop_table tfoot th {
border-top: unset;
}

/* value */
.woocommerce-checkout table.shop_table tfoot td {
  text-align: right;
}

/* TOTAL (highlight) */
.woocommerce-checkout table.shop_table .order-total {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(58,160,255,0.2);
  border-bottom: none;
}

.woocommerce-checkout table.shop_table .order-total th {
  font-size: 16px !important;
  color: #ffffff;
}

.woocommerce-checkout table.shop_table .order-total td,
.woocommerce-checkout table.shop_table .order-total td * {
  font-size: 20px !important;
  font-weight: 800;
  color: #3aa0ff;
  text-shadow: 0 0 14px rgba(58,160,255,0.25);
}

/* usuń wszystkie bordery Woo */
.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td {
  border: none;
  background: transparent;
}

/* mobile: wszystko pod sobą */
@media (max-width: 767px) {
  .woocommerce-checkout #billing_postcode_field,
  .woocommerce-checkout #billing_city_field,
  .woocommerce-checkout #billing_phone_field,
  .woocommerce-checkout #billing_email_field {
    width: 100%;
    float: none;
    margin-right: 0;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 1024px) {
  .woocommerce-checkout .col2-set#customer_details,
  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review {
    width: 100%;
    float: none;
    padding-left: 0;
  }

  .woocommerce-checkout #order_review {
    position: static;
    margin-top: 20px;
  }
}

@media (max-width: 767px) {
  .woocommerce-checkout .site-main,
  .custom-checkout-page {
    padding: 30px 16px 60px;
  }

  .woocommerce-checkout .woocommerce-billing-fields,
  .woocommerce-checkout .woocommerce-additional-fields,
  .woocommerce-checkout #order_review {
    padding: 20px;
    border-radius: 18px;
  }

  .woocommerce-checkout .woocommerce-billing-fields h3,
  .woocommerce-checkout .woocommerce-additional-fields h3,
  .woocommerce-checkout #order_review_heading {
    font-size: 24px !important;
  }

  .woocommerce-checkout .form-row-first,
  .woocommerce-checkout .form-row-last {
    width: 100%;
    float: none;
    margin-right: 0;
  }


.custom-products-page .product-card {
max-width: 100%;
flex: 0 0 100%;
}

.custom-products-title {
font-size: 24px;
}

}

.woocommerce-page .wp-block-heading {
display: none;
}
.woocommerce-page .entry-title {
font-size: 40px !important;
font-weight: 700;
color: #fff;
text-align: center;
margin-bottom: 30px;
}

/* === CART TABLE RWD: shop_table shop_table_responsive cart woocommerce-cart-form__contents === */
.woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 20px;
  overflow: hidden;
}

.woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents thead th {
  padding: 16px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents tbody td {
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: #ededed;
  vertical-align: middle;
}

.woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents tr:last-child td {
  border-bottom: 0;
}

.woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents td.product-thumbnail img {
  width: 92px;
  height: 92px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents td.product-name a {
  color: #ededed;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.35;
}

.woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents td.product-name a:hover {
  color: #8cc8ff;
}

.woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents td.product-price,
.woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents td.product-subtotal {
  white-space: nowrap;
}

.woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents .quantity .qty {
  width: 84px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  text-align: center;
}

.woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents td.product-remove a.remove {
  width: 34px;
  height: 34px;
  line-height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  font-size: 24px;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents td.product-remove a.remove:hover {
  background: rgba(255, 80, 80, 0.14);
  border-color: rgba(255, 80, 80, 0.6);
  color: #ff8e8e !important;
}

.woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents td.actions {
  padding: 18px 16px;
}

.woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents td.actions .coupon {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}


.woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents tbody td {
  border-bottom: unset;
}


.woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents td.actions .coupon .input-text {
  min-width: 220px;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents td.actions .button {
  width: auto !important;
  min-height: 46px;
  padding: 12px 20px !important;
  border-radius: 999px !important;
}

.woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents td.actions .button[name="update_cart"] {
  margin-left: auto;
}

@media (max-width: 1024px) {
  .woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents thead {
    display: none;
  }

  .woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents tr.cart_item {
    display: block;
    position: relative;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents tr.cart_item td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  }

  .woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents tr.cart_item td.product-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    width: auto;
    border: 0;
    padding: 0;
  }

  .woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents tr.cart_item td.product-thumbnail {
    justify-content: flex-start;
    border: 0;
    padding: 2px 0 8px;
  }

  .woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents tr.cart_item td.product-thumbnail::before,
  .woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents tr.cart_item td.product-name::before {
    display: none;
  }

  .woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents tr.cart_item td.product-name {
    border: 0;
    padding: 0 40px 8px 0;
  }

  .woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents tr.cart_item td.product-price::before,
  .woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents tr.cart_item td.product-quantity::before,
  .woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents tr.cart_item td.product-subtotal::before {
    content: attr(data-title);
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px !important;
    font-weight: 600;
    letter-spacing: 0.03em;
  }

  .woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents tr.cart_item td.product-subtotal {
    border-bottom: 0;
  }

  .woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents tr.cart_item td.product-quantity .quantity {
    margin-left: auto;
  }

  .woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents td.actions {
    display: block;
    padding: 16px;
  }

  .woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents td.actions .button[name="update_cart"] {
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents tr.cart_item {
    padding: 12px 14px;
  }

  .woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents td.product-thumbnail img {
    width: 78px;
    height: 78px;
  }

  .woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents td.actions .coupon {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 12px;
  }

  .woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents td.actions .coupon .input-text,
  .woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents td.actions .button {
    width: 100% !important;
    max-width: 100%;
  }



  .woocommerce-cart .page-header {
    font-size: 30px;
  }

  .woocommerce-page #content {
    max-width: 95%;
  }
  .woocommerce-cart .site-main, .custom-cart-page {
    padding: 10px 20px 80px;
  }
  .woocommerce-cart .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents {
    border: unset;
    background: unset;
    margin-bottom: 30px;
  }
  .woocommerce-cart .cart_totals h2 {
    font-size: 24px !important;
  }
  .woocommerce-cart table td, table th {
    border: unset;
  }

  .woocommerce-cart tr.order-total {
    background: unset !important;
    padding: 0 !important;
    border: unset !important;
  }

  .woocommerce table.shop_table_responsive tr td::before, .woocommerce-page table.shop_table_responsive tr td::before {
    color: #fff;
  }


  #billing_first_name_field {
    width: 100%;
    margin-right: 0;
  }

  #billing_last_name_field {
    width: 100%;
  }

  .woocommerce #woocommerce-checkout-form-coupon {
    display: flex;
    flex-flow: column;
  }

  #woocommerce-checkout-form-coupon .form-row.form-row-first {
    width: 100%;
  }


  #order_review .cart_item {
    padding: 0;
    background: unset;
    border: unset;
    border-bottom: 1px dotted #ffffff3b;
    border-radius: 0;
  }


  #woocommerce-checkout-form-coupon .form-row.form-row-last {
    width: 100%;
    display: flex;
    justify-content: center;
  }

    .woocommerce-page .entry-title {
    font-size: 28px !important;
  }

  .woocommerce-message {
flex-flow: column;
}
}


.single_variation_wrap {
width: 100%;
}


.woocommerce-variation-add-to-cart.variations_button {
display: flex;
align-items: flex-end;
}
.woocommerce-variation-add-to-cart.variations_button .button {
width: max-content;
margin-left: 3%;
}


/* === PRODUCT VARIATIONS TABLE === */
.woocommerce div.product form.cart table.variations {
  width: 100%;
  margin: 0 0 18px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.woocommerce div.product form.cart table.variations tbody tr:not(:last-child) th,
.woocommerce div.product form.cart table.variations tbody tr:not(:last-child) td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.woocommerce div.product form.cart table.variations th,
.woocommerce div.product form.cart table.variations td {
  border: 0;
  vertical-align: middle;
}

.woocommerce div.product form.cart table.variations th.label {
  width: max-content;
  max-width: 100%;
}

.woocommerce div.product form.cart table.variations th.label label {
  margin: 0;
  color: #ededed;
  font-size: 14px !important;
  font-weight: 600;
  line-height: 1.4;
}

.woocommerce div.product form.cart table.variations td.value {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.woocommerce div.product form.cart table.variations td.value select {
  min-height: 48px;
  min-width: 220px;
  width: 100%;
  max-width: 420px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  box-shadow: none;
}

.woocommerce div.product form.cart table.variations td.value select:focus {
  border-color: rgba(58, 160, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(58, 160, 255, 0.15);
  outline: none;
}

.woocommerce div.product form.cart table.variations td.value select option {
  color: #111111;
  background: #ffffff;
}

.woocommerce div.product form.cart table.variations td.value .reset_variations {
  color: #8cc8ff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.woocommerce div.product form.cart table.variations td.value .reset_variations:hover {
  color: #ffffff;
}

@media (max-width: 767px) {
  .woocommerce div.product form.cart table.variations {
    border-radius: 14px;
  }

  .woocommerce div.product form.cart table.variations tr {
    display: block;
  }

  .woocommerce div.product form.cart table.variations th.label,
  .woocommerce div.product form.cart table.variations td.value {
    width: 100%;
    display: block;
    padding: 12px 14px;
  }

  .woocommerce div.product form.cart table.variations th.label {
    padding-bottom: 6px;
  }

  .woocommerce div.product form.cart table.variations td.value {
    padding-top: 6px;
  }

  .woocommerce div.product form.cart table.variations td.value select {
    min-width: 100%;
    max-width: 100%;
  }

  .woocommerce div.product form.cart table.variations td.value .reset_variations {
    display: inline-block;
    margin-top: 4px;
  }
}

/* === RELATED PRODUCTS (no wrapper card) === */
.single-product .related.products {
  margin-top: 46px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.single-product .related.products > h2 {
  margin: 0 0 20px;
  color: #ededed;
  font-family: "Geologica", sans-serif;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
}

.single-product .related.products ul.products.columns-4 {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.single-product .related.products ul.products.columns-4::before,
.single-product .related.products ul.products.columns-4::after {
  display: none;
}

.single-product .related.products ul.products.columns-4 li.product {
  width: auto;
  float: none;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.single-product .related.products ul.products.columns-4 li.product:hover {
  transform: translateY(-3px);
  border-color: rgba(58, 160, 255, 0.45);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.single-product .related.products ul.products.columns-4 li.product img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.single-product .related.products ul.products.columns-4 li.product .woocommerce-loop-product__title {
  margin: 2px 0 0;
  color: #ededed;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}

.single-product .related.products ul.products.columns-4 li.product .price {
  color: #8cc8ff;
  font-size: 17px;
  font-weight: 700;
}

.single-product .related.products ul.products.columns-4 li.product .price .amount {
  color: #fff;
  font-size: 24px;
}

.single-product .related.products ul.products.columns-4 li.product a.button {
  margin-top: auto;
  font-size: 16px;
  color: #fff;
}

.related.products .price {
  color: #fff !important;
  font-weight: 400 !important;
}

.tabs.wc-tabs {
  display: none;
}


#p24_installments {
  display: none;
}


@media (max-width: 1024px) {
  .single-product .related.products ul.products.columns-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .single-product .related.products > h2 {
    font-size: 24px;
  }

  .single-product .related.products ul.products.columns-4 {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* === CUSTOM PRODUCTS SWITCHER === */
.custom-products-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  padding: 10px;
  border-radius: 999px;
}

.custom-products-switcher .switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #ededed;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.custom-products-switcher .switch-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(58, 160, 255, 0.5);
  background: rgba(58, 160, 255, 0.12);
  color: #ffffff;
}

.custom-products-switcher .switch-btn:focus-visible {
  outline: none;
  border-color: rgba(58, 160, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(58, 160, 255, 0.2);
}

.custom-products-switcher .switch-btn.active,
.custom-products-switcher .switch-btn[aria-current="page"] {
  border-color: rgba(58, 160, 255, 0.5);
  background: linear-gradient(180deg, #1f8fff 0%, #006eff 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 110, 255, 0.28);
}

@media (max-width: 767px) {
  .custom-products-switcher {
    border-radius: 16px;
    padding: 10px;
    gap: 8px;
    justify-content: stretch;
  }

  .custom-products-switcher .switch-btn {
    width: 100%;
    min-height: 42px;
  }

  #tab-description {
    font-size: 16px;
  }

  .single-product .related.products ul.products.columns-4 li.product .price {
    margin-bottom: 30px;
  }

  .reset_variations {
    left: 50%;
    transform: translateX(-50%);
  }

  .woocommerce-checkout .elementor-button-text {
font-size: 12px !important;
}
}



.payment_box.payment_method_tpaypbl {
  background-color: transparent !important;
  color: #fff !important;
}

.tpay-accept-conditions {
  color: #fff;
}

.agreement_text_scroller {
  color: #fff !important;
}

.tpay-accept-conditions a {
  color: #fff;
}

.wc_payment_method.payment_method_tpaypbl label img {
  filter: invert(100%) brightness(279%);
}


#add_payment_method #payment div.payment_box::before, .woocommerce-cart #payment div.payment_box::before, .woocommerce-checkout #payment div.payment_box::before {
  display: none;
}

.payment_box.payment_method_tpayblik {
  background-color: transparent !important;
}

#payment label {
  margin-bottom: 0 !important;
}



/* thank-you.css | https://fitfivemarketing.pl/wp-content/plugins/tpay-woocommerce/views/assets/thank-you.css?ver=1776355553 */

.payment-confirmation-container {
  /* background-color: #fff; */
  background-color: #222;
}

.payment-confirmation-container.success::before {
  display: none;
}

.woocommerce-order {
  color: #fff;
}

.payment-confirmation-container {
background-color: transparent !important;
}

.woocommerce-order-details {
  background: linear-gradient(180deg, #16181d 0%, #101216 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35), 0 0 0 1px rgba(0,149,255,0.04);
}

.woocommerce-table__product-total.product-total {
  padding-left: 20px !important;
}

.woocommerce-customer-details {
  background: linear-gradient(180deg, #16181d 0%, #101216 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35), 0 0 0 1px rgba(0,149,255,0.04);
}

.woocommerce-columns.woocommerce-columns--2.woocommerce-columns--addresses.col2-set.addresses {
  display: flex;
  font-size: 16px !important;
}

.woocommerce-orders-table__row.woocommerce-orders-table__row--status-completed.order td, .woocommerce-orders-table__row.woocommerce-orders-table__row--status-completed.order th {
  border-color: transparent !important;
}

@media screen and (max-width: 767px) {
 .woocommerce-columns.woocommerce-columns--2.woocommerce-columns--addresses.col2-set.addresses {
 flex-flow: column;
}

.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
  padding: 0;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
}

.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details li {
  padding: 0;
  margin: 0;
  text-align: center;
  margin-bottom: 14px;
  border: unset;
}

.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
text-align: center;
}

}