/* Single Product - TelJane */

/* White background & layout fix for inner pages */
.wp-singular .sec_bg {
  display: none;
}
.wp-singular .content-area {
  background: #fff;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}
.wp-singular .content-area::after {
  content: "";
  display: table;
  clear: both;
}

/* Header shadow on inner pages */
.wp-singular header {
  /*box-shadow: 0 2px 12px rgba(0,0,0,0.06);*/
}

/* Breadcrumb */
.tj-breadcrumb {
  padding: 2rem 0 0;
}
.tj-breadcrumb .woocommerce-breadcrumb {
  font-size: 1.4rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0;
  padding: 1.5rem 0;
}
.tj-breadcrumb .woocommerce-breadcrumb a {
  color: #666;
  text-decoration: none;
}
.tj-breadcrumb .woocommerce-breadcrumb a:hover {
  color: var(--primary);
}

/* Product layout */
.tj-single-product {
  padding: 2rem 0 6rem;
}
.tj-product-top {
  display: flex;
  gap: 5rem;
  align-items: flex-start;
}
.col-full {
    max-width:1380px !important;

}
/* Gallery */
.tj-product-gallery {
  flex: 0 0 50%;
  max-width: 50%;
}
.tj-product-gallery .woocommerce-product-gallery {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  background: #F9FBFF;
  border-radius: 1.5rem;
  padding: 0 0 2rem;
}
.tj-product-gallery .woocommerce-product-gallery__trigger {
  display: none;
}
.tj-product-gallery .zoomImg {
  display: none !important;
}
.tj-product-gallery .woocommerce-product-gallery > .flex-viewport {
  aspect-ratio: 572 / 404;
  height: unset !important;
  max-height: none !important;
}
.tj-product-gallery .woocommerce-product-gallery .woocommerce-product-gallery__wrapper,
.tj-product-gallery .woocommerce-product-gallery .woocommerce-product-gallery__image {
  height: 100%;
}
.storefront-full-width-content.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
  margin-right:10px !important;
}
.storefront-breadcrumb {
  margin:0 0 0.306em !important;
}
.single-product div.product form.cart {
  border-bottom:1px solid #C9C9C9; margin:0 0 0 0 !important;
  padding-bottom:1.318em !important;
}
.tj-product-gallery .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
  aspect-ratio: 572 / 404;
}
.tj-product-gallery .woocommerce-product-gallery__image {
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.tj-product-gallery .woocommerce-product-gallery__image a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.tj-product-gallery .woocommerce-product-gallery__image img:not(.zoomImg) {
  object-fit: contain;
  max-height: 100%;
  width: auto !important;
  max-width: 80%;
}
.tj-product-gallery .flex-control-thumbs {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0 0 !important;
  padding: 0 2rem !important;
  list-style: none;
}
.tj-product-gallery .flex-control-thumbs li {
  flex: 0 0 auto;
  width: 100px;
  height: 100px;
  background: #fff;
  border: 1px solid #3187DD;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tj-product-gallery .flex-control-thumbs li img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: pointer;
}

/* Summary */
.tj-product-summary {
  flex: 1 1 0%;
  min-width: 0;
}

/* Title with gradient */
.tj-product-title {
  font-size: 3.6rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1rem;
  background-image: linear-gradient(to bottom, #376ab2, #9fc8ed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Price */
.tj-product-price {
  font-size: 2.8rem;
  font-weight: 700;
  color: #F37600;
  margin-bottom: 2rem;
}

/* Short description */
.tj-product-summary .woocommerce-product-details__short-description p {
  font-size: 1.5rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1.5rem;
}

/* Add to cart form */
.tj-product-summary form.cart {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

/* Quantity box - rounded with arrows */
.tj-product-summary .quantity {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 5rem;
  overflow: hidden;
  height: 5.4rem;
}
.tj-product-summary .quantity .qty {
  width: 5rem;
  height: 100%;
  text-align: center;
  border: none;
  font-size: 1.6rem;
  font-weight: 500;
  -moz-appearance: textfield;
  background: transparent;
  padding: 0;
  margin: 0;
}
.tj-product-summary .quantity .qty::-webkit-inner-spin-button,
.tj-product-summary .quantity .qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.tj-product-summary .quantity .tj-qty-btn {
  width: 3.2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  flex-shrink: 0;
}
.tj-product-summary .quantity .tj-qty-btn img {
  width: 1rem;
  height: auto;
}
.tj-product-summary .quantity .tj-qty-btn:hover {
  background: #f5f5f5;
}

/* Add to cart button - orange pill */
.tj-product-summary .single_add_to_cart_button {
  background-color: #F37600 !important;
  border-color: #F37600 !important;
  color: #fff !important;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0 3.5rem;
  height: 5.4rem;
  line-height: 5.4rem;
  border-radius: 5rem;
  cursor: pointer;
  transition: opacity 0.3s;
  white-space: nowrap;
}
.tj-product-summary .single_add_to_cart_button:hover {
  opacity: 0.9;
  background-color: #F37600 !important;
}
body:has(.simplepage) {
  background: #fff;
}
.simplepage {
  padding-top:40px; position: relative; z-index: 1;
}
.wc-block-components-totals-item__value {
  color:#F37600;
}
.wc-block-components-button.wp-element-button.wc-block-cart__submit-button,
.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.wc-block-components-checkout-place-order-button--full-width {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 100px;
  background-color: var(--primary);
  border: 1px solid var(--primary);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 6.2rem;
  color: #fff;
  gap: 1.8rem;
  padding: 0 5rem;
  background-color: var(--secondary);
  border-color: var(--secondary);
  text-decoration: none;
  &:hover {
    background-color: transparent;
    color: var(--secondary);
  }
}
/* Shipping info - pill shape */
.tj-shipping-info {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background-color: #e8f4fd;
  border-radius: 5rem;
  padding: 1.2rem 2.4rem;
  margin: 2rem 0;
  font-size: 1.2rem;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.tj-shipping-info img {
  flex-shrink: 0;
}
.tj-shipping-info strong {
  font-weight: 600;
}
.wp-block-woocommerce-cart.alignwide,
.wp-block-woocommerce-checkout.alignwide {
  margin:0 auto !important; 
  float:none;
  max-width:1380px !important;

}
/* Payment cards */
.tj-payment-cards {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  font-size: 1.3rem;
  color: #000;
}
.tj-payment-cards > span {
  white-space: nowrap;
}
.tj-payment-cards .tj-card-img {
  height: 2.4rem;
  width: auto;
}

/* Bottom - Termékparaméterek */
.tj-product-bottom {
  margin-top: 5rem;
  border-top: 1px solid #eee;
  padding-top: 4rem;
}
.tj-params-title {
  font-size: 2.8rem;
  font-weight: 600;
  margin: 0 0 2rem;
  color: #0d1c2d;
  display: inline-block;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #3187DD;
}
.tj-product-bottom p {
  font-size: 1.5rem;
  line-height: 1.8;
  color: #555;
}

/* Mobile */
@media screen and (max-width: 768px) {
  .tj-product-top {
    flex-direction: column;
    gap: 3rem;
  }
  .tj-product-gallery {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .tj-product-title {
    font-size: 2.4rem;
  }
  .tj-product-price {
    font-size: 2.2rem;
  }
  .tj-product-summary form.cart {
    flex-wrap: wrap;
  }
  .tj-product-summary .single_add_to_cart_button {
    font-size: 1.2rem;
    padding: 0 2.5rem;
    height: 4.8rem;
    line-height: 4.8rem;
  }
  .tj-shipping-info {
    font-size: 1.1rem;
    padding: 1rem 2rem;
  }
  .tj-product-bottom {
    margin-top: 3rem;
    padding-top: 3rem;
  }
  .tj-params-title {
    font-size: 2.2rem;
  }
}
