/*
Theme Name: Peptyde Research Store
Description: Peptyde storefront theme with WooCommerce product, variation, cart, checkout, account, and research-documentation support.
Version: 1.12.3
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: peptyde
*/

:root {
    --navy: #041f35;
    --blue: #075b91;
    --bright-blue: #1470ef;
    --ink: #102c40;
    --cream: #f7fafc;
    --paper: #edf4f8;
    --line: rgba(5, 73, 115, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 15px/1.55 Inter, Manrope, Arial, sans-serif; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, .button { cursor: pointer; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.eyebrow { margin: 0 0 16px; text-transform: uppercase; letter-spacing: .16em; font-size: 10px; font-weight: 700; }
.button, button.button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; font-weight: 700; }
.button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--navy); color: #fff; }
.button--light { background: #fff; color: var(--blue); }

.announcement { min-height: 42px; padding: 12px 20px; display: grid; place-items: center; background: var(--navy); color: #fff; text-align: center; text-transform: uppercase; letter-spacing: .14em; font-size: 9px; }
.site-header { position: sticky; z-index: 50; top: 0; height: 68px; padding: 0 32px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: rgba(247,250,252,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.desktop-nav, .header-actions { display: flex; align-items: center; gap: 22px; }
.desktop-nav__list { display: flex; align-items: center; gap: 22px; padding: 0; margin: 0; list-style: none; }
.desktop-nav a, .header-actions a, .header-actions button { padding: 9px 0; border: 0; background: transparent; text-transform: uppercase; letter-spacing: .07em; font-size: 11px; font-weight: 600; }
.wordmark { font-size: 26px; letter-spacing: .27em; font-weight: 600; color: var(--blue); }
.header-actions { justify-self: end; gap: 16px; }
.bag-button { display: flex; align-items: center; gap: 7px; }
.peptyde-cart-count { min-width: 18px; height: 18px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--blue); color: #fff; font-size: 9px; }
.menu-toggle { display: none; width: 32px; padding: 5px 0; border: 0; background: transparent; }
.menu-toggle span { display: block; height: 1px; margin: 5px 0; background: var(--ink); transition: transform .2s, opacity .2s; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { position: fixed; z-index: 45; inset: 110px 0 0; padding: 30px 22px; display: flex; flex-direction: column; gap: 18px; background: var(--cream); transform: translateY(-110%); visibility: hidden; pointer-events: none; transition: transform .3s, visibility 0s linear .3s; }
.mobile-menu.open { transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.mobile-menu ul { padding: 0; margin: 0; display: grid; gap: 18px; list-style: none; }
.mobile-menu a { text-transform: uppercase; letter-spacing: .08em; font-size: 15px; font-weight: 600; }
.site-search { position: fixed; z-index: 70; inset: 0 0 auto; min-height: 360px; padding: 90px 8vw; background: var(--cream); transform: translateY(-110%); visibility: hidden; transition: transform .3s, visibility 0s linear .3s; }
.site-search.open { transform: none; visibility: visible; transition-delay: 0s; }
.site-search__close { position: absolute; top: 24px; right: 30px; border: 0; background: transparent; font-size: 32px; }
.site-search form { display: flex; border-bottom: 1px solid var(--blue); }
.site-search input[type=search] { flex: 1; padding: 18px 0; border: 0; background: transparent; font: 500 clamp(28px,5vw,62px)/1 Georgia, serif; outline: none; }

.home-hero { position: relative; min-height: 660px; margin: 8px; overflow: hidden; display: flex; align-items: center; border-radius: 24px; background: var(--bright-blue); color: #fff; }
.home-hero:after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,52,172,.65), rgba(3,75,195,.2) 48%, transparent 68%); }
.home-hero>img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero__copy { position: relative; z-index: 2; width: min(600px, 47vw); margin-left: 5vw; }
.home-hero h1, .home-intro h2, .home-products h2, .trust-section h2, .newsletter h2, .content-page h1, .woocommerce-products-header__title, .product_title { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-weight: 500; letter-spacing: -.045em; }
.home-hero h1 { font-size: clamp(72px, 8vw, 124px); line-height: .82; }
.home-hero p { max-width: 510px; margin: 28px 0; color: rgba(255,255,255,.85); }
.home-hero .button { background: #fff; color: var(--blue); }
.home-intro, .home-products { padding: 95px 4vw; }
.home-intro h2, .home-products h2 { font-family: inherit; font-size: clamp(44px,5vw,76px); }
.home-intro__grid { margin-top: 45px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.home-intro__grid a { min-height: 350px; padding: 28px; display: flex; justify-content: space-between; border-radius: 22px; background: linear-gradient(145deg,#1d72ef,#79bfff); color: #fff; font-size: 21px; }
.home-intro__grid a:nth-child(2) { background: linear-gradient(145deg,#d7eaff,#a6d3ff); color: var(--ink); }
.home-products>header { margin-bottom: 42px; display: flex; justify-content: space-between; align-items: end; }
.trust-section { margin: 8px; min-height: 720px; padding: 70px 4vw; display: grid; grid-template-columns: .8fr 1.2fr; gap: 6vw; align-items: center; border-radius: 24px; overflow: hidden; background: var(--bright-blue); color: #fff; }
.trust-section h2 { font-size: clamp(52px,5vw,78px); line-height: .95; }
.trust-section>img { width: 100%; height: 580px; object-fit: cover; border-radius: 18px; }
.newsletter { padding: 80px 5vw; display: grid; grid-template-columns: 1.2fr .8fr; gap: 7vw; align-items: end; background: #bfd9e7; }
.newsletter h2 { font-size: clamp(50px,5vw,78px); line-height: .96; }
.newsletter form>label:first-child { display: block; text-transform: uppercase; letter-spacing: .1em; font-size: 10px; }
.newsletter form>div { display: flex; border-bottom: 1px solid var(--blue); }
.newsletter input[type=email] { flex: 1; min-width: 0; padding: 14px 0; border: 0; background: transparent; font-size: 20px; outline: none; }
.newsletter form button { border: 0; background: transparent; font-size: 28px; }
.newsletter .consent { margin-top: 14px; display: block; font-size: 10px; }
.newsletter [data-newsletter-status] { font-size: 11px; }
.home-content, .entry-content { max-width: 1100px; margin: 0 auto; }

.content-page, .peptyde-commerce { min-height: 70vh; padding: 80px 4vw 110px; }
.content-page>article>header { max-width: 900px; margin-bottom: 50px; }
.content-page h1, .woocommerce-products-header__title { font-size: clamp(60px,7vw,105px); line-height: .86; }
.entry-content { font-size: 16px; line-height: 1.8; }

.woocommerce .products ul, .woocommerce ul.products { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 42px 14px; }
.woocommerce ul.products:before, .woocommerce ul.products:after { display: none; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { float: none; width: auto; margin: 0; }
.product-card { position: relative; background: #fff; }
.product-card__visual { position: relative; height: 420px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg,#d7eaff,#a6d3ff); }
.product-card__visual img { width: 72%!important; height: 78%!important; object-fit: contain; margin: 0!important; }
.product-card__record { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.85); font-size: 9px; }
.product-card__stock { position: absolute; z-index: 2; right: 14px; top: 14px; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.88); color: #087448; font-size: 9px; }.product-card__stock.is-out-of-stock { color: #a32727; }
.product-card__view { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; padding: 13px; display: flex; justify-content: space-between; background: rgba(255,255,255,.9); opacity: 0; transform: translateY(5px); transition: .2s; }
.product-card__visual:hover .product-card__view { opacity: 1; transform: none; }
.product-card__meta { min-height: 100px; padding: 16px 2px 12px; display: block; border-bottom: 1px solid var(--line); }
.product-card__meta h3 { margin: 0 0 5px; font: 500 25px/1.1 Georgia, serif; }
.product-card__descriptor { margin: 0; color: rgba(16,44,64,.65); font-size: 12px; }
.product-card__spec { padding: 11px 2px; display: flex; justify-content: space-between; font-size: 11px; }
.product-card>.button { width: 100%; border-radius: 0; }
.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none; width: auto; }
.woocommerce div.product div.images { padding: 40px; background: var(--paper); }
.woocommerce div.product .product_title { font-size: clamp(50px,5vw,80px); line-height: .95; }
.woocommerce div.product p.price { color: var(--blue); font-size: 22px; }
.woocommerce div.product form.cart .variations select { min-height: 44px; padding: 8px; border: 1px solid var(--line); background: #fff; }
.woocommerce div.product form.cart .button { min-height: 48px; }
.woocommerce-tabs, .related.products, .up-sells { grid-column: 1/-1; }
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: 0; background: #fff; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 16px; border-color: var(--line); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); background: #fff; }
.woocommerce-checkout #payment { background: var(--paper); }
.woocommerce-checkout #payment div.payment_box { background: #fff; }
.peptyde-research-confirmation { padding: 18px; background: #eaf3f7; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--blue); background: #fff; }
.woocommerce-message:before, .woocommerce-info:before { color: var(--blue); }
.peptyde-batch-search { max-width: 800px; }
.peptyde-batch-search form { display: flex; border-bottom: 1px solid var(--blue); }
.peptyde-batch-search input { flex: 1; padding: 15px 0; border: 0; background: transparent; font-size: 22px; outline: none; }
.peptyde-batch-result { margin-top: 20px; padding: 20px; background: var(--paper); }

.site-footer { background: var(--navy); color: #f4f9fc; }
.footer-main { position: relative; min-height: 620px; padding: 78px 5vw 0; overflow: hidden; background: radial-gradient(circle at 70% 28%,rgba(21,102,153,.16),transparent 35%),linear-gradient(145deg,#031a2d,#052b49 70%,#073657); }
.footer-main__top { display: block; }
.footer-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 4vw; }
.footer-grid>div { display: flex; flex-direction: column; align-items: start; gap: 10px; }
.footer-grid strong { margin-bottom: 9px; }
.footer-grid ul { padding: 0; margin: 0; display: grid; gap: 9px; list-style: none; }
.footer-grid a, .footer-grid p { margin: 0; color: rgba(244,249,252,.58); font-size: 13px; }
.footer-wordmark { position: absolute; left: 3.5vw; bottom: -.2em; font-size: clamp(160px,22vw,400px); line-height: .75; letter-spacing: -.07em; white-space: nowrap; }
.age-gate { position: fixed; z-index: 100; inset: 0; padding: 22px; display: grid; place-items: center; background: rgba(2,30,50,.84); backdrop-filter: blur(14px); }
.age-gate[hidden] { display: none; }
.age-gate__card { width: min(650px,100%); padding: 50px; border-radius: 20px; background: var(--cream); }
.age-gate__card h2 { margin: 0; font: 500 clamp(40px,5vw,64px)/.96 Georgia,serif; }
.age-gate__card button, .age-gate__card a { margin-top: 18px; }

@media (max-width: 1050px) {
    .desktop-nav { display: none; }
    .menu-toggle { display: block; }
    .woocommerce .products ul, .woocommerce ul.products { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .trust-section { grid-template-columns: 1fr; }
    .trust-section>img { height: 500px; }
    .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 35px; }
}

@media (max-width: 700px) {
    .announcement { min-height: 40px; font-size: 8px; }
    .site-header { height: 64px; padding: 0 16px; }
    .header-actions { gap: 9px; }
    .header-search-toggle { width: 30px; overflow: hidden; color: var(--ink); font-size: 0; }
    .wordmark { font-size: 20px; }
    .home-hero { min-height: 600px; margin: 5px; border-radius: 16px; align-items: end; }
    .home-hero:after { background: linear-gradient(0deg,rgba(3,52,172,.88),transparent 75%); }
    .home-hero>img { object-position: 66% center; }
    .home-hero__copy { width: auto; margin: 0; padding: 35px 18px 60px; }
    .home-hero h1 { font-size: 55px; }
    .home-intro, .home-products, .content-page, .peptyde-commerce { padding: 68px 12px; }
    .home-intro h2, .home-products h2 { font-size: 44px; }
    .home-intro__grid { grid-template-columns: 1fr; }
    .home-intro__grid a { min-height: 240px; }
    .woocommerce .products ul, .woocommerce ul.products { grid-template-columns: 1fr 1fr; gap: 28px 7px; }
    .product-card__visual { height: 265px; }
    .product-card__meta h3 { font-size: 20px; }
    .woocommerce div.product { grid-template-columns: 1fr; }
    .trust-section { margin: 5px; padding: 60px 14px; border-radius: 16px; }
    .trust-section h2 { font-size: 48px; }
    .trust-section>img { height: 430px; }
    .newsletter { padding: 65px 18px; grid-template-columns: 1fr; }
    .newsletter h2 { font-size: 46px; }
    .footer-main { min-height: 750px; padding: 55px 20px 0; }
    .footer-main__top { display: block; }
    .footer-grid { gap: 32px 22px; }
    .footer-wordmark { left: 14px; font-size: 26vw; bottom: -.02em; }
    .age-gate__card { padding: 34px 24px; }
}
