/* ============================================================
   Avila Market — WooCommerce Styles
   Covers: Shop, Product, Cart, Checkout, My Account
   ============================================================ */

/* ─── WC Main Wrapper ────────────────────────────────────────── */
.am-woo-main { background: #fff; }
.am-woo-inner { max-width: 1200px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }

/* ─── Header Cart Icon ───────────────────────────────────────── */
.header-cart-link {
  position: relative; display: inline-flex; align-items: center;
  color: #253b63; font-size: 1.1rem; padding: 0.35rem 0.5rem;
  border-radius: 0.5rem; transition: all 0.2s ease; text-decoration: none;
}
.header-cart-link:hover { color: #92c83e; }
.header-cart-count {
  position: absolute; top: -4px; right: -4px;
  background: #92c83e; color: #fff;
  font-size: 0.65rem; font-weight: 700; font-family: 'DM Sans', sans-serif;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.header-cart-count.is-empty { display: none; }
.mobile-cart-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: #92c83e; color: #fff; font-size: 0.7rem; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%; margin-left: 6px;
}

/* ─── WC Notices ─────────────────────────────────────────────── */
.am-wc-notice {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 1rem 1.25rem; border-radius: 12px; margin-bottom: 1.25rem;
  font-family: 'Jost', sans-serif; font-size: 0.95rem; line-height: 1.5;
}
.am-wc-notice-error { background: #fef2f2; border-left: 4px solid #ef4444; color: #991b1b; }
.am-wc-notice-success { background: #f0fdf4; border-left: 4px solid #92c83e; color: #166534; }
.am-wc-notice-info { background: #eff6ff; border-left: 4px solid #6fcbd2; color: #1e40af; }
.am-wc-notice i { flex-shrink: 0; font-size: 1.1rem; margin-top: 0.1rem; }
.am-wc-notice ul { margin: 0; padding: 0; list-style: none; }
.am-wc-notice ul li + li { margin-top: 0.25rem; }

/* ─── Page Header ────────────────────────────────────────────── */
.am-woo-page-header {
  text-align: center; margin-bottom: 2.5rem; padding-bottom: 2rem;
  border-bottom: 1px solid #e9edf2;
}
.am-woo-page-header h1 {
  font-family: 'DM Sans', sans-serif; font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700; color: #253b63; margin-bottom: 0.5rem;
}
.am-woo-page-header p { color: #666; font-size: 1rem; }

/* ─── SHOP / ARCHIVE ─────────────────────────────────────────── */
.am-shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem;
}
.am-shop-result-count { font-size: 0.9rem; color: #888; }
.am-shop-ordering {
  padding: 0.55rem 1rem; border: 1.5px solid #e5e7eb; border-radius: 0.75rem;
  font-family: 'Jost', sans-serif; font-size: 0.9rem; color: #253b63;
  background: #fff; cursor: pointer; outline: none;
}
.am-shop-ordering:focus { border-color: #6fcbd2; }
.am-shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.am-shop-grid .am-product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  transition: transform .18s, box-shadow .18s;
  list-style: none;
}
.am-shop-grid .am-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,.1);
}
.am-shop-grid .am-product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.am-shop-grid .am-product-img {
  width: 100% !important;
  height: 240px !important;
  max-height: 240px !important;
  object-fit: cover !important;
  background: #f7f9fb;
  display: block !important;
  margin: 0 !important;
}
.am-shop-grid .am-product-body { padding: 1.1rem 1.25rem 0.5rem; }
.am-shop-grid .am-product-name {
  font-family: 'DM Sans', sans-serif; font-size: 1.1rem;
  color: #253b63; margin: 0 0 .35rem; font-weight: 700;
}
.am-shop-grid .am-product-desc {
  color: #6b7280; font-size: .85rem; margin: 0 0 .75rem; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.am-shop-grid .am-product-meta { margin-bottom: .85rem; }
.am-shop-grid .am-product-units {
  font-size: .78rem; color: #6b7280; margin: 0 0 .2rem;
  display: flex; align-items: center; gap: .35rem;
}
.am-shop-grid .am-product-units i { color: #6fcbd2; }
.am-shop-grid .am-product-bestfor { font-size: .75rem; color: #9ca3af; margin: 0; }
.am-shop-grid .am-product-prices {
  display: flex; align-items: baseline; gap: .55rem; margin-bottom: 1rem;
}
.am-shop-grid .am-product-price {
  font-family: 'DM Sans', sans-serif; font-size: 1.4rem; font-weight: 700; color: #92c83e;
}
.am-shop-grid .am-product-compare {
  color: #c4c4c4; text-decoration: line-through; font-size: .9rem;
}
.am-shop-grid .am-product-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  background: #92c83e; color: #fff; border: none; border-radius: 999px;
  padding: .8rem 1.25rem; font-family: 'DM Sans', sans-serif; font-weight: 700;
  font-size: .92rem; text-decoration: none; margin: 0 1.25rem 1.25rem; transition: all .18s;
  min-height: 44px;
}
.am-shop-grid .am-product-btn:hover {
  background: #7eb835; color: #fff; transform: translateY(-1px);
}
.am-shop-pagination {
  display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem;
  flex-wrap: wrap;
}
.am-shop-pagination a,
.am-shop-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 0.75rem; font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem; font-weight: 600; text-decoration: none;
  border: 1.5px solid #e5e7eb; color: #253b63; transition: all 0.2s ease;
}
.am-shop-pagination a:hover { border-color: #92c83e; color: #92c83e; }
.am-shop-pagination .current { background: #253b63; color: #fff; border-color: #253b63; }
.am-shop-empty {
  text-align: center; padding: 4rem 1rem; color: #888;
}
.am-shop-empty i { font-size: 3rem; color: #e5e7eb; margin-bottom: 1rem; display: block; }
.am-shop-empty h3 { font-family: 'DM Sans', sans-serif; color: #253b63; margin-bottom: 0.5rem; }
@media (max-width: 900px) { .am-shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .am-shop-grid { grid-template-columns: 1fr; gap: 1.25rem; } }

/* ─── SINGLE PRODUCT ─────────────────────────────────────────── */
.am-single-product { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }

.am-sp-gallery { position: sticky; top: 90px; }
.am-sp-main-img {
  border-radius: 18px; overflow: hidden; background: #f7f9fb;
  margin-bottom: 1rem; aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
}
.am-sp-main-img img { width: 100%; height: 100%; object-fit: contain; padding: 1.5rem; }
.am-sp-thumbs { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.am-sp-thumb {
  width: 72px; height: 72px; border-radius: 10px; border: 2px solid #e5e7eb;
  overflow: hidden; cursor: pointer; transition: all 0.2s ease; background: #f7f9fb;
}
.am-sp-thumb:hover, .am-sp-thumb.active { border-color: #6fcbd2; }
.am-sp-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }

.am-sp-info {}
.am-sp-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: #e8f5e0; color: #166534; font-size: 0.78rem; font-weight: 600;
  padding: 0.3rem 0.75rem; border-radius: 2rem; margin-bottom: 1rem;
  font-family: 'DM Sans', sans-serif; letter-spacing: 0.5px; text-transform: uppercase;
}
.am-sp-title {
  font-family: 'DM Sans', sans-serif; font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700; color: #253b63; line-height: 1.2; margin-bottom: 1rem;
}
.am-sp-prices { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 1.25rem; }
.am-sp-price { font-family: 'DM Sans', sans-serif; font-size: 2rem; font-weight: 700; color: #253b63; }
.am-sp-regular { font-size: 1.1rem; color: #bbb; text-decoration: line-through; }
.am-sp-save {
  font-size: 0.85rem; font-weight: 700; color: #92c83e;
  background: #f0fdf4; padding: 0.2rem 0.6rem; border-radius: 0.5rem;
}
.am-sp-short-desc { color: #555; font-size: 1rem; line-height: 1.7; margin-bottom: 1.5rem; }

.am-sp-meta-box {
  background: #f7f9fb; border-radius: 14px; padding: 1.1rem 1.25rem; margin-bottom: 1.5rem;
}
.am-sp-meta-row {
  display: flex; align-items: center; gap: 0.6rem; font-size: 0.92rem;
  color: #444; padding: 0.4rem 0;
}
.am-sp-meta-row + .am-sp-meta-row { border-top: 1px solid #e9edf2; }
.am-sp-meta-row i { color: #6fcbd2; width: 16px; text-align: center; flex-shrink: 0; }
.am-sp-meta-row strong { color: #253b63; }

.am-sp-atc-form { margin-bottom: 1.5rem; }
.am-sp-qty-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.am-sp-qty-label { font-weight: 600; color: #253b63; font-size: 0.95rem; font-family: 'DM Sans', sans-serif; }
.am-sp-qty-wrap {
  display: flex; align-items: center; border: 1.5px solid #e5e7eb; border-radius: 0.75rem; overflow: hidden;
}
.am-sp-qty-btn {
  width: 40px; height: 44px; border: none; background: #f5f7fa;
  cursor: pointer; font-size: 1.1rem; color: #253b63; transition: all 0.2s ease;
  display: flex; align-items: center; justify-content: center;
}
.am-sp-qty-btn:hover { background: #e9edf2; }
.am-sp-qty-input {
  width: 52px; height: 44px; border: none; text-align: center;
  font-family: 'Jost', sans-serif; font-size: 1rem; font-weight: 600;
  color: #253b63; background: #fff; outline: none;
}
.am-sp-atc-btn {
  width: 100%; padding: 1rem 1.5rem; border: none; border-radius: 1.1rem;
  background: #253b63; color: #fff; font-family: 'DM Sans', sans-serif;
  font-size: 1rem; font-weight: 700; cursor: pointer; transition: all 0.3s ease;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.am-sp-atc-btn:hover { background: #1c2f50; transform: translateY(-2px); }
.am-sp-atc-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.am-sp-trust { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.am-sp-trust-item {
  display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem;
  color: #555; background: #f5f7fa; padding: 0.4rem 0.75rem; border-radius: 0.5rem;
}
.am-sp-trust-item i { color: #92c83e; }

.am-sp-tabs { margin-top: 4rem; }
.am-sp-tabs-nav { display: flex; gap: 0; border-bottom: 2px solid #e9edf2; margin-bottom: 2rem; }
.am-sp-tab-btn {
  padding: 0.85rem 1.5rem; border: none; background: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 600;
  color: #888; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.2s;
}
.am-sp-tab-btn.active, .am-sp-tab-btn:hover { color: #253b63; border-bottom-color: #253b63; }
.am-sp-tab-panel { display: none; }
.am-sp-tab-panel.active { display: block; }
.am-sp-tab-panel p { color: #555; line-height: 1.8; font-size: 0.98rem; }

.am-sp-related { margin-top: 5rem; }
.am-sp-related h2 {
  font-family: 'DM Sans', sans-serif; font-size: 1.5rem; font-weight: 700;
  color: #253b63; margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .am-single-product { grid-template-columns: 1fr; gap: 2.5rem; }
  .am-sp-gallery { position: static; }
}
@media (max-width: 540px) {
  .am-sp-prices { flex-wrap: wrap; }
  .am-sp-price { font-size: 1.6rem; }
}

/* ─── CART PAGE ──────────────────────────────────────────────── */
.am-cart-page { }
.am-cart-empty {
  text-align: center; padding: 5rem 1rem;
}
.am-cart-empty-icon { font-size: 4rem; color: #e5e7eb; margin-bottom: 1.5rem; }
.am-cart-empty h2 { font-family: 'DM Sans', sans-serif; font-size: 1.5rem; font-weight: 700; color: #253b63; margin-bottom: 0.5rem; }
.am-cart-empty p { color: #888; margin-bottom: 2rem; }
.am-cart-empty-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #253b63; color: #fff; padding: 0.9rem 1.8rem;
  border-radius: 1.1rem; font-weight: 700; font-size: 0.95rem; text-decoration: none;
  transition: all 0.3s ease;
}
.am-cart-empty-btn:hover { background: #1c2f50; transform: translateY(-2px); }

.am-cart-header { margin-bottom: 2rem; }
.am-cart-title { font-family: 'DM Sans', sans-serif; font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; color: #253b63; display: flex; align-items: center; gap: 0.75rem; }
.am-cart-header-count { font-size: 1rem; font-weight: 500; color: #888; }

.am-cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; align-items: start; }

.am-cart-item {
  display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem;
  background: #fff; border-radius: 14px; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin-bottom: 1rem; transition: box-shadow 0.2s ease;
}
.am-cart-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.am-ci-img { width: 80px; height: 80px; border-radius: 10px; overflow: hidden; background: #f7f9fb; flex-shrink: 0; }
.am-ci-img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.am-ci-info { flex: 1; min-width: 0; }
.am-ci-name { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 700; color: #253b63; margin-bottom: 0.25rem; }
.am-ci-name a { color: inherit; text-decoration: none; }
.am-ci-unit-price { font-size: 0.88rem; color: #888; margin-bottom: 0.5rem; }
.am-ci-unit-label { font-size: 0.78rem; color: #bbb; }
.am-ci-qty { display: flex; align-items: center; }
.am-ci-qty .qty {
  width: 60px; padding: 0.35rem 0.5rem; border: 1.5px solid #e5e7eb; border-radius: 0.6rem;
  font-family: 'Jost', sans-serif; font-size: 0.95rem; text-align: center; color: #253b63;
}
.am-ci-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.75rem; flex-shrink: 0; }
.am-ci-subtotal { font-family: 'DM Sans', sans-serif; font-size: 1.05rem; font-weight: 700; color: #253b63; }
.am-ci-remove { color: #ccc; font-size: 0.9rem; transition: color 0.2s; text-decoration: none; }
.am-ci-remove:hover { color: #ef4444; }

.am-cart-actions {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 0; border-top: 1px solid #e9edf2; margin-top: 0.5rem; flex-wrap: wrap;
}
.am-cart-back-link { color: #6fcbd2; font-size: 0.9rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; transition: color 0.2s; }
.am-cart-back-link:hover { color: #253b63; }
.am-cart-update-btn {
  background: none; border: 1.5px solid #e5e7eb; border-radius: 0.75rem; color: #555;
  padding: 0.55rem 1.1rem; font-size: 0.88rem; font-family: 'Jost', sans-serif; font-weight: 600;
  cursor: pointer; display: inline-flex; align-items: center; gap: 0.4rem; transition: all 0.2s ease;
}
.am-cart-update-btn:hover { border-color: #253b63; color: #253b63; }

.am-cart-summary {
  background: #fff; border-radius: 18px; box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 1.75rem; position: sticky; top: 90px;
}
.am-cs-title { font-family: 'DM Sans', sans-serif; font-size: 1.15rem; font-weight: 700; color: #253b63; margin-bottom: 1.25rem; padding-bottom: 0.85rem; border-bottom: 1px solid #e9edf2; }
.am-cs-rows { margin-bottom: 1.25rem; }
.am-cs-row { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0; font-size: 0.92rem; color: #555; border-bottom: 1px solid #f0f2f5; }
.am-cs-row:last-child { border-bottom: none; }
.am-cs-discount { color: #92c83e; }
.am-cs-free-ship i { color: #92c83e; margin-right: 0.3rem; }
.am-cs-ship-note { font-size: 0.82rem; color: #888; }
.am-cs-total { font-family: 'DM Sans', sans-serif; font-size: 1.15rem; font-weight: 700; color: #253b63; }
.am-cs-checkout-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  width: 100%; padding: 1rem; border: none; border-radius: 1.1rem;
  background: #92c83e; color: #fff; font-family: 'DM Sans', sans-serif;
  font-size: 1rem; font-weight: 700; cursor: pointer; transition: all 0.3s ease;
  text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 1rem;
}
.am-cs-checkout-btn:hover { background: #7eb835; transform: translateY(-2px); }
.am-cs-free-delivery-note {
  font-size: 0.82rem; color: #888; text-align: center; display: flex; align-items: center;
  justify-content: center; gap: 0.4rem; margin-bottom: 1.25rem; line-height: 1.4;
}
.am-cs-free-delivery-note i { color: #92c83e; }
.am-cs-coupon { border-top: 1px solid #e9edf2; padding-top: 1rem; }
.am-cs-coupon-row { display: flex; gap: 0.5rem; }
.am-cs-coupon-input {
  flex: 1; padding: 0.6rem 0.85rem; border: 1.5px solid #e5e7eb; border-radius: 0.75rem;
  font-family: 'Jost', sans-serif; font-size: 0.88rem; outline: none; color: #253b63;
}
.am-cs-coupon-input:focus { border-color: #6fcbd2; }
.am-cs-coupon-btn {
  padding: 0.6rem 1rem; border: none; border-radius: 0.75rem; background: #253b63;
  color: #fff; font-family: 'DM Sans', sans-serif; font-size: 0.88rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s ease; white-space: nowrap;
}
.am-cs-coupon-btn:hover { background: #1c2f50; }

@media (max-width: 900px) {
  .am-cart-layout { grid-template-columns: 1fr; }
  .am-cart-summary { position: static; }
}
@media (max-width: 540px) {
  .am-cart-item { flex-wrap: wrap; }
  .am-ci-right { flex-direction: row; width: 100%; justify-content: space-between; align-items: center; }
}

/* ─── CHECKOUT ───────────────────────────────────────────────── */
.am-checkout-wrap { display: grid; grid-template-columns: 1fr 400px; gap: 3rem; align-items: start; }
.am-checkout-title { font-family: 'DM Sans', sans-serif; font-size: 1.4rem; font-weight: 700; color: #253b63; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.6rem; }
.am-checkout-title i { color: #6fcbd2; }

/* Login / Coupon notices */
.am-checkout-notices { margin-bottom: 2rem; }
.am-co-toggle-wrap { background: #f7f9fb; border-radius: 12px; padding: 0.85rem 1.25rem; margin-bottom: 0.75rem; font-size: 0.9rem; color: #555; }
.am-co-toggle-wrap a { color: #6fcbd2; font-weight: 600; text-decoration: none; }

/* Billing form */
.am-checkout-form-card { background: #fff; border-radius: 18px; box-shadow: 0 4px 24px rgba(0,0,0,0.07); padding: 2rem; margin-bottom: 1.5rem; }
.am-co-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.am-co-field-full { grid-column: 1 / -1; }
.am-co-field { display: flex; flex-direction: column; gap: 0.35rem; }
.am-co-field label { font-size: 0.88rem; font-weight: 600; color: #253b63; font-family: 'DM Sans', sans-serif; }
.am-co-field label .required { color: #ef4444; }
.am-co-field input,
.am-co-field select,
.am-co-field textarea {
  padding: 0.75rem 1rem; border: 1.5px solid #e5e7eb; border-radius: 0.75rem;
  font-family: 'Jost', sans-serif; font-size: 0.95rem; color: #1a1a1a;
  background: #fff; outline: none; transition: border-color 0.2s ease; width: 100%;
}
.am-co-field input:focus,
.am-co-field select:focus,
.am-co-field textarea:focus { border-color: #6fcbd2; }
.am-co-field textarea { resize: vertical; min-height: 90px; }
.woocommerce-input-wrapper { width: 100%; }
.woocommerce-invalid input { border-color: #ef4444; }
.woocommerce-validated input { border-color: #92c83e; }

/* Order Review */
.am-co-summary { background: #fff; border-radius: 18px; box-shadow: 0 4px 24px rgba(0,0,0,0.07); padding: 2rem; position: sticky; top: 90px; }
.am-co-summary-title { font-family: 'DM Sans', sans-serif; font-size: 1.1rem; font-weight: 700; color: #253b63; margin-bottom: 1.25rem; padding-bottom: 0.85rem; border-bottom: 1px solid #e9edf2; }
.am-co-order-items { margin-bottom: 1.25rem; }
.am-co-order-item { display: flex; justify-content: space-between; align-items: center; padding: 0.65rem 0; border-bottom: 1px solid #f0f2f5; font-size: 0.9rem; }
.am-co-order-item:last-child { border-bottom: none; }
.am-co-order-item-name { color: #253b63; font-weight: 600; flex: 1; padding-right: 1rem; }
.am-co-order-item-qty { color: #888; font-size: 0.82rem; display: block; }
.am-co-order-item-price { font-weight: 700; color: #253b63; white-space: nowrap; }
.am-co-totals { }
.am-co-total-row { display: flex; justify-content: space-between; padding: 0.6rem 0; font-size: 0.9rem; color: #555; border-bottom: 1px solid #f0f2f5; }
.am-co-total-row:last-child { border-bottom: none; font-size: 1.1rem; font-weight: 700; color: #253b63; font-family: 'DM Sans', sans-serif; }
.am-co-payment { border-top: 1px solid #e9edf2; padding-top: 1.25rem; margin-top: 0.5rem; }
.am-co-payment-title { font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 700; color: #253b63; margin-bottom: 1rem; }
#payment .payment_methods { list-style: none; padding: 0; margin: 0 0 1rem; }
#payment .payment_methods li { padding: 0.75rem 1rem; background: #f7f9fb; border-radius: 10px; margin-bottom: 0.5rem; }
#payment .payment_methods li label { cursor: pointer; display: flex; align-items: center; gap: 0.75rem; font-size: 0.92rem; color: #253b63; font-weight: 600; }
#payment .payment_methods li .payment_box { padding: 0.75rem 0 0.25rem; font-size: 0.88rem; color: #666; }
#payment .place-order { }
#place_order {
  width: 100%; padding: 1rem; border: none; border-radius: 1.1rem;
  background: #253b63; color: #fff; font-family: 'DM Sans', sans-serif;
  font-size: 1rem; font-weight: 700; cursor: pointer; transition: all 0.3s ease;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  text-transform: uppercase; letter-spacing: 0.5px;
}
#place_order:hover { background: #1c2f50; }
.am-co-secure-note { text-align: center; font-size: 0.78rem; color: #aaa; margin-top: 0.75rem; display: flex; align-items: center; justify-content: center; gap: 0.4rem; }
.am-co-secure-note i { color: #92c83e; }

@media (max-width: 900px) {
  .am-checkout-wrap { grid-template-columns: 1fr; }
  .am-co-summary { position: static; order: -1; }
  .am-co-field-grid { grid-template-columns: 1fr; }
  .am-co-field-full { grid-column: auto; }
}
@media (max-width: 540px) {
  .am-checkout-form-card, .am-co-summary { padding: 1.25rem; }
}

/* ─── MY ACCOUNT ─────────────────────────────────────────────── */
.am-account-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 2.5rem; align-items: start; }

.am-account-nav {
  background: #fff; border-radius: 18px; box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  overflow: hidden; position: sticky; top: 90px;
}
.am-account-nav-item {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.95rem 1.25rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.92rem; font-weight: 600; color: #555;
  text-decoration: none; transition: all 0.2s ease; border-left: 3px solid transparent;
}
.am-account-nav-item i { width: 18px; text-align: center; color: #bbb; transition: color 0.2s; }
.am-account-nav-item:hover { background: #f7f9fb; color: #253b63; }
.am-account-nav-item:hover i { color: #6fcbd2; }
.am-account-nav-item.is-active { background: #f0f8f1; color: #253b63; border-left-color: #92c83e; }
.am-account-nav-item.is-active i { color: #92c83e; }
.am-account-nav-logout { color: #ef4444 !important; }
.am-account-nav-logout i { color: #ef4444 !important; }

.am-account-content { }
.am-account-content-card { background: #fff; border-radius: 18px; box-shadow: 0 4px 24px rgba(0,0,0,0.07); padding: 2rem; margin-bottom: 1.5rem; }

.am-dashboard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 2rem; }
.am-dash-card {
  background: #f7f9fb; border-radius: 14px; padding: 1.25rem; text-align: center;
  border: 1.5px solid #e9edf2; transition: all 0.2s ease; text-decoration: none; display: block;
}
.am-dash-card:hover { border-color: #6fcbd2; transform: translateY(-2px); }
.am-dash-card i { font-size: 1.5rem; color: #6fcbd2; margin-bottom: 0.5rem; display: block; }
.am-dash-card-num { font-family: 'DM Sans', sans-serif; font-size: 1.5rem; font-weight: 700; color: #253b63; display: block; }
.am-dash-card-label { font-size: 0.82rem; color: #888; }

.am-account-greeting { font-family: 'DM Sans', sans-serif; font-size: 1.1rem; color: #253b63; margin-bottom: 1.5rem; line-height: 1.6; }
.am-account-greeting strong { color: #92c83e; }

/* Orders table */
.am-orders-title { font-family: 'DM Sans', sans-serif; font-size: 1.15rem; font-weight: 700; color: #253b63; margin-bottom: 1.25rem; }
.am-orders-table-wrap { overflow-x: auto; }
.am-orders-table { width: 100%; border-collapse: collapse; }
.am-orders-table th {
  text-align: left; padding: 0.75rem 1rem; font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px;
  color: #888; border-bottom: 2px solid #e9edf2; white-space: nowrap;
}
.am-orders-table td { padding: 1rem; border-bottom: 1px solid #f0f2f5; font-size: 0.9rem; color: #444; vertical-align: middle; }
.am-orders-table tr:last-child td { border-bottom: none; }
.am-orders-table tr:hover td { background: #fafafa; }
.am-order-status {
  display: inline-flex; align-items: center; padding: 0.25rem 0.65rem;
  border-radius: 2rem; font-size: 0.78rem; font-weight: 700; font-family: 'DM Sans', sans-serif;
}
.am-order-status.status-completed { background: #f0fdf4; color: #166534; }
.am-order-status.status-processing { background: #eff6ff; color: #1d4ed8; }
.am-order-status.status-on-hold { background: #fffbeb; color: #92400e; }
.am-order-status.status-cancelled { background: #fef2f2; color: #991b1b; }
.am-order-status.status-pending { background: #f7f9fb; color: #555; }
.am-order-view-btn {
  display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.45rem 0.85rem;
  background: #253b63; color: #fff; border-radius: 0.6rem; font-size: 0.82rem;
  font-weight: 700; font-family: 'DM Sans', sans-serif; text-decoration: none; transition: all 0.2s;
}
.am-order-view-btn:hover { background: #1c2f50; }
.am-no-orders { text-align: center; padding: 3rem 1rem; color: #888; }
.am-no-orders i { font-size: 2.5rem; color: #e5e7eb; display: block; margin-bottom: 1rem; }
.am-no-orders a { color: #6fcbd2; font-weight: 700; text-decoration: none; }

/* Account details form */
.am-account-form .form-row { margin-bottom: 1.1rem; }
.am-account-form label { display: block; font-size: 0.88rem; font-weight: 600; color: #253b63; margin-bottom: 0.35rem; font-family: 'DM Sans', sans-serif; }
.am-account-form input[type="text"],
.am-account-form input[type="email"],
.am-account-form input[type="password"],
.am-account-form input[type="tel"] {
  width: 100%; padding: 0.75rem 1rem; border: 1.5px solid #e5e7eb;
  border-radius: 0.75rem; font-family: 'Jost', sans-serif; font-size: 0.95rem;
  color: #1a1a1a; outline: none; transition: border-color 0.2s; background: #fff;
}
.am-account-form input:focus { border-color: #6fcbd2; }
.am-account-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.am-account-save-btn {
  background: #253b63; color: #fff; border: none; padding: 0.85rem 2rem;
  border-radius: 1.1rem; font-family: 'DM Sans', sans-serif; font-size: 0.95rem;
  font-weight: 700; cursor: pointer; transition: all 0.3s ease; margin-top: 0.5rem;
}
.am-account-save-btn:hover { background: #1c2f50; }

@media (max-width: 900px) {
  .am-account-wrap { grid-template-columns: 1fr; }
  .am-account-nav { position: static; }
  .am-account-nav { display: flex; overflow-x: auto; gap: 0; border-radius: 14px; }
  .am-account-nav-item { flex-shrink: 0; border-left: none; border-bottom: 3px solid transparent; border-radius: 0; }
  .am-account-nav-item.is-active { border-bottom-color: #92c83e; }
  .am-dashboard-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .am-dashboard-grid { grid-template-columns: 1fr; }
  .am-account-form-grid { grid-template-columns: 1fr; }
  .am-account-content-card { padding: 1.25rem; }
}

/* ─── WooCommerce core overrides ─────────────────────────────── */
.woocommerce-error,
.woocommerce-info,
.woocommerce-message { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.woocommerce-error li,
.woocommerce-info li,
.woocommerce-message { padding: 1rem 1.25rem; border-radius: 12px; font-size: 0.95rem; }
.woocommerce-error li { background: #fef2f2; border-left: 4px solid #ef4444; color: #991b1b; }
.woocommerce-message { background: #f0fdf4; border-left: 4px solid #92c83e; color: #166534; }
.woocommerce-info { background: #eff6ff; border-left: 4px solid #6fcbd2; color: #1e40af; }

/* Star ratings */
.star-rating { color: #ffc107; font-size: 0.9rem; }

/* Quantity input global override */
.woocommerce input.qty {
  width: 60px; padding: 0.4rem 0.5rem; border: 1.5px solid #e5e7eb;
  border-radius: 0.6rem; text-align: center; font-family: 'Jost', sans-serif;
}

/* ════════════════════════════════════════════════════════════════
   GLOBAL WC BUTTON OVERRIDES — green theme, rounded pill
   Wins over WC default black square buttons.
   ════════════════════════════════════════════════════════════════ */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce #content input.button,
.wc-block-components-button,
.wp-block-button__link,
.woocommerce a.added_to_cart,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce-Button,
button.single_add_to_cart_button {
  background: #92c83e !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 0.75rem 1.5rem !important;
  font-family: 'DM Sans', -apple-system, sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  letter-spacing: 0.2px !important;
  text-transform: none !important;
  box-shadow: 0 2px 8px rgba(146, 200, 62, 0.25) !important;
  transition: all .18s !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  min-height: 44px !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.wc-block-components-button:hover,
button.single_add_to_cart_button:hover {
  background: #7eb835 !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(146, 200, 62, 0.35) !important;
}

/* Secondary (Update cart) — outline navy */
.woocommerce button[name="update_cart"],
.woocommerce input[name="update_cart"] {
  background: #fff !important;
  color: #253b63 !important;
  border: 1.5px solid #e5e7eb !important;
  box-shadow: none !important;
}
.woocommerce button[name="update_cart"]:hover {
  border-color: #253b63 !important;
  color: #253b63 !important;
  background: #fff !important;
}

/* Default WC product card override (used on empty cart "New in store" etc.) */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart,
.wc-block-grid__product-add-to-cart .wp-block-button__link {
  background: #92c83e !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 0.55rem 1.2rem !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  border: none !important;
  text-transform: none !important;
}

/* ── Empty-cart page (custom layout) ── */
.am-cart-empty-page { max-width: 1100px; margin: 0 auto; padding: 3rem 1.5rem 4rem; }
.am-cart-empty-hero { text-align: center; margin-bottom: 2.5rem; }
.am-cart-empty-icon {
  width: 110px; height: 110px; border-radius: 50%;
  background: linear-gradient(135deg, #92c83e, #7eb835);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 3rem; margin-bottom: 1.5rem;
  box-shadow: 0 10px 28px rgba(146,200,62,.35);
}

/* Force WC blocks default empty-cart sad-face SVG to green too */
.wc-block-cart__empty-cart__title svg,
.wp-block-woocommerce-empty-cart-block svg,
.is-large.wc-block-cart svg {
  fill: #92c83e !important;
  color: #92c83e !important;
}
.am-cart-empty-title {
  font-family: 'DM Sans', sans-serif; font-size: 1.85rem;
  color: #253b63; margin: 0 0 .5rem; font-weight: 700;
}
.am-cart-empty-sub { color: #6b7280; font-size: 1rem; max-width: 460px; margin: 0 auto; }
.am-cart-empty-shop-title {
  font-family: 'DM Sans', sans-serif; font-size: 1.4rem;
  color: #253b63; text-align: center; margin: 0 0 1.75rem; font-weight: 700;
}
.am-cart-empty-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  justify-content: center;
}
.am-cart-empty-grid .am-product-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06); display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .18s;
}
.am-cart-empty-grid .am-product-card:hover {
  transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,.1);
}
.am-cart-empty-grid .am-product-img {
  width: 100%; height: 220px; object-fit: cover;
  background: #f7f9fb; display: block;
}
.am-cart-empty-grid .am-product-body { padding: 1.1rem 1.25rem 1.35rem; }
.am-cart-empty-grid .am-product-name {
  font-family: 'DM Sans', sans-serif; font-size: 1.1rem;
  color: #253b63; margin: 0 0 .35rem; font-weight: 700;
}
.am-cart-empty-grid .am-product-desc {
  color: #6b7280; font-size: .85rem; margin: 0 0 .75rem; line-height: 1.45;
}
.am-cart-empty-grid .am-product-meta { margin-bottom: .85rem; }
.am-cart-empty-grid .am-product-units {
  font-size: .78rem; color: #6b7280; margin: 0 0 .2rem; display: flex; align-items: center; gap: .35rem;
}
.am-cart-empty-grid .am-product-units i { color: #6fcbd2; }
.am-cart-empty-grid .am-product-bestfor { font-size: .75rem; color: #9ca3af; margin: 0; }
.am-cart-empty-grid .am-product-prices {
  display: flex; align-items: baseline; gap: .55rem; margin-bottom: 1rem;
}
.am-cart-empty-grid .am-product-price {
  font-family: 'DM Sans', sans-serif; font-size: 1.4rem; font-weight: 700; color: #92c83e;
}
.am-cart-empty-grid .am-product-compare {
  color: #c4c4c4; text-decoration: line-through; font-size: .9rem;
}
.am-cart-empty-grid .am-product-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  background: #92c83e; color: #fff; border: none; border-radius: 999px;
  padding: .8rem 1.25rem; font-family: 'DM Sans', sans-serif; font-weight: 700;
  font-size: .92rem; text-decoration: none; width: 100%; transition: all .18s;
  min-height: 44px;
}
.am-cart-empty-grid .am-product-btn:hover {
  background: #7eb835; color: #fff; transform: translateY(-1px);
}

@media (max-width: 600px) {
  .am-cart-empty-page { padding: 2rem 1rem 3rem; }
  .am-cart-empty-title { font-size: 1.5rem; }
  .am-cart-empty-grid { grid-template-columns: 1fr; }
  .am-cart-empty-grid .am-product-img { height: 200px; }
}

/* ════════════════════════════════════════════════════════════════
   THANK YOU PAGE — ticket-style receipt, mobile-first
   ════════════════════════════════════════════════════════════════ */
.am-ty-wrap {
  max-width: 520px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}
.am-ty-success { text-align: center; margin-bottom: 2rem; }
.am-ty-check {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #92c83e, #7eb835);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.2rem;
  margin: 0 auto 1.25rem;
  box-shadow: 0 10px 28px rgba(146,200,62,.35);
  animation: am-pop .5s cubic-bezier(.34,1.56,.64,1);
}
@keyframes am-pop {
  0%   { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.am-ty-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.8rem;
  color: #253b63;
  margin: 0 0 .4rem;
  font-weight: 700;
}
.am-ty-sub { color: #6b7280; font-size: 0.95rem; margin: 0; }

/* TICKET CARD */
.am-ticket {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(37,59,99,.08);
  overflow: hidden;
  position: relative;
}
/* Notch tear marks left/right */
.am-ticket::before,
.am-ticket::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  background: #f7f9fb;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.06);
}
.am-ticket::before { left: -11px; }
.am-ticket::after  { right: -11px; }

.am-ticket-header {
  background: linear-gradient(135deg, #253b63, #1c2f50);
  color: #fff;
  padding: 1.25rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.am-ticket-brand img {
  height: 40px;
  filter: brightness(0) invert(1);
}
.am-ticket-meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1;
}
.am-ticket-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  opacity: .7;
  margin-bottom: .3rem;
  font-family: 'DM Sans', sans-serif;
}
.am-ticket-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.3px;
}

.am-ticket-info-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.4rem .8rem;
  border-bottom: 1px solid #f0f2f5;
}
.am-ticket-info-row > div {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.am-ticket-info-label {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #9ca3af;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
}
.am-ticket-info-value {
  font-size: .88rem;
  color: #253b63;
  font-weight: 600;
}
.am-ticket-status {
  display: inline-block;
  background: linear-gradient(135deg, #6fcbd2, #92c83e);
  color: #fff;
  padding: .25rem .7rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-family: 'DM Sans', sans-serif;
}

.am-ticket-divider {
  height: 1px;
  background: #f0f2f5;
}
.am-ticket-divider.dashed {
  background: none;
  border-top: 2px dashed #e5e7eb;
  margin: 0 1rem;
}

.am-ticket-items {
  list-style: none;
  padding: 1rem 1.4rem;
  margin: 0;
}
.am-ticket-item {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .55rem 0;
  border-bottom: 1px dashed #f0f2f5;
}
.am-ticket-item:last-child { border-bottom: none; }
.am-ticket-item-img {
  width: 44px !important;
  height: 44px !important;
  object-fit: cover !important;
  border-radius: 8px;
  flex-shrink: 0;
  background: #f7f9fb;
  display: block !important;
}
.am-ticket-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.am-ticket-item-name {
  font-size: .9rem;
  color: #253b63;
  font-weight: 600;
}
.am-ticket-item-qty {
  font-size: .75rem;
  color: #9ca3af;
}
.am-ticket-item-total {
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  color: #253b63;
  font-weight: 700;
}

.am-ticket-totals {
  padding: 1rem 1.4rem;
}
.am-ticket-totals-row {
  display: flex;
  justify-content: space-between;
  padding: .35rem 0;
  font-size: .9rem;
  color: #6b7280;
}
.am-ticket-totals-row span:last-child {
  color: #253b63;
  font-weight: 600;
}
.am-ticket-free { color: #92c83e !important; }
.am-ticket-free span { color: #92c83e !important; }
.am-ticket-free i { margin-right: .3rem; }
.am-ticket-discount span { color: #ef4444 !important; }
.am-ticket-grand {
  margin-top: .6rem;
  padding-top: .8rem;
  border-top: 2px solid #f0f2f5;
  font-size: 1.15rem;
  font-family: 'DM Sans', sans-serif;
}
.am-ticket-grand span:first-child {
  color: #253b63;
  font-weight: 700;
}
.am-ticket-grand span:last-child {
  color: #92c83e;
  font-weight: 700;
  font-size: 1.35rem;
}

.am-ticket-payment {
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: .85rem;
}
.am-ticket-payment-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f0fdf4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #92c83e;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.am-ticket-payment-label {
  display: block;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #9ca3af;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: .15rem;
}
.am-ticket-payment-value {
  display: block;
  font-size: .95rem;
  color: #253b63;
  font-weight: 700;
}

.am-ticket-zelle-note {
  margin: 0 1.4rem 1rem;
  padding: .9rem 1rem;
  background: #fffbeb;
  border-radius: 10px;
  border-left: 3px solid #f59e0b;
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  font-size: .82rem;
  color: #78350f;
  line-height: 1.5;
}
.am-ticket-zelle-note i {
  color: #f59e0b;
  margin-top: .15rem;
  flex-shrink: 0;
}

.am-ticket-delivery {
  padding: 1rem 1.4rem;
}
.am-ticket-delivery h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #9ca3af;
  font-weight: 700;
  margin: 0 0 .6rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.am-ticket-delivery h3 i { color: #6fcbd2; }
.am-ticket-name {
  font-size: 1rem;
  color: #253b63;
  font-weight: 700;
  margin: 0 0 .3rem;
  font-family: 'DM Sans', sans-serif;
}
.am-ticket-address {
  font-size: .88rem;
  color: #6b7280;
  margin: 0 0 .5rem;
  line-height: 1.45;
}
.am-ticket-address br { display: none; }
.am-ticket-contact {
  font-size: .82rem;
  color: #6b7280;
  margin: .15rem 0 0;
  display: flex;
  align-items: center;
  gap: .45rem;
}
.am-ticket-contact i {
  color: #6fcbd2;
  font-size: .75rem;
  width: 14px;
}

.am-ticket-footer {
  background: #f7f9fb;
  padding: .85rem 1.4rem;
  text-align: center;
  font-size: .78rem;
  color: #9ca3af;
}
.am-ticket-footer a { color: #6fcbd2; text-decoration: none; font-weight: 600; }

.am-ty-actions {
  display: flex;
  gap: .65rem;
  margin-top: 1.5rem;
}
.am-ty-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .9rem 1rem;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all .18s;
  min-height: 48px;
}
.am-ty-btn-primary {
  background: #92c83e;
  color: #fff;
  box-shadow: 0 4px 14px rgba(146,200,62,.35);
}
.am-ty-btn-primary:hover {
  background: #7eb835;
  color: #fff;
  transform: translateY(-1px);
}
.am-ty-btn-ghost {
  background: #fff;
  color: #253b63;
  border: 1.5px solid #e5e7eb;
}
.am-ty-btn-ghost:hover {
  border-color: #253b63;
}

/* Hide WC default tables that come after our template */
.woocommerce-order .woocommerce-order-overview,
.woocommerce-order .woocommerce-order-details,
.woocommerce-order .woocommerce-customer-details { display: none !important; }

@media (max-width: 540px) {
  .am-ty-wrap { padding: 1.25rem .8rem 3rem; }
  .am-ty-title { font-size: 1.5rem; }
  .am-ticket-header { padding: 1rem 1.15rem; }
  .am-ticket-brand img { height: 32px; }
  .am-ticket-number { font-size: 1.25rem; }
  .am-ticket-items,
  .am-ticket-totals,
  .am-ticket-payment,
  .am-ticket-delivery { padding-left: 1.1rem; padding-right: 1.1rem; }
  .am-ticket-grand span:last-child { font-size: 1.2rem; }
  .am-ty-actions { flex-direction: column; }
}

@media print {
  .site-header, .site-footer, .am-ty-actions { display: none !important; }
  .am-ticket { box-shadow: none; border: 1px solid #e5e7eb; }
}

/* ── Suggested products: compact, subtle, mobile-first ── */
.am-suggest {
  margin: 1.5rem 0 0;
  padding: 0.75rem 0 0;
  border-top: 1px solid #eef0f3;
}
.am-suggest-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0 0 0.6rem;
  padding: 0 0.15rem;
}
.am-suggest-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.am-suggest-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 10px;
  padding: 0.5rem 0.6rem 0.5rem 0.5rem;
  transition: border-color .15s, transform .15s;
}
.am-suggest-item:hover {
  border-color: #92c83e;
}
.am-suggest-thumb {
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  object-fit: cover !important;
  border-radius: 8px;
  flex-shrink: 0;
  background: #f7f9fb;
  display: block !important;
  margin: 0 !important;
}
.am-suggest-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.am-suggest-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #253b63;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: 'Jost', sans-serif;
}
.am-suggest-price {
  font-size: 0.8rem;
  color: #92c83e;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
}
.am-suggest-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #92c83e;
  color: #fff !important;
  text-decoration: none;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: background .15s, transform .15s;
  border: none;
}
.am-suggest-add:hover {
  background: #7eb835;
  transform: scale(1.08);
  color: #fff !important;
}
.am-suggest-add i { margin: 0; }
.am-suggest-meta {
  font-size: 0.78rem;
  color: #6b7280;
  font-family: 'Jost', sans-serif;
}
.am-suggest-meta .am-suggest-price {
  font-size: 0.82rem;
}

/* Single-item variant — phrase as a friendly invitation, pill button */
.am-suggest.is-single .am-suggest-title {
  text-transform: none;
  font-size: 0.92rem;
  color: #253b63;
  letter-spacing: 0;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.am-suggest.is-single .am-suggest-item {
  padding: 0.6rem 0.7rem 0.6rem 0.55rem;
  border-color: #d6e9c2;
  background: #fafffa;
}
.am-suggest.is-single .am-suggest-add {
  width: auto;
  border-radius: 999px;
  padding: 0 0.95rem;
  height: 38px;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
}
.am-suggest.is-single .am-suggest-add span { display: inline-block; }
.am-suggest .am-suggest-add span { display: none; }
