/* Shipping information for the connected Aruba shop. */
.commerce-shipping-policy{color:#34594f;font:14px/1.6 Arial,sans-serif;letter-spacing:.02em;border-top:1px solid #c7a66c;border-bottom:1px solid #d9d4c9;padding:14px 0;margin:20px 0 28px}
.commerce-shipping-progress{color:#0b232a;background:#eee8dc;border-left:2px solid #c7a66c;padding:14px 16px;margin:18px 0;font:14px/1.6 Arial,sans-serif}
.commerce-shipping-progress p{margin:0 0 4px;font-weight:600}
.commerce-shipping-progress small{display:block;font:11px/1.6 Arial,sans-serif;color:#58625f}
.commerce-shipping-progress.is-reached{background:#e8eee7;border-left-color:#34594f}

/* Reserved status space prevents the catalogue moving when connection completes. */
.commerce-shipping-policy{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:center;gap:12px 24px}
.commerce-sync{display:flex;align-items:center;gap:8px;min-height:2.8em;font:12px/1.4 Arial,sans-serif;color:#68736f;justify-self:end;width:300px}
.commerce-sync::before{content:"";flex:0 0 5px;width:5px;height:5px;border-radius:50%;background:#b99555;animation:commerce-pulse 1.5s ease-in-out infinite}
.commerce-sync[data-state="ready"]{visibility:hidden}
.commerce-sync[data-state="failed"]::before{animation:none}
@keyframes commerce-pulse{50%{opacity:.3}}
@media(max-width:700px){.commerce-shipping-policy{grid-template-columns:minmax(0,1fr);gap:8px}.commerce-sync{justify-self:start;width:100%;min-height:2.8em}}
@media(prefers-reduced-motion:reduce){.commerce-sync::before{animation:none}}

/* Align purchase controls within each shop row. */
#commerce-products > .product-card {
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
#commerce-products > .product-card > .description {
  margin-bottom: 17px;
}
#commerce-products > .product-card > .product-bottom {
  margin-top: auto;
}

@media (max-width: 780px) {
  #commerce-products > .product-card > .description {
    margin-bottom: 12px;
  }
  #commerce-products .shop-purchase {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 6px;
  }
  #commerce-products .shop-purchase > input {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 6px;
  }
  #commerce-products .shop-purchase > .button,
  #commerce-products > .product-card > .button {
    width: 100%;
    min-height: 58px;
    padding: 6px;
    font-size: 10px;
    letter-spacing: .04em;
    overflow-wrap: anywhere;
    justify-content: center;
    text-align: center;
    line-height: 1.4;
  }
}

/* Keep shop-card prices readable at desktop and mobile widths. */
#commerce-products > .product-card > .product-bottom {
  font-size: 15px;
}
@media (max-width: 780px) {
  #commerce-products > .product-card > .product-bottom {
    font-size: 14px;
  }
}
