:root {
  --strefa-commerce-bg: #ffffff;
  --strefa-commerce-surface: #fbf8f3;
  --strefa-commerce-border: #e7e1d9;
  --strefa-commerce-border-soft: #f1ece5;
  --strefa-commerce-text: #151515;
  --strefa-commerce-muted: #69645c;
  --strefa-commerce-accent: #e4a125;
  --strefa-commerce-black: #0a0a0a;
}

body.woocommerce-cart,
body.woocommerce-checkout {
  background: var(--strefa-commerce-bg);
}

body.woocommerce-cart .woocommerce-products-header,
body.woocommerce-checkout .woocommerce-products-header,
body.woocommerce-cart .page-title,
body.woocommerce-checkout .page-title,
body.woocommerce-cart .entry-title,
body.woocommerce-checkout .entry-title {
  display: none !important;
}

body.woocommerce-cart .et_pb_section_0_tb_body,
body.woocommerce-checkout .et_pb_section_0_tb_body {
  display: none !important;
}

.strefa-commerce-page {
  width: min(1240px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 24px 0 40px;
  color: var(--strefa-commerce-text);
}

.strefa-commerce-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(249,246,241,0.98) 100%);
}

.strefa-commerce-hero__inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(320px, 1fr);
  align-items: center;
  gap: 40px;
  min-height: 228px;
  padding: 32px 20px;
}

.strefa-commerce-hero__copy {
  position: relative;
  padding: 18px 0 18px 84px;
}

.strefa-commerce-hero__copy h1 {
  margin: 0;
  font-size: clamp(48px, 4.8vw, 78px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.strefa-commerce-hero__copy p {
  max-width: 360px;
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--strefa-commerce-muted);
}

.strefa-commerce-hero__art {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.strefa-commerce-hero__art img {
  display: block;
  width: min(100%, 510px);
  aspect-ratio: 2.38 / 1;
  object-fit: cover;
  border-radius: 34px;
  background: #efe7de;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}

.strefa-commerce-spark {
  position: absolute;
  color: var(--strefa-commerce-accent);
  font-size: 28px;
  line-height: 1;
  user-select: none;
}

.strefa-commerce-spark--lg {
  left: 0;
  top: 38px;
  font-size: 72px;
}

.strefa-commerce-spark--sm {
  left: 46px;
  top: 100px;
  font-size: 30px;
}

.strefa-commerce-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.85fr);
  gap: 24px;
  align-items: start;
  margin-top: 16px;
}

.strefa-commerce-layout--checkout {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  margin-top: 16px;
}

.strefa-commerce-layout--checkout-summary {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 12px;
}

.strefa-commerce-layout__main,
.strefa-commerce-layout__side {
  min-width: 0;
}

.strefa-commerce-layout__side:empty {
  display: none;
}

.strefa-commerce-card {
  border: 1px solid var(--strefa-commerce-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.03);
}

.strefa-commerce-card__body {
  padding: 0;
}

.strefa-commerce-card--table {
  padding: 0;
}

.strefa-commerce-card--summary {
  padding: 20px 18px 18px;
  background: linear-gradient(180deg, #fbf7f1 0%, #fff 100%);
}

.strefa-commerce-card--checkout,
.strefa-commerce-card--checkout-review {
  padding: 18px 18px 10px;
}

.strefa-commerce-card--checkout-review {
  margin-top: 12px;
}

.strefa-commerce-card .woocommerce-billing-fields,
.strefa-commerce-card .woocommerce-shipping-fields,
.strefa-commerce-card .woocommerce-additional-fields {
  margin: 0;
}

.strefa-commerce-card h3,
.strefa-commerce-card h2 {
  margin: 0 0 14px;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.strefa-commerce-card .shop_table {
  margin: 0;
  border: 0;
  background: transparent;
}

.strefa-commerce-card table.shop_table thead th {
  border: 0;
  border-bottom: 1px solid var(--strefa-commerce-border);
  padding: 22px 18px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6d6459;
}

.strefa-commerce-card table.shop_table td {
  border: 0;
  border-bottom: 1px solid var(--strefa-commerce-border-soft);
  padding: 18px;
  vertical-align: middle;
}

.strefa-commerce-card table.shop_table tbody tr:last-child td,
.strefa-commerce-card table.shop_table tfoot tr:last-child th,
.strefa-commerce-card table.shop_table tfoot tr:last-child td {
  border-bottom: 0;
}

.strefa-commerce-card table.shop_table .product-remove {
  width: 32px;
  text-align: center;
}

.strefa-commerce-card table.shop_table .product-remove a.remove {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  color: #7b7166 !important;
  font-size: 24px;
  font-weight: 300;
}

.strefa-commerce-card table.shop_table .product-thumbnail {
  width: 78px;
}

.strefa-commerce-card table.shop_table .product-thumbnail img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 18px;
  background: #f2ebe2;
}

.strefa-commerce-card table.shop_table .product-name {
  font-size: 16px;
  font-weight: 700;
}

.strefa-commerce-card table.shop_table .product-price,
.strefa-commerce-card table.shop_table .product-subtotal,
.strefa-commerce-card table.shop_table tfoot td {
  font-size: 15px;
  color: var(--strefa-commerce-text);
}

.strefa-commerce-card table.shop_table .product-quantity .quantity {
  display: inline-flex;
  align-items: center;
}

.strefa-commerce-card table.shop_table .product-quantity .quantity input.qty {
  width: 54px;
  border-color: var(--strefa-commerce-border);
  border-radius: 10px;
  background: #fff;
}

.strefa-commerce-card .actions {
  padding: 18px;
}

.strefa-commerce-card .coupon {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.strefa-commerce-card .coupon .input-text,
.woocommerce-checkout .woocommerce form .form-row input.input-text,
.woocommerce-checkout .woocommerce form .form-row textarea,
.woocommerce-cart .woocommerce form .form-row input.input-text,
.woocommerce-cart .woocommerce form .form-row textarea {
  width: 100%;
  border: 1px solid var(--strefa-commerce-border);
  border-radius: 14px;
  background: #fff;
  color: var(--strefa-commerce-text);
  box-shadow: none;
}

.strefa-commerce-card .coupon .button,
.woocommerce-cart button[name="update_cart"],
.woocommerce-cart .checkout-button,
.woocommerce-checkout #place_order,
.woocommerce-checkout .button.alt {
  min-height: 50px;
  border: 0 !important;
  border-radius: 16px !important;
  background: var(--strefa-commerce-black) !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-transform: none;
  box-shadow: none !important;
}

.strefa-commerce-card button[name="update_cart"] {
  float: right;
  min-width: 160px;
}

.strefa-commerce-card .coupon .button {
  min-width: 210px;
}

.strefa-commerce-card .coupon .button:hover,
.woocommerce-cart button[name="update_cart"]:hover,
.woocommerce-cart .checkout-button:hover,
.woocommerce-checkout #place_order:hover {
  transform: translateY(-1px);
}

.woocommerce-cart .cart_totals {
  margin: 0;
}

.woocommerce-cart .cart_totals > h2,
.woocommerce-checkout #order_review_heading {
  margin: 0 0 16px;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.woocommerce-cart .cart_totals table.shop_table,
.woocommerce-checkout .woocommerce-checkout-review-order-table {
  border: 0;
}

.woocommerce-cart .cart_totals table.shop_table th,
.woocommerce-cart .cart_totals table.shop_table td,
.woocommerce-checkout .woocommerce-checkout-review-order-table th,
.woocommerce-checkout .woocommerce-checkout-review-order-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--strefa-commerce-border-soft);
}

.woocommerce-cart .cart_totals table.shop_table tr:last-child th,
.woocommerce-cart .cart_totals table.shop_table tr:last-child td,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr:last-child th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr:last-child td {
  border-bottom: 0;
}

.woocommerce-cart .cart_totals .order-total th,
.woocommerce-cart .cart_totals .order-total td,
.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td {
  font-size: 16px;
  font-weight: 700;
}

.woocommerce-cart .checkout-button {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 16px 20px !important;
}

.woocommerce-cart .checkout-button::after {
  content: '\2192';
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.strefa-commerce-feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 22px;
  padding: 0;
  border: 1px solid var(--strefa-commerce-border);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #fcfaf6 0%, #fff 100%);
}

.strefa-commerce-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
}

.strefa-commerce-feature + .strefa-commerce-feature {
  border-left: 1px solid var(--strefa-commerce-border);
}

.strefa-commerce-feature__icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(228, 161, 37, 0.7);
  border-radius: 50%;
  color: var(--strefa-commerce-text);
  font-size: 22px;
}

.strefa-commerce-feature__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.strefa-commerce-feature__copy strong {
  font-size: 15px;
  line-height: 1.2;
}

.strefa-commerce-feature__copy span {
  font-size: 13px;
  line-height: 1.45;
  color: var(--strefa-commerce-muted);
}

.strefa-commerce-card .woocommerce-billing-fields__field-wrapper,
.strefa-commerce-card .woocommerce-shipping-fields__field-wrapper,
.strefa-commerce-card .woocommerce-additional-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.strefa-commerce-card .form-row-wide {
  grid-column: 1 / -1;
}

.strefa-commerce-card .form-row {
  margin: 0;
  padding: 0;
}

.strefa-commerce-card .woocommerce-billing-fields h3,
.strefa-commerce-card .woocommerce-shipping-fields h3,
.strefa-commerce-card .woocommerce-additional-fields h3 {
  margin-bottom: 18px;
}

.strefa-commerce-card .woocommerce-account-fields {
  margin-top: 12px;
}

.strefa-commerce-card .woocommerce-checkout-review-order-table,
.strefa-commerce-card .wc_payment_methods {
  margin-top: 0;
}

.strefa-checkout-payment__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.strefa-checkout-payment__header h3 {
  margin: 0;
}

.strefa-checkout-payment__secure {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--strefa-commerce-muted);
  font-size: 13px;
}

.strefa-commerce-card .payment_box {
  margin: 12px 0 0;
  border-radius: 12px;
  background: #f4f0ea;
  border: 1px solid #ece4d9;
}

.strefa-commerce-card .woocommerce-privacy-policy-text {
  margin: 14px 0 16px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--strefa-commerce-muted);
}

.strefa-commerce-card .woocommerce-terms-and-conditions-wrapper {
  margin: 12px 0 0;
}

.strefa-commerce-card .place-order {
  margin-top: 18px;
  padding: 0;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr:last-child th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr:last-child td {
  padding-bottom: 0;
}

@media (max-width: 1120px) {
  .strefa-commerce-page {
    width: min(100vw - 32px, 1240px);
  }

  .strefa-commerce-layout,
  .strefa-commerce-layout--checkout {
    grid-template-columns: 1fr;
  }

  .strefa-commerce-hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 24px;
  }

  .strefa-commerce-hero__copy {
    padding-left: 64px;
  }

  .strefa-commerce-hero__art {
    justify-content: center;
  }

  .strefa-commerce-hero__art img {
    width: min(100%, 620px);
  }

  .strefa-commerce-feature-strip {
    grid-template-columns: 1fr;
  }

  .strefa-commerce-feature + .strefa-commerce-feature {
    border-left: 0;
    border-top: 1px solid var(--strefa-commerce-border);
  }
}

@media (max-width: 768px) {
  .strefa-commerce-page {
    width: calc(100vw - 20px);
    padding-top: 14px;
  }

  .strefa-commerce-hero__inner {
    padding: 20px 14px 22px;
  }

  .strefa-commerce-hero__copy {
    padding: 0 0 0 48px;
  }

  .strefa-commerce-hero__copy h1 {
    font-size: clamp(38px, 10vw, 54px);
  }

  .strefa-commerce-hero__art img {
    aspect-ratio: 1.9 / 1;
  }

  .strefa-commerce-hero__copy p {
    max-width: 100%;
    margin-top: 14px;
    font-size: 15px;
  }

  .strefa-commerce-spark--lg {
    top: 16px;
    font-size: 52px;
  }

  .strefa-commerce-spark--sm {
    left: 30px;
    top: 72px;
    font-size: 24px;
  }

  .strefa-commerce-card .woocommerce-billing-fields__field-wrapper,
  .strefa-commerce-card .woocommerce-shipping-fields__field-wrapper,
  .strefa-commerce-card .woocommerce-additional-fields__field-wrapper {
    grid-template-columns: 1fr;
  }

  .strefa-commerce-card .coupon {
    grid-template-columns: 1fr;
  }

  .strefa-commerce-card button[name="update_cart"],
  .strefa-commerce-card .coupon .button,
  .woocommerce-cart .checkout-button,
  .woocommerce-checkout #place_order {
    width: 100%;
  }

  .woocommerce-cart button[name="update_cart"] {
    float: none;
    margin-top: 10px;
  }

  .woocommerce-cart .cart_totals > h2,
  .woocommerce-checkout #order_review_heading {
    font-size: 22px;
  }

  .strefa-commerce-feature {
    padding: 16px;
  }
}

/* Final commerce layout guards: Divi/WooCommerce inject floats and widths late. */
body.woocommerce-cart .woocommerce > .cart_totals {
  display: none !important;
}

body.woocommerce-cart .et_pb_wc_cart_totals {
  display: none !important;
}

body.woocommerce-cart .et_pb_column_2_tb_body {
  display: none !important;
}

body.woocommerce-cart .et_pb_row_1_tb_body,
body.woocommerce-cart .et_pb_section_1_tb_body {
  width: 100% !important;
  max-width: 100% !important;
}

body.woocommerce-cart .et_pb_column_1_tb_body {
  width: 100% !important;
  max-width: 100% !important;
  margin-right: 0 !important;
}

body.woocommerce-cart .et_pb_wc_cart_products {
  width: 100% !important;
}

body.woocommerce-cart .strefa-commerce-card--summary .cart_totals {
  display: block !important;
}

.woocommerce-cart .strefa-commerce-page,
.woocommerce-checkout .strefa-commerce-page {
  clear: both;
  width: min(1080px, calc(100vw - 48px));
  max-width: none;
  margin-inline: auto;
  padding-top: 32px;
}

.woocommerce-cart .strefa-commerce-page::after,
.woocommerce-checkout .strefa-commerce-page::after,
.woocommerce-checkout form.checkout.woocommerce-checkout::after {
  content: "";
  display: block;
  clear: both;
}

.woocommerce-cart .strefa-commerce-hero,
.woocommerce-checkout .strefa-commerce-hero {
  margin-bottom: 16px;
}

.woocommerce-cart .strefa-commerce-hero__inner,
.woocommerce-checkout .strefa-commerce-hero__inner {
  min-height: 236px;
  padding: 36px 46px;
}

.woocommerce-cart .strefa-commerce-layout,
.woocommerce-checkout .strefa-commerce-layout {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  clear: both;
}

.woocommerce-cart .strefa-commerce-layout--cart {
  display: grid !important;
  grid-template-columns: minmax(0, 690px) minmax(320px, 1fr);
  gap: 20px;
  align-items: start;
}

.woocommerce-cart .strefa-commerce-layout__main,
.woocommerce-cart .strefa-commerce-layout__side,
.woocommerce-cart .woocommerce-cart-form,
.woocommerce-cart .cart-collaterals,
.woocommerce-cart .cart_totals,
.woocommerce-checkout .strefa-commerce-layout__main,
.woocommerce-checkout .strefa-commerce-layout__side,
.woocommerce-checkout .strefa-commerce-layout__side--summary,
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-checkout-review-order,
.woocommerce-checkout #order_review {
  float: none !important;
  width: auto !important;
  max-width: none !important;
}

.woocommerce-cart .strefa-commerce-card--table,
.woocommerce-cart .strefa-commerce-card--summary,
.woocommerce-checkout .strefa-commerce-card {
  box-sizing: border-box;
  width: 100%;
}

.woocommerce-cart .cart_totals > h2 {
  display: none;
}

.woocommerce-cart .strefa-commerce-card--summary {
  padding: 20px;
}

.woocommerce-cart .cart_totals table {
  margin: 0 0 22px;
}

.woocommerce-cart .wc-proceed-to-checkout {
  padding: 18px 0 0;
}

.woocommerce-cart .strefa-commerce-feature-strip {
  margin-top: 24px;
}

.woocommerce-checkout form.checkout.woocommerce-checkout {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  clear: both;
}

.woocommerce-checkout .strefa-commerce-layout--checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 24px;
  align-items: start;
}

.woocommerce-checkout .strefa-commerce-layout__side--summary {
  display: block !important;
}

.woocommerce-checkout .strefa-commerce-card--checkout-review {
  margin: 0;
  padding: 18px;
}

.woocommerce-checkout #order_review_heading {
  margin: 0 0 14px;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table {
  margin-bottom: 18px;
}

.woocommerce-checkout #place_order,
.woocommerce-checkout #place_order:disabled,
.woocommerce-checkout #place_order[disabled] {
  background: #050505 !important;
  color: #fff !important;
  opacity: 1 !important;
}

.woocommerce-checkout .strefa-commerce-feature-strip {
  clear: both;
  float: none !important;
  width: 100%;
  margin-top: 24px;
}

@media (max-width: 980px) {
  .woocommerce-cart .strefa-commerce-layout--cart,
  .woocommerce-checkout .strefa-commerce-layout--checkout {
    grid-template-columns: 1fr;
  }
}

/* Mockup pass: shared desktop/mobile geometry. */
.woocommerce-cart .strefa-commerce-page,
.woocommerce-checkout .strefa-commerce-page {
  width: 100%;
  padding: 0 0 30px;
}

.woocommerce-cart .strefa-commerce-hero,
.woocommerce-checkout .strefa-commerce-hero {
  width: 100%;
  margin: 0 0 28px;
  border: 0;
  background: linear-gradient(180deg, #f8f3ee 0%, #fff 100%);
}

.woocommerce-cart .strefa-commerce-hero__inner,
.woocommerce-checkout .strefa-commerce-hero__inner {
  max-width: 1080px;
  min-height: 255px;
  margin: 0 auto;
  padding: 34px 0;
  grid-template-columns: minmax(0, 420px) minmax(0, 560px);
  gap: 86px;
}

.woocommerce-cart .strefa-commerce-hero__copy,
.woocommerce-checkout .strefa-commerce-hero__copy {
  padding: 20px 0 20px 58px;
}

.woocommerce-cart .strefa-commerce-hero__copy h1,
.woocommerce-checkout .strefa-commerce-hero__copy h1 {
  font-size: 64px;
  letter-spacing: -0.055em;
}

.woocommerce-cart .strefa-commerce-hero__copy p,
.woocommerce-checkout .strefa-commerce-hero__copy p {
  max-width: 330px;
  margin-top: 30px;
  font-size: 17px;
  line-height: 1.55;
}

.woocommerce-cart .strefa-commerce-spark--lg,
.woocommerce-checkout .strefa-commerce-spark--lg {
  left: -46px;
  top: 86px;
  font-size: 76px;
}

.woocommerce-cart .strefa-commerce-spark--sm,
.woocommerce-checkout .strefa-commerce-spark--sm {
  left: 6px;
  top: 145px;
  font-size: 28px;
}

.woocommerce-cart .strefa-commerce-hero__art img,
.woocommerce-checkout .strefa-commerce-hero__art img {
  width: 560px;
  border-radius: 0;
  box-shadow: none;
}

.woocommerce-cart .strefa-commerce-layout,
.woocommerce-cart .strefa-commerce-feature-strip,
.woocommerce-checkout .strefa-commerce-layout,
.woocommerce-checkout .strefa-commerce-feature-strip,
.woocommerce-checkout .strefa-commerce-coupon-bar {
  width: min(1080px, calc(100vw - 48px)) !important;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.woocommerce-cart .strefa-commerce-hero,
.woocommerce-checkout .strefa-commerce-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.woocommerce-checkout .strefa-commerce-coupon-bar {
  margin-top: -10px;
  margin-bottom: 14px;
}

.woocommerce-checkout .strefa-commerce-coupon-bar .woocommerce-form-coupon-toggle .woocommerce-info {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  margin: 0;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: #f5eee7 !important;
  color: #4d4842 !important;
  font-size: 14px;
}

.woocommerce-checkout .strefa-commerce-coupon-bar .woocommerce-form-coupon-toggle .woocommerce-info::before {
  position: static;
  content: "\f02b";
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #111;
  border-radius: 50%;
  font-family: "Line Awesome Free";
  font-weight: 900;
  color: #111;
}

.woocommerce-checkout .strefa-commerce-coupon-bar .woocommerce-form-coupon {
  margin: 10px 0 0;
  border: 1px solid var(--strefa-commerce-border);
  border-radius: 14px;
}

.woocommerce-cart .strefa-commerce-layout--cart {
  grid-template-columns: minmax(0, 710px) minmax(0, 320px);
  gap: 22px;
}

.woocommerce-checkout .strefa-commerce-layout--checkout {
  grid-template-columns: minmax(0, 560px) minmax(0, 480px);
  gap: 28px;
  margin-top: 0;
}

.strefa-commerce-card {
  border-color: #ddd5cc;
  border-radius: 10px;
  box-shadow: none;
}

.strefa-commerce-card--summary,
.strefa-commerce-card--checkout-review {
  background: linear-gradient(120deg, #fff 0%, #fbf5ef 100%);
}

.woocommerce-cart .cart_totals > h2 {
  display: block;
  font-size: 28px;
}

.woocommerce-cart .cart_totals > h2::after,
.woocommerce-checkout #order_review_heading::after {
  content: "*";
  margin-left: 12px;
  color: var(--strefa-commerce-accent);
  font-size: 28px;
  line-height: 1;
}

.woocommerce-cart .strefa-commerce-card--summary {
  padding: 22px 24px 20px;
}

.woocommerce-cart .wc-proceed-to-checkout {
  padding-top: 18px;
}

.woocommerce-cart .checkout-button,
.woocommerce-checkout #place_order {
  min-height: 50px;
  border-radius: 12px !important;
}

.woocommerce-cart .strefa-commerce-card button[name="update_cart"] {
  min-width: 120px;
  border: 1px solid #111 !important;
  background: #fff !important;
  color: #111 !important;
}

.strefa-quantity-stepper {
  display: inline-grid;
  grid-template-columns: 42px 42px 42px;
  min-height: 36px;
  border: 1px solid var(--strefa-commerce-border);
  border-radius: 8px;
  overflow: hidden;
}

.strefa-quantity-stepper__button,
.strefa-quantity-stepper input.qty {
  width: 42px !important;
  height: 36px;
  min-height: 36px;
  padding: 0 !important;
  border: 0 !important;
  border-right: 1px solid var(--strefa-commerce-border) !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #111 !important;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
}

.strefa-quantity-stepper__button:last-child {
  border-right: 0 !important;
}

.strefa-quantity-stepper input.qty::-webkit-outer-spin-button,
.strefa-quantity-stepper input.qty::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

.woocommerce-checkout .strefa-commerce-card--checkout {
  padding: 20px 20px 22px;
}

.woocommerce-checkout .strefa-commerce-card--checkout-review {
  padding: 20px 22px;
}

.woocommerce-checkout .strefa-commerce-card .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .strefa-commerce-card .woocommerce-additional-fields__field-wrapper {
  gap: 12px 20px;
}

.woocommerce-checkout .strefa-commerce-card .form-row label {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
}

.woocommerce-checkout .strefa-commerce-card .form-row-first,
.woocommerce-checkout .strefa-commerce-card .form-row-last {
  float: none !important;
  width: auto !important;
}

.woocommerce-checkout .strefa-commerce-card .form-row input.input-text,
.woocommerce-checkout .strefa-commerce-card .form-row textarea,
.woocommerce-checkout .strefa-commerce-card .form-row select {
  min-height: 38px;
  border-radius: 4px;
}

.woocommerce-checkout .strefa-commerce-card .form-row textarea {
  min-height: 72px;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
  padding-top: 0;
}

.woocommerce-checkout #payment {
  background: transparent;
}

.woocommerce-checkout #payment ul.payment_methods {
  padding: 0;
  border: 0;
}

.woocommerce-checkout #payment div.payment_box {
  display: flex;
  gap: 12px;
  margin: 10px 0 0;
  padding: 14px 16px;
  background: #e9e3ed;
  color: #272321;
}

.woocommerce-checkout #payment div.payment_box::before {
  position: static;
  content: "\f05a";
  margin: 0;
  border: 0;
  font-family: "Line Awesome Free";
  font-weight: 900;
  color: #111;
}

.woocommerce-checkout #place_order::before {
  content: "\f023";
  margin-right: 8px;
  font-family: "Line Awesome Free";
  font-weight: 900;
}

.woocommerce-checkout #place_order {
  width: 100%;
}

.strefa-commerce-feature-strip {
  position: relative;
  margin-top: 26px;
  background: linear-gradient(120deg, #f8f1ea 0%, #fff 100%);
}

.strefa-commerce-feature-strip::after {
  content: "*";
  position: absolute;
  right: 28px;
  bottom: 18px;
  color: var(--strefa-commerce-accent);
  font-size: 34px;
  line-height: 1;
}

@media (max-width: 980px) {
  .woocommerce-cart .strefa-commerce-page,
  .woocommerce-checkout .strefa-commerce-page {
    padding-bottom: 0;
  }

  .woocommerce-cart .strefa-commerce-hero,
  .woocommerce-checkout .strefa-commerce-hero {
    margin-bottom: 18px;
  }

  .woocommerce-cart .strefa-commerce-hero__inner,
  .woocommerce-checkout .strefa-commerce-hero__inner {
    width: 100%;
    min-height: 206px;
    padding: 24px 28px 18px;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 12px;
  }

  .woocommerce-cart .strefa-commerce-hero__copy,
  .woocommerce-checkout .strefa-commerce-hero__copy {
    padding: 8px 0 8px 34px;
  }

  .woocommerce-cart .strefa-commerce-hero__copy h1,
  .woocommerce-checkout .strefa-commerce-hero__copy h1 {
    font-size: 48px;
  }

  .woocommerce-cart .strefa-commerce-hero__copy p,
  .woocommerce-checkout .strefa-commerce-hero__copy p {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.5;
  }

  .woocommerce-cart .strefa-commerce-spark--lg,
  .woocommerce-checkout .strefa-commerce-spark--lg {
    left: -22px;
    top: 86px;
    font-size: 58px;
  }

  .woocommerce-cart .strefa-commerce-spark--sm,
  .woocommerce-checkout .strefa-commerce-spark--sm {
    left: 24px;
    top: 136px;
    font-size: 24px;
  }

  .woocommerce-cart .strefa-commerce-hero__art,
  .woocommerce-checkout .strefa-commerce-hero__art {
    align-self: center;
    overflow: visible;
  }

  .woocommerce-cart .strefa-commerce-hero__art img,
  .woocommerce-checkout .strefa-commerce-hero__art img {
    width: 100%;
    min-width: 260px;
  }

  .woocommerce-cart .strefa-commerce-layout,
  .woocommerce-cart .strefa-commerce-feature-strip,
  .woocommerce-checkout .strefa-commerce-layout,
  .woocommerce-checkout .strefa-commerce-feature-strip,
  .woocommerce-checkout .strefa-commerce-coupon-bar {
    width: calc(100vw - 46px) !important;
    max-width: none;
  }

  .woocommerce-checkout .strefa-commerce-coupon-bar {
    margin-top: 0;
    margin-bottom: 16px;
  }

  .woocommerce-checkout .strefa-commerce-layout--checkout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .woocommerce-checkout .strefa-commerce-layout,
  .woocommerce-checkout .strefa-commerce-feature-strip,
  .woocommerce-checkout .strefa-commerce-coupon-bar {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }

  .woocommerce-cart .strefa-commerce-layout--cart {
    display: block !important;
  }

  .woocommerce-cart .strefa-commerce-layout__main,
  .woocommerce-cart .strefa-commerce-layout__side {
    width: 100% !important;
  }

  .woocommerce-cart .shop_table.cart,
  .woocommerce-cart .shop_table.cart thead,
  .woocommerce-cart .shop_table.cart tbody,
  .woocommerce-cart .shop_table.cart tr,
  .woocommerce-cart .shop_table.cart td {
    display: block;
    width: 100% !important;
  }

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

  .woocommerce-cart .shop_table.cart tr.cart_item {
    position: relative;
    display: grid;
    grid-template-columns: 44px 132px minmax(0, 1fr);
    grid-template-areas:
      "remove thumb name"
      "remove thumb price"
      "remove thumb qty"
      "remove thumb subtotal";
    gap: 6px 18px;
    align-items: center;
    padding: 26px 24px;
  }

  .woocommerce-cart .shop_table.cart tr.cart_item td {
    padding: 0;
    border: 0;
  }

  .woocommerce-cart .shop_table.cart .product-remove {
    grid-area: remove;
  }

  .woocommerce-cart .shop_table.cart .product-thumbnail {
    grid-area: thumb;
  }

  .woocommerce-cart .shop_table.cart .product-thumbnail img {
    width: 116px;
    height: 116px;
    border-radius: 20px;
  }

  .woocommerce-cart .shop_table.cart .product-name {
    grid-area: name;
    font-size: 19px;
  }

  .woocommerce-cart .shop_table.cart .product-price {
    grid-area: price;
    font-size: 17px;
  }

  .woocommerce-cart .shop_table.cart .product-quantity {
    grid-area: qty;
  }

  .woocommerce-cart .shop_table.cart .product-subtotal {
    grid-area: subtotal;
    justify-self: end;
    margin-top: -46px;
    font-size: 18px;
    font-weight: 700;
  }

  .woocommerce-cart .shop_table.cart td::before {
    display: none !important;
  }

  .woocommerce-cart .shop_table.cart tr:not(.cart_item) {
    display: block;
    margin-top: 18px;
    border: 1px solid var(--strefa-commerce-border);
    border-radius: 10px;
    background: #fff;
  }

  .woocommerce-cart .shop_table.cart tr:not(.cart_item) td.actions {
    padding: 20px 24px !important;
  }

  .woocommerce-cart .strefa-commerce-card--table {
    border-radius: 10px;
    overflow: visible;
  }

  .woocommerce-cart .strefa-commerce-card--table .actions {
    border: 0;
  }

  .woocommerce-cart .strefa-commerce-card .coupon {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 0;
  }

  .woocommerce-cart .strefa-commerce-card .coupon .input-text,
  .woocommerce-cart .strefa-commerce-card .coupon .button {
    min-height: 58px;
    border-radius: 8px !important;
  }

  .woocommerce-cart button[name="update_cart"] {
    display: none !important;
  }

  .woocommerce-cart .strefa-commerce-card--summary {
    margin-top: 22px;
    padding: 24px;
  }

  .woocommerce-cart .cart_totals > h2 {
    font-size: 30px;
  }

  .woocommerce-cart .cart_totals table.shop_table th,
  .woocommerce-cart .cart_totals table.shop_table td {
    display: table-cell;
    width: 50% !important;
    padding: 10px 0;
  }

  .woocommerce-cart .checkout-button {
    min-height: 64px;
    margin-top: 22px;
    font-size: 18px !important;
  }

  .strefa-commerce-feature-strip {
    grid-template-columns: 1fr;
    margin-top: 22px;
    border-radius: 10px;
  }

  .strefa-commerce-feature {
    padding: 16px 24px;
  }

  .strefa-commerce-feature__icon {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    font-size: 27px;
  }

  .strefa-commerce-feature__copy strong {
    font-size: 17px;
  }

  .woocommerce-checkout .strefa-commerce-card--checkout,
  .woocommerce-checkout .strefa-commerce-card--checkout-review {
    padding: 18px 22px;
  }

  .woocommerce-checkout .strefa-commerce-card .woocommerce-billing-fields__field-wrapper,
  .woocommerce-checkout .strefa-commerce-card .woocommerce-additional-fields__field-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
  }

  .woocommerce-checkout .strefa-commerce-card .form-row-wide {
    grid-column: 1 / -1;
  }

  .woocommerce-checkout .strefa-commerce-card .form-row input.input-text,
  .woocommerce-checkout .strefa-commerce-card .form-row textarea,
  .woocommerce-checkout .strefa-commerce-card .form-row select {
    min-height: 38px;
  }

  .woocommerce-checkout #order_review_heading {
    font-size: 25px;
  }

  .woocommerce-checkout #payment {
    margin-top: 0;
  }

  .woocommerce-checkout #place_order {
    width: 100%;
    min-height: 58px;
    font-size: 17px !important;
  }
}

@media (max-width: 520px) {
  .woocommerce-cart .strefa-commerce-hero__inner,
  .woocommerce-checkout .strefa-commerce-hero__inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .woocommerce-cart .strefa-commerce-hero__copy h1,
  .woocommerce-checkout .strefa-commerce-hero__copy h1 {
    font-size: 40px;
  }

  .woocommerce-cart .strefa-commerce-hero__copy p,
  .woocommerce-checkout .strefa-commerce-hero__copy p {
    font-size: 14px;
  }

  .woocommerce-cart .strefa-commerce-hero__art img,
  .woocommerce-checkout .strefa-commerce-hero__art img {
    min-width: 210px;
  }
}

body.woocommerce-cart .strefa-commerce-page a.button,
body.woocommerce-cart .strefa-commerce-page button.button,
body.woocommerce-cart .strefa-commerce-page input.button,
body.woocommerce-checkout .strefa-commerce-page a.button,
body.woocommerce-checkout .strefa-commerce-page button.button,
body.woocommerce-checkout .strefa-commerce-page input.button {
  background: #050505 !important;
  border-color: #050505 !important;
  color: #fff !important;
}

body.woocommerce-cart .strefa-commerce-page a:not(.button),
body.woocommerce-checkout .strefa-commerce-page a:not(.button) {
  color: #0a0a0a;
}

/* Mobile final pass aligned to supplied 942px mockups. */
@media (max-width: 980px) {
  .woocommerce-cart .strefa-commerce-hero__inner,
  .woocommerce-checkout .strefa-commerce-hero__inner {
    min-height: 260px;
    padding: 28px 46px 26px;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 20px;
  }

  .woocommerce-cart .strefa-commerce-hero__copy,
  .woocommerce-checkout .strefa-commerce-hero__copy {
    padding-left: 42px;
  }

  .woocommerce-cart .strefa-commerce-hero__copy h1,
  .woocommerce-checkout .strefa-commerce-hero__copy h1 {
    font-size: 58px;
    line-height: 0.98;
  }

  .woocommerce-cart .strefa-commerce-hero__copy p,
  .woocommerce-checkout .strefa-commerce-hero__copy p {
    max-width: 310px;
    font-size: 18px;
  }

  .woocommerce-cart .strefa-commerce-spark--lg,
  .woocommerce-checkout .strefa-commerce-spark--lg {
    left: -30px;
    top: 96px;
    font-size: 70px;
  }

  .woocommerce-cart .strefa-commerce-spark--sm,
  .woocommerce-checkout .strefa-commerce-spark--sm {
    left: 20px;
    top: 158px;
  }

  .woocommerce-cart .strefa-commerce-layout,
  .woocommerce-cart .strefa-commerce-feature-strip,
  .woocommerce-checkout .strefa-commerce-layout,
  .woocommerce-checkout .strefa-commerce-feature-strip,
  .woocommerce-checkout .strefa-commerce-coupon-bar {
    width: calc(100vw - 92px) !important;
  }

  .woocommerce-cart .strefa-commerce-layout--cart {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px;
  }

  .woocommerce-cart .strefa-commerce-card--table {
    border: 0;
    background: transparent;
  }

  .woocommerce-cart .strefa-commerce-card--table .strefa-commerce-card__body {
    display: grid;
    gap: 22px;
  }

  .woocommerce-cart table.shop_table.cart,
  .woocommerce-cart table.shop_table.cart tbody {
    display: grid !important;
    gap: 22px;
    border: 0 !important;
    background: transparent !important;
  }

  .woocommerce-cart table.shop_table.cart tr.cart_item {
    display: grid !important;
    grid-template-columns: 44px 132px minmax(0, 1fr) auto;
    grid-template-areas:
      "remove thumb name subtotal"
      "remove thumb price subtotal"
      "remove thumb qty subtotal";
    gap: 8px 22px;
    min-height: 176px;
    padding: 28px 34px !important;
    border: 1px solid var(--strefa-commerce-border);
    border-radius: 10px;
    background: #fff;
  }

  .woocommerce-cart table.shop_table.cart tr.cart_item td {
    display: block !important;
    width: auto !important;
    padding: 0 !important;
    border: 0 !important;
    text-align: left !important;
  }

  .woocommerce-cart table.shop_table.cart .product-remove {
    grid-area: remove;
    align-self: center;
  }

  .woocommerce-cart table.shop_table.cart .product-thumbnail {
    grid-area: thumb;
  }

  .woocommerce-cart table.shop_table.cart .product-thumbnail img {
    width: 116px;
    height: 116px;
  }

  .woocommerce-cart table.shop_table.cart .product-name {
    grid-area: name;
    align-self: end;
    font-size: 21px;
  }

  .woocommerce-cart table.shop_table.cart .product-price {
    grid-area: price;
    font-size: 19px;
  }

  .woocommerce-cart table.shop_table.cart .product-quantity {
    grid-area: qty;
  }

  .woocommerce-cart table.shop_table.cart .product-subtotal {
    grid-area: subtotal;
    align-self: center;
    justify-self: end;
    margin: 0 !important;
    font-size: 22px;
    font-weight: 700;
    white-space: nowrap;
  }

  .woocommerce-cart table.shop_table.cart tr:not(.cart_item) {
    display: block !important;
    margin: 0 !important;
    border: 1px solid var(--strefa-commerce-border);
    border-radius: 10px;
    background: #fff;
  }

  .woocommerce-cart table.shop_table.cart td.actions {
    display: block !important;
    padding: 26px 30px !important;
  }

  .woocommerce-cart .strefa-commerce-card .coupon {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px;
  }

  .woocommerce-cart .strefa-commerce-card .coupon .input-text,
  .woocommerce-cart .strefa-commerce-card .coupon .button {
    width: 100% !important;
    min-height: 58px;
  }

  .woocommerce-cart .strefa-commerce-card--summary {
    margin-top: 0;
  }

  .woocommerce-cart .cart_totals table.shop_table {
    display: table !important;
  }

  .woocommerce-cart .cart_totals table.shop_table tbody,
  .woocommerce-cart .cart_totals table.shop_table tr {
    display: table-row-group !important;
  }

  .woocommerce-cart .cart_totals table.shop_table tr {
    display: table-row !important;
  }

  .woocommerce-checkout .strefa-commerce-layout--checkout {
    gap: 14px;
  }

  .woocommerce-checkout .strefa-commerce-card .woocommerce-billing-fields__field-wrapper,
  .woocommerce-checkout .strefa-commerce-card .woocommerce-additional-fields__field-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Narrow phone final pass for cart/checkout. */
@media (max-width: 600px) {
  .woocommerce-cart .strefa-commerce-hero__inner,
  .woocommerce-checkout .strefa-commerce-hero__inner {
    min-height: 0;
    padding: 28px 32px 30px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .woocommerce-cart .strefa-commerce-hero__copy,
  .woocommerce-checkout .strefa-commerce-hero__copy {
    padding: 0 0 0 24px;
    max-width: none;
  }

  .woocommerce-cart .strefa-commerce-hero__copy h1,
  .woocommerce-checkout .strefa-commerce-hero__copy h1 {
    width: 100%;
    max-width: none;
    margin-bottom: 18px;
    font-size: clamp(44px, 17vw, 58px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .woocommerce-cart .strefa-commerce-hero__copy p,
  .woocommerce-checkout .strefa-commerce-hero__copy p {
    max-width: 260px;
    margin-top: 0;
    font-size: 16px;
    line-height: 1.55;
  }

  .woocommerce-cart .strefa-commerce-spark--lg,
  .woocommerce-checkout .strefa-commerce-spark--lg {
    left: -22px;
    top: 94px;
    font-size: 48px;
  }

  .woocommerce-cart .strefa-commerce-spark--sm,
  .woocommerce-checkout .strefa-commerce-spark--sm {
    left: 28px;
    top: 144px;
    font-size: 22px;
  }

  .woocommerce-cart .strefa-commerce-hero__art,
  .woocommerce-checkout .strefa-commerce-hero__art {
    width: 100%;
    justify-self: stretch;
  }

  .woocommerce-cart .strefa-commerce-hero__art img,
  .woocommerce-checkout .strefa-commerce-hero__art img {
    width: 100%;
    min-width: 0;
    aspect-ratio: 2.38 / 1;
    object-fit: cover;
  }

  .woocommerce-cart .strefa-commerce-layout,
  .woocommerce-cart .strefa-commerce-feature-strip,
  .woocommerce-checkout .strefa-commerce-layout,
  .woocommerce-checkout .strefa-commerce-feature-strip,
  .woocommerce-checkout .strefa-commerce-coupon-bar {
    width: calc(100vw - 48px) !important;
  }

  .woocommerce-cart table.shop_table.cart tr.cart_item {
    grid-template-columns: 32px 96px minmax(0, 1fr);
    grid-template-areas:
      "remove thumb name"
      "remove thumb price"
      "remove thumb qty"
      "subtotal subtotal subtotal";
    gap: 8px 14px;
    min-height: 0;
    padding: 22px 20px !important;
  }

  .woocommerce-cart table.shop_table.cart .product-thumbnail img {
    width: 92px;
    height: 92px;
  }

  .woocommerce-cart table.shop_table.cart .product-name {
    font-size: 18px;
    line-height: 1.2;
  }

  .woocommerce-cart table.shop_table.cart .product-price,
  .woocommerce-cart table.shop_table.cart .product-subtotal {
    font-size: 16px;
  }

  .woocommerce-cart table.shop_table.cart .product-subtotal {
    justify-self: end;
    padding-top: 8px !important;
  }

  .woocommerce-cart .strefa-commerce-card .coupon {
    float: none !important;
    width: 100% !important;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .woocommerce-cart table.shop_table.cart td.actions {
    padding: 20px !important;
  }

  .woocommerce-cart table.shop_table.cart td.actions > .button {
    width: 100%;
    margin-top: 14px;
  }

  .woocommerce-cart .cart_totals h2,
  .woocommerce-checkout .strefa-commerce-card h2 {
    font-size: 28px;
  }

  .woocommerce-checkout .strefa-commerce-card .woocommerce-billing-fields__field-wrapper,
  .woocommerce-checkout .strefa-commerce-card .woocommerce-additional-fields__field-wrapper {
    grid-template-columns: 1fr;
  }
}
