/* ---------- Checkout Page -------------------------------------------------- */

.himaluxecheckout {
  max-width: 1280px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
}
.himaluxecheckout .checkout-form {
	display: grid;
	grid-template-columns: none;
	gap: 16px;
	padding: 15px;
	border: 1px solid #eee;
	border-radius: 16px;
	margin-bottom: 16px;
	align-items: center;
}
.himaluxecheckout .checkout-form .card {
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
}
.checkout_address.form-grid header.hx-card__head {
    display: block;
    font-size: 14px;
}
.checkout_address.form-grid header.hx-card__head input[type="checkbox"] {
    float: left;
    margin-right: 6px;
    margin-top: 3px;
}
.checkout_address.form-grid header.hx-card__head h3 {
    margin-bottom: 10px;
}

.radio-row {
  display: flex;
  gap: 24px;
  margin-top: 12px;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox span {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid #111;
}

.checkbox input {
  display: none;
}

.checkbox input:checked + span {
  background: #111;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  font-size: 14px;
  margin-bottom: 6px;
  display: block;
}

input, select {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
}

.reach {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  font-size: 14px;
}

/* -------- Instore -------- */

.instore-section {
  display: none;
}

.section-note {
  margin: 16px 0;
  font-weight: 500;
}

.store-table {
  border: 1px solid #eee;
  border-radius: 16px;
  overflow: hidden;
}

.store-header,
.store-row {
  display: grid;
  grid-template-columns: 24px 1fr 2fr 1fr;
  padding: 12px 16px;
  align-items: center;
}

.store-header {
  background: #f7f7f7;
  font-weight: 600;
}

.store-row {
  border-top: 1px solid #eee;
  cursor: pointer;
}

.store-row.selected {
  background: #fafafa;
}

.store-row a {
  font-size: 13px;
  color: #1a73e8;
  display: block;
}
#pickup-store-tbody .hx-map-link {
	color: #1E2EDE !important;
	text-decoration: underline !important;
}
/* -------- Summary -------- */

.checkout-summary {
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 24px;
  height: fit-content;
}

.summary-list div,
.totals div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.promo-chip {
  display: inline-block;
  padding: 6px 12px;
  border: 1px dashed #999;
  border-radius: 8px;
  margin-bottom: 16px;
}
.himaluxecheckout .promo input {
	width: 95%;
	padding: 12px;
	border-radius: 10px;
	border: 1px solid #ccc;
	margin: 16px 0;
}
.grand {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  margin: 16px 0;
}

.choose-payment {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: #222;
  color: #fff;
  border: none;
  font-size: 16px;
}


/* Store list as table/grid */
.store-list {
    display: grid;
    grid-template-columns: 40px 1fr 2fr 1.5fr; /* radio | store | address | contact */
    gap: 10px;
    align-items: center;
    border-top: 1px solid #ccc;
    margin-bottom: 20px;
}

.store-list .store-item {
    display: contents; /* allows children to follow grid layout */
}

.store-item input[type="radio"] {
    justify-self: center;
}

.store-item div {
    padding: 8px 4px;
    border-bottom: 1px solid #eee;
}

.store-name {
    font-weight: bold;
}

.store-contact {
    font-size: 0.9rem;
    color: #555;
}

/* Receiver details */
.receiver-details .row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.receiver-details .col {
    flex: 1;
}

.receiver-details .col-full {
    flex: 1 1 100%;
}

.receiver-details input {
    width: 100%;
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

h4 {
    margin-top: 20px;
    margin-bottom: 10px;
}


.checkout_address.form-grid {
    grid-template-columns: repeat(1, 1fr);
}
div#pickup-form-container h3 {
    padding: 15px 1px;
    font-size: 17px;
    font-weight: 200;
}
div#pickup-form-container td, div#pickup-form-container th {
    padding: 7px 10px;
}
#saved-address-wrap .accordion-header {
	width: 100%;
	color: #000;
	text-align: left;
}
.address-card {
  border: 1px solid #ddd;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.address-card:hover {
  border-color: #999;
}

.address-card {
    border: 1px dashed #666;
}
div#saved-address-wrap h3 {
    font-size: 18px;
    text-transform: capitalize;
    margin-bottom: 10px;
}


.default-badge {
  color: green;
  margin-left: 6px;
  font-size: 13px;
}
.available_on {
    display: block;
    width: 100%;
}
.available_on input#pickup-checkbox {
    float: left;
    margin-right: 8px;
    width: 18px;
    width: 18px;
}
.available_on img {
    float: left;
    width: 18px;
    margin-right: 8px;
}
.available_on small {
    font-size: 12px;
    /* margin-top: -5px; */
    float: left;
}
div#saved-address-wrap strong {
    font-size: 12px;
    font-weight: 300;
}
div#saved_shipping {
    width: 50%;
    padding: 10px;
}
div#saved_billing {
    width: 50%;
    padding: 10px;
}

@media (max-width: 600px) {
  .address-card {
    border: 1px dashed #666;
    width: 100%;
  }
  
}

.hx-muted-no-saved {
	width: 100%;
	border: 1px solid #EC221F;
	padding: 16px;
	border-radius: 5px;
	background: #FEE9E7;
	color: #EC221F !important;
	margin-bottom: 10px !important;
}

.himaluxe-ui .checkout-form #new-billing-address-form .hx-card__body.himaluxe-grid-2 .hx-field:nth-child(5),
.himaluxe-ui .checkout-form #new-shipping-address-form .hx-card__body.himaluxe-grid-2 .hx-field:nth-child(5) {
	grid-column: 1 / -1;
}
#toggle-address-billing,
#toggle-address-shipping {
	right: 10px !important;
	position: absolute;
	top: 42px;
}