/* Agentic Rx Store Tools - matches site kit: Inter, navy #00355E, blue #0073C9, green #008000 */
.arx-wrap, .arx-catalogue, .arx-modal, .arx-basket-fab { --arx-navy:#00355E; --arx-blue:#0073C9; --arx-green:#008000; --arx-text:#4D4D4D; --arx-soft:#F2F4F8; --arx-line:#DDE3EC; font-family:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif; color:var(--arx-text); }
.arx-wrap *, .arx-catalogue *, .arx-modal * { box-sizing:border-box; }

/* Page sections */
.arx-hero { background:linear-gradient(135deg,#00355E 0%,#0073C9 100%); color:#fff; padding:72px 20px; text-align:center; }
.arx-hero h1 { color:#fff; font-size:clamp(32px,5vw,52px); font-weight:700; margin:0 0 14px; letter-spacing:-0.02em; }
.arx-hero p { color:rgba(255,255,255,.9); max-width:720px; margin:0 auto; font-size:17px; line-height:1.6; }
.arx-hero .arx-hero-actions { margin-top:26px; display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.arx-section { max-width:1180px; margin:0 auto; padding:56px 20px; }
.arx-section--soft { background:var(--arx-soft); max-width:none; }
.arx-section--soft > .arx-inner { max-width:1180px; margin:0 auto; }
.arx-section h2 { color:var(--arx-green); font-size:clamp(24px,3vw,32px); font-weight:700; margin:0 0 10px; }
.arx-section .arx-lead { max-width:760px; line-height:1.6; margin:0 0 28px; }

/* Buttons */
.arx-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; border:0; border-radius:999px; padding:12px 22px; font:600 15px/1 "Inter",sans-serif; cursor:pointer; text-decoration:none !important; transition:transform .15s, box-shadow .15s, background .15s; }
.arx-btn:hover { transform:translateY(-1px); box-shadow:0 6px 16px rgba(0,53,94,.18); }
.arx-btn--primary { background:var(--arx-blue,#0073C9); color:#fff !important; }
.arx-btn--light { background:#fff; color:#00355E !important; }
.arx-btn--ghost { background:transparent; color:var(--arx-blue,#0073C9) !important; border:1.5px solid currentColor; }
.arx-btn--sm { padding:8px 14px; font-size:13px; }

/* Cards */
.arx-grid { display:grid; gap:20px; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); }
.arx-card { background:#fff; border:1px solid var(--arx-line); border-radius:14px; padding:22px; display:flex; flex-direction:column; gap:8px; }
.arx-card h3 { color:var(--arx-navy); font-size:18px; font-weight:700; margin:0; }
.arx-card p { margin:0; font-size:14px; line-height:1.55; }
.arx-tag { display:inline-block; font-size:12px; font-weight:600; color:var(--arx-green); background:#E8F4E8; border-radius:999px; padding:4px 10px; align-self:flex-start; }
.arx-note { background:#FFF8E6; border:1px solid #F3D98B; border-radius:10px; padding:14px 16px; font-size:14px; line-height:1.55; color:#5A4A1A; margin:16px 0; }
.arx-disclaimer { font-size:13px; line-height:1.6; color:#6B7280; max-width:900px; }

/* Catalogue browser */
.arx-cat-tools { display:grid; grid-template-columns:2fr 1fr 1fr; gap:12px; margin-bottom:14px; }
.arx-cat-tools input, .arx-cat-tools select, .arx-modal input, .arx-modal select, .arx-modal textarea { width:100%; border:1px solid var(--arx-line); border-radius:10px; padding:12px 14px; font:15px "Inter",sans-serif; color:#1f2937; background:#fff; }
.arx-cat-tools input:focus, .arx-cat-tools select:focus, .arx-modal input:focus, .arx-modal textarea:focus { outline:2px solid #0073C9; outline-offset:1px; }
.arx-chips { display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 18px; }
.arx-chip { border:1px solid var(--arx-line); background:#fff; border-radius:999px; padding:7px 13px; font:500 13px "Inter",sans-serif; cursor:pointer; color:var(--arx-navy); }
.arx-chip[aria-pressed="true"] { background:var(--arx-navy); color:#fff; border-color:var(--arx-navy); }
.arx-count { font-size:14px; margin:0 0 14px; color:#6B7280; }
.arx-items { display:grid; gap:14px; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); }
.arx-item { background:#fff; border:1px solid var(--arx-line); border-radius:12px; padding:16px; display:flex; flex-direction:column; gap:6px; }
.arx-item .arx-item-cat { font-size:11px; text-transform:uppercase; letter-spacing:.06em; color:var(--arx-green); font-weight:600; }
.arx-item .arx-item-name { color:var(--arx-navy); font-weight:600; font-size:15px; line-height:1.35; }
.arx-item .arx-item-meta { font-size:13px; color:#6B7280; }
.arx-item .arx-item-foot { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:auto; padding-top:8px; }
.arx-price { font-weight:700; color:var(--arx-navy); font-size:16px; }
.arx-price small, .arx-est { font-weight:500; color:#6B7280; font-size:11px; }
.arx-more { display:flex; justify-content:center; margin-top:22px; }
.arx-loading { padding:30px 0; text-align:center; }

/* Floating basket + modal */
.arx-basket-fab { position:fixed; left:20px; bottom:20px; z-index:9998; background:#00355E; color:#fff; border:0; border-radius:999px; padding:13px 20px; font:600 15px "Inter",sans-serif; box-shadow:0 8px 24px rgba(0,0,0,.2); cursor:pointer; display:none; }
.arx-basket-fab.is-visible { display:inline-flex; gap:8px; align-items:center; }
.arx-basket-fab .arx-badge { background:#008000; border-radius:999px; min-width:22px; height:22px; display:inline-grid; place-items:center; font-size:12px; padding:0 6px; }
.arx-modal { position:fixed; inset:0; z-index:99999; background:rgba(0,20,40,.55); display:none; align-items:flex-start; justify-content:center; overflow-y:auto; padding:30px 14px; }
.arx-modal.is-open { display:flex; }
.arx-modal-box { background:#fff; border-radius:16px; width:100%; max-width:640px; padding:26px; position:relative; }
.arx-modal-box h3 { color:#00355E; font-size:22px; margin:0 0 6px; }
.arx-modal-close { position:absolute; right:14px; top:12px; background:none; border:0; font-size:26px; cursor:pointer; color:#6B7280; line-height:1; }
.arx-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:16px 0; }
.arx-form-grid .arx-full { grid-column:1 / -1; }
.arx-modal label { display:block; font-size:13px; font-weight:600; color:#00355E; margin-bottom:4px; }
.arx-basket-list { list-style:none; margin:10px 0 0; padding:0; max-height:240px; overflow:auto; border:1px solid var(--arx-line); border-radius:10px; }
.arx-basket-list li { display:flex; gap:10px; align-items:center; padding:10px 12px; border-bottom:1px solid var(--arx-line); font-size:14px; }
.arx-basket-list li:last-child { border-bottom:0; }
.arx-basket-list .arx-bl-name { flex:1; }
.arx-basket-list input { width:72px; padding:6px 8px; }
.arx-basket-list button { background:none; border:0; color:#B42318; cursor:pointer; font-size:13px; }
.arx-hp { position:absolute; left:-9999px; }
.arx-msg { margin-top:12px; font-size:14px; }
.arx-msg.is-ok { color:#008000; } .arx-msg.is-err { color:#B42318; }

/* WooCommerce product grid in theme colours */
.arx-wrap .woocommerce ul.products li.product { background:#fff; border:1px solid var(--arx-line); border-radius:14px; padding:18px; text-align:left; }
.arx-wrap .woocommerce ul.products li.product .woocommerce-loop-product__title { color:#00355E; font-size:16px; font-weight:600; }
.arx-wrap .woocommerce ul.products li.product .price { color:#00355E; font-weight:700; }
.arx-wrap .woocommerce ul.products li.product .button { background:#0073C9; color:#fff; border-radius:999px; padding:10px 18px; }

@media (max-width: 760px) {
  .arx-cat-tools { grid-template-columns:1fr; }
  .arx-form-grid { grid-template-columns:1fr; }
  .arx-hero { padding:52px 16px; }
  .arx-section { padding:40px 16px; }
}


/* Theme-proofing: keep headings and buttons consistent inside our blocks */
.arx-wrap h1, .arx-wrap h2, .arx-wrap h3, .arx-catalogue h3, .arx-modal h3 { font-family:"Inter",system-ui,sans-serif !important; letter-spacing:-0.01em; }
.arx-wrap .arx-card h3, .arx-wrap .wp-block-post-title { font-size:20px !important; line-height:1.3 !important; margin:0 !important; color:#00355E !important; font-weight:700 !important; }
.arx-wrap .wp-block-post-title a { color:#00355E !important; text-decoration:none; }
.arx-wrap .arx-section h2 { line-height:1.2 !important; }
.arx-wrap p { line-height:1.6; }
.arx-basket-fab:not(.is-visible) { display:none !important; }
.arx-blog-grid .wp-block-post-template { gap:20px; }
.arx-blog-grid .wp-block-post-featured-image img { border-radius:10px; }
.arx-blog-grid .wp-block-post-excerpt { font-size:15px; }
.arx-blog-grid .wp-block-query-pagination { margin:28px 0; justify-content:center; }
.arx-wrap .woocommerce ul.products li.product a img { border-radius:10px; }

/* Override theme button skin inside our components */
.arx-wrap button.arx-btn, .arx-catalogue button.arx-btn, .arx-modal button.arx-btn, .arx-wrap a.arx-btn { box-shadow:none; text-transform:none !important; letter-spacing:0 !important; }
.arx-catalogue .arx-btn--ghost, .arx-wrap .arx-btn--ghost { background:transparent !important; color:#0073C9 !important; border:1.5px solid #0073C9 !important; }
.arx-catalogue .arx-btn--ghost:hover, .arx-wrap .arx-btn--ghost:hover { background:#0073C9 !important; color:#fff !important; }
.arx-hero .arx-btn--ghost { color:#fff !important; border-color:#fff !important; }
.arx-hero .arx-btn--ghost:hover { background:#fff !important; color:#00355E !important; }
.arx-wrap .arx-btn--primary, .arx-modal .arx-btn--primary { background:#0073C9 !important; color:#fff !important; border:0 !important; }
.arx-wrap .arx-btn--light { background:#fff !important; color:#00355E !important; border:0 !important; }
.arx-catalogue .arx-chip { background:#fff !important; color:#00355E !important; border:1px solid #DDE3EC !important; padding:7px 13px !important; font-size:13px !important; font-weight:500 !important; border-radius:999px !important; text-transform:none !important; }
.arx-catalogue .arx-chip[aria-pressed="true"] { background:#00355E !important; color:#fff !important; border-color:#00355E !important; }
.arx-catalogue .arx-btn--sm { padding:8px 14px !important; font-size:13px !important; border-radius:999px !important; }
.arx-modal .arx-modal-close { background:none !important; color:#6B7280 !important; padding:0 !important; }
.arx-modal .arx-basket-list button { background:none !important; color:#B42318 !important; padding:0 !important; }
.arx-basket-fab { text-transform:none !important; }

.arx-item .arx-item-case { font-size:12px; color:#008000; font-weight:600; }
