.woocommerce-cart .page-entry,
.woocommerce-checkout .page-entry,
.woocommerce-account .page-entry {
  max-width: 1180px;
}
.woocommerce-cart .page-entry__title,
.woocommerce-checkout .page-entry__title,
.woocommerce-account .page-entry__title {
  margin-bottom: 32px;
}

/* The base .free-ship component now lives in global.css — the cart drawer
   renders it on every route, and this file only loads on cart/checkout.
   Cart-page-specific .woocommerce-cart .free-ship overrides stay below. */

.woocommerce input[type=text],
.woocommerce input[type=email],
.woocommerce input[type=tel],
.woocommerce input[type=password],
.woocommerce input[type=number],
.woocommerce textarea,
.woocommerce select,
.woocommerce .select2-selection {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #ddd;
  background: #fff;
  font: inherit;
  color: #2B2927;
}
@media (max-width: 1023px) {
  .woocommerce input[type=text],
  .woocommerce input[type=email],
  .woocommerce input[type=tel],
  .woocommerce input[type=password],
  .woocommerce input[type=number],
  .woocommerce textarea,
  .woocommerce select,
  .woocommerce .select2-selection {
    min-height: 40px;
    font-size: 14px;
    /* padding-block only — the 12px side padding from the base rule stays. */
    padding-block: 5px;
  }
}
.woocommerce input[type=text]:focus,
.woocommerce input[type=email]:focus,
.woocommerce input[type=tel]:focus,
.woocommerce input[type=password]:focus,
.woocommerce input[type=number]:focus,
.woocommerce textarea:focus,
.woocommerce select:focus,
.woocommerce .select2-selection:focus {
  border-color: #2B2927;
  outline: none;
}
.woocommerce label {
  font-size: 13px;
}
.woocommerce .button,
.woocommerce button.button,
.woocommerce .checkout-button,
.woocommerce #place_order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  background: #2B2927;
  color: #fff;
  border: 1px solid #2B2927;
  border-radius: 0;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
/* "Povratak u prodavnicu" on the empty cart — an <a>, so it also picks up the
   global link underline that the other .button elements never get. */
@media (max-width: 1023px) {
  a.button.wc-backward {
    min-height: 40px;
    text-decoration: unset;
  }
}
.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce .checkout-button:hover,
.woocommerce #place_order:hover {
  background: transparent;
  color: #2B2927;
}
.woocommerce .button--ghost,
.woocommerce button.button--ghost {
  background: transparent;
  color: #2B2927;
  border-color: #dcd7d2;
}
.woocommerce .button--ghost:hover,
.woocommerce button.button--ghost:hover {
  background: #2B2927;
  color: #fff;
  border-color: #2B2927;
}

.woocommerce-cart .woocommerce-cart-form.is-updating {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.woocommerce-cart .woocommerce {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 6px 52px;
  align-items: start;
}
@media (max-width: 1023px) {
  .woocommerce-cart .woocommerce {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
.woocommerce-cart .free-ship,
.woocommerce-cart .woocommerce-notices-wrapper,
.woocommerce-cart .cross-sells {
  grid-column: 1/-1;
}
/* No product-card overrides here on purpose: the .archive-promo cards on the
   cart must render exactly like cards everywhere else. global.css + shop.css
   both load on this page, so leaving the shared rules alone is what keeps
   font, colour and spacing identical to the shop and category grids. */
.woocommerce-cart .woocommerce-cart-form {
  grid-column: 1;
  min-width: 0;
  margin: 0;
}
.woocommerce-cart .cart-collaterals {
  grid-column: 2;
  width: 100%;
  max-width: none;
  margin: 0;
}
@media (max-width: 1023px) {
  .woocommerce-cart .cart-collaterals {
    grid-column: 1;
  }
}
.woocommerce-cart .shop_table.cart {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 0;
}
.woocommerce-cart .shop_table.cart thead th {
  text-align: left;
  padding: 0 14px 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #5B5856;
  border-bottom: 1px solid #e7e3df;
}
.woocommerce-cart .shop_table.cart thead th.product-subtotal {
  text-align: right;
}
.woocommerce-cart .shop_table.cart thead th.product-remove, .woocommerce-cart .shop_table.cart thead th.product-thumbnail {
  padding-left: 0;
  padding-right: 0;
}
.woocommerce-cart .shop_table.cart thead .product-remove {
  width: 28px;
}
.woocommerce-cart .shop_table.cart thead .product-thumbnail {
  width: 88px;
}
.woocommerce-cart .shop_table.cart thead .product-name {
  width: auto;
}
.woocommerce-cart .shop_table.cart thead .product-price {
  width: 136px;
}
.woocommerce-cart .shop_table.cart thead .product-quantity {
  width: 124px;
}
.woocommerce-cart .shop_table.cart thead .product-subtotal {
  width: 150px;
}
.woocommerce-cart .shop_table.cart td {
  padding: 20px 6px;
  border-bottom: 1px solid #efece8;
  vertical-align: middle;
}
.woocommerce-cart .shop_table.cart .product-remove {
  width: 26px;
  padding-left: 0;
  padding-right: 0;
}
.woocommerce-cart .shop_table.cart .product-remove .remove {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  color: #5B5856;
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
  border-radius: 50%;
  transition: color 0.15s ease, background 0.15s ease;
}
.woocommerce-cart .shop_table.cart .product-remove .remove:hover {
  background: #2B2927;
  color: #fff;
  text-decoration: none;
}
.woocommerce-cart .shop_table.cart .product-thumbnail {
  width: 90px;
  padding-left: 0;
}
.woocommerce-cart .shop_table.cart .product-thumbnail img {
  width: 80px;
  height: auto;
  display: block;
  border-radius: 2px;
}
.woocommerce-cart .shop_table.cart .product-name a {
  color: #2B2927;
  font-size: 14px;
  text-decoration: unset;
}
.woocommerce-cart .shop_table.cart .product-name a:hover {
  color: #2B2927;
}
.woocommerce-cart .shop_table.cart .product-name .variation {
  margin: 5px 0 0;
  font-size: 12px;
  color: #5B5856;
}
.woocommerce-cart .shop_table.cart .product-name .variation dt, .woocommerce-cart .shop_table.cart .product-name .variation dd {
  display: inline;
  margin: 0;
  font-weight: 400;
}
.woocommerce-cart .shop_table.cart .product-name .variation dd {
  margin-right: 8px;
}
.woocommerce-cart .shop_table.cart .product-name .variation dd p {
  display: inline;
  margin: 0;
}
/* Each meta pair (Veličina: M / Combo: … −10%) on its own line — keeps combo
   lines readable no matter how long the labels get. */
.woocommerce-cart .shop_table.cart .product-name .variation dd::after {
  content: "";
  display: block;
}
/* Combo (Mokka Combo Products plugin) — grouped, locked-set lines. */
/* .mkc-tag-off / .mkc-qty-locked moved to global.css — the side cart renders
   combo lines on every route, where this file is not loaded. */
.woocommerce-cart .shop_table.cart .product-price {
  font-size: 14px;
  color: #5B5856;
  white-space: nowrap;
}
.woocommerce-cart .shop_table.cart .product-quantity {
  margin: unset;
}
.woocommerce-cart .shop_table.cart .product-subtotal {
  margin: unset;
  font-size: 14px;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}
/* On-sale prices (combo lines etc.) stack: old price struck through, above the
   new price — never side by side. */
.woocommerce-cart .shop_table.cart .product-price del,
.woocommerce-cart .shop_table.cart .product-price ins,
.woocommerce-cart .shop_table.cart .product-subtotal del,
.woocommerce-cart .shop_table.cart .product-subtotal ins {
  display: block;
  white-space: nowrap;
}
.woocommerce-cart .shop_table.cart .product-price del,
.woocommerce-cart .shop_table.cart .product-subtotal del {
  color: #999999;
  font-weight: 400;
}
.woocommerce-cart .shop_table.cart .product-price ins,
.woocommerce-cart .shop_table.cart .product-subtotal ins {
  text-decoration: none;
}
.woocommerce-cart .shop_table.cart .quantity {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #dcd7d2;
}
.woocommerce-cart .shop_table.cart .quantity input.qty {
  width: 30px;
  border: 0;
  text-align: center;
  min-height: 40px;
  padding: 0;
  background: none;
  font-size: 14px;
  -moz-appearance: textfield;
}
.woocommerce-cart .shop_table.cart .quantity input.qty::-webkit-outer-spin-button, .woocommerce-cart .shop_table.cart .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.woocommerce-cart .shop_table.cart .quantity .qty-btn {
  width: 25px;
  min-height: 40px;
  border: 0;
  background: none;
  color: #2B2927;
  font-size: 15px;
  cursor: pointer;
}
.woocommerce-cart .shop_table.cart .quantity .qty-btn:hover {
  background: #f4f1ee;
}
.woocommerce-cart .shop_table.cart .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 22px 0 0;
  border: 0;
}
.woocommerce-cart .shop_table.cart .actions .coupon {
  display: flex;
  gap: 8px;
  margin: 0;
  float: none;
}
.woocommerce-cart .shop_table.cart .actions .coupon #coupon_code {
  width: auto;
  min-width: 200px;
  min-height: 40px;
  font-size: 13px;
}
.woocommerce-cart .shop_table.cart .actions .coupon .button {
  min-height: 40px;
  white-space: nowrap;
}
.woocommerce-cart .shop_table.cart .actions button[name=update_cart] {
  margin-left: auto;
  min-height: 44px;
}
.woocommerce-cart .cart_totals {
  background: #f8f5f2;
  padding: 28px 26px;
}
.woocommerce-cart .cart_totals h2 {
  margin: 0 0 18px;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #2B2927;
}
.woocommerce-cart .cart_totals .shop_table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 22px;
}
.woocommerce-cart .cart_totals .shop_table th, .woocommerce-cart .cart_totals .shop_table td {
  padding: 12px 0;
  border-bottom: 1px solid #e7e2dd;
  font-size: 14px;
  text-align: left;
}
.woocommerce-cart .cart_totals .shop_table th {
  font-weight: 400;
  color: #2B2927;
}
.woocommerce-cart .cart_totals .shop_table td {
  text-align: right;
}
.woocommerce-cart .cart_totals .shop_table small {
  display: block;
  margin-top: 2px;
  color: #5B5856;
  font-weight: 400;
  font-size: 12px;
}
.woocommerce-cart .cart_totals .shop_table .order-total th {
  vertical-align: top;
}
.woocommerce-cart .cart_totals .shop_table .order-total th, .woocommerce-cart .cart_totals .shop_table .order-total td {
  border-bottom: 0;
  padding-top: 16px;
  font-weight: 600;
  font-size: 16px;
}
.woocommerce-cart .cart_totals .shop_table .woocommerce-shipping-totals th {
  vertical-align: top;
}
.woocommerce-cart .cart_totals .shop_table .woocommerce-shipping-methods {
  list-style: none;
  margin: 0;
  padding: 0;
}
.woocommerce-cart .cart_totals .shop_table .woocommerce-shipping-methods li {
  margin: 0;
}
.woocommerce-cart .cart_totals .shop_table .woocommerce-shipping-methods label {
  cursor: pointer;
}
.woocommerce-cart .cart_totals .shop_table .mokka-ship-desc,
.woocommerce-cart .cart_totals .shop_table .extra-flate-subtitle,
.woocommerce-cart .cart_totals .shop_table .extra-flate-tool-tip,
.woocommerce-cart .cart_totals .shop_table .woocommerce-shipping-destination {
  display: block;
  margin: 5px 0 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 400;
  color: #5B5856;
}
.woocommerce-cart .cart_totals .shop_table .extra-flate-tool-tip a i {
  display: none;
}
.woocommerce-cart .cart_totals .wc-proceed-to-checkout {
  margin: 0;
  padding: 0;
}
.woocommerce-cart .cart_totals .wc-proceed-to-checkout .checkout-button {
  width: 100%;
  min-height: 40px; /* overrides the shared 48px button height above */
  text-decoration: unset;
}

.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 48px;
  align-items: start;
}
/* WooCommerce (checkout.js) ubacuje notice-e kao direktnu decu grid forme —
   bez ovoga notice zauzme ćeliju prve kolone i razbije dvokolonski raspored.
   Svaki notice/greška ide preko celog reda, iznad obe kolone. */
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup,
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup-checkout,
.woocommerce-checkout form.checkout > .woocommerce-error,
.woocommerce-checkout form.checkout > .woocommerce-message,
.woocommerce-checkout form.checkout > .woocommerce-info {
  grid-column: 1 / -1;
  min-width: 0;
}
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup .woocommerce-error,
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup .woocommerce-message,
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup .woocommerce-info {
  margin-bottom: 0;
}
@media (max-width: 1023px) {
  .woocommerce-checkout form.checkout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.woocommerce-checkout #customer_details {
  min-width: 0;
}
.woocommerce-checkout .checkout-order {
  position: sticky;
  top: 90px;
}
@media (max-width: 1023px) {
  .woocommerce-checkout .checkout-order {
    position: static;
  }
}
.woocommerce-checkout #order_review_heading {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 20px;
  margin: 0 0 14px;
}
.woocommerce-checkout #order_review {
  padding: 24px;
  background: #faf8f6;
}
.woocommerce-checkout .col2-set {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
@media (max-width: 1023px) {
  .woocommerce-checkout .col2-set {
    gap: 10px;
  }
}
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
  width: 100%;
  float: none;
}
.woocommerce-checkout h3 {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  margin-bottom: 14px;
}
.woocommerce-checkout .form-row {
  margin-bottom: 14px;
}
.woocommerce-checkout .form-row label {
  display: block;
  margin-bottom: 5px;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table th, .woocommerce-checkout .woocommerce-checkout-review-order-table td {
  padding: 10px 0;
  border-bottom: 1px solid #ece9e6;
  text-align: left;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table td {
  text-align: right;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th, .woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td {
  font-weight: 600;
  font-size: 16px;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item .product-name {
  font-size: 13px;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table small.includes_tax {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: #5B5856;
}
/* Order review rows — readable product name + compact variation (fix ragged wrapping). */
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name {
  text-align: left;
  padding-right: 14px;
  line-height: 1.4;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name .product-quantity {
  white-space: nowrap;
  color: #5B5856;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total {
  white-space: nowrap;
  vertical-align: top;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .variation {
  margin: 4px 0 0;
  font-size: 12px;
  color: #5B5856;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .variation dt,
.woocommerce-checkout .woocommerce-checkout-review-order-table .variation dd {
  display: inline;
  margin: 0;
  font-weight: 400;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .variation dd {
  margin: 0 6px 0 4px;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .variation dd p {
  display: inline;
  margin: 0;
}
/* Shipping method description on its own line (was glued to "Besplatna dostava"). */
.woocommerce-checkout .mokka-ship-desc,
.woocommerce-checkout .woocommerce-shipping-destination {
  display: block;
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #5B5856;
}
/* Same as the cart: each meta on its own line + stacked sale prices for combos. */
.woocommerce-checkout .woocommerce-checkout-review-order-table .variation dd::after {
  content: "";
  display: block;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total del,
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total ins {
  display: block;
  white-space: nowrap;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total del {
  color: #999999;
  font-weight: 400;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total ins {
  text-decoration: none;
}
.woocommerce-checkout #payment {
  background: transparent;
}
.woocommerce-checkout #payment .payment_methods {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.woocommerce-checkout #payment .payment_methods li {
  padding: 10px 0;
  border-bottom: 1px solid #ece9e6;
}
.woocommerce-checkout #payment .payment_methods label {
  font-size: 14px;
  font-weight: 500;
}
.woocommerce-checkout #payment .payment_methods .payment_box {
  font-size: 13px;
  color: #5B5856;
  padding: 10px 0 0;
}
.woocommerce-checkout #payment .payment_methods .payment_box p {
  margin: 0;
}
.woocommerce-checkout #payment .place-order {
  padding-top: 6px;
}
.woocommerce-checkout #payment #place_order {
  width: 100%;
}
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper {
  margin-bottom: 14px;
  font-size: 13px;
}

@media (max-width: 767px) {
  .woocommerce-cart .page-entry,
  .woocommerce-cart .page-entry__content,
  .woocommerce-cart .woocommerce,
  .woocommerce-cart .woocommerce-cart-form,
  .woocommerce-cart form.checkout,
  .woocommerce-checkout .page-entry,
  .woocommerce-checkout .page-entry__content,
  .woocommerce-checkout .woocommerce,
  .woocommerce-checkout .woocommerce-cart-form,
  .woocommerce-checkout form.checkout {
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
  }
  .woocommerce-cart .woocommerce {
    display: block;
  }
  .woocommerce-cart .woocommerce-cart-form {
    margin-bottom: 4px;
  }
  .woocommerce-cart .cart-collaterals {
    margin-top: 26px;
  }
  .woocommerce-cart .cross-sells {
    margin-top: 34px;
  }
  .woocommerce-cart .free-ship {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 22px;
  }
  .woocommerce-cart .shop_table.cart {
    display: block;
    width: 100%;
    table-layout: auto;
  }
  .woocommerce-cart .shop_table.cart thead {
    display: none;
  }
  .woocommerce-cart .shop_table.cart tbody {
    display: block;
    width: 100%;
  }
  .woocommerce-cart .shop_table.cart tr {
    display: block;
    width: 100%;
  }
  /* Card: image pinned left (out of the grid math — zero dead space), content
     flows under the name, bottom row = stepper left + price right. */
  .woocommerce-cart .shop_table.cart tr.cart_item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: start;
    column-gap: 10px;
    row-gap: 0;
    padding: 16px 0 16px 98px;
    min-height: 150px; /* keeps the absolutely-pinned 84px image inside the card */
    border-bottom: 1px solid #efece8;
  }
  .woocommerce-cart .shop_table.cart td {
    display: block;
    border: 0;
    padding: 0;
    min-width: 0;
  }
  .woocommerce-cart .shop_table.cart td::before {
    display: none;
  }
  .woocommerce-cart .shop_table.cart .product-thumbnail {
    position: absolute;
    left: 0;
    top: 16px;
    width: 84px;
  }
  .woocommerce-cart .shop_table.cart .product-thumbnail img {
    width: 84px;
    border-radius: 2px;
  }
  .woocommerce-cart .shop_table.cart .product-name {
    grid-column: 1/-1;
    grid-row: 1;
    min-width: 0;
    overflow-wrap: anywhere;
    padding-right: 30px; /* room for the × */
  }
  .woocommerce-cart .shop_table.cart .product-name a {
    font-size: 14px;
    line-height: 1.35;
  }
  .woocommerce-cart .shop_table.cart .product-name .variation {
    margin-top: 3px;
    font-size: 12px;
  }
  /* Unit price is redundant on mobile — the subtotal row carries the price. */
  .woocommerce-cart .shop_table.cart .product-price {
    display: none;
  }
  /* Bottom row, directly under the meta: stepper left, subtotal right. */
  .woocommerce-cart .shop_table.cart .product-quantity {
    grid-column: 1;
    grid-row: 2;
    align-self: end;
    justify-self: start;
    margin-top: 12px;
  }
  .woocommerce-cart .shop_table.cart .quantity input.qty {
    width: 42px;
  }
  .woocommerce-cart .shop_table.cart .quantity .qty-btn {
    width: 34px;
  }
  .woocommerce-cart .shop_table.cart .product-subtotal {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    justify-self: end;
    margin-top: 12px;
    text-align: right;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
  }
  .woocommerce-cart .shop_table.cart .product-subtotal del {
    font-size: 12px;
  }
  .woocommerce-cart .shop_table.cart .product-remove {
    position: absolute;
    top: 14px;
    right: 0;
  }
  /* Combo line polish on mobile: compact tag + labelled locked quantity. */
  .woocommerce-cart .shop_table.cart .mkc-tag-off {
    margin-left: 2px;
    padding: 0 5px;
    font-size: 10px;
  }
  .woocommerce-cart .shop_table.cart .mkc-qty-locked {
    min-width: 0;
    height: auto;
    font-size: 12px;
    color: #5B5856;
  }
  .woocommerce-cart .shop_table.cart .mkc-qty-locked::before {
    content: "Količina: ";
    margin-right: 3px;
  }
  .woocommerce-cart .shop_table.cart .actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    grid-column: 1/-1;
    padding-top: 16px;
  }
  .woocommerce-cart .shop_table.cart .actions button[name=update_cart] {
    width: 100%;
    margin: 0;
  }
  .woocommerce-cart .shop_table.cart .actions .coupon {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .woocommerce-cart .shop_table.cart .actions .coupon #coupon_code {
    width: 100%;
    min-width: 0;
  }
  .woocommerce-cart .shop_table.cart .actions .coupon .button {
    width: 100%;
  }
  .woocommerce-cart .cart-collaterals .cart_totals {
    padding: 22px 18px;
  }
  .woocommerce-cart .cart-collaterals .shop_table {
    table-layout: fixed;
  }
  .woocommerce-cart .cart-collaterals .shop_table th, .woocommerce-cart .cart-collaterals .shop_table td {
    word-break: break-word;
    font-size: 13px;
  }
  .woocommerce-checkout #order_review {
    padding: 18px;
  }
  .woocommerce-checkout .woocommerce-checkout-review-order-table {
    table-layout: fixed;
  }
  .woocommerce-checkout .woocommerce-checkout-review-order-table th, .woocommerce-checkout .woocommerce-checkout-review-order-table td {
    word-break: break-word;
  }
}

/* =========================================================================
   Thank-you / order-received page — matches the cart/checkout look
   ========================================================================= */
.woocommerce-order-received .woocommerce-order {
  max-width: 780px;
  margin: 0 auto;
}
.woocommerce-order-received .woocommerce-thankyou-order-received {
  margin: 0 0 30px;
  font-size: 15px;
  text-align: center;
  color: #636363;
}

/* Order overview — summary card (label left, value right) */
.woocommerce-order-received ul.woocommerce-order-overview {
  list-style: none;
  margin: 0 0 40px;
  padding: 8px 26px;
  background: #f8f5f2;
}
.woocommerce-order-received ul.woocommerce-order-overview li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid #e7e2dd;
  border-left: 0;
  font-size: 14px;
  text-transform: none;
  color: #636363;
}
.woocommerce-order-received ul.woocommerce-order-overview li:last-child {
  border-bottom: 0;
}
.woocommerce-order-received ul.woocommerce-order-overview li strong {
  color: #2B2927;
  font-weight: 500;
  text-align: right;
}

/* Section titles (Detalji narudžbine, Adresa za naplatu/isporuku) */
.woocommerce-order-received .woocommerce-order-details__title,
.woocommerce-order-received .woocommerce-column__title {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin: 0 0 16px;
  color: #2B2927;
}

/* Order details table */
.woocommerce-order-received table.order_details {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 44px;
}
.woocommerce-order-received table.order_details thead th {
  text-align: left;
  padding: 0 0 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #636363;
  border-bottom: 1px solid #e7e3df;
}
.woocommerce-order-received table.order_details thead th.product-total {
  text-align: right;
}
.woocommerce-order-received table.order_details tbody td,
.woocommerce-order-received table.order_details tfoot th,
.woocommerce-order-received table.order_details tfoot td {
  padding: 13px 0;
  border-bottom: 1px solid #efece8;
  font-size: 14px;
  text-align: left;
  vertical-align: top;
}
.woocommerce-order-received table.order_details td.product-total,
.woocommerce-order-received table.order_details tfoot td {
  text-align: right;
  white-space: nowrap;
}
.woocommerce-order-received table.order_details .product-name a {
  color: #2B2927;
}
.woocommerce-order-received table.order_details .wc-item-meta {
  margin: 5px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: #636363;
}
.woocommerce-order-received table.order_details .wc-item-meta li,
.woocommerce-order-received table.order_details .wc-item-meta p {
  margin: 0;
  display: inline;
}
.woocommerce-order-received table.order_details tfoot th {
  font-weight: 400;
  color: #2B2927;
}
.woocommerce-order-received table.order_details tfoot .order-total th,
.woocommerce-order-received table.order_details tfoot .order-total td {
  font-weight: 600;
  font-size: 16px;
  border-bottom: 0;
  padding-top: 16px;
}
.woocommerce-order-received table.order_details small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 400;
  color: #636363;
}

/* Customer addresses — two cards side by side */
.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 0;
}
.woocommerce-order-received .woocommerce-customer-details .col-1,
.woocommerce-order-received .woocommerce-customer-details .col-2 {
  width: auto;
  float: none;
  margin: 0;
  padding: 22px 24px;
  background: #f8f5f2;
}
.woocommerce-order-received .woocommerce-customer-details address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
  color: #2B2927;
  border: 0;
  padding: 0;
}
.woocommerce-order-received .woocommerce-customer-details .woocommerce-customer-details--phone,
.woocommerce-order-received .woocommerce-customer-details .woocommerce-customer-details--email {
  margin: 8px 0 0;
  color: #636363;
}
@media (max-width: 767px) {
  .woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* =========================================================================
   My Account
   ========================================================================= */
/* Logged-in: nav sidebar + content (only when the navigation exists). */
.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 44px;
  align-items: start;
}
@media (max-width: 767px) {
  .woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #e7e2dd;
}
.woocommerce-MyAccount-navigation li {
  border-bottom: 1px solid #efece8;
}
.woocommerce-MyAccount-navigation li:last-child {
  border-bottom: 0;
}
.woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 13px 18px;
  font-size: 14px;
  color: #2B2927;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.woocommerce-MyAccount-navigation li a:hover {
  background: #f8f5f2;
}
.woocommerce-MyAccount-navigation li.is-active a {
  background: #2B2927;
  color: #fff;
}

.woocommerce-MyAccount-content {
  min-width: 0;
}
.woocommerce-MyAccount-content p {
  margin: 0 0 14px;
}
.woocommerce-MyAccount-content a:not(.button) {
  color: #771011;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 16px;
}
.woocommerce-MyAccount-content table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 22px;
}
.woocommerce-MyAccount-content table.shop_table thead th {
  text-align: left;
  padding: 0 12px 12px;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #636363;
  border-bottom: 1px solid #e7e3df;
}
.woocommerce-MyAccount-content table.shop_table tbody td {
  padding: 14px 12px;
  border-bottom: 1px solid #efece8;
  font-size: 14px;
  vertical-align: middle;
}
.woocommerce-MyAccount-content table.shop_table td.woocommerce-orders-table__cell-order-actions {
  text-align: right;
}
.woocommerce-MyAccount-content .woocommerce-Address {
  padding: 22px 24px;
  background: #f8f5f2;
}
.woocommerce-MyAccount-content address {
  font-style: normal;
  line-height: 1.7;
}
.woocommerce-MyAccount-content .u-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 767px) {
  .woocommerce-MyAccount-content .u-columns {
    grid-template-columns: 1fr;
  }
}

/* Login / register / reset (not logged in) */
.woocommerce-account #customer_login.col2-set {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .woocommerce-account #customer_login.col2-set {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}
.woocommerce-account #customer_login .col-1,
.woocommerce-account #customer_login .col-2 {
  width: auto;
  float: none;
  margin: 0;
  padding: 30px 30px 34px;
  background: #f8f5f2;
}
.woocommerce-account #customer_login h2 {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 22px;
}
.woocommerce-account .woocommerce-form-row,
.woocommerce-account .form-row {
  margin: 0 0 16px;
}
.woocommerce-account .woocommerce-form-row label,
.woocommerce-account .form-row > label:first-child {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}
.woocommerce-account .woocommerce-form-login__rememberme,
.woocommerce-account label.woocommerce-form__label-for-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.woocommerce-account .woocommerce-form-login__rememberme input,
.woocommerce-account label.woocommerce-form__label-for-checkbox input {
  width: auto;
  min-height: 0;
  margin: 0;
}
.woocommerce-account .woocommerce-LostPassword {
  margin: 12px 0 0;
  font-size: 13px;
}
.woocommerce-account .woocommerce-ResetPassword,
.woocommerce-account .woocommerce-EditAccountForm {
  max-width: 520px;
}
.woocommerce-account em {
  font-size: 12px;
  color: #636363;
}

/* Standalone login / lost-password (registration disabled → no col2-set) */
.woocommerce-account .woocommerce > h2 {
  max-width: 460px;
  margin: 0 auto 18px;
  font-size: 22px;
  font-weight: 500;
  text-align: center;
}
.woocommerce-account form.woocommerce-form-login,
.woocommerce-account form.woocommerce-ResetPassword,
.woocommerce-account form.lost_reset_password {
  max-width: 460px;
  margin: 0 auto;
  padding: 30px 32px 34px;
  background: #f8f5f2;
}
.woocommerce-account form.woocommerce-form-login .woocommerce-form-login__submit,
.woocommerce-account form.woocommerce-ResetPassword button,
.woocommerce-account form.lost_reset_password button {
  width: 100%;
}
.woocommerce-account .woocommerce-form-login__rememberme {
  margin-bottom: 18px;
}
.woocommerce-account .woocommerce-LostPassword {
  text-align: center;
  margin-top: 18px;
}
.woocommerce-account > .woocommerce > p:first-of-type,
.woocommerce-account .lost_reset_password + p {
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 14px;
  color: #636363;
}
