:root {
  --apicola-accent: #cf8c28;
  --apicola-accent-dark: #b97718;
  --apicola-border: #d8d8d8;
  --apicola-text: #171717;
  --apicola-muted: #666;
  --apicola-soft: #fff7e8;
  --apicola-success-bg: #effdf4;
  --apicola-success-border: #9ce9ba;
  --apicola-success-text: #146a39;
}

.apicola-cart-page,
.apicola-checkout-page,
.apicola-thankyou-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 20px 70px;
  color: var(--apicola-text);
  font-family: Montserrat, sans-serif;
}

.apicola-cart-page *,
.apicola-checkout-page *,
.apicola-thankyou-page * {
  font-family: inherit;
}

.apicola-progress {
  max-width: 760px;
  width: 100%;
  margin: 0 auto 22px;
  padding: 0 8px;
}

.apicola-progress__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.apicola-progress__step {
  text-align: center;
}

.apicola-progress__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #dedede;
  color: #222;
  font-size: 18px;
  font-weight: 600;
}

.apicola-progress__label {
  display: block;
  font-size: 15px;
}

.apicola-progress__track {
  height: 6px;
  width: calc(100% + 120px);
  max-width: calc(100vw - 64px);
  margin: 16px auto 0;
  transform: translateX(-60px);
  border-radius: 20px;
  overflow: hidden;
  background: #d5d5d5;
}

.apicola-progress__track span {
  display: block;
  height: 100%;
  width: 33.333%;
  border-radius: inherit;
  background: var(--apicola-accent);
  transition: width 0.25s ease;
}

.apicola-progress[data-current-step="1"]
  .apicola-progress__step:nth-child(1)
  .apicola-progress__number,
.apicola-progress[data-current-step="2"]
  .apicola-progress__step:nth-child(-n + 2)
  .apicola-progress__number,
.apicola-progress[data-current-step="3"]
  .apicola-progress__step:nth-child(-n + 3)
  .apicola-progress__number {
  background: var(--apicola-accent);
  color: #fff;
}

.apicola-progress[data-current-step="2"] .apicola-progress__track span {
  width: 66.666%;
}
.apicola-progress[data-current-step="3"] .apicola-progress__track span {
  width: 100%;
}

.apicola-free-shipping-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin: 0 0 12px;
  padding: 14px 18px;
  border: 1px solid var(--apicola-success-border);
  border-radius: 9px;
  background: var(--apicola-success-bg);
  color: var(--apicola-success-text);
  font-size: 14px;
  font-weight: 600;
}

.apicola-cart-layout,
.apicola-checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 0.95fr);
  gap: 34px;
  align-items: start;
}

.apicola-summary-card,
.apicola-delivery-step,
.apicola-payment-step,
.apicola-thankyou-card {
  border: 1px solid var(--apicola-border);
  border-radius: 8px;
  background: #fff;
}

.apicola-summary-card {
  position: sticky;
  top: 100px;
  padding: 24px;
}

.apicola-summary-card h2 {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
}

.apicola-cart-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.apicola-cart-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 148px 36px;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--apicola-border);
  border-radius: 8px;
  background: #fff;
}

.apicola-cart-item__image img {
  display: block;
  width: 105px;
  height: 105px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--apicola-soft);
}

.apicola-cart-item__title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
}

.apicola-cart-item__title a {
  color: var(--apicola-text);
  text-decoration: none;
}

.apicola-cart-item__price {
  font-size: 20px;
  font-weight: 700;
}

.apicola-cart-item__remove a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: #f00000 !important;
  text-decoration: none;
}

.apicola-qty-control {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--apicola-accent);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.apicola-qty-control button {
  height: 44px;
  border: 0;
  background: #fff;
  font-size: 24px;
  cursor: pointer;
}

.apicola-qty-control .quantity {
  margin: 0;
}

.apicola-qty-control input.qty {
  width: 100%;
  height: 44px;
  padding: 0;
  border: 0;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  -moz-appearance: textfield;
}

.apicola-qty-control input.qty::-webkit-inner-spin-button,
.apicola-qty-control input.qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.apicola-cart-actions {
  display: none;
}

.apicola-summary-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.apicola-summary-table th,
.apicola-summary-table td {
  padding: 8px 0;
  border: 0;
  font-size: 15px;
  vertical-align: top;
}

.apicola-summary-table th {
  text-align: left;
  font-weight: 400;
}

.apicola-summary-table td {
  text-align: right;
}

.apicola-summary-table .order-total th,
.apicola-summary-table .order-total td {
  padding-top: 12px;
  font-size: 24px;
  font-weight: 700;
}

.apicola-summary-table .includes_tax {
  display: block;
  font-size: 13px;
  font-weight: 400;
}

.apicola-summary-divider {
  margin: 20px 0;
  border: 0;
  border-top: 1px solid var(--apicola-border);
}

.apicola-button,
.woocommerce .apicola-button,
.apicola-summary-card .checkout-button,
.apicola-place-order-mount #place_order,
.apicola-next-payment {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 12px 18px;
  border: 1px solid var(--apicola-accent);
  border-radius: 8px;
  background: var(--apicola-accent) !important;
  color: #fff !important;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
}

.apicola-button:hover,
.apicola-next-payment:hover,
.apicola-place-order-mount #place_order:hover {
  background: var(--apicola-accent-dark) !important;
  border-color: var(--apicola-accent-dark);
}

.apicola-coupon {
  margin-top: 20px;
}

.apicola-coupon__heading {
  margin: 0 0 18px;
  font-size: 16px;
}

.apicola-coupon label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}

.apicola-coupon__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 12px;
}

.apicola-coupon input.input-text,
.apicola-coupon input[type="text"] {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid #d6d6d6;
  border-radius: 8px;
}

.apicola-coupon button {
  min-height: 48px;
  border: 1px solid var(--apicola-accent);
  border-radius: 8px;
  background: #fff;
  color: var(--apicola-accent);
  font-weight: 700;
  cursor: pointer;
}

.apicola-coupon__note {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.45;
}

.apicola-empty-cart {
  padding: 40px 20px;
  text-align: center;
  border: 1px solid var(--apicola-border);
  border-radius: 8px;
  background: #fff;
}

.apicola-delivery-step,
.apicola-payment-step {
  padding: 26px;
}

.apicola-payment-step {
  display: none;
}

.apicola-checkout-page[data-checkout-step="payment"] .apicola-delivery-step {
  display: none;
}

.apicola-checkout-page[data-checkout-step="payment"] .apicola-payment-step {
  display: block;
}

.apicola-checkout-page[data-checkout-step="delivery"]
  .apicola-place-order-mount,
.apicola-checkout-page[data-checkout-step="payment"] .apicola-sidebar-next {
  display: none;
}

.apicola-checkout-page[data-checkout-step="payment"] .apicola-payment-row {
  display: table-row;
}

.apicola-payment-row {
  display: none;
}

.apicola-checkout-page h2,
.apicola-checkout-page h3 {
  margin-top: 0;
}

.apicola-checkout-page .woocommerce-billing-fields h3 {
  color: #000;
  font-family: Montserrat, sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
}

.apicola-checkout-page .form-row {
  margin-bottom: 16px;
}

.apicola-checkout-page label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: #333;
}

.apicola-checkout-page input.input-text,
.apicola-checkout-page select,
.apicola-checkout-page textarea,
.apicola-checkout-page .select2-selection {
  min-height: 48px;
  border: 1px solid #d5d5d5;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.apicola-checkout-page input.input-text,
.apicola-checkout-page textarea {
  padding: 10px 13px;
}

.apicola-checkout-page .form-row-first,
.apicola-checkout-page .form-row-last {
  width: calc(50% - 8px);
}

.apicola-checkout-page .form-row-first {
  float: left;
  clear: both;
}

.apicola-checkout-page .form-row-last {
  float: right;
}

.apicola-checkout-page .form-row-wide {
  clear: both;
  width: 100%;
}

.apicola-checkout-page .woocommerce-billing-fields__field-wrapper::after,
.apicola-checkout-page .woocommerce-shipping-fields__field-wrapper::after {
  content: "";
  display: block;
  clear: both;
}

.apicola-payment-methods #payment {
  background: transparent;
}

.apicola-payment-methods .wc_payment_methods {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.apicola-payment-methods .wc_payment_method {
  margin: 0 0 18px !important;
  padding: 18px !important;
  border: 1px solid var(--apicola-border);
  border-radius: 8px;
  list-style: none;
}

.apicola-payment-methods .wc_payment_method input[type="radio"] {
  margin-right: 10px;
  accent-color: var(--apicola-accent);
}

.apicola-payment-methods .payment_box {
  margin: 16px 0 0 !important;
  padding: 16px !important;
  border-radius: 8px !important;
  background: #fafafa !important;
}

.apicola-back-delivery {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--apicola-accent);
  font-weight: 600;
  text-decoration: none;
}

.apicola-place-order-mount .form-row.place-order {
  padding: 0 !important;
  margin: 0 !important;
}

.apicola-place-order-mount .woocommerce-terms-and-conditions-wrapper {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.apicola-thankyou-page {
  max-width: 760px;
  text-align: center;
}

.apicola-hidden-thankyou-details {
  display: none !important;
}

.apicola-thankyou-icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin: 10px auto 24px;
  border-radius: 50%;
  background: #078a00;
  color: #fff;
  font-size: 48px;
}

.apicola-thankyou-page h1 {
  margin: 0 0 10px;
  font-size: 34px;
  color: #3a291d;
}

.apicola-thankyou-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 42px 0 34px;
  text-align: left;
}

.apicola-meta-label {
  display: block;
  margin-bottom: 8px;
  color: var(--apicola-accent);
  font-size: 14px;
}

.apicola-meta-value {
  font-size: 18px;
  font-weight: 600;
}

.apicola-thankyou-page .apicola-meta-value {
  color: #000;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
}

.apicola-delivery-card {
  padding: 24px;
  border: 1px solid #f0d9b5;
  border-radius: 14px;
  background: #fffaf2;
  text-align: left;
}

.apicola-delivery-card__top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  font-size: 18px;
}

.apicola-delivery-card__top strong {
  font-weight: 600;
}

.apicola-delivery-bar {
  height: 7px;
  margin-bottom: 12px;
  border-radius: 20px;
  background: #faead4;
  overflow: hidden;
}

.apicola-delivery-bar span {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--apicola-accent);
}

.woocommerce-cart .site-main,
.woocommerce-checkout .site-main,
.woocommerce-order-received .site-main {
  overflow: hidden;
}

.woocommerce-cart .page-header,
.woocommerce-checkout .page-header,
.woocommerce-order-received .page-header,
.woocommerce-cart .entry-title,
.woocommerce-checkout .entry-title,
.woocommerce-order-received .entry-title,
.woocommerce-cart .page-title,
.woocommerce-checkout .page-title,
.woocommerce-order-received .page-title {
  display: none;
}

.apicola-cart-page,
.apicola-checkout-page {
  max-width: 1230px;
  padding-top: 22px;
  padding-bottom: 82px;
}

.apicola-thankyou-page {
  padding-top: 40px;
  padding-bottom: 94px;
}

.apicola-progress {
  margin-bottom: 24px;
}

.apicola-progress__number {
  width: 34px;
  height: 34px;
  margin-bottom: 7px;
  font-size: 17px;
}

.apicola-progress__track {
  width: calc(100% + 120px);
  max-width: calc(100vw - 64px);
  margin-top: 18px;
}

.apicola-progress[data-current-step="1"] .apicola-progress__track span {
  width: 39%;
}
.apicola-progress[data-current-step="2"] .apicola-progress__track span {
  width: 69%;
}
.apicola-progress[data-current-step="3"] .apicola-progress__track span {
  width: 100%;
}

.apicola-free-shipping-notice {
  margin: 0 0 12px 8px;
  padding: 14px 17px;
  border-radius: 10px;
}

.apicola-notice-icon,
.apicola-meta-label svg,
.apicola-payment-option__icon svg,
.apicola-cart-item__remove svg,
.apicola-thankyou-icon svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.apicola-notice-icon {
  flex: 0 0 auto;
  color: #009245;
}

.apicola-cart-layout,
.apicola-checkout-layout {
  grid-template-columns: minmax(0, 868px) minmax(360px, 390px);
  gap: 40px;
}

.apicola-summary-card,
.apicola-delivery-step,
.apicola-payment-step,
.apicola-cart-item {
  border-color: #cfcfcf;
  border-radius: 8px;
}

.apicola-summary-card {
  padding: 25px 24px 23px;
}

.apicola-summary-card h2,
.apicola-delivery-step h2,
.apicola-payment-step h2 {
  margin: 0 0 26px;
  color: #000;
  font-family: Montserrat, sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0;
}

.apicola-summary-card .shop_table,
.apicola-summary-card .shop_table tbody,
.apicola-summary-card .shop_table tr,
.apicola-summary-card .shop_table th,
.apicola-summary-card .shop_table td {
  border: 0 !important;
  background: transparent !important;
}

.apicola-summary-table th,
.apicola-summary-table td {
  padding: 7px 0 !important;
  color: #000;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.apicola-summary-table th {
  width: 45%;
  white-space: nowrap;
  padding-left: 0 !important;
  text-align: left !important;
}

.apicola-summary-table td {
  width: 55%;
  padding-right: 0 !important;
  text-align: right !important;
}

.woocommerce .apicola-summary-card .apicola-summary-table tr:not(.order-total) th,
.woocommerce .apicola-summary-card .apicola-summary-table tr:not(.order-total) td,
.woocommerce-page .apicola-summary-card .apicola-summary-table tr:not(.order-total) th,
.woocommerce-page .apicola-summary-card .apicola-summary-table tr:not(.order-total) td {
  color: #000 !important;
  font-family: Montserrat, sans-serif !important;
  font-size: 16px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 24px !important;
}

.apicola-summary-table .order-total th,
.apicola-summary-table .order-total td {
  padding-top: 12px;
  color: #000;
  font-family: Montserrat, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
}

.woocommerce .apicola-summary-card .apicola-summary-table .order-total th,
.woocommerce .apicola-summary-card .apicola-summary-table .order-total td,
.woocommerce .apicola-summary-card .apicola-summary-table .order-total strong,
.woocommerce .apicola-summary-card .apicola-summary-table .order-total .amount,
.woocommerce-page .apicola-summary-card .apicola-summary-table .order-total th,
.woocommerce-page .apicola-summary-card .apicola-summary-table .order-total td,
.woocommerce-page .apicola-summary-card .apicola-summary-table .order-total strong,
.woocommerce-page .apicola-summary-card .apicola-summary-table .order-total .amount {
  color: #000 !important;
  font-family: Montserrat, sans-serif !important;
  font-size: 24px !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 32px !important;
}

.apicola-summary-table .includes_tax {
  margin-top: 4px;
  color: #111;
  font-size: 14px;
}

.apicola-summary-shipping ul,
.apicola-summary-shipping li,
.apicola-summary-table .woocommerce-shipping-methods,
.apicola-summary-table .woocommerce-shipping-destination,
.apicola-summary-table .shipping-calculator-button,
.apicola-summary-table .shipping-calculator-form {
  display: none !important;
}

.apicola-summary-card .cart_totals > .wc-proceed-to-checkout {
  display: none !important;
}

.apicola-summary-divider {
  margin: 22px 0 24px;
  border-color: #cfcfcf;
}

.apicola-summary-card .checkout-button,
.apicola-place-order-mount #place_order,
.apicola-next-payment {
  min-height: 56px;
  border-radius: 8px;
  font-size: 16px;
}

.apicola-summary-card .apicola-sidebar-next,
.apicola-summary-card .wc-proceed-to-checkout {
  width: 100%;
}

.woocommerce .apicola-summary-card .apicola-sidebar-next .apicola-next-payment,
.woocommerce-page
  .apicola-summary-card
  .apicola-sidebar-next
  .apicola-next-payment,
.woocommerce .apicola-summary-card .wc-proceed-to-checkout .checkout-button,
.woocommerce-page
  .apicola-summary-card
  .wc-proceed-to-checkout
  .checkout-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  max-width: none !important;
  min-height: 56px !important;
  padding: 12px 18px !important;
  border: 1px solid var(--apicola-accent) !important;
  border-radius: 8px !important;
  background: var(--apicola-accent) !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-align: center;
  text-decoration: none !important;
}

.apicola-cart-items {
  gap: 23px;
}

.apicola-cart-item {
  grid-template-columns: 128px minmax(0, 1fr) 168px 28px;
  gap: 16px;
  padding: 15px;
  min-height: 137px;
}

.apicola-cart-item__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 128px;
  height: 120px;
  border-radius: 8px;
  background: #fff8e9;
}

.apicola-cart-item__image img {
  width: auto;
  height: auto;
  max-width: 92px;
  max-height: 108px;
  object-fit: contain;
  background: transparent;
}

.apicola-cart-item__title {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
}

.apicola-cart-item__price {
  font-size: 20px;
}

.apicola-cart-item__remove a {
  width: 28px;
  height: 34px;
  color: #ff1d12 !important;
}

.apicola-cart-item__remove svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.3;
}

.apicola-qty-control {
  width: 150px;
  grid-template-columns: repeat(3, 1fr);
  min-height: 48px;
  border-radius: 8px;
}

.apicola-qty-control .apicola-qty-minus,
.apicola-qty-control .apicola-qty-plus,
.apicola-qty-control input.qty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  line-height: 1;
  color: #1f2b3a;
}

.apicola-qty-control .apicola-qty-minus,
.apicola-qty-control .apicola-qty-plus,
.woocommerce .apicola-qty-control .apicola-qty-minus,
.woocommerce .apicola-qty-control .apicola-qty-plus {
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: 46px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #1f2b3a !important;
  font-size: 22px;
  font-weight: 400;
  box-shadow: none !important;
}

.apicola-qty-control .quantity {
  display: block;
  width: 100%;
  min-width: 0;
  height: 46px;
}

.apicola-qty-control input.qty {
  display: block;
  width: 100% !important;
  min-width: 0 !important;
  height: 46px !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: #fff !important;
  color: #1f2b3a !important;
  font-size: 20px !important;
  font-weight: 700;
  line-height: 46px !important;
  text-align: center;
  box-shadow: none !important;
  appearance: textfield;
  -moz-appearance: textfield;
}

.apicola-coupon {
  margin-top: 26px;
}

.apicola-summary-divider + .apicola-coupon {
  margin-top: 0;
}

.apicola-coupon__heading {
  margin: 0 0 24px;
}

.apicola-coupon label {
  margin-left: 12px;
  font-size: 14px;
}

.apicola-coupon__controls {
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 16px;
}

.apicola-coupon input.input-text,
.apicola-coupon input[type="text"],
.apicola-coupon button {
  min-height: 56px;
  border-radius: 8px;
  font-size: 16px;
}

.apicola-checkout-page input.input-text,
.apicola-checkout-page select,
.apicola-checkout-page textarea,
.apicola-checkout-page .select2-selection,
.apicola-coupon input.input-text,
.apicola-coupon input[type="text"] {
  padding: 13px 12px !important;
  border: 1px solid #ccc !important;
  border-radius: 8px !important;
  background: #fff !important;
}

.apicola-coupon__note {
  margin-top: 8px;
  font-size: 15px;
}

.apicola-coupon__messages {
  margin-top: 10px;
  font-size: 14px;
}

.apicola-coupon__messages .woocommerce-error,
.apicola-coupon__messages .woocommerce-message,
.apicola-coupon__messages .woocommerce-info {
  margin: 0;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
}

.apicola-apply-checkout-coupon.is-loading {
  opacity: 0.65;
  cursor: wait;
}

.apicola-delivery-step,
.apicola-payment-step {
  padding: 25px 24px;
}

.apicola-checkout-page label {
  margin-bottom: 7px;
  font-size: 14px;
}

.apicola-checkout-page .form-row {
  margin-bottom: 17px;
  padding: 0 12px;
}

.apicola-checkout-page input.input-text,
.apicola-checkout-page select,
.apicola-checkout-page textarea,
.apicola-checkout-page .select2-selection {
  min-height: 50px;
  border-color: #cfcfcf;
  border-radius: 8px;
  color: #333;
  font-size: 16px;
}

.apicola-checkout-page input.input-text::placeholder,
.apicola-checkout-page textarea::placeholder {
  color: #9d9d9d;
  opacity: 1;
}

.apicola-checkout-page .form-row-first,
.apicola-checkout-page .form-row-last {
  width: calc(50% - 8px);
}

.apicola-checkout-page #ship-to-different-address,
.apicola-checkout-page .woocommerce-shipping-fields h3 {
  margin: 4px 0 16px;
  font-size: 15px;
  font-weight: 400;
}

.apicola-checkout-page #ship-to-different-address label,
.apicola-checkout-page .woocommerce-shipping-fields h3 label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 15px;
  font-weight: 400;
}

.apicola-checkout-page input[type="checkbox"],
.apicola-payment-methods input[type="radio"] {
  width: 22px;
  height: 22px;
  margin: 0;
  border: 1px solid #d2d2d2;
  background: #fff;
  accent-color: var(--apicola-accent);
}

.apicola-payment-methods input[type="radio"] {
  appearance: none;
  border-radius: 50%;
}

.apicola-payment-methods input[type="radio"]:checked {
  border: 3px solid var(--apicola-accent);
  background:
    radial-gradient(circle, var(--apicola-accent) 0 42%, transparent 45%),
    #fff;
}

.apicola-checkout-page input[type="checkbox"] {
  border-radius: 6px;
}

.apicola-payment-methods .wc_payment_method {
  margin: 0 0 24px !important;
  padding: 0 !important;
  overflow: hidden;
  border-color: #d9d9d9;
}

.apicola-payment-methods .wc_payment_method input[type="radio"] {
  flex: 0 0 auto;
  margin-right: 16px;
}

.apicola-payment-methods .wc_payment_method:has(input[type="radio"]:checked),
.apicola-payment-methods .wc_payment_method.apicola-payment-option--selected {
  border-color: var(--apicola-accent);
}

.apicola-payment-option__header {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 70px;
  padding: 15px 16px;
}

.apicola-payment-option__header label {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 auto;
  margin: 0;
  font-size: 16px;
  cursor: pointer;
}

.apicola-payment-option__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f5f5f5;
  color: #111;
}

.apicola-payment-option__icon img {
  display: block;
  max-width: 30px;
  max-height: 18px;
  margin: 0;
}

.apicola-payment-option__cost {
  margin-left: 16px;
  font-size: 16px;
}

.apicola-payment-methods .payment_box {
  margin: 0 !important;
  padding: 0 16px 16px 58px !important;
  background: #fff !important;
}

.apicola-payment-methods .payment_box::before,
.apicola-payment-methods .payment_box::after {
  display: none !important;
  content: none !important;
}

.apicola-payment-methods .payment_box p {
  margin: 0 0 12px;
}

.apicola-payment-methods .payment_box input,
.apicola-payment-methods .payment_box select {
  min-height: 50px;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
}

.apicola-back-delivery {
  margin-bottom: 18px;
}

.apicola-checkout-page[data-checkout-step="payment"] .apicola-checkout-coupon {
  display: none;
}

.apicola-checkout-page[data-checkout-step="payment"] .apicola-summary-divider {
  display: none;
}

.apicola-payment-divider-row {
  display: none;
}

.apicola-checkout-page[data-checkout-step="payment"] .apicola-payment-divider-row {
  display: table-row;
}

.apicola-payment-divider-row td {
  padding: 14px 0 10px !important;
}

.apicola-payment-divider-row span {
  display: block;
  height: 1px;
  background: #d9d9d9;
}

.apicola-checkout-page[data-checkout-step="payment"] .apicola-summary-card {
  padding: 24px 20px 22px;
}

.apicola-checkout-page[data-checkout-step="payment"] .apicola-summary-card h2 {
  margin-bottom: 18px;
}

.apicola-checkout-page[data-checkout-step="payment"] .apicola-summary-table th,
.apicola-checkout-page[data-checkout-step="payment"] .apicola-summary-table td {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

.apicola-checkout-page[data-checkout-step="payment"] .apicola-summary-table .order-total th,
.apicola-checkout-page[data-checkout-step="payment"] .apicola-summary-table .order-total td {
  padding-top: 8px !important;
}

.apicola-checkout-page[data-checkout-step="payment"] .apicola-place-order-mount {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #d9d9d9;
}

.apicola-place-order-mount .woocommerce-terms-and-conditions-wrapper {
  margin-top: 18px;
  font-size: 14px;
}

.apicola-checkout-page[data-checkout-step="payment"]
  .apicola-place-order-mount
  #place_order {
  min-height: 44px !important;
  border-radius: 6px !important;
}

.apicola-place-order-mount .woocommerce-terms-and-conditions-wrapper a {
  color: var(--apicola-accent);
  font-weight: 700;
}

.apicola-checkout-page[data-checkout-step="payment"]
  .apicola-place-order-mount
  .woocommerce-privacy-policy-text,
.apicola-checkout-page[data-checkout-step="payment"]
  .apicola-place-order-mount
  .woocommerce-terms-and-conditions-wrapper {
  color: #222;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}

.apicola-thankyou-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 26px;
}

.apicola-thankyou-icon svg {
  width: 52px;
  height: 52px;
  stroke-width: 1.8;
}

.apicola-thankyou-page h1 {
  font-size: 32px;
  line-height: 1.15;
}

.apicola-thankyou-page > p {
  margin: 0;
  font-size: 17px;
}

.apicola-thankyou-meta {
  gap: 118px;
  margin: 44px 0 36px;
}

.apicola-thankyou-meta > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.apicola-meta-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.apicola-meta-label svg {
  width: 18px;
  height: 18px;
}

.apicola-delivery-card {
  padding: 26px 24px;
  border-radius: 13px;
}

@media (max-width: 900px) {
  .apicola-cart-layout,
  .apicola-checkout-layout {
    grid-template-columns: 1fr;
  }

  .apicola-summary-card {
    position: static;
  }
}

@media (max-width: 700px) {
  .apicola-cart-page,
  .apicola-checkout-page,
  .apicola-thankyou-page {
    padding: 18px 14px 45px;
  }

  .apicola-free-shipping-notice {
    width: 100%;
  }

  .apicola-cart-item {
    grid-template-columns: 86px minmax(0, 1fr) 30px;
    grid-template-areas:
      "image content remove"
      "quantity quantity quantity";
  }

  .apicola-cart-item__image {
    grid-area: image;
  }
  .apicola-cart-item__content {
    grid-area: content;
  }
  .apicola-cart-item__quantity {
    grid-area: quantity;
  }
  .apicola-cart-item__remove {
    grid-area: remove;
  }
  .apicola-cart-item__image {
    width: 86px;
    height: 86px;
  }
  .apicola-cart-item__image img {
    width: auto;
    height: auto;
    max-width: 62px;
    max-height: 78px;
  }

  .apicola-checkout-page .form-row-first,
  .apicola-checkout-page .form-row-last {
    float: none;
    width: 100%;
  }

  .apicola-coupon__controls {
    grid-template-columns: 1fr;
  }

  .apicola-thankyou-meta {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }

  .apicola-progress__track {
    width: calc(100% + 28px);
    max-width: calc(100vw - 28px);
    transform: translateX(-14px);
  }
}
