/*
Theme Name:  Boudreaux's Rx
Theme URI:   https://boudreauxsnewdrug.com
Author:      GRO Framework
Author URI:  https://groframework.io
Description: Modern block theme for Boudreaux's New Drug Store — compounding pharmacy site with a provider formulary, product detail pages, specialties and pharmacy info settings. Built to pair with the GRO Framework.
Version:     0.1.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.0
License:     GPL-2.0-or-later
Text Domain: bnds
*/

/* ---------- Base ---------- */
:root{--bnds-ink:#10231C;--bnds-green:#1D5C46;--bnds-green-dark:#12402F;--bnds-mint:#EEF4F0;--bnds-mist:#F5F8F6;--bnds-leaf:#DCEBE4;--bnds-line:#DCE4DF;--bnds-muted:#4F5F58;--bnds-sage:#B9C9C1;--bnds-mint-text:#9FD0B8;--bnds-night-2:#17312A;--bnds-night-line:#28473D;--bnds-amber:#B06A22}
body{-webkit-font-smoothing:antialiased}
.wp-site-blocks>*{margin-block-start:0}
.wp-site-blocks>main{margin-block-start:0}
.wp-block-post-content>.alignfull,.entry-content>.alignfull{margin-block-start:0!important}
.wp-block-post-content>.alignfull:first-child{margin-top:0}
.bnds-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Buttons */
.wp-block-button.is-style-outline>.wp-block-button__link{background:#fff;color:var(--bnds-green);border:1.5px solid var(--bnds-green);padding:11.5px 22px}
.wp-block-button.is-style-outline>.wp-block-button__link:hover{background:var(--bnds-mint);color:var(--bnds-green-dark)}
.wp-block-button.is-style-light>.wp-block-button__link{background:#fff;color:var(--bnds-ink)}
.wp-block-button.is-style-light>.wp-block-button__link:hover{background:#E6EEE9;color:var(--bnds-ink)}
.wp-block-button.is-style-ghost-light>.wp-block-button__link{background:transparent;color:#fff;border:1.5px solid #fff;padding:11.5px 22px}
.wp-block-button__link{min-height:46px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}
.bnds-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;border-radius:10px;background:var(--bnds-green);color:#fff!important;font-weight:700;font-size:15px;text-decoration:none;box-sizing:border-box;border:1.5px solid var(--bnds-green)}
.bnds-btn:hover{background:var(--bnds-green-dark);border-color:var(--bnds-green-dark)}
.bnds-btn--outline{background:#fff;color:var(--bnds-green)!important}
.bnds-btn--outline:hover{background:var(--bnds-mint);color:var(--bnds-green-dark)!important;border-color:var(--bnds-green)}

/* ---------- Sections ---------- */
.bnds-section{padding:88px 24px;box-sizing:border-box}
.bnds-section--tight{padding-top:56px;padding-bottom:56px}
.bnds-section--mist{background:var(--bnds-mist);border-top:1px solid var(--bnds-line);border-bottom:1px solid var(--bnds-line)}
.bnds-section--dark{background:var(--bnds-ink);color:#fff}
.bnds-section--dark .bnds-muted,.bnds-section--dark p{color:var(--bnds-sage)}
.bnds-section--dark h2,.bnds-section--dark h3{color:#fff}
.bnds-section--dark .bnds-eyebrow{color:var(--bnds-mint-text)}
.bnds-eyebrow{font-size:13px!important;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--bnds-green);margin-bottom:0}
.bnds-eyebrow+*{margin-top:12px!important}
.bnds-lead{font-size:19px;line-height:1.6;color:var(--bnds-muted);max-width:600px}
.bnds-muted{color:var(--bnds-muted)}
.bnds-display{font-size:60px!important;line-height:1.04!important;letter-spacing:-.03em!important}
.bnds-pill{display:inline-block;align-self:flex-start;font-size:13px!important;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--bnds-green);background:var(--bnds-mint);padding:8px 14px;border-radius:999px;margin:0}
.bnds-head>*{max-width:680px}
.bnds-head-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px}

/* Check list */
.bnds-checks{list-style:none;padding:0;margin:8px 0 0;display:flex;flex-wrap:wrap;gap:12px 28px;font-size:14px;font-weight:600}
.bnds-checks li{display:flex;align-items:center;gap:8px}
.bnds-checks li::before{content:"";width:18px;height:18px;flex:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D5C46' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat}
.bnds-section--dark .bnds-checks li::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239FD0B8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")}

/* ---------- Top bar + header ---------- */
.bnds-topbar{background:var(--bnds-ink);color:#E6EEE9;font-size:13px}
.bnds-topbar__in{max-width:1240px;margin:0 auto;padding:10px 24px;display:flex;flex-wrap:wrap;gap:6px 24px;justify-content:space-between;align-items:center}
.bnds-topbar a{color:#E6EEE9;text-decoration:none}
.bnds-topbar a:hover{color:#fff}
.bnds-topbar__phones{display:flex;gap:20px;flex-wrap:wrap}
.bnds-header{background:#fff;border-bottom:1px solid var(--bnds-line);padding:14px 24px;position:sticky;top:0;z-index:50}
.admin-bar .bnds-header{top:32px}
.bnds-header__row{gap:14px 36px!important}
.bnds-header .bnds-nav{flex:1 1 auto}
.bnds-header .bnds-nav a{color:var(--bnds-ink);text-decoration:none;padding:10px 0;display:inline-block}
.bnds-header .bnds-nav a:hover{color:var(--bnds-green)}
.bnds-header .bnds-nav .current-menu-item>a{color:var(--bnds-green)}
.bnds-hactions{display:flex;flex-wrap:wrap;gap:10px}
.bnds-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--bnds-ink)!important}
.bnds-brand__mark{width:44px;height:44px;border-radius:12px;background:var(--bnds-green);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:22px}
.bnds-brand__text{display:flex;flex-direction:column}
.bnds-brand__name{font-size:19px;font-weight:800;letter-spacing:-.01em;line-height:1.1}
.bnds-brand__tag{font-size:11px;color:var(--bnds-muted);letter-spacing:.12em;text-transform:uppercase;font-weight:600}
.bnds-brand img{max-height:52px;width:auto;display:block}
@media (max-width:782px){.admin-bar .bnds-header{top:46px}}
@media (max-width:600px){.admin-bar .bnds-header{top:0}.bnds-header{position:relative}.bnds-hactions{width:100%;flex-wrap:nowrap}.bnds-hactions .bnds-btn{flex:1 1 0;min-height:44px!important;padding:0 10px;font-size:14px}}

/* ---------- Hero ---------- */
.bnds-hero .wp-block-columns{gap:56px}
.bnds-hero-visual{position:relative;background:var(--bnds-mint);border-radius:28px;height:500px;display:flex;align-items:flex-end;justify-content:center;gap:8px;padding-bottom:72px;box-sizing:border-box;overflow:hidden}
.bnds-hero-visual__disc{position:absolute;width:380px;height:380px;border-radius:50%;background:var(--bnds-leaf);top:40px;left:50%;margin-left:-190px}
.bnds-hero-visual svg{position:relative}
.bnds-chip-card{position:absolute;top:28px;left:28px;background:#fff;border-radius:14px;padding:14px 18px;box-shadow:0 6px 20px rgba(16,35,28,.10);display:flex;flex-direction:column;gap:2px}
.bnds-chip-card small{font-size:12px;font-weight:700;color:var(--bnds-muted);text-transform:uppercase;letter-spacing:.06em}
.bnds-chip-card strong{font-size:15px}
.bnds-rx{position:absolute;background:var(--bnds-ink);color:#fff;border-radius:999px;padding:9px 16px;font-size:13px;font-weight:700}
.bnds-hero-visual .bnds-rx{bottom:24px;right:24px}

/* ---------- Path cards ---------- */
.bnds-paths{gap:24px!important}
.bnds-path{border-radius:20px;padding:40px!important;border:1px solid var(--bnds-line);background:#fff}
.bnds-path h2{font-size:32px}
.bnds-path--dark{background:var(--bnds-green);border-color:var(--bnds-green);color:#fff}
.bnds-path--dark h2{color:#fff}
.bnds-path--dark p{color:var(--bnds-leaf)}
.bnds-path--dark .bnds-eyebrow{color:#CFE3D8}
.bnds-linkgrid{list-style:none;padding:0;margin:8px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.bnds-linkgrid li{margin:0}
.bnds-linkgrid a{display:block;border:1px solid var(--bnds-line);border-radius:12px;padding:15px 16px;text-decoration:none;color:var(--bnds-ink);font-weight:700;font-size:15px;min-height:44px;box-sizing:border-box}
.bnds-linkgrid a::after{content:" →";color:var(--bnds-green)}
.bnds-linkgrid a:hover{background:var(--bnds-mint);border-color:var(--bnds-green)}
.bnds-path--dark .bnds-linkgrid a{border-color:#3E7A64;color:#fff}
.bnds-path--dark .bnds-linkgrid a::after{color:#fff}
.bnds-path--dark .bnds-linkgrid a:hover{background:var(--bnds-green-dark)}
@media (max-width:520px){.bnds-linkgrid{grid-template-columns:1fr}}

/* ---------- Tiles + cards ---------- */
.bnds-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;margin-top:36px}
.bnds-tile{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--bnds-line);border-radius:14px;padding:20px 22px;text-decoration:none;color:var(--bnds-ink)!important;font-weight:700;font-size:16px;gap:12px}
.bnds-tile span{color:var(--bnds-green)}
.bnds-tile:hover{background:var(--bnds-mint);border-color:var(--bnds-green)}
.bnds-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}
.bnds-card{display:flex;flex-direction:column;border:1px solid var(--bnds-line);border-radius:18px;overflow:hidden;text-decoration:none;color:var(--bnds-ink)!important;background:#fff;transition:border-color .15s,box-shadow .15s}
.bnds-card:hover{border-color:var(--bnds-green);box-shadow:0 8px 24px rgba(16,35,28,.08)}
.bnds-card__img{background:var(--bnds-mint);height:200px;display:flex;align-items:center;justify-content:center;position:relative}
.bnds-card__img img{width:100%;height:100%;object-fit:cover}
.bnds-card__form{position:absolute;top:14px;left:14px;background:#fff;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:700}
.bnds-card__body{padding:18px 20px 22px;display:flex;flex-direction:column;gap:8px;flex:1 1 auto}
.bnds-card__cat{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--bnds-green)}
.bnds-card__title{font-size:17px;line-height:1.3;font-weight:700}
.bnds-card__meta{font-size:14px;color:var(--bnds-muted)}
.bnds-card__more{margin-top:auto;padding-top:10px;font-size:14px;font-weight:700;color:var(--bnds-green)}
.bnds-featured{margin-top:36px}

/* Steps + quality cards */
.bnds-steps{gap:16px!important;margin-top:40px!important}
.bnds-step{border-top:3px solid var(--bnds-green);padding-top:20px}
.bnds-step--card{border:1px solid var(--bnds-line);border-radius:18px;padding:24px;background:#fff}
.bnds-step__n{font-size:14px!important;font-weight:800;color:var(--bnds-green);margin:0}
.bnds-step h3{margin-top:10px!important}
.bnds-step p:last-child{font-size:15px;color:var(--bnds-muted);margin-top:10px}
.bnds-qcards{gap:14px!important}
.bnds-qcard{background:var(--bnds-night-2);border:1px solid var(--bnds-night-line);border-radius:16px;padding:24px!important}
.bnds-qcard h3{font-size:17px;color:#fff}
.bnds-qcard p{font-size:15px;line-height:1.55;color:var(--bnds-sage)!important;margin-top:10px}
.bnds-badge-dark{display:inline-block;background:var(--bnds-night-2);border:1px solid var(--bnds-night-line);border-radius:999px;padding:10px 18px;font-size:14px!important;font-weight:700;color:#fff!important;margin:0}
.bnds-benefit{border:1px solid var(--bnds-line);border-radius:18px;padding:28px 24px!important}
.bnds-benefit__n{width:44px;height:44px;border-radius:12px;background:var(--bnds-mint);color:var(--bnds-green);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:16px!important;margin:0}
.bnds-benefit h3{font-size:18px;margin-top:14px!important}
.bnds-benefit p:last-child{font-size:15px;color:var(--bnds-muted)}
.bnds-tags{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0;margin:16px 0 0}
.bnds-tags li{border:1px solid var(--bnds-line);border-radius:999px;padding:10px 18px;font-weight:700;font-size:15px}
.bnds-photo{border-radius:24px;background:var(--bnds-leaf);min-height:420px;display:flex!important;align-items:center;justify-content:center;color:var(--bnds-muted);font-weight:600;font-size:15px;overflow:hidden}
.bnds-photo img{width:100%;height:100%;object-fit:cover;border-radius:24px}
.bnds-cta{background:var(--bnds-green);color:#fff;border-radius:24px;padding:56px 48px!important}
.bnds-cta h2{color:#fff;font-size:36px}
.bnds-cta p{color:var(--bnds-leaf)}

/* ---------- Contact info + map ---------- */
.bnds-info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;font-size:15px;line-height:1.6;margin:24px 0}
.bnds-info strong{display:block;margin-bottom:4px}
.bnds-info span{color:var(--bnds-muted)}
.bnds-map{min-height:340px;border-radius:20px;background:var(--bnds-mint);border:1px solid var(--bnds-line);display:flex;align-items:center;justify-content:center;color:var(--bnds-muted);font-weight:600;overflow:hidden}
.bnds-map iframe{width:100%;height:100%;min-height:340px;border:0;display:block}

/* ---------- Footer ---------- */
.bnds-footer{background:var(--bnds-ink);color:#fff;padding:64px 24px 32px}
.bnds-footer__cols{gap:40px!important}
.bnds-footer h2,.bnds-footer h3{color:#fff}
.bnds-footer__title{font-size:13px!important;letter-spacing:.08em;text-transform:uppercase;color:var(--bnds-mint-text)!important;font-weight:700}
.bnds-footer ul{list-style:none;padding:0;margin:12px 0 0;display:flex;flex-direction:column;gap:10px;font-size:14px}
.bnds-footer a{color:var(--bnds-sage);text-decoration:none}
.bnds-footer a:hover{color:#fff}
.bnds-footer__brand strong{font-size:20px;display:block;margin-bottom:12px}
.bnds-footer__brand span{font-size:14px;line-height:1.6;color:var(--bnds-sage)}
.bnds-footer__bottom{border-top:1px solid var(--bnds-night-line);margin-top:40px!important;padding-top:24px;display:flex;flex-wrap:wrap;gap:12px 32px;justify-content:space-between;font-size:13px;color:var(--bnds-sage);line-height:1.6}
.bnds-footer__bottom>span:first-child{max-width:720px}
.bnds-footer__bottom nav{display:flex;gap:20px;flex-wrap:wrap}

/* ---------- Formulary ---------- */
.bnds-fhero{background:var(--bnds-mist);border-bottom:1px solid var(--bnds-line);padding:56px 24px 40px}
.bnds-in{max-width:1240px;margin:0 auto}
.bnds-crumbs{font-size:14px;color:var(--bnds-muted);margin-bottom:24px}
.bnds-fhero__row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:24px}
.bnds-fhero h1{font-size:48px;margin:0 0 12px}
.bnds-fhero p{margin:0;max-width:640px;color:var(--bnds-muted)}
.bnds-search{flex:0 1 380px;min-width:260px;display:flex;flex-direction:column;gap:6px}
.bnds-search label{font-size:13px;font-weight:700}
.bnds-search input{min-height:48px;border:1.5px solid #C9D4CE;border-radius:10px;padding:0 16px;font-size:15px;font-family:inherit;background:#fff;color:var(--bnds-ink)}
.bnds-search input:focus{outline:2px solid var(--bnds-green);outline-offset:1px}
.bnds-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}
.bnds-chip{min-height:44px;padding:0 18px;border-radius:999px;border:1.5px solid #C9D4CE;background:#fff;color:var(--bnds-ink);font-weight:600;font-size:14px;font-family:inherit;cursor:pointer}
.bnds-chip:hover{border-color:var(--bnds-green)}
.bnds-chip[aria-pressed="true"]{background:var(--bnds-green);border-color:var(--bnds-green);color:#fff;font-weight:700}
.bnds-fbody{padding:36px 24px 88px}
.bnds-fbar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:14px;color:var(--bnds-muted);margin-bottom:24px}
.bnds-fbar strong{color:var(--bnds-ink)}
.bnds-empty{border:1px dashed #C9D4CE;border-radius:18px;padding:48px;text-align:center;color:var(--bnds-muted)}
.bnds-banner{margin-top:48px;background:var(--bnds-green);color:#fff;border-radius:20px;padding:36px 40px;display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between;align-items:center}
.bnds-banner strong{font-size:24px;display:block;margin-bottom:6px}
.bnds-banner span{color:var(--bnds-leaf)}
.bnds-banner .bnds-actions .bnds-btn{flex:0 0 auto;white-space:nowrap}
.bnds-banner .bnds-btn{background:#fff;color:var(--bnds-ink)!important;border-color:#fff}
.bnds-banner .bnds-btn--ghost{background:transparent;color:#fff!important}

/* ---------- Product ---------- */
.bnds-product{padding:28px 24px 64px}
.bnds-product__grid{display:flex;flex-wrap:wrap;gap:48px;align-items:flex-start}
.bnds-product__media{flex:1 1 460px;min-width:0}
.bnds-product__stage{position:relative;background:var(--bnds-mint);border-radius:24px;height:540px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.bnds-product__stage svg{position:relative}
.bnds-product__stage img{width:100%;height:100%;object-fit:cover}
.bnds-product__stage .bnds-hero-visual__disc{width:360px;height:360px;margin-left:-180px;top:50%;margin-top:-180px}
.bnds-product__stage .bnds-rx{top:20px;left:20px}
.bnds-product__info{flex:1 1 480px;min-width:0;display:flex;flex-direction:column;gap:22px}
.bnds-product__tags{display:flex;flex-wrap:wrap;gap:8px}
.bnds-tag{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--bnds-green);background:var(--bnds-mint);padding:6px 12px;border-radius:999px;text-decoration:none}
.bnds-tag--amber{color:#8A4E10;background:#FBF1E4}
.bnds-product h1{font-size:44px;margin:0 0 10px;line-height:1.08}
.bnds-product__excerpt{color:var(--bnds-muted);margin:0}
.bnds-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.bnds-pill-btn{min-height:46px;min-width:88px;padding:0 18px;border-radius:10px;border:1.5px solid #C9D4CE;background:#fff;color:var(--bnds-ink);font-weight:600;font-size:15px;font-family:inherit;cursor:pointer}
.bnds-pill-btn[aria-pressed="true"]{border:2px solid var(--bnds-green);background:var(--bnds-mint);font-weight:700}
.bnds-label{font-size:14px;font-weight:700}
.bnds-specs{margin:0;border:1px solid var(--bnds-line);border-radius:16px;overflow:hidden;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.bnds-specs>div{padding:14px 18px;border-bottom:1px solid var(--bnds-line)}
.bnds-specs>div:nth-child(odd){border-right:1px solid var(--bnds-line)}
.bnds-specs>div:nth-last-child(-n+2){border-bottom:0}
.bnds-specs dt{font-size:12px;font-weight:700;color:var(--bnds-muted);text-transform:uppercase;letter-spacing:.05em}
.bnds-specs dd{margin:4px 0 0;font-size:15px;font-weight:600}
.bnds-actions{display:flex;flex-wrap:wrap;gap:10px}
.bnds-actions .bnds-btn{flex:1 1 200px}
.bnds-note{display:flex;gap:12px;align-items:flex-start;background:var(--bnds-mist);border-radius:14px;padding:16px 18px;font-size:14px;line-height:1.55;color:var(--bnds-muted)}
.bnds-note svg{flex:none;margin-top:1px}
.bnds-tabs-wrap{background:var(--bnds-mist);border-top:1px solid var(--bnds-line);border-bottom:1px solid var(--bnds-line);padding:56px 24px 72px}
.bnds-tablist{display:flex;flex-wrap:wrap;gap:4px;border-bottom:1px solid #C9D4CE}
.bnds-tab{min-height:52px;padding:0 22px;border:0;border-bottom:3px solid transparent;margin-bottom:-1px;background:transparent;color:var(--bnds-muted);font-weight:600;font-size:16px;font-family:inherit;cursor:pointer}
.bnds-tab[aria-selected="true"]{border-bottom-color:var(--bnds-green);color:var(--bnds-ink);font-weight:800}
.bnds-tabpanel{background:#fff;border:1px solid var(--bnds-line);border-top:0;border-radius:0 0 18px 18px;padding:36px 40px;line-height:1.7}
.bnds-tabpanel[hidden]{display:none}
.bnds-tabpanel h2{font-size:22px;margin:0 0 12px}
.bnds-tabpanel h3{font-size:18px;margin:0 0 8px}
.bnds-tabpanel p,.bnds-tabpanel li{color:var(--bnds-muted)}
.bnds-tabpanel>*{max-width:860px}
.bnds-ingr{display:flex;flex-wrap:wrap;gap:32px;max-width:none!important}
.bnds-ingr>div{flex:1 1 260px}
.bnds-related{padding:72px 24px 88px}
.bnds-related h2{font-size:32px;margin:0}
.bnds-related .bnds-grid{margin-top:28px}

@media (max-width:782px){
	.bnds-section{padding:64px 20px}
	.bnds-display{font-size:42px!important}
	h2.wp-block-heading{font-size:32px}
	.bnds-hero-visual{height:380px}
	.bnds-product__stage{height:380px}
	.bnds-product h1,.bnds-fhero h1{font-size:34px}
	.bnds-tabpanel{padding:24px 20px}
	.bnds-path,.bnds-cta{padding:28px!important}
	.bnds-specs{grid-template-columns:1fr}
	.bnds-specs>div:nth-child(odd){border-right:0}
	.bnds-specs>div:nth-last-child(2){border-bottom:1px solid var(--bnds-line)}
	.bnds-info{grid-template-columns:1fr}
}
