/*
Theme Name: IPA Thrive
Description: Research catalog starter theme. Demo cart; checkout integration pending.
Version: 0.9.0
Requires PHP: 8.0
Text Domain: ipa-thrive
*/
:root{--ink:#092344;--red:#c52332;--muted:#596778;--line:#dbe2e7;--paper:#f5f7f8}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font:16px/1.6 Arial,sans-serif}button,input{font:inherit}a{color:inherit}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #b54c14;outline-offset:4px}.wrap{max-width:1200px;margin:auto;padding:0 32px}.notice{background:var(--ink);color:white;text-align:center;padding:9px 20px;font-size:12px;letter-spacing:.08em}.header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:18px;padding-bottom:18px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:14px;text-decoration:none;font-size:20px;font-weight:800;letter-spacing:.05em}.brand img{width:56px;height:60px;object-fit:contain}.header nav{display:flex;gap:28px;font-size:14px}.header nav a{text-decoration:none}.cart-open{border:1px solid var(--line);background:white;border-radius:4px;padding:10px 16px;cursor:pointer}.hero{display:grid;grid-template-columns:1.1fr 1fr;min-height:560px;align-items:center;gap:60px;padding-top:65px;padding-bottom:65px}.eyebrow{color:var(--red);font-size:12px;font-weight:bold;letter-spacing:.17em;text-transform:uppercase}h1{font-size:clamp(42px,5vw,68px);line-height:1.06;letter-spacing:-.055em;margin:20px 0 25px}h2{font-size:36px;line-height:1.2;letter-spacing:-.04em;margin:12px 0 18px}h3{line-height:1.3}.lead{max-width:440px;color:var(--muted);font-size:18px}.button{display:inline-block;background:var(--red);color:white;padding:13px 22px;border:0;border-radius:3px;text-decoration:none;font-weight:bold;cursor:pointer}.hero-links{display:flex;align-items:center;gap:25px;margin:30px 0 24px}.quiet{font-size:13px;color:var(--muted)}.hero-art{position:relative;min-height:425px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 65% 30%,#e4edf0,transparent 65%),#f2f5f7;border-radius:5px;overflow:hidden}.hero-art:before{content:'';position:absolute;width:390px;height:390px;border:1px solid #b7c9d3;border-radius:50%}.hero-art:after{content:'';position:absolute;width:300px;height:300px;border:1px dashed #c3d1d8;border-radius:50%;transform:rotate(25deg)}.vial{position:relative;z-index:1;width:132px;height:233px;background:linear-gradient(90deg,#c9d5da88,#ffffffee 35%,#dce6e9aa);border:1px solid #b8c7d0;border-radius:16px 16px 28px 28px;box-shadow:16px 24px 25px #09234420;transform:rotate(-9deg)}.vial:before{content:'';position:absolute;left:9px;right:9px;top:-25px;height:46px;background:repeating-linear-gradient(90deg,#132e4f,#132e4f 4px,#244361 4px,#244361 6px);border-radius:6px}.vial-label{position:absolute;top:67px;left:0;right:0;background:white;border-top:5px solid var(--red);padding:12px 8px;text-align:center;font-size:13px;font-weight:bold}.vial-label small{display:block;font-size:8px;letter-spacing:.08em;margin-top:8px;color:var(--muted)}.art-note{position:absolute;bottom:20px;left:24px;font-size:10px;letter-spacing:.13em;color:var(--muted)}.art-tag{position:absolute;right:20px;top:24px;font-size:10px;border:1px solid #bdcbd2;padding:6px 10px;letter-spacing:.1em}.strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--paper)}.strip-inner{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;padding-top:24px;padding-bottom:24px}.strip strong{display:block;font-size:14px}.strip span{color:var(--muted);font-size:12px}.section{padding-top:72px;padding-bottom:72px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:30px}.section-heading p{max-width:350px;color:var(--muted);font-size:14px}.catalog{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.product{border:1px solid var(--line);border-radius:4px;overflow:hidden}.product-visual{height:205px;background:var(--paper);display:flex;align-items:center;justify-content:center}.product-visual img{width:100%;height:100%;object-fit:contain}.mini-vial{transform:scale(.55);height:233px;flex-shrink:0}.product-body{padding:22px}.product h3{margin:6px 0 10px;font-size:19px}.product p{font-size:13px;color:var(--muted);margin:8px 0 20px}.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.price{font-size:20px;font-weight:bold}.add{background:var(--ink);color:white;border:0;padding:9px 14px;border-radius:3px;cursor:pointer;font-size:13px}.empty{grid-column:1/-1;background:var(--paper);padding:35px;border:1px dashed var(--line)}.about{display:grid;grid-template-columns:1fr 1fr;gap:70px;background:var(--ink);color:white;padding:45px;border-radius:4px}.about .eyebrow{color:#f3949b}.about p{color:#ced8e2;font-size:15px}.about-list{border-top:1px solid #ffffff25;padding-top:12px}.about-list strong{display:block;font-size:14px}.about-list p{font-size:13px;margin:5px 0 20px}.faq{max-width:800px;margin:auto}.faq details{border-bottom:1px solid var(--line);padding:20px 0}.faq summary{cursor:pointer;font-weight:bold}.faq p{color:var(--muted);font-size:14px}.footer{background:var(--paper);padding:36px 0;border-top:1px solid var(--line)}.footer-inner{display:flex;justify-content:space-between;gap:40px}.footer p{font-size:12px;color:var(--muted);max-width:580px}.preview-banner{background:#fff4de;color:#684b11;padding:10px 20px;text-align:center;font-size:12px}.cart-dialog{width:min(540px,94vw);border:0;border-radius:6px;padding:28px;color:var(--ink);max-height:90vh}.cart-dialog::backdrop{background:#09234490}.cart-top{display:flex;align-items:center;justify-content:space-between}.cart-top h2{font-size:25px}.close{border:0;background:var(--paper);font-size:23px;cursor:pointer;padding:0 10px}.cart-row{display:grid;grid-template-columns:1fr auto;gap:10px;padding:18px 0;border-bottom:1px solid var(--line)}.qty{display:flex;gap:9px;align-items:center;margin-top:10px}.qty button{background:white;border:1px solid var(--line);width:30px;cursor:pointer}.remove{background:none;border:0;text-decoration:underline;font-size:12px;cursor:pointer}.totals{margin:25px 0}.totals div{display:flex;justify-content:space-between;margin:9px 0}.totals .total{border-top:1px solid var(--line);padding-top:15px;font-weight:bold}.shipping-progress{background:var(--paper);padding:12px;font-size:12px}.checkout-note{background:#fff4de;padding:15px;font-size:13px;color:#684b11}.demo-checkout{width:100%;background:#66788e;margin-top:15px;cursor:not-allowed}.single-content{max-width:850px;margin:auto;padding:60px 32px}.single-content img{max-width:100%;height:auto}@media(max-width:760px){.wrap{padding-left:20px;padding-right:20px}.header nav{display:none}.brand{font-size:16px;gap:8px}.brand img{width:40px;height:46px}.hero{grid-template-columns:1fr;gap:35px;padding-top:40px;padding-bottom:40px}.hero-art{min-height:330px}.hero-art:before{width:290px;height:290px}.hero-art:after{width:230px;height:230px}.hero-art .vial{transform:scale(.8) rotate(-9deg)}.strip-inner{grid-template-columns:1fr;gap:15px}.section{padding-top:45px;padding-bottom:45px}.section-heading{display:block}.catalog{grid-template-columns:1fr}.about{grid-template-columns:1fr;gap:15px;padding:28px}.footer-inner{display:block}.hero-links{gap:18px}h2{font-size:30px}}

.size-label{display:block;font-size:12px;font-weight:bold;margin-bottom:6px}.size-select{width:100%;padding:10px;background:white;border:1px solid var(--line);border-radius:3px;color:var(--ink);margin-bottom:20px;font:inherit}.add:disabled{background:#dde2e7;color:#596778;cursor:not-allowed}.product-visual{height:170px}.product .price{font-size:18px}

.catalog-search{display:block;width:min(100%,480px);padding:12px 15px;border:1px solid var(--line);border-radius:3px;font:inherit;margin:0 0 28px;color:var(--ink)}.eyebrow{font-family:monospace;letter-spacing:.12em}.product[hidden]{display:none}

/* Branded product mockups */
.product-visual{height:260px;background:#fff}.product-visual img{object-fit:contain;width:100%;height:100%}

/* Research access, catalog groups, and branded hero */
[hidden]{display:none!important}body.research-locked{overflow:hidden}
.research-gate{position:fixed;inset:0;box-sizing:border-box;width:100%;height:100%;max-width:none;max-height:none;border:0;margin:0;padding:clamp(16px,4vw,48px);background:#092344;overflow:auto;color:var(--ink)}
.research-gate[open]{display:grid;place-items:center}.research-gate::backdrop{background:#092344}
.research-panel{background:white;border-radius:24px;width:min(620px,100%);padding:clamp(25px,5vw,45px);box-shadow:0 15px 70px #0003}
.gate-brand{display:flex;align-items:center;gap:16px;letter-spacing:.07em;font-size:22px}.gate-brand img{object-fit:contain}
.research-panel h2{font-size:30px;margin:28px 0 14px}.research-panel p{color:var(--muted)}
.research-check{display:flex;align-items:flex-start;gap:14px;border:1px solid var(--line);border-radius:12px;padding:16px 18px;margin:12px 0;cursor:pointer;line-height:1.55}
.research-check input{flex:none;width:20px;height:20px;margin:3px 0 0;accent-color:var(--red)}
.research-enter{width:100%;margin:12px 0 0;border-radius:12px}.research-enter:disabled{background:#98a8bf;cursor:not-allowed}.research-disclaimer{font-size:13px;line-height:1.65;margin:20px 0 0}
.text-button{border:0;background:none;padding:0;text-decoration:underline;color:var(--ink);cursor:pointer;font-size:13px}
.category-filters{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 22px}.category-filter{border:1px solid var(--line);border-radius:999px;background:white;color:var(--ink);padding:9px 16px;cursor:pointer;font-size:13px;font-weight:bold}.category-filter[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:white}.research-badge{display:block;font-size:11px;color:var(--red);font-weight:bold;margin:0 0 8px}
.hero-art{perspective:1100px;min-height:460px}.hero-vial{z-index:1;position:relative;width:100%;max-width:410px;height:390px;object-fit:contain;animation:ipa-vial-turn 10s ease-in-out infinite;filter:drop-shadow(12px 20px 14px #09234418);transform-origin:50% 60%}
.hero-vial.is-paused{animation-play-state:paused}.motion-control{position:absolute;z-index:2;right:18px;bottom:16px;border:1px solid #bdcbd2;border-radius:4px;background:#fffffff0;color:var(--ink);padding:6px 9px;font-size:11px;cursor:pointer}.art-note{bottom:20px;max-width:65%;font-size:9px}.art-tag{z-index:2}
@keyframes ipa-vial-turn{0%,100%{transform:rotateY(-16deg) rotate(-3deg) translateY(3px)}50%{transform:rotateY(16deg) rotate(3deg) translateY(-6px)}}
@media(prefers-reduced-motion:reduce){.hero-vial{animation:none!important}.motion-control{display:none}}
@media(max-width:760px){.hero-art{min-height:370px}.hero-vial{height:310px;max-width:330px}.research-panel h2{font-size:26px}.category-filter{font-size:12px;padding:8px 12px}}

/* Product details and optional owner-configured offers */
.product-image-link{display:block;width:100%;height:100%}.product-title-link{text-decoration:none}.product-title-link:hover{text-decoration:underline}.view-product{display:inline-block;font-size:12px;font-weight:bold;text-underline-offset:3px;margin:0 0 14px}
.hero-quality{display:flex;align-items:center;flex-wrap:wrap;gap:12px;color:var(--muted);font-size:12px}.purity-pill{display:inline-block;border:1px solid #bdcbd2;color:var(--ink);background:#fff;border-radius:999px;padding:7px 14px;font-size:12px;font-weight:bold}
.detail-back{display:inline-block;margin-bottom:26px;font-size:14px;text-underline-offset:4px}.detail-layout{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}.detail-photo{position:relative;border:1px solid var(--line);border-radius:18px;background:#fff;padding:30px;overflow:hidden}.detail-photo img{display:block;width:100%;height:auto;max-height:520px;object-fit:contain}.detail-photo .purity-pill{position:absolute;left:18px;top:18px}.detail-photo-note{display:block;text-align:center;color:var(--muted);font-size:11px;letter-spacing:.06em;margin-top:16px}
.detail-info h1{font-size:42px;line-height:1.1;margin:8px 0 16px;letter-spacing:-.035em}.detail-info .lead{font-size:15px}.detail-info .size-select{max-width:210px;margin-top:4px}.detail-quantity{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px 20px;margin:8px 0 25px}.detail-quantity>label{grid-column:1/-1;margin:0}.quantity-control{display:flex;align-items:center;border:1px solid var(--line);border-radius:999px;overflow:hidden;width:max-content}.quantity-control button{background:white;border:0;cursor:pointer;padding:10px 15px;color:var(--ink);font-size:20px}.quantity-control input{border:0;width:60px;text-align:center;color:var(--ink);font:inherit;-moz-appearance:textfield}.quantity-control input::-webkit-inner-spin-button{appearance:none}.quantity-control button:disabled{color:#9ca8b5;cursor:not-allowed}.detail-price{font-size:30px;line-height:1.1}
.detail-offers{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}.offer-option{background:white;color:var(--ink);text-align:left;border:1px solid var(--line);border-radius:13px;padding:15px;cursor:pointer;font-size:13px;line-height:1.5}.offer-option strong,.offer-option small{display:block}.offer-option[aria-pressed=true]{background:#edf2f7;border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}.detail-add{width:100%;margin:8px 0 20px;border-radius:999px}.detail-add:disabled{background:#98a8bf;cursor:not-allowed}.detail-research{margin-top:45px;padding-top:25px;border-top:1px solid var(--line);color:var(--muted)}.detail-research h2{font-size:26px;color:var(--ink)}#detail-long-description{white-space:pre-line}
@media(max-width:760px){.detail-layout{grid-template-columns:1fr;gap:30px}.detail-photo img{max-height:360px}.detail-info h1{font-size:34px}.detail-price{font-size:25px}.detail-offers{grid-template-columns:1fr}.detail-quantity{gap:8px 12px}}

/* Research packaging, bundle collections and research notice */
.research-showcase{display:grid;grid-template-columns:1.4fr 1fr;gap:50px;align-items:center}.research-showcase figure{margin:0}.research-showcase img{display:block;width:100%;height:auto;border-radius:15px}.research-showcase figcaption{font-size:11px;color:var(--muted);padding-top:8px}.research-showcase p{color:var(--muted)}.bundle-section{background:#f0f3f7;border-top:1px solid var(--line);margin-bottom:72px}.bundle-card{background:white}.bundle-visual{display:flex;justify-content:center;align-items:center;min-height:220px;gap:0;padding:20px 12px;background:white;overflow:hidden}.bundle-visual img{min-width:0;max-width:100%;width:auto;flex:1;height:195px;object-fit:contain}.bundle-image-link{display:block;text-decoration:none}.bundle-contents{padding-left:18px;font-size:12px;color:var(--muted);min-height:65px}.bundle-card .product-body{display:flex;flex-direction:column;min-height:345px}.bundle-card .product-bottom{margin-top:auto}.bundle-card h3 a{text-decoration:none}.bundle-card h3 a:hover{text-decoration:underline}.research-notice{padding-top:25px;padding-bottom:45px;border-top:1px solid var(--line)}.research-notice h2{font-size:20px}.research-notice p{max-width:1000px;font-size:13px;line-height:1.8;color:var(--muted)}#detail-components{font-size:15px;line-height:1.9}#detail-bundle-images{min-height:360px;padding:45px 0}#detail-bundle-images img{height:290px}#detail-bundle-images[hidden]{display:none}.bundle-visual[hidden]{display:none}
@media(max-width:760px){.research-showcase{grid-template-columns:1fr;gap:25px}.bundle-section{margin-bottom:45px}.bundle-card .product-body{min-height:0}.bundle-visual img{height:210px}#detail-bundle-images{min-height:260px}#detail-bundle-images img{height:220px}}

.detail-photo img[hidden]{display:none}

/* Modular shipping information */
.shipping-panel{margin-top:4px}.shipping-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;flex-wrap:wrap}.shipping-heading h2{margin:0;font-size:17px;font-weight:700;letter-spacing:-.02em;line-height:1.4}.shipping-highlight{padding:5px 10px;background:#edf3f7;border:1px solid #d9e4ed;color:var(--ink);border-radius:999px;font-size:10px;font-weight:bold;white-space:nowrap}.shipping-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.shipping-card{display:flex;gap:12px;padding:18px 15px;border:1px solid var(--line);border-radius:12px;background:#fff;align-items:flex-start;min-width:0}.shipping-card h3{margin:0 0 7px;font-size:10px;line-height:1.4;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}.shipping-icon{width:34px;height:34px;border-radius:9px;background:#f0f4f7;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--ink)}.shipping-icon svg{width:21px;height:21px;display:block}.shipping-value{margin:0;color:var(--ink);font-size:13px;font-weight:bold;line-height:1.5}.shipping-description{margin:6px 0 0;color:var(--muted);font-size:11px;line-height:1.65}.shipping-payment{display:flex;flex-direction:column;gap:3px;border-top:1px solid var(--line);padding:16px 2px 0;margin-top:18px;font-size:11px;color:var(--muted)}.shipping-payment strong{font-size:12px;color:var(--ink)}.payment-label{font-size:9px;letter-spacing:.1em;text-transform:uppercase}
@media(max-width:1000px) and (min-width:761px){.shipping-grid{grid-template-columns:1fr}}
@media(max-width:420px){.shipping-grid{grid-template-columns:1fr}.shipping-card{padding:16px}.shipping-value{font-size:14px}.shipping-description{font-size:12px}}

/* A text underline indicates keyboard focus without a box around the logo. */
.brand:focus-visible{outline:none;text-decoration:underline;text-underline-offset:7px;text-decoration-thickness:2px}

.store-checkout{width:100%;margin-top:15px}.store-checkout:disabled{background:#98a8bf;cursor:not-allowed}
