.woo-gallery-wrapper {
    display: flex !important;
    align-items: flex-start;
    gap: 20px;
    max-width: 100%;
    box-sizing: border-box;
}

/* Thumb slider wrapper with arrows */
.thumb-slider-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    width: 120px;
}

.thumb-slider {
    width: 100%;
    flex: 1;
    min-height: 500px;
    max-height: 600px;
    overflow: hidden;
}

.thumb-slider .slick-slide {
    margin-bottom: 10px;
}

.thumb-slider .img-wrapper {
    position: relative;
    width: 100%;
}
.thumb-slider .img-wrapper::before {
    content: "";
    display: block;
    padding-top: 90%;
}
.thumb-slider .img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid #ccc;
    transition: border 0.3s;
    aspect-ratio: 4/3;
}
.thumb-slider .slick-current img {
    border-color: #CF142B;
    border-width: 2px;
}

/* Thumb slider arrows (vertical) */
.thumb-slider-arrow {
    background: white;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    z-index: 10;
}

.thumb-slider-arrow:hover {
    background: #f0f0f0;
    border-color: #CF142B;
}

.thumb-slider-arrow svg {
    color: #333;
}

.thumb-slider-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Main slider wrapper with arrows */
.main-slider-wrapper {
    position: relative;
    flex: 1;
    min-width: 0;
    max-width: calc(100% - 140px);
    box-sizing: border-box;
}

.main-slider {
    width: 100%;
    overflow: hidden;
}

.main-slider .img-wrapper {
    position: relative !important;
    background: #f9f9f9;
    border-radius: 10px;
    border: 1px solid #ccc;
    overflow: hidden;
    display: block;
}
.main-slider .img-wrapper::before {
    display: none !important;
}
.main-slider .img-wrapper img {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    mix-blend-mode: multiply;
    aspect-ratio: 4/3;
}

.main-slider .slick-slide {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main slider arrows (horizontal) */
.main-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.main-slider-arrow:hover {
    background: #f0f0f0;
    border-color: #CF142B;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.main-slider-arrow svg {
    color: #333;
}

.main-slider-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.main-slider-arrow-left {
    left: 10px;
}

.main-slider-arrow-right {
    right: 10px;
}

body:not(.woocommerce-cart) .quantity input {
	border-radius: 8px !important;
	  border: 1px solid var(--Gray-300, #D5D7DA) !important;
	  background: var(--Base-White, #FFF) !important;
	  box-shadow: 0 1px 2px 0 rgba(10, 13, 18, 0.05) !important;
	  display: flex;
	  padding: 10px 7px !important;
	  align-items: center;
	  gap: 8px;
	  flex: 1 0 0;
	  align-self: stretch;
	  font-size: 20px !important;
	  color: #000 !important;
}

.single_add_to_cart_button {
  display: flex;
  max-width: 380px;
  width: 100%;
  height: 56px;
  padding: 13px 40px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 100px !important
}

.single_add_to_cart_button.button[disabled] {
	background-color: #444 !important;
  color: #000 !important;
  border-radius: 100px !important;
}


/* custom-product-card.css | https://jsl.dstdesign.website/wp-content/themes/dstdesign-theme/dstdesign-woocommerce/css/custom-product-card.css?ver=1.0.0 */

.main-slider .img-wrapper img {
  /* padding: 1.5rem; */
}

.main-slider-arrow {
  /* background: white; */
  /* border: 1px solid #ccc; */
  /* width: 50px; */
  /* height: 50px; */
  background: rgba(255,255,255,0.4);
  border: 0;
  width: 40px;
  height: 40px;
}

.thumb-slider-wrapper {
  /* width: 120px; */
  width: 100px;
  justify-content: center;
}

.thumb-slider-arrow {
  position: absolute;
}

.thumb-slider {
  display: flex;
  align-items: center;
  padding-top: 30px;
}

.main-slider-arrow:hover {
  /* background: #f0f0f0; */
  background: #f0f0f03d;
}

/* Inline | https://jsl.dstdesign.website/produkt/sonnenschirm-proshade-3m-8/ */

.thumb-slider-arrow.thumb-slider-arrow-up.slick-arrow {
  top: 20px;
  width: 30px;
  height: 30px;
}

.thumb-slider-arrow.thumb-slider-arrow-down.slick-arrow {
  bottom: 20px;
  width: 30px;
  height: 30px;
}

.thumb-slider .img-wrapper.slick-slide.slick-current.slick-active img {
	border: 2px solid #cf142b;
}
/* glightbox.min.css | https://cdn.jsdelivr.net/npm/glightbox@3.2.0/dist/css/glightbox.min.css?ver=3.2.0 */



/* style.css | https://jsl.dstdesign.website/wp-content/themes/dstdesign-theme/style.css?ver=6.9 */

table.cart th, #main-content table.cart th, table.cart td, #main-content table.cart td, table.cart tr, #main-content table.cart tr, #content-area table tr, #content-area table td, #content-area table th {
  /* padding: 6px 10px; */
  padding: 6px 12px;
}

/* custom-checkout.css | https://jsl.dstdesign.website/wp-content/themes/dstdesign-theme/dstdesign-woocommerce/css/custom-checkout.css?ver=1.0.0 */

#coupon_code {
  /* padding: 10px; */
  padding: 7px;
}

/* Inline | https://jsl.dstdesign.website/warenkorb/ */

table.cart th, #main-content table.cart th, table.cart td, #main-content table.cart td, table.cart tr, #main-content table.cart tr, #content-area table tr, #content-area table td, #content-area table th {
  /* max-width: 100%; */
  max-width: none;
  width: auto;
}

#add_payment_method table.cart .product-thumbnail, .woocommerce-cart table.cart .product-thumbnail, .woocommerce-checkout table.cart .product-thumbnail {
	min-width: 92px;
	width: 92px !important;
}

.et_pb_wc_cart_products_3 table.cart img {
  /* padding-top: 10px; */
  /* padding-right: 10px; */
  /* padding-bottom: 10px; */
  /* padding-left: 10px; */
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
}

/* Inline | https://jsl.dstdesign.website/warenkorb/ */

th.product-remove {
  max-width: 30px !important;
  width: 30px !important;
}

th.product-thumbnail {
  max-width: 80px !important;
  width: 80px !important;
}
td.product-thumbnail img {
  max-width: 80px !important;
  width: 80px !important;
}
th.product-name {
  width: 250px !important;
}
.product-subtotal {
	text-align: right;
}
th.product-quantity {
  width: min-content !important;
}

td.actions {
  padding-top: 0.7rem !important;
  padding-right: 0 !important;
  border-bottom: 1px solid #eee !important;
  padding-bottom: 0.7rem !important;
  background: #f9f9f9a3;
}

td.actions > .coupon {
  width: 50% !important;
}

td.actions > .coupon input {
  width: fit-content !important;
  font-size: 12px !important;
}

td.actions > .coupon {
  /* width: 50% !important; */
  width: fit-content !important;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

td.actions > .coupon input::placeholder {
  font-size: 12px !important;
}

th.product-name {
	max-width: 330px !important;
	width: 360px !important;
}



@media (min-width: 769px) {
  .gslide-image img {
    background: #fff !important;
  }
}


@media (max-width: 768px) {
    .woo-gallery-wrapper {
        flex-direction: column-reverse !important;
        align-items: center;
    }

    .thumb-slider-wrapper {
        width: 100%;
        flex-direction: row !important;
        gap: 10px;
    }

    .thumb-slider {
        width: 100%;
        max-height: none;
        min-height: auto;
        display: flex;
        justify-content: center;
        flex-direction: row !important;
        flex: 1;
    }

    .thumb-slider .slick-slide {
        margin: 0 5px;
    }

    /* Ukryj strzałki thumbsów na mobile (Slick je wyłącza w responsive) */
    .thumb-slider-arrow {
        display: none !important;
    }
	
    .main-slider-wrapper {
       width: 100%;
       max-width: 100%;
     }

     .main-slider {
       width: 100%;
     }

     .main-slider .img-wrapper {
       width: 100%;
     }

     /* Strzałki main slidera są widoczne na mobile */
     .main-slider-arrow {
        width: 40px;
        height: 40px;
     }

     .main-slider-arrow-left {
        left: 5px;
     }

     .main-slider-arrow-right {
        right: 5px;
     }


.woo-gallery-wrapper {

  gap: 0px;
}

.thumb-slider {
  padding-top: 10px;
}

  .main-slider-arrow {
    width: 25px;
    height: 25px;
  }


.coupon-toggle-cell::before {
  display: none !important;
}

.cart_totals td {
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
}

.et_pb_wc_cart_products.et_pb_row_layout_vertical table.cart .product-thumbnail::before {
  display: none;
}


  #content table.cart td, #content table.cart th, #content table.cart tr, table.cart td, table.cart th, table.cart tr {
    padding-bottom: 5px !important;
  }



  .woocommerce-cart table.cart td.actions .coupon .input-text {
    margin-bottom: 0px;
    width: 100% !important;
  }


  .woocommerce-cart table.cart td.actions .coupon .input-text {
    width: 100%;
  }



td.actions > .coupon {
  width: 50% !important;
  width: 94% !important;
}


.et_pb_wc_cart_products.et_pb_row_layout_vertical table.cart .product-thumbnail {
  display: flex;
}


}
/* Dane produktu additional*/

.woocommerce.et-dynamic-content-woo.et-dynamic-content-woo--product_additional_information h2 {
  font-size: 26px;
}
h2, .product .related h2, .et_pb_column_1_2 .et_quote_content blockquote p {
	font-size: 26px;
}

.cz-label-wrapper.relative {
	top: auto;
	left: auto;
	position: relative;
}

.cz-heart.wishlist-toggle.card {
	width: 100%;
	align-items: center;
	justify-content: flex-end;
	padding: 0;
	height: 49px;
	  float: right;
}


.cz-product-price.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.cz-product-price.card .cz-product-price-top {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cz-product-price.card .cz-product-price-current {
  font-size: 30px !important;
}

.cz-product-price.card .cz-price {
  font-size: 35px;
}


/* woocommerce.css | https://jsl.dstdesign.website/wp-content/plugins/woocommerce/assets/css/woocommerce.css?ver=10.3.5 */

.woocommerce table.shop_attributes th {
  /* width: 150px; */
  /* font-weight: 700; */
  /* border-bottom: 1px dotted rgba(0,0,0,.1); */
  width: 250px;
  font-weight: 600;
  border-bottom: 1px solid rgba(0,0,0,.1);
  text-align: right;
  padding-right: 20px;
}

.woocommerce table.shop_attributes td {
  /* font-style: italic; */
  /* border-bottom: 1px dotted rgba(0,0,0,.1); */
  font-style: normal;
  border-bottom: 1px solid rgba(91, 91, 91, 0.25);
}

/* custom-product-card.css | https://jsl.dstdesign.website/wp-content/themes/dstdesign-theme/dstdesign-woocommerce/css/custom-product-card.css?ver=1.0.0 */

.main-slider .img-wrapper {
  /* position: relative; */
  position: relative !important;
  overflow: hidden;
  display: block;
}


.thumb-slider .img-wrapper img {
  /* object-fit: cover; */
  /* border: 2px solid transparent; */
  object-fit: contain;
  border: 1px solid #ccc;
  aspect-ratio: 4/3;
}

.thumb-slider .img-wrapper::before {
  /* padding-top: 70%; */
  padding-top: 90%;
}

@media (min-width: 981px) and (max-width: 1200px) {

.product-card-mobile {
	display: none;
}

}

@media (max-width: 768px) {
    .woo-gallery-wrapper {
        flex-direction: column-reverse;
        align-items: center;
    }
    .thumb-slider {
        width: 100%;
        max-height: none;
        display: flex;
        justify-content: center;
    }
    .thumb-slider .slick-slide {
        margin: 0 5px;
    }


	.cz-heart.wishlist-toggle.card {
	  transform: none;
	  height: auto;
	}
	

	.cz-product-price.card .cz-price {
	  font-size: 25px;
	}

	.cz-product-price.card {
	  margin-top: 0rem;
	  margin-bottom: 0rem;
	}

	.cart {
	  display: flex;
	}

	.cart::before, .cart::after {
	  display: none !important;
	}

	.woocommerce input {
	  font-size: 14px !important;
	}


	.woocommerce div.product form.cart, .woocommerce-page div.product form.cart, .woocommerce #content div.product form.cart, .woocommerce-page #content div.product form.cart {
	  margin: 0;
	}
	.woocommerce.et-dynamic-content-woo.et-dynamic-content-woo--product_additional_information h2 {
		font-size: 20px;
	}
	.cz-custom-grid-4 {
	  grid-template-columns: repeat(2, 1fr);
	  gap: 10px;
	}


	.single_add_to_cart_button {
	  width: auto;
	  height: 50px;
	  padding: 10px 10px;
	  font-size: 18px !important;
	  flex-shrink: 1;
	  flex-grow: 1;
	}
	

  .woocommerce table.shop_attributes th {
    width: 140px;
    padding-right: 10px;
    padding: 7px;
    font-size: 12px !important;
  }


  .woocommerce table.shop_attributes td p {
    padding: 4px;
    font-size: 12px;
    line-height: 1.2;
  }

.woocommerce form .form-row {
  grid-column: 1/3;
  padding: 0;
  width: 100% !important;
  margin: 0 !important;
}


#ppcp-recaptcha-v2-container {
  margin: 0 !important;
}

.checkout-coupon-below-summary .button {
	height: 37px !important;
	margin-top: 0.5rem !important;
}



.et_pb_wc_cart_products.et_pb_row_layout_vertical table.shop_table_responsive tr:nth-child(2n):not(:last-child) td {
  background-color: transparent;
}

.woocommerce table.shop_table_responsive tbody th, .woocommerce-page table.shop_table_responsive tbody th {
  display: block;
}

.custom-total table.shop_table_responsive tr td::before, .woocommerce-page table.shop_table_responsive tr td::before {
  display: none !important;
}

.woocommerce table.shop_table_responsive tr, .woocommerce-page table.shop_table_responsive tr {
  /* display: block; */
  display: grid;
  grid-template: auto / 1fr 1fr;
}




}
/* Ograniczenie wysokości slick-track i wyrównanie slajdów w .main-slider */
.main-slider .slick-slide {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-slider {
  overflow: hidden;
}

/* Inquiry Modal Styles */
.dst-inquiry-modal {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Blokada scrolla gdy modal otwarty */
body.dst-modal-open {
  overflow: hidden;
}

body.dst-modal-open html {
  overflow: hidden;
}

.dst-inquiry-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.11);
  backdrop-filter: blur(10px);
  z-index: 999999;
}

.dst-inquiry-dialog {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, 95vw);
  max-height: 90vh;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  z-index: 1000000;
}

.dst-inquiry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
}

.dst-inquiry-header h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: #111;
}

.dst-inquiry-close {
  background: none;
  border: 0;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  color: #6b7280;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.dst-inquiry-close:hover {
  background: #e5e7eb;
}

.dst-inquiry-body {
  padding: 32px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
  overflow-y: auto;
  max-height: calc(90vh - 100px);
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f1f5f9;
}

.dst-inquiry-body::-webkit-scrollbar {
  width: 8px;
}

.dst-inquiry-body::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.dst-inquiry-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.dst-inquiry-body::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.dst-inquiry-product {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dst-inquiry-product-image {
  background: #f3f4f6;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dst-inquiry-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dst-inquiry-product-title {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: #111;
  line-height: 1.3;
}

.dst-inquiry-product-sku {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

.dst-inquiry-form-intro {
  margin: 0 0 20px 0;
  font-size: 15px;
  color: #4b5563;
  line-height: 1.5;
}

.dst-inquiry-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.dst-inquiry-form-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dst-inquiry-form-label-text {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.dst-inquiry-form-input,
.dst-inquiry-form-textarea {
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.2s;
  font-family: inherit;
}

.dst-inquiry-form-input:focus,
.dst-inquiry-form-textarea:focus {
  outline: none;
  border-color: #CF142B;
  box-shadow: 0 0 0 3px rgba(207, 20, 43, 0.1);
}

.dst-inquiry-form-textarea {
  resize: vertical;
  min-height: 120px;
}

.dst-inquiry-form-gdpr {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  padding: 16px;
  background: #f9fafb;
  border-radius: 8px;
  cursor: pointer;
}

.dst-inquiry-form-gdpr input[type="checkbox"] {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.dst-inquiry-form-gdpr-text {
  font-size: 13px;
  line-height: 1.5;
  color: #4b5563;
}

.dst-inquiry-form-gdpr-text a {
  color: #CF142B;
  text-decoration: underline;
}

.dst-inquiry-form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.dst-inquiry-form-submit {
  background: #000;
  border: 2px solid #000;
  color: #fff;
  padding: 14px 32px;
  border-radius: 68px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  text-transform: uppercase;
}

.dst-inquiry-form-submit:hover {
  background: #222;
  border-color: #222;
}

.dst-inquiry-status {
  font-size: 14px;
  color: #16a34a;
  display: none;
}

.dst-inquiry-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.dst-inquiry-success.active {
  display: block;
}

.dst-inquiry-success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: successPop 0.5s ease-out;
}

.dst-inquiry-success-icon svg {
  width: 48px;
  height: 48px;
  color: white;
}

@keyframes successPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.dst-inquiry-success-title {
  font-size: 24px;
  font-weight: 600;
  color: #111;
  margin: 0 0 12px 0;
}

.dst-inquiry-success-message {
  font-size: 16px;
  color: #6b7280;
  margin: 0 0 32px 0;
  line-height: 1.5;
}

.dst-inquiry-success-button {
  background: #000;
  border: 2px solid #000;
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}

.dst-inquiry-success-button:hover {
  background: #222;
  border-color: #222;
}

/* Responsywność modala */
@media (max-width: 768px) {
  .dst-inquiry-dialog {
    width: 95vw;
    max-height: 95vh;
  }
  
  .dst-inquiry-header {
    padding: 20px 24px;
  }
  
  .dst-inquiry-header h3 {
    font-size: 18px;
  }
  
  .dst-inquiry-body {
    padding: 24px;
    grid-template-columns: 1fr;
    gap: 24px;
    max-height: calc(95vh - 80px);
  }
  
  .dst-inquiry-product {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
  }
  
  .dst-inquiry-product-image {
    aspect-ratio: 1;
  }
  
  .dst-inquiry-form-grid {
    grid-template-columns: 1fr;
  }




  .dst-inquiry-dialog {
    max-height: 75vh;
  }
  .dst-inquiry-product-image {
    max-width: 100px;
    background: transparent;
    object-fit: contain;
  }
  .dst-inquiry-body {
    gap: 0;
    max-height: 580px;
    padding-bottom: 100px;
    padding-bottom: 40px !important;
  }


.dst-inquiry-header h3 {
  margin: 0;
  padding: 0;
}

  .dst-inquiry-header {
    padding: 10px 10px;
  }
  .dst-inquiry-body {
    padding: 10px;
  }


.dst-inquiry-product-title {
  margin: 0;
}

.dst-inquiry-form-intro {
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.dst-inquiry-form-label {
  gap: -1px;
}

.dst-inquiry-form-submit {
  font-size: 14px;
  border-radius: 100px;
}

.dst-inquiry-form-grid {
  gap: 6px;
}

}
