:root{--arw-card-bg:#fff;--arw-border:#e5e7eb;--arw-muted:#6b7280;}
.arw-card{background:var(--arw-card-bg);border:1px solid var(--arw-border);border-radius:12px;padding:14px;margin:10px 0;box-shadow:0 2px 8px rgba(0,0,0,.02)}
.arw-card-title{font-weight:600;color:#111827;margin-bottom:6px}
.arw-money{font-size:22px;line-height:1.2}
.arw-grid{display:flex;gap:16px;flex-wrap:wrap}
.arw-grid .arw-card{flex:1 1 260px}
.arw-table{width:100%;border-collapse:collapse;margin:8px 0}
.arw-table th,.arw-table td{padding:10px;border-bottom:1px solid var(--arw-border);text-align:left;font-size:14px}
.arw-form{display:block}
.arw-row{margin-bottom:12px}
.arw-row label{display:block;font-size:14px;color:#111827}
.arw-row input,.arw-row select,.arw-row textarea{width:100%;padding:10px;border:1px solid var(--arw-border);border-radius:8px;background:#fff;font-size:14px}
.arw-actions{display:flex;gap:10px;align-items:center}
.arw-msg{margin:8px 0;font-size:14px}
.arw-success{background:#e7f8ed;color:#065f46;padding:8px 10px;border-radius:8px}
.arw-error{background:#fde8e8;color:#991b1b;padding:8px 10px;border-radius:8px}
.arw-toggle-btn{margin-bottom:8px}
.arw-toggle-panel{display:none}
.arw-summary{margin:10px 0;padding:10px;border:1px dashed var(--arw-border);border-radius:8px;background:#fafafa}
.arw-muted{color:#6b7280}
.arw-search-results{border:1px solid var(--arw-border);border-radius:10px;margin-top:6px;max-height:260px;overflow:auto}
.arw-search-results .arw-res{display:flex;justify-content:space-between;gap:8px;padding:8px 10px;border-bottom:1px solid #eee}
.arw-search-results .arw-res:last-child{border-bottom:none}
.arw-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border:1px solid var(--arw-border);border-radius:999px;font-size:12px}

/* ===== Custom ARW Add to Cart button styles ===== */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: #1976d2;       /* blue */
  color: #ffffff;
  border: 0;
  border-radius: 5px;
  box-shadow: none;
  outline: none;
  padding: 10px 16px;
  font-weight: 600;
  transition: background 0.15s ease-in-out, transform 0.05s ease-in-out;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: #ff7a00;       /* hard orange */
  color: #ffffff;
}
.woocommerce a.button:active,
.woocommerce button.button:active,
.woocommerce input.button:active {
  background: #6a0dad;       /* purple */
  transform: translateY(1px);
}
.arw-shortcode-block .price { display: none !important; }
.woocommerce a.added_to_cart.wc-forward {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color: #111827;
  text-decoration: none;
  font-weight: 500;
}
.woocommerce a.added_to_cart.wc-forward:hover {
  background: #f3f4f6;
}

/* ===== ARW Checkout form input normalization ===== */
.arw-form .arw-row input[type="text"],
.arw-form .arw-row input[type="tel"],
.arw-form .arw-row input[type="email"],
.arw-form .arw-row input[type="number"],
.arw-form .arw-row input[type="search"],
.arw-form .arw-row input[type="password"],
.arw-form .arw-row textarea,
.arw-form .arw-row select {
  width: 100%;
  height: 44px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  font-size: 14px;
  box-sizing: border-box;
}
.arw-form .arw-row textarea {
  min-height: 100px;
  height: auto;
  line-height: 1.4;
}
.arw-row { margin-bottom: 12px; }
.arw-row label { display: block; font-size: 14px; color: #111827; margin-bottom: 6px; }

/* ===== FIXED Add to Cart button styles ===== */
a.add_to_cart_button,
a.ajax_add_to_cart {
  background-color: #1976d2 !important;   /* blue */
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 5px !important;
  padding: 10px 18px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  outline: none !important;
  transition: background 0.15s ease-in-out, transform 0.05s ease-in-out;
}
a.add_to_cart_button:hover,
a.ajax_add_to_cart:hover {
  background-color: #ff7a00 !important;   /* hard orange */
  color: #ffffff !important;
}
a.add_to_cart_button:active,
a.ajax_add_to_cart:active {
  background-color: #6a0dad !important;   /* purple */
  transform: translateY(1px);
}
/* ===== View cart link after AJAX add to cart ===== */
a.added_to_cart.wc-forward {
  display: inline-block !important;
  margin-left: 10px !important;
  padding: 8px 14px !important;
  border-radius: 5px !important;
  border: 1px solid #e5e7eb !important;
  background: #f9fafb !important;
  color: #111827 !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}
a.added_to_cart.wc-forward:hover {
  background: #f3f4f6 !important;
}

/* ===== ARW Checkout form input normalization ===== */
.arw-row input,
.arw-row select,
.arw-row textarea {
  width: 100% !important;
  height: 44px !important;
  padding: 10px 12px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  box-sizing: border-box !important;
}
.arw-row textarea {
  min-height: 100px !important;
  height: auto !important;
  line-height: 1.4 !important;
}



/* ===== ARW: hide price & remove borders in add_to_cart inline box ===== */
.add_to_cart_inline { 
  border: 0 !important; 
  padding: 0 !important; 
  background: transparent !important; 
  box-shadow: none !important; 
}
.add_to_cart_inline .amount,
.add_to_cart_inline .price { display: none !important; }

/* Remove theme icons on add_to_cart buttons */
a.add_to_cart_button::before,
a.add_to_cart_button::after,
a.ajax_add_to_cart::before,
a.ajax_add_to_cart::after {
  content: none !important;
  display: none !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* Remove outlines around button */
a.add_to_cart_button,
a.ajax_add_to_cart {
  outline: none !important;
  box-shadow: none !important;
}

/* Optional wrapper for selective hide */
.arw-shortcode-block .price,
.arw-shortcode-block .amount { display: none !important; }
