.dst-checkout-grid {
    display: grid;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 1rem;
      max-width: 1100px;
  margin: 0 auto;
}

/* Hide optional text from Hausnummer fields */
#billing_address_2_field label .optional,
#shipping_address_2_field label .optional,
label[for="billing_address_2"] .optional,
label[for="shipping_address_2"] .optional {
    display: none !important;
}

.dst-checkout-left {
    background: #f8f3ed;
    padding: 2rem;
    border-radius: 3px;
	flex: 1;
}
.dst-section {
    margin-bottom: 2rem;
}
.dst-section h3 {
    font-size: 20px;
    margin-bottom: .5rem;
}
.dst-section-desc {
    font-size: 14px;
    color: #777;
    margin-bottom: 1rem;
}
.dst-zgody label {
    font-size: 14px;
}
.dst-submit {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.dst-submit .button.alt {
	background: #000 !important;
	color: white;
	font-weight: bold !important;
	width: 100% !important;
	padding: 1rem !important;
	border: 0 !important;
}

.dst-submit .button.alt:hover {
	background: #333 !important;
}
.dst-checkout-right {
    padding: 1.5rem;
    background: #f3efea;
    border: 1px solid #E7DFCF;
    position: sticky;
    border-radius: 3px;
    flex:   0 0 auto;
}
.woocommerce-checkout-review-order-table td img {
    margin-right: 10px;
    vertical-align: middle;
      float: left;
}





/* Inline | https://dietologia.dstdesign.website/zamowienie/ */

.dst-checkout-left {
  /* background: #f8f3ed; */
  background: #f3efea;
}

.dst-section-desc {
  /* font-size: 14px; */
  font-size: 17px;
  padding: 0;
}

.dst-section {
   display: flex;
   flex-direction: column;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  padding-top: 1rem;
}


/* Inline | https://dietologia.dstdesign.website/zamowienie/ */

.dst-section h3 {
  font-size: 21px;
  margin: 0;
  padding: 0;
}

.required {
  color: red;
  font-size: 111%;
}

.wc_payment_methods.payment_methods.methods {
  background: transparent !important;
  padding: 0 !important;
}

.dst-zgody .form-row.validate-required {
  margin: 0;
  padding: 0;
}

.wc_payment_method {
  background: #fff;
  padding: 0.6rem;
  border-radius: 10px;
  border: 1px solid #eee;
  margin-bottom: 0.4rem !important;
}

.wc_payment_method:last-child {
  margin: 0 !important;
}

.dst-section.dst-zgody {
  border-top: 1px solid #dfdfdf;
}

/* style-static.min.css | https://dietologia.dstdesign.website/wp-content/themes/Divi/style-static.min.css?ver=4.27.4 */

input.text, input.title, input[type="email"], input[type="password"], input[type="tel"], input[type="text"], select, textarea {
  /* padding: 2px; */
  /* color: #4e4e4e; */
  padding: 0.7rem 1rem;
  color: #000;
  font-size: 16px;
  font-weight: 600;
}

/* woocommerce-layout.css | https://dietologia.dstdesign.website/wp-content/plugins/woocommerce/assets/css/woocommerce-layout.css?ver=9.8.1 */

.woocommerce form .form-row label, .woocommerce-page form .form-row label {
  font-size: 14px;
  line-height: 1;
  margin-bottom: 5px;
  font-weight: 500;
}

.woocommerce-page form .form-row label.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 18px;
}

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

#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {
  /* background: rgba(129,110,153,.14); */
  /* border-radius: 5px; */
  background: transparent !important;
  border-radius: 0;
  padding: 0 !important;
  margin: 1rem 0 !important;
  margin-bottom: 0 !important;
}

#add_payment_method #payment ul.payment_methods, .woocommerce-cart #payment ul.payment_methods, .woocommerce-checkout #payment ul.payment_methods {
  /* border-bottom: 1px solid rgba(104,87,125,.14); */
  border-bottom: 0;
}



.dst-summary-items { display: flex; flex-direction: column; gap:1rem; }
.dst-summary-item { display:flex; align-items:center; }
.dst-summary-item-left img { margin-right:.75rem; }
.dst-summary-totals > div { display:flex; justify-content:space-between; margin-top:.5rem; }
.woocommerce-form-coupon-toggle { display: none !important; }

.inline-coupon-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* custom-checkout.css | https://dietologia.dstdesign.website/wp-content/themes/dstdesign-theme/dstdesign-woocommerce/css/custom-checkout.css */

.inline-coupon-form {
  /* display: flex; */
  /* gap: 0.5rem; */
  display: flex !important;
  gap: 0px;
}

/* Inline | https://dietologia.dstdesign.website/zamowienie/ */

.button.apply-coupon-button {
  font-size: 14px !important;
  padding: 0 !important;
  height: auto !important;
  width: auto !important;
  flex: 1 1 auto;
  background: #bbb !important;
  color: #000 !important;
}

#coupon_code {
    padding:  10px;
    font-size: 16px;
  flex: 1 0 auto;
  border-right: 0;
  border: 1px solid #e7dfcf;
}
.coupon-notices * {
	background: inherit !important;
	padding: 2px 4px !important;
	font-size: 14px !important;
	color: #e04e38 !important;
	margin: 0 !important;
	font-weight: bold;
}
.coupon-notices .woocommerce-error, .coupon-notices .woocommerce-message  {
	background: #edf0e7 !important;
	  color: green !important;
}

.button.apply-coupon-button::after {
  display: none !important;
}


.remove-coupon {
  margin-left: auto;
  font-weight: bold;
  text-transform: uppercase;
  color: #517c63;
}

.applied-coupons {
  background: #edf0e7;
  padding: 0 0.5rem;
  border: 1px solid #e1e6d8;
  margin-top: 4px;
  border-bottom: 0;
}


.applied-coupon-item {
  font-size: 14px;
  display: flex;
  justify-content: flex-start;
  gap: 5px;
}


.woocommerce-form-coupon-toggle { display: none !important; }





.form-row.duo::before, .form-row.duo::after {
  display: none;
}

.form-row.duo {
  display: flex;
  align-items: center;
}

.form-row.duo > div {
  width: 100% !important;
  float: none !important;
}

.form-row.duo > div > * {
  width: 100% !important;
}

.form-row.duo {
  gap: 1rem;
}

.form-row.duo::before, .form-row.duo::after {
  /* display: none; */
  display: none !important;
}

.form-row {
  margin-bottom: 0.4rem;
}
.dst-login-message {
	background: #fff;
	padding: 1rem !important;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	font-size: 16px;
	line-height: 1;
	font-weight: bold;
}






/* Inline | https://dietologia.dstdesign.website/zamowienie/ */

.dst-checkout-right h3 {
  font-size: 21px;
  margin-bottom: 1rem;
}

.dst-summary-items {
}

.dst-summary-item-left {
  display: block;
  position: relative;
  overflow: hidden;
}

.dst-summary-item-left::before {
  content: "";
  display: block;
  padding-top: 100%;
}

.dst-summary-item-left img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.dst-summary-item-left {
  flex: 0 0 50px;
}

.dst-summary-item-right .woocommerce-Price-amount.amount {
  font-weight: bold;
}

.label-quantity {
  position: absolute;
  top: 2px;
  right: 3px;
  background: #fff;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  font-weight: bold;
  font-size: 13px;
  box-shadow: -2px 2px 4px rgba(0,0,0,0.1);
}

/* custom-checkout.css | https://dietologia.dstdesign.website/wp-content/themes/dstdesign-theme/dstdesign-woocommerce/css/custom-checkout.css */

.dst-summary-items {
  background: #fff;
  padding: 11px;
  font-size: 15px;
  line-height: 1.3;
}

.dst-summary-item {
  /* align-items: center; */
  align-items: flex-start;
  gap: 10px;
}





.dst-checkout-left {
  border: 1px solid #E7DFCF;
}


.button.apply-coupon-button {
  background: #eae3d8 !important;
}

.dst-checkout-grid {
  grid-template-columns: 1fr 400px;
}


.dst-checkout-right {
  position: sticky;
  height: auto;
}






#coupon_code {
  flex: 1 1 auto;
  border: 1px solid #ccc;
}

.dst-checkout-right {
  background: #f9f9f9;
  border: 1px solid #ccc;
}

.dst-summary-items {
  border: 1px solid #ccc;
  border-radius: 5px;
}

.inline-coupon-form {
  gap: 10px;
  padding-bottom: 20px;
}

/* Thankyou page */
.dst-thankyou { max-width: 1100px; margin: 40px auto; }
.dst-thankyou-header { padding: 0; margin-bottom: 20px; text-align: center; }
.dst-thankyou-anim { width: 180px; height: 180px; margin: 0 auto 16px; }
.dst-thankyou-header.is-success { background: transparent; }
.dst-thankyou-header.is-failed { background: transparent; }
.dst-thankyou-title { margin: 0; font-size: 44px; font-weight: bold; margin-top: -20px; margin-bottom: 20px; line-height: 1.2; }
.dst-thankyou-desc { margin: 0; font-size: 14px; color: #333; }
.dst-thankyou-actions { display: flex; gap: 10px; margin-top: 12px; justify-content: center; }
.dst-thankyou-bacs-details { background: #f9f9f9; padding: 2rem; border-radius: 10px; margin-top: 1rem; text-align: left; }
.dst-thankyou-body { text-align: center; }
.dst-summary-toggle-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 600; background: #fff; border-radius: 80px !important; color: #000; text-decoration: none; padding: 5px 20px; font-size: 14px; border: 2px solid #000; transition: all .2s linear; }
.dst-summary-toggle-link:hover { background: #eee; }
.dst-order-summary { margin-top: 16px; background: #fff; border: 0; border-radius: 10px; padding: 0; }
.dst-order-overview .order_details { list-style: none; padding: 0; margin: 0; }
.dst-order-overview .order_details li { display: flex; gap: 8px; font-size: 14px; padding: 4px 0; }

.woocommerce-order-details__title { display: none; }
.woocommerce ul.order_details { margin: 0; }
.woocommerce .wc-bacs-bank-details-account-name { font-size: 20px; }
.woocommerce table.shop_table th { background: #f9f9f9; }
.woocommerce table.shop_table { margin: 0 auto; }
/* th.product-name { width: 69% !important; } */

.button.apply-coupon-button {
  background: #fff !important;
  border: 1px solid #000 !important;
  cursor: pointer;
}

.dst-checkout-left {
  background: #f9f9f9;
}

.dst-checkout-left {
  border: 1px solid #ccc;
}


.button.apply-coupon-button:hover {
  background: #eee !important;
}

.form-row {
  gap: 0;
  flex-direction: column;
}


#shipping_method {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  list-style: none;
}

#shipping_method li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#shipping_method li label, #shipping_method li input {
  padding: 0;
  margin: 0;
}

#easypack_js_type_geowidget {
  margin: 0;
  margin-top: 10px;
  position: absolute;
  top: 0;
  right: 10px !important;
  padding: 10px;
  font-size: 12px !important;
  border-radius: 100px !important;
}

#shipping_method {
  position: relative;
}

#easypack_selected_point_data {
  padding: 10px 10px;
  line-height: 1;
  font-size: 12px;
  margin-top: 0px;
  text-align: left;
  width: max-content;
  position: relative;
  background: #fffbed;
  margin-top: 10px;
}
#selected-parcel-machine-id {
  font-weight: bold;
}




.wc_payment_method {
	display: flex;
	align-items: center;
	min-height: 48px;
}

.wc_payment_method > label{
	padding:0;
  margin: 0;
  line-height: 1;
}

.dst-shipping-methods {
	font-size: 21px;
	margin: 0;
	padding: 0;
	font-weight: 600;
}

/* ====================================
   Select2 (Bundesland) - Custom Styling
   ==================================== */

/* Container Select2 - dopasowany do innych input fields */
.woocommerce-billing-fields .select2-container,
.woocommerce-shipping-fields .select2-container,
.woocommerce-checkout .select2-container {
	width: 100% !important;
}

/* Pole Select2 - identyczne jak input[type="text"] */
.woocommerce-billing-fields .select2-container--default .select2-selection--single,
.woocommerce-shipping-fields .select2-container--default .select2-selection--single,
.woocommerce-checkout .select2-container--default .select2-selection--single {
	padding: 16px 20px !important;
	font-size: 14px !important;
	font-weight: 300 !important;
	color: #000 !important;
	border: 1px solid #000 !important;
	border-radius: 10px !important;
	background: #fff !important;
	min-height: auto !important;
	height: 57px !important;
	line-height: 1 !important;
	margin-bottom: 1px;
}


select#shipping_state {
  padding: 16px 20px !important;
  font-size: 14px !important;
  font-weight: 300 !important;
  color: #000 !important;
  border: 1px solid #000 !important;
  border-radius: 10px !important;
  background: #fff !important;
  min-height: auto !important;
  height: 57px !important;
  line-height: 1 !important;
  margin-bottom: 1px;
}

select#shipping_country {
  padding: 16px 20px !important;
  font-size: 14px !important;
  font-weight: 300 !important;
  color: #000 !important;
  border: 1px solid #000 !important;
  border-radius: 10px !important;
  background: #fff !important;
  min-height: auto !important;
  height: 57px !important;
  line-height: 1 !important;
  margin-bottom: 1px;
}


/* Tekst wewnątrz Select2 */
.woocommerce-billing-fields .select2-container--default .select2-selection--single .select2-selection__rendered,
.woocommerce-shipping-fields .select2-container--default .select2-selection--single .select2-selection__rendered,
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
	padding: 0 !important;
	line-height: 1.6 !important;
	color: #000 !important;
	font-weight: 400 !important;
}

/* Placeholder */
.woocommerce-billing-fields .select2-container--default .select2-selection--single .select2-selection__placeholder,
.woocommerce-shipping-fields .select2-container--default .select2-selection--single .select2-selection__placeholder,
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__placeholder {
	color: #999 !important;
	font-weight: 400 !important;
}

/* Strzałka dropdown - pozycjonowanie */
.woocommerce-billing-fields .select2-container--default .select2-selection--single .select2-selection__arrow,
.woocommerce-shipping-fields .select2-container--default .select2-selection--single .select2-selection__arrow,
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 100% !important;
	top: 0 !important;
	right: 10px !important;
}

/* Strzałka dropdown - wygląd */
.woocommerce-billing-fields .select2-container--default .select2-selection--single .select2-selection__arrow b,
.woocommerce-shipping-fields .select2-container--default .select2-selection--single .select2-selection__arrow b,
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow b {
	border-color: #000 transparent transparent transparent !important;
	border-width: 6px 5px 0 5px !important;
	margin-left: -5px !important;
	margin-top: -7px !important;
}

/* Strzałka gdy select otwarty */
.woocommerce-billing-fields .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b,
.woocommerce-shipping-fields .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b,
.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
	border-color: transparent transparent #000 transparent !important;
	border-width: 0 5px 6px 5px !important;
}

/* Dropdown lista - stylowanie */
.select2-container--default .select2-results__option {
	padding: 10px 12px !important;
	font-size: 15px !important;
	color: #333 !important;
}

/* Opcja przy hover */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
	background-color: #f0f0f0 !important;
	color: #000 !important;
}

/* Opcja wybrana */
.select2-container--default .select2-results__option[aria-selected="true"] {
	background-color: #e8e8e8 !important;
	font-weight: 600 !important;
}

/* Dropdown container */
.select2-dropdown {
	border: 1px solid #ccc !important;
	border-radius: 0 !important;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

/* Search field wewnątrz dropdown (jeśli aktywne) */
.select2-search--dropdown .select2-search__field {
	padding: 8px 10px !important;
	font-size: 15px !important;
	border: 1px solid #ccc !important;
	border-radius: 0 !important;
}

/* Focus state dla Select2 */
.woocommerce-billing-fields .select2-container--default.select2-container--focus .select2-selection--single,
.woocommerce-shipping-fields .select2-container--default.select2-container--focus .select2-selection--single,
.woocommerce-checkout .select2-container--default.select2-container--focus .select2-selection--single,
.woocommerce-billing-fields .select2-container--default.select2-container--open .select2-selection--single,
.woocommerce-shipping-fields .select2-container--default.select2-container--open .select2-selection--single,
.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single {
	border-color: #999 !important;
	outline: none !important;
	box-shadow: none !important;
}

/* ====================================
   Ukryj sekcję z wyborem metody wysyłki (radio buttons)
   Wyświetlamy tylko wiersz "Versandkosten" w podsumowaniu
   ==================================== */

/* Ukryj całą sekcję shipping w review order (checkout) */
.woocommerce-checkout-review-order-table tr.shipping-fullwidth,
.woocommerce-checkout-review-order-table tr.shipping {
	display: none !important;
}

/* Ukryj sekcję shipping w cart totals (koszyk) */
.cart_totals tr.woocommerce-shipping-totals,
.cart_totals .shipping {
	display: none !important;
}

/* Ukryj kalkulator wysyłki jeśli się pojawia */
.shipping-calculator-button,
.shipping-calculator-form {
	display: none !important;
}





.dst-checkout-section #place_order {
  border-radius: 100px;
  background: #cf142b;
}

.dst-checkout-section #place_order:hover {
  background: #9f1022;
}

.dst-coupon-section .button.apply-coupon-inline {
  border-radius: 10px !important;
  border: 0 !important;
  font-size: 14px !important;
  padding: 0 20px;
}

.dst-coupon-section .button.apply-coupon-inline::after {
  display: none;
  left: 0;
  right: 0;
  margin: 0;
}

.dst-coupon-section .button.apply-coupon-inline::after {
  display: none !important;
}

.dst-coupon-section .button.apply-coupon-inline:hover {
  padding: 0 20px !important;
  background: #ccc !important;
}


.woocommerce-page form .form-row label.checkbox {

  align-items: baseline;
  gap: 0px;
}

/* Mobile responsive styles */
@media (max-width: 767px) {
  .dst-thankyou-title {
    font-size: 24px;
  }

  .woocommerce table.shop_table {
    padding: 0rem;
  }

.woocommerce table.shop_table tbody {
	width: 100% !important;
}
  .dst-thankyou-anim {
    width: 130px;
    height: 130px;
  }

  .wc-bacs-bank-details-heading {
    font-size: 20px;
  }

  h3 {
    font-size: 15px !important;
  }

  .woocommerce ul.order_details li strong {
    font-size: 16px;
  }
}


#billing_email_field {
	grid-column: 1/3;
}

.woocommerce #respond input#submit, .woocommerce-page #respond input#submit, .woocommerce #content input.button, .woocommerce-page #content input.button, .woocommerce-message, .woocommerce-error, .woocommerce-info {
  background: #cf142b0f !important;
}

/* ========================================
   MY ACCOUNT - PREMIUM UX
   ======================================== */

/* Account Navigation */
.woocommerce-account .woocommerce-MyAccount-navigation {
  background: #fff;
  border-radius: 12px;
  padding: 0;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin: 0;
  border-bottom: 1px solid #f0f0f0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
  border-bottom: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 16px 24px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.2s ease;
  position: relative;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  background: #f9f9f9;
  color: #cf142b;
  padding-left: 28px;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  background: #cf142b;
  color: #fff;
  font-weight: 600;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #fff;
}

/* Account Content */
.woocommerce-account .woocommerce-MyAccount-content {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Orders Table */
.woocommerce-account .woocommerce-orders-table {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.woocommerce-account .woocommerce-orders-table thead {
  background: #f9f9f9;
}

.woocommerce-account .woocommerce-orders-table thead th {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #666;
  border: none;
  background: #f9f9f9;
}

.woocommerce-account .woocommerce-orders-table tbody td {
  padding: 18px 20px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
  font-size: 14px;
}

.woocommerce-account .woocommerce-orders-table tbody tr:last-child td {
  border-bottom: none;
}

.woocommerce-account .woocommerce-orders-table tbody tr:hover {
  background: #fafafa;
}

/* Order Number */
.woocommerce-account .woocommerce-orders-table .woocommerce-orders-table__cell-order-number a {
  color: #cf142b;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}

.woocommerce-account .woocommerce-orders-table .woocommerce-orders-table__cell-order-number a:hover {
  text-decoration: underline;
}

/* Order Status */
.woocommerce-account .woocommerce-orders-table .woocommerce-order-status {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}

.woocommerce-account .woocommerce-order-status.status-on-hold {
  background: #fff3cd;
  color: #856404;
}

.woocommerce-account .woocommerce-order-status.status-processing {
  background: #d1ecf1;
  color: #0c5460;
}

.woocommerce-account .woocommerce-order-status.status-completed {
  background: #d4edda;
  color: #155724;
}

.woocommerce-account .woocommerce-order-status.status-cancelled,
.woocommerce-account .woocommerce-order-status.status-failed {
  background: #f8d7da;
  color: #721c24;
}

/* Order Total */
.woocommerce-account .woocommerce-orders-table__cell-order-total {
  font-weight: 600;
  color: #333;
  font-size: 15px;
}

/* View Order Button */
.woocommerce-account .woocommerce-button.view {
  background: #000;
  color: #fff;
  padding: 2px 24px !important;
  border-radius: 56px;
  border: none;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.woocommerce-account .woocommerce-button.view::after {
  display: none;
}

.woocommerce-account .woocommerce-button.view:hover {
  background: #cf142b;
  border: 0 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(207, 20, 43, 0.3);
}

/* Next/Pagination Button */
.woocommerce-button.woocommerce-button--next.woocommerce-Button.woocommerce-Button--next.button {
  border-radius: 100px !important;
  font-size: 19px !important;
  background: #000;
}

/* Order Details Page - Reset max-width */
.woocommerce-account .woocommerce-order-details {
  max-width: 100%;
}

.woocommerce-account .woocommerce-table--order-details {
  max-width: 100%;
  margin: 0;
}

/* Addresses */
.woocommerce-account .woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: flex-start;
}

/* Hide pseudo-elements */
.u-columns.woocommerce-Addresses.col2-set.addresses::before,
.u-columns.woocommerce-Addresses.col2-set.addresses::after {
  display: none;
}

.woocommerce-account .woocommerce-Address {
  background: #f9f9f9;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid #e7e7e7;
}

/* Address Title */
.woocommerce-Address-title.title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 0;
}

.woocommerce-account .woocommerce-Address-title h3,
.woocommerce-Address-title.title h2 {
  margin-top: 0;
  font-size: 20px;
  font-weight: 700;
  color: #333;
}

.woocommerce-account .woocommerce-Address address {
  font-style: normal;
  line-height: 1.4;
  color: #000;
  font-size: 14px;
  margin-top: 1rem;
}

/* Edit Address Button */
.woocommerce-account .woocommerce-Address .edit {
  background: #000;
  color: #fff !important;
  padding: 3px 18px;
  border-radius: 100px;
  border: 0;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  display: inline-block;
  margin-top: 0;
  transition: all 0.2s ease;
}

.woocommerce-account .woocommerce-Address .edit:hover {
  background: #cf142b;
  color: #fff;
}

/* Remove top margin from col-2 */
.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-2 {
  margin-top: 0;
}

/* Account Details Form */
.woocommerce-account .woocommerce-EditAccountForm fieldset {
  background: #f9f9f9;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid #e7e7e7;
  margin-bottom: 24px;
}

.woocommerce-account .woocommerce-EditAccountForm legend {
  font-weight: 600;
  font-size: 16px;
  color: #333;
  padding: 0 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .woocommerce-account .woocommerce-MyAccount-content {
    padding: 20px;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation li a {
    padding: 14px 20px;
  }

  .woocommerce-account .woocommerce-orders-table {
    font-size: 13px;
  }

  .woocommerce-account .woocommerce-orders-table thead th,
  .woocommerce-account .woocommerce-orders-table tbody td {
    padding: 12px 14px;
  }

  .woocommerce-account .woocommerce-Addresses {
    grid-template-columns: 1fr;
  }
}

/* Mobile - Hide some columns on small screens */
@media (max-width: 600px) {
  .woocommerce-account .woocommerce-orders-table__cell-order-date,
  .woocommerce-account .woocommerce-orders-table__cell-order-status {
    display: none;
  }
}

/* Edit Address Form */
.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row {
  margin-bottom: 1rem !important;
}

.woocommerce-account .form-row .form-row-first {
  margin: 0;
}

/* Buttons in My Account */
.woocommerce-account .button {
  font-size: 16px !important;
  border: 0 !important;
  border-radius: 100px !important;
  padding: 10px 20px !important;
}

.woocommerce-account .button::after {
  display: none !important;
}

.woocommerce #respond input#submit, 
.woocommerce-page #respond input#submit, 
.woocommerce #content input.button, 
.woocommerce-page #content input.button, 
.woocommerce-message, 
.woocommerce-error, 
.woocommerce-info {
	background: #b2cbff21 !important;
	color: #000 !important;
	border: 1px solid #8c9cbd !important;
	line-height: 1.7;
	font-size: 14px !important;
}





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

.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
  /* border: 1px solid #cfc8d8; */
  /* margin: 2em 0; */
  border: 0;
  margin: 1em 0;
  padding: 0;
  padding: 0 !important;
}

/* Inline | https://jsl.dstdesign.website/mein-konto/ */

#customer_login {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.woocommerce-button.button.woocommerce-form-login__submit {
  margin: 0;
  margin-bottom: 1rem;
}

.woocommerce-LostPassword.lost_password a {
  font-size: 14px;
}

#customer_login::before, #customer_login::after {
  display: none;
}

#customer_login {
  /* gap: 1rem; */
  gap: 3rem;
}

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

.woocommerce-form.woocommerce-form-register.register > p {
  line-height: 1;
  font-size: 12px;
}

.woocommerce-privacy-policy-text {
  margin-bottom: 1rem;
}



@media (max-width: 767px) {
  

#customer_login {
  gap: 2rem !important;
  flex-direction: column;
}

.woocommerce-privacy-policy-text {
  line-height: 1;
}


.woocommerce-form.woocommerce-form-login {
  width: auto;
}

}

/* Ukryj "(optional)" przy polach faktury */
.invoice-field .optional {
  display: none !important;
}

/* Pole shipping_company - domyślnie ukryte, JS pokaże gdy firma + ship to different */
.shipping-company-field {
  display: none;
}

/* Pole shipping_company - domyślnie ukryte, JS pokaże gdy firma + ship to different */
.shipping-company-field {
  display: none;
}

#shipping_company_field {
  display: none;
}

#shipping_company_field.form-row-wide,
.shipping-company-field.form-row-wide {
  width: 100%;
  clear: both;
}

/* Ukryj pola kraju - niepotrzebne w checkout */
#billing_country_field {
  display: none !important;
}

#shipping_country_field {
  display: none !important;
}