.olja-page--checkout .container {
  padding: 0;
}

.olja-checkout {
  padding: 0;
}

.olja-checkout__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: calc(100vh - var(--hdr-h, 0px));
}

.olja-checkout__left {
  padding: calc(var(--hdr-h,0px) + 32px) 40px 48px;
}

.olja-checkout__right {
  background: #f5f6f7;
  position: sticky;
  top: var(--hdr-h, 0px);
  height: calc(100vh - var(--hdr-h,0px));
  overflow: hidden;
  padding: 100px 270px 36px 30px;
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(0,0,0,.08);
}

.olja-ck-h {
  font-family: Geist;
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 16px;
}

.woocommerce-billing-fields h3 {
  font-family: Geist;
  font-size: 16px;
  font-weight: 600;
}

.olja-checkout__section {
  margin-bottom: 32px;
}

.olja-checkout__review .shop_table {
  background: transparent;
  border: 0;
  width: 100%;
  border-collapse: collapse;
}

.olja-checkout__review .shop_table th {
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding: 10px 0;
  font-size: 14px;
}

.olja-checkout__review .shop_table td {
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding: 10px 0;
  font-size: 14px;
}

.olja-checkout__review .order-total th {
  font-weight: 700;
}

.olja-checkout__review .order-total td {
  font-weight: 700;
}

.place-order .button {
  border-radius: 9px;
  padding: 12px 22px;
}

.olja-summary-note {
  margin-top: 8px;
  font-size: 12px;
  opacity: .85;
}

body.woocommerce-checkout header.site-header {
  display: none !important;
}

body.woocommerce-checkout .olja-header {
  display: none !important;
}

body.woocommerce-checkout footer.site-footer {
  display: none !important;
}

body.woocommerce-checkout .olja-footer {
  display: none !important;
}

body.woocommerce-checkout #mobileNav {
  display: none !important;
}

body.woocommerce-checkout .mobile-backdrop {
  display: none !important;
}

body.woocommerce-checkout {
  --hdr-h: 0px;
}

body.woocommerce-checkout .olja-checkout__left {
  padding: 40px 30px 50px 270px;
}

body.woocommerce-checkout .olja-checkout__right {
  top: var(--hdr-h, 0px);
}

#ship-to-different-address > label > span{
  font-family: Geist;
  font-size: 12px;
  font-weight: 400;
}

#ship-to-different-address > label{
  display: flex;
  align-items: center;
  gap: 5px;
}

.olja-brand {
  margin: 0 0 20px;
  display: flex;
  justify-content: center;
}

.olja-brand .custom-logo {
  max-height: 40px;
  width: auto;
}

.olja-logo {
  display: inline-block;
  font-family: inherit;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}

.olja-logo .dot {
  color: #111;
}

.olja-checkout__shipping .olja-ck-h {
  font-size: 16px;
  margin-top: 8px;
  font-family: Geist;
  font-weight: 600;
  margin-bottom: 0;
}

.olja-coupon-row {
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.olja-coupon-wrap .checkout_coupon .form-row-first {
  width: auto;
  float: none;
}

.olja-coupon-wrap .checkout_coupon .form-row-last {
  width: auto;
  float: none;
}

.olja-coupon-wrap .checkout_coupon p.form-row {
  margin: 0 0 8px;
}

.olja-coupon-wrap .checkout_coupon input.input-text {
  max-width: 240px;
}

.olja-coupon-wrap .checkout_coupon button {
  margin-left: 8px;
}

.olja-coupon-wrap label[for="coupon_code"] {
  font-size: 12px;
  opacity: .8;
  display: inline-block;
  margin-bottom: 6px;
}

body.woocommerce-checkout .olja-express {
  margin: 8px 0 22px;
}

body.woocommerce-checkout .olja-ck-subh {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .05em;
  display: flex;
  justify-content: center;
  padding: 10px 0;
  font-family: Geist;
}

body.woocommerce-checkout .olja-express__buttons > * {
  display: block;
  margin: 0 0 12px;
}

body.woocommerce-checkout .olja-or {
  position: relative;
  text-align: center;
  margin: 14px 0 0;
  height: 16px;
}

body.woocommerce-checkout .olja-or::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 60%;
  height: 1px;
  background: rgba(0,0,0,.12);
}

body.woocommerce-checkout .olja-or > span {
  position: relative;
  display: inline-block;
  padding: 0 10px;
  background: #fff;
  font-size: 12px;
  font-weight: 400;
}

body.woocommerce-checkout .form-row.olja-float {
  position: relative;
}

body.woocommerce-checkout .form-row.olja-float.woocommerce-invalid label {
  color: #4a4a4a;
}

body.woocommerce-checkout .form-row.olja-float .select2-container--default .select2-selection--single {
  height: 50px;
  padding-top: 14px;
  border-radius: 0;
}

body.woocommerce-checkout .form-row.olja-float .select2-selection__arrow {
  height: 44px;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 5px;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row.olja-col-first {
  grid-column: 1;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row.olja-col-last {
  grid-column: 2;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row.olja-col-full {
  grid-column: 1 / -1;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row {
  margin: 0 !important;
  width: 100% !important;
}

body.woocommerce-checkout .form-row input.input-text {
  font-family: Geist;
  font-size: 14px;
  height: 50px;
  padding: 12px 14px;
  outline: none;
  font-weight: 500;
  border-radius: 0;
  border: 1px solid rgba(0,0,0,.08);
}

body.woocommerce-checkout .form-row textarea {
  font-family: Geist;
  font-size: 14px;
  height: 110px;
  padding: 12px 14px;
  outline: none;
  font-weight: 500;
  border-radius: 0;
  border: 1px solid rgba(0,0,0,.08);
  resize: vertical;
}

body.woocommerce-checkout .form-row select {
  font-family: Geist;
  font-size: 14px;
  height: 50px;
  padding: 12px 14px;
  outline: none;
  font-weight: 500;
  border-radius: 0;
  border: 1px solid rgba(0,0,0,.08);
}

body.woocommerce-checkout .form-row ::placeholder {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: rgba(0,0,0,.45);
  opacity: 1;
}

body.woocommerce-checkout .form-row input.input-text:focus {
  border: 1.5px solid #111;
}

body.woocommerce-checkout .form-row textarea:focus {
  border: 1.5px solid #111;
}

body.woocommerce-checkout .form-row select:focus {
  border: 1.5px solid #111;
}

body.woocommerce-checkout .form-row .select2-container--default .select2-selection--single:focus {
  border: 1.5px solid #111;
}

body.woocommerce-checkout .form-row.woocommerce-invalid input.input-text {
  border: 1.5px solid #d22;
}

body.woocommerce-checkout .form-row.woocommerce-invalid textarea {
  border: 1.5px solid #d22;
}

body.woocommerce-checkout .form-row.woocommerce-invalid select {
  border: 1.5px solid #d22;
}

body.woocommerce-checkout .form-row .required {
  display: none !important;
}

body.woocommerce-checkout .form-row abbr.required {
  display: none !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single {
  border: 1px solid rgba(0,0,0,.08);
  padding: 10px 12px 0;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  font-size: 14px;
  font-weight: 500;
  padding: 0.5em 2px;
  color: #000;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: rgba(0,0,0,.45);
}

body.woocommerce-checkout .form-row.olja-float input.input-text {
  padding-top: 22px;
  padding-bottom: 10px;
  border-radius: 0;
  border: 1px solid rgba(0,0,0,.08);
}

body.woocommerce-checkout .form-row.olja-float textarea {
  padding-top: 22px;
  padding-bottom: 10px;
  border-radius: 0;
  border: 1px solid rgba(0,0,0,.08);
}

body.woocommerce-checkout .form-row.olja-float select {
  padding-top: 22px;
  padding-bottom: 10px;
  border-radius: 0;
  border: 1px solid rgba(0,0,0,.08);
}

body.woocommerce-checkout .form-row.olja-float label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: rgba(0,0,0,.6);
  background: #fff;
  padding: 0 6px;
  line-height: 1;
  pointer-events: none;
  transition: transform .18s ease, top .18s ease, font-size .18s ease, color .18s ease, opacity .18s ease;
  z-index: 1;
}

body.woocommerce-checkout .form-row.olja-float.is-focused label {
  top: 8px;
  transform: none;
  font-size: 11px;
  color: rgba(0,0,0,.75);
  opacity: .95;
}

body.woocommerce-checkout .form-row.olja-float.is-filled  label {
  top: 8px;
  transform: none;
  font-size: 11px;
  color: rgba(0,0,0,.75);
  opacity: .95;
}

body.woocommerce-checkout label[for="billing_company"] .optional {
  display: none !important;
}

.woocommerce form .form-row.woocommerce-validated .select2-container:not(.select2-container--open) .select2-selection {
  border: 1px solid rgba(0,0,0,.08);
}

body.woocommerce-checkout .olja-checkout__payment {
  margin-top: 8px;
}

body.woocommerce-checkout .olja-checkout__payment .form-row {
  margin: 0;
}

body.woocommerce-checkout #payment.woocommerce-checkout-payment {
  background: transparent;
  border: 0;
  padding: 0;
}

body.woocommerce-checkout #payment ul.payment_methods {
  margin: 8px 0 12px;
  padding: 0;
  list-style: none;
}

body.woocommerce-checkout #payment .place-order {
  margin-top: 12px;
  padding: 15px 0;
}

#place_order{
  background-color: #000;
  font-family: Geist;
  width: 100%;
}

#place_order:hover{
  background-color: #4a4a4a;
}

.olja-checkout__right .shop_table.woocommerce-checkout-review-order-table {
  width: 100%;
  border: 0;
  background: transparent;
}

.olja-checkout__right .shop_table .cart_item {
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.olja-info {
  display: grid;
  gap: 4px;
}

.olja-info .variation {
  font-size: 12px;
  color: rgba(0,0,0,.7);
}

.olja-info .variation * {
  font-size: 12px;
  color: rgba(0,0,0,.7);
}

.olja-checkout__right .shop_table td.product-total {
  width: 1%;
  white-space: nowrap;
  text-align: right;
  vertical-align: top;
  padding-left: 10px;
}

.olja-checkout__right tfoot th {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
  font-size: 14px;
}

.olja-checkout__right tfoot td {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
  font-size: 14px;
}

.olja-checkout__right .order-total th {
  font-weight: 700;
  border-bottom: 0;
}

.olja-checkout__right .order-total td {
  font-weight: 700;
  border-bottom: 0;
}

.olja-summary-table tfoot {
  margin-top: 12px;
}

.olja-summary > * + * {
  margin-top: 12px;
}

.olja-coupon-wrap {
  padding: 10px 0 4px;
  border-top: 1px solid rgba(0,0,0,.08);
}

.olja-coupon-wrap .form-row {
  margin: 0 0 8px!important;
}

.form-row-first{
  width: 75% !important;
}

.form-row-last{
  width: min-content !important;
}

.woocommerce button.button{
  float: right;
  height: 50px;
  border: 1px solid rgba(0,0,0,.08);
  background-color: #e9e9e9;
  border-radius: 0;
}
.woocommerce button.button:hover{
  background-color: #c9c9c9;
}

.woocommerce form .form-row.woocommerce-validated input.input-text{border: 1px solid rgba(0,0,0,.08); }

.olja-totals th {
  padding: 10px 0;
  border-top: 1px solid rgba(0,0,0,.08);
  font-size: 14px;
}

.olja-totals td {
  padding: 10px 0;
  border-top: 1px solid rgba(0,0,0,.08);
  font-size: 14px;
}

.olja-totals .order-total th {
  font-weight: 700;
}

.olja-totals .order-total td {
  font-weight: 700;
}

.olja-order-media {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: start;
  position: relative;
}

.olja-thumb{
  position: relative;
  display: block;
}

.olja-thumb img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.olja-name {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
}

.olja-qty {
  font-size: 12px;
  color: rgba(0,0,0,.7);
}

.olja-qty-badge{
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  box-shadow: 0 1px 0 rgba(0,0,0,.15);
  z-index: 2;
}

.olja-checkout__right td.product-total {
  width: 1%;
  white-space: nowrap;
  text-align: right;
  vertical-align: top;
  padding-left: 10px;
}

.olja-line-price {
  font-size: 14px;
  font-weight: 600;
}

.olja-totals-table th {
  display: table-cell !important;
  padding: 10px 0;
  font-size: 14px;
  border-top: 1px solid rgba(0,0,0,.08);
  text-align: left;
  font-weight: 600;
}

.olja-totals-table td {
  display: table-cell !important;
  padding: 10px 0;
  font-size: 14px;
  border-top: 1px solid rgba(0,0,0,.08);
  text-align: right;
  white-space: nowrap;
}

.woocommerce-checkout-review-order-table tfoot {
  display: none !important;
}

.woocommerce-checkout-review-order-table .cart-subtotal {
  display: none !important;
}

.woocommerce-checkout-review-order-table .tax-total {
  display: none !important;
}

.woocommerce-checkout-review-order-table .fee {
  display: none !important;
}

.woocommerce-checkout-review-order-table .order-total {
  display: none !important;
}

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

.olja-coupon-wrap .checkout_coupon {
  display: block !important;
}

.olja-totals-table td::before {
  content: none !important;
}

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

.olja-totals-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.olja-totals-table tr {
  display: table-row !important;
}

.olja-totals-table .order-total th {
  font-weight: 700;
  display: table-cell !important;
}

.olja-totals-table .order-total td {
  font-weight: 700;
  display: table-cell !important;
}

.woocommerce-checkout-review-order-table .shipping {
  display: none !important;
}

#oljaCoupon .checkout_coupon {
  display: block !important;
}

.shop_table.olja-totals-table tbody {
  display: table-row-group !important;
}

.shop_table.olja-totals-table th {
  display: table-cell !important;
  padding: 10px 0;
  border-top: 1px solid rgba(0,0,0,.08);
  text-align: left;
  font-weight: 600;
  position: static !important;
  clip: auto !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  visibility: visible !important;
  text-indent: 0 !important;
  white-space: normal !important;
  color: inherit !important;
}

.shop_table.olja-totals-table td {
  display: table-cell !important;
  padding: 10px 0;
  border-top: 1px solid rgba(0,0,0,.08);
  text-align: right;
  white-space: nowrap;
  float: none !important;
}

.olja-upsells {
  margin-top: 12px;
}

.olja-upsells__title {
  font-family: Geist;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 16px;
}

.olja-upsells__list {
  display: grid;
  gap: 8px;
}

.olja-ups-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 9px 0 9px 12px;
  border-top: 1px solid rgba(0,0,0,.08);
}

.olja-ups-item:first-child {
  border-top: 0;
}

.olja-ups-thumb img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.olja-ups-title {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  display: inline-block;
}

.olja-ups-price {
  font-size: 14px;
  opacity: .9;
  margin-top: 2px;
}

.olja-ups-add .button {
  white-space: nowrap;
}

#order_review > div > div.olja-upsells > div > div > div.olja-ups-add > a {
  background-color: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 0;
  padding: 12px 12px;
}

#order_review > div > div.olja-upsells > div > div > div.olja-ups-add > a:hover {
  background-color: #4a4a4a;
}

.shop_table.olja-totals-table thead {
  display: table-row-group !important;
}

.shop_table.olja-totals-table tr {
  display: table-row !important;
}

.olja-totals-table .cart-subtotal {
  display: table-row !important;
}

.olja-totals-table .tax-total {
  display: table-row !important;
}

.olja-totals-table .fee {
  display: table-row !important;
}

.olja-totals-table .order-total {
  display: table-row !important;
}

.olja-totals-table .shipping {
  display: table-row !important;
}

.olja-totals-table .cart-subtotal th {
  display: table-cell !important;
}

.olja-totals-table .tax-total th {
  display: table-cell !important;
}

.olja-totals-table .fee th {
  display: table-cell !important;
}

.olja-totals-table .shipping th {
  display: table-cell !important;
  font-weight: 400 !important;
}

.olja-totals-table .cart-subtotal td {
  display: table-cell !important;
}

.olja-totals-table .tax-total td {
  display: table-cell !important;
}

.olja-totals-table .fee td {
  display: table-cell !important;
}

.olja-totals-table .shipping td {
  display: table-cell !important;
  padding: 9px 0 !important;
}

.shop_table.olja-totals-table .order-total th {
  font-weight: 700;
}

.shop_table.olja-totals-table .order-total td {
  font-weight: 700;
}

.shop_table.olja-totals-table {
  display: table !important;
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.shop_table.olja-totals-table .olja-row {
  border-top: 1px solid rgba(0,0,0,.08);
}

.shop_table.olja-totals-table .olja-label {
  text-align: left;
  font-weight: 400;
  padding: 10px 12px;
  display: table-cell !important;
}

.shop_table.olja-totals-table .olja-amount {
  text-align: right;
  white-space: nowrap;
  padding: 10px 0;
  display: table-cell !important;
}

.shop_table.olja-totals-table .olja-grand .olja-label,
.shop_table.olja-totals-table .olja-grand .olja-amount{
  font-weight: 700;
  font-size: 16px;
}

.shop_table.olja-totals-table td::before {
  content: none !important;
}

.form-row.olja-country-static {
  position: relative;
  grid-column: 1 / -1;
}

.form-row.olja-country-static > label {
  position: absolute !important;
  left: 14px;
  top: 8px;
  font-size: 11px;
  line-height: 1;
  background: #fff;
  padding: 0 4px;
  transform: none !important;
  opacity: .75;
  z-index: 1;
}

.form-row.olja-country-static .woocommerce-input-wrapper {
  position: relative;
  display: block;
}

.form-row.olja-country-static .woocommerce-input-wrapper strong {
  display: block;
  padding: 22px 14px 12px;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 0px;
  background: #fff;
  font-weight: 500;
  font-size: 14px;
}

.form-row.olja-country-static input {
  padding-top: 0 !important;
}

.form-row.olja-country-static select {
  padding-top: 0 !important;
}

#payment.woocommerce-checkout-payment {
  margin-top: 12px;
  background: transparent;
  border: 0;
  padding: 0;
}

#payment ul.payment_methods {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, .1);
  overflow: hidden;
}

#payment ul.payment_methods > li.wc_payment_method:first-child {
  border-top: 0;
}

#payment ul.payment_methods > li.wc_payment_method .olja-method-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

#payment ul.payment_methods > li.wc_payment_method > input.input-radio:checked {
  border-color: #111;
}

#payment ul.payment_methods > li.wc_payment_method > input.input-radio:checked::after {
  content: '';
  position: absolute;
  top: 3.5px;
  left: 3.5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

#payment .payment_box {
  margin: 0 !important;
  padding: 0 !important;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .28s ease, opacity .2s ease, padding .2s ease;
  grid-column: 2 / 4;
  box-sizing: border-box;
}

#payment .payment_box .form-row {
  margin: 8px 0 0 !important;
}

.olja-gw-note {
  margin: 8px 0 0;
  font-size: 13px;
  color: rgba(0, 0, 0, .75);
}

#payment ul.payment_methods > li.wc_payment_method {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  border-top: 1px solid rgba(0,0,0,.08);
}

#payment ul.payment_methods > li.wc_payment_method > input.input-radio {
  grid-column: 1;
  justify-self: start;
  margin-left: 14px;
}

#payment ul.payment_methods > li.wc_payment_method > input.input-radio:focus {
  background-color: #000;
}

#payment ul.payment_methods > li.wc_payment_method > label {
  grid-column: 2 / 4;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;         /* same for all rows */
  cursor: pointer;
}

#payment ul.payment_methods > li.wc_payment_method > label span {
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

#payment ul.payment_methods > li.wc_payment_method > label img {
  margin-left: auto;
  height: 25px;
  width: auto;
}

#payment ul.payment_methods > li.wc_payment_method > label::after {
  display: none;
}

#payment ul.payment_methods > li.wc_payment_method .payment_box {
  grid-column: 1 / 4;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .28s ease, opacity.2s ease;
  padding: 0 14px 14px;
  background-color: #e9e9e9;
  height: min-content;
}

.olja-checkout-policies {
  display: inline-block;
  border-top: 1px solid rgba(0,0,0,.12);
  margin-top: 50px;
  padding: 8px;
}

.olja-policy-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.olja-policy-links a {
  font-size: 13px;
  color: #111;
  text-decoration: none;
  opacity: .85;
}

.olja-policy-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.olja-terms-wrap .woocommerce-terms-and-conditions-wrapper {
  margin: 6px 0 0;
}

.olja-terms-wrap .woocommerce-privacy-policy-text {
  font-size: 13px;
  line-height: 1.5;
}

.olja-terms-wrap .woocommerce-terms-and-conditions-wrapper p {
  font-size: 13px;
  line-height: 1.5;
}

.olja-terms-wrap .woocommerce-form__input-checkbox {
  margin-right: 8px;
}

#add_payment_method #payment div.payment_box::before,
.woocommerce-cart #payment div.payment_box::before,
.woocommerce-checkout #payment div.payment_box::before {
  content: none !important;
  display: none !important;
  border: 0 !important;
}

#add_payment_method #payment div.payment_box::after,
.woocommerce-cart #payment div.payment_box::after,
.woocommerce-checkout #payment div.payment_box::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
}

#payment ul.payment_methods li.wc_payment_method > input.input-radio:checked ~ .payment_box {
  max-height: 1600px;
  opacity: 1;
  padding: 10px 14px 14px !important;
}

/* 3) Optional: collapse spacing even more when closed */
#payment ul.payment_methods li.wc_payment_method > input.input-radio:not(:checked) ~ .payment_box {
  pointer-events: none;              /* prevent tabbing into hidden inputs */
}

#payment .payment_box .form-row{ width: 100%; }
#payment .payment_box input.input-text,
#payment .payment_box .wc-credit-card-form-card-number,
#payment .payment_box .wc-credit-card-form-card-expiry,
#payment .payment_box .wc-credit-card-form-card-cvc{
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 576px) {
  .olja-checkout__left{
    padding: 40px 16px 50px 16px !important;
  }
}

@media (max-width: 900px) {
.olja-checkout__grid {
  grid-template-columns: 1fr;
  min-height: auto;
}

.olja-checkout__left {
  padding: calc(var(--hdr-h,0px) + 20px) 16px 24px;
}

.olja-checkout__right {
  position: static;
  height: auto;
  padding: 16px;
  overflow: visible;
}
}


@media (max-width: 700px) {
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
  grid-template-columns: 1fr;
  gap: 12px;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row.olja-col-first {
  grid-column: 1 / -1;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row.olja-col-last {
  grid-column: 1 / -1;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row.olja-col-full {
  grid-column: 1 / -1;
}

.olja-order-media {
  grid-template-columns: 56px 1fr;
}

.olja-thumb img {
  width: 56px;
  height: 56px;
}
}
