/*
Theme Name: Glow365
Theme URI: https://glow365.com/
Description: Glow365 approved editorial skincare child theme for GeneratePress. Includes TikTok finds homepage, Amazon affiliate-ready product grid, search and mobile navigation.
Author: Glow365
Version: 1.2.1
Template: generatepress
Text Domain: glow365
*/
:root{--glow-pink:#bd4d7c;--glow-deep:#38202e;--glow-rose:#f9e3e9;--glow-cream:#fffaf9;--glow-text:#37232e;--glow-border:#f0dce3}
/* Brand-wide shared tokens: plugins should use these, not override font families. */
body{color:var(--glow-text);background:var(--glow-cream);font-family:Arial,Helvetica,sans-serif}
h1,h2,h3,h4,.entry-title{font-family:Georgia,'Times New Roman',serif;font-weight:900;color:var(--glow-deep)}
button,.button,input,select{font-family:Arial,Helvetica,sans-serif}
.glow365-plugin .glow365-amazon,.glow365-plugin .glow365-cta{background:var(--glow-pink);color:white;border-radius:28px;font-weight:900}

/* Shared footer inherits approved brand typography and colors. */
.glow365-legal-footer{padding:28px 16px 75px;text-align:center;color:#6c4d5d;font-size:12px;background:#fff5f7;clear:both}
.glow365-legal-footer p{margin:5px 0}
.glow365-legal-footer nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;margin-top:12px}
.glow365-legal-footer a,.glow365-affiliate-notice a{color:var(--glow-pink);text-decoration:underline}
.glow365-affiliate-notice{font-size:12px;line-height:1.5;margin:0 0 14px}

/* Shared approved homepage styles on inner pages. */

:root{--glow-pink:#bd4d7c;--glow-deep:#38202e;--glow-rose:#f9e3e9;--glow-cream:#fffaf9;--glow-text:#37232e;--glow-border:#f0dce3}
body.home{background:var(--glow-cream)}body.home .site-header,body.home #site-navigation,body.home .site-footer{display:none!important}
body.home .site,body.home .site-content,body.home .content-area,body.home .site-main{max-width:none!important;width:100%!important;margin:0!important;padding:0!important;background:transparent!important}
body.home .inside-article{padding:0!important;background:transparent!important}
.glow365{font-family:Arial,Helvetica,sans-serif;color:var(--glow-text);line-height:1.45}.glow365 *{box-sizing:border-box}
.glow365 a{text-decoration:none}.glow365 button,.glow365 input,.glow365 select{font:inherit}
.glow365-top{height:32px;background:#f7e0e8;display:flex;align-items:center;justify-content:center;position:relative;color:#793751;font-size:11px;font-weight:800;letter-spacing:2px}
.glow365-social{position:absolute;right:22px;display:flex;gap:14px}.glow365-social a{color:#a24a73;font-size:14px}
.glow365-masthead{height:104px;background:#fffaf9;display:flex;align-items:center;justify-content:space-between;padding:8px clamp(16px,3vw,48px);position:relative}
.glow365-masthead-side{display:flex;align-items:center;gap:20px;font-size:12px;font-weight:800;color:#784059;letter-spacing:.4px;min-width:180px}.glow365-masthead-side.right{justify-content:flex-end}
.glow365-masthead-side a,.glow365-masthead-side button{color:inherit;background:none;border:0;cursor:pointer;padding:8px 0}.glow365-masthead-side a:hover{color:var(--glow-pink)}
.glow365-brand{position:absolute;left:50%;transform:translateX(-50%);text-align:center;white-space:nowrap;line-height:1;display:flex;flex-direction:column;align-items:center;justify-content:center;width:max-content;max-width:calc(100% - 120px)}
.glow365-brand img{width:250px;max-height:67px;object-fit:contain;display:block;margin:auto}.glow365-brand-text{font-family:Georgia,'Times New Roman',serif;font-weight:900;font-size:clamp(39px,5vw,58px);letter-spacing:-4px}.glow365-brand-text .pink{color:var(--glow-pink)}.glow365-brand-text .brown{color:var(--glow-deep)}.glow365-brand-text .spark{font-size:.53em;color:var(--glow-pink);vertical-align:18%}
.glow365-tagline{display:block;font-size:10px;letter-spacing:3px;font-weight:800;margin-top:6px;color:var(--glow-deep)}
.glow365-nav{background:var(--glow-deep);min-height:46px;display:flex;align-items:stretch;justify-content:center}
.glow365-nav a{color:#fff;font-size:12px;font-weight:900;letter-spacing:1px;padding:15px 17px;display:flex;align-items:center;white-space:nowrap}
.glow365-nav a:hover,.glow365-nav a[aria-current="page"]{background:#5b2b47;color:#fff}.glow365-nav .featured{background:#62304c;border-bottom:4px solid var(--glow-pink);padding-bottom:11px}
.glow365-mobile-toggle{display:none;background:none;border:0;color:#fff;font-size:14px;font-weight:900;letter-spacing:1px;padding:12px 18px;cursor:pointer}
.glow365-hero{position:relative;min-height:350px;background:linear-gradient(90deg,#f4d8dd 0%,#fff2f2 48%,#f8dfe2 100%);display:flex;align-items:center;justify-content:center;overflow:hidden}
.glow365-hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.glow365-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,transparent 0%,rgba(255,247,248,.83) 39%,rgba(255,247,248,.42) 72%,transparent 100%)}
.glow365-hero-content{position:relative;z-index:1;width:min(1100px,94%);margin-left:0;padding:34px 16px}.glow365-eyebrow{font-size:12px;font-weight:900;letter-spacing:2px;color:#8b4162;margin:0 0 13px}
.glow365-hero h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(37px,4.4vw,67px);font-weight:900;line-height:.98;letter-spacing:-2px;color:#3c152a;margin:0 0 17px}.glow365-hero h1 span{color:var(--glow-pink)}
.glow365-hero p{font-size:16px;line-height:1.5;margin:0 0 20px}.glow365-cta,.glow365-amazon{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:30px;background:linear-gradient(90deg,#983b6b,#be4e7e);color:#fff!important;font-size:12px;font-weight:900;letter-spacing:1.1px;padding:14px 26px;border:0}
.glow365-cta:hover,.glow365-amazon:hover{filter:brightness(.92)}
.glow365-catalog{max-width:1600px;margin:0 auto;padding:16px clamp(14px,2.5vw,34px) 28px}
.glow365-filterbar{display:grid;grid-template-columns:2fr repeat(3,minmax(0,1fr)) 1fr;gap:10px;background:#fcecf0;padding:14px;border-radius:14px;box-shadow:0 5px 20px #5c25300d;margin-bottom:16px}
.glow365-filterbar input,.glow365-filterbar select{min-width:0;width:100%;height:45px;background:#fffaf9;border:1px solid #efdde4;border-radius:8px;padding:0 14px;color:#493443;font-size:13px}
.glow365-section-title{font-family:Georgia,'Times New Roman',serif;color:var(--glow-deep);font-weight:900;font-size:28px;margin:15px 0}
.glow365-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.glow365-card{border:1px solid #f0dfe4;background:#fff;border-radius:15px;overflow:hidden;box-shadow:0 5px 16px #6c294014;display:flex;flex-direction:column;min-width:0}
.glow365-card-media{position:relative;aspect-ratio:1/1;background:linear-gradient(135deg,#f8e4e9,#fff9f6);display:flex;align-items:center;justify-content:center;overflow:hidden}
.glow365-card-media img{width:100%;height:100%;object-fit:contain;display:block}.glow365-image-placeholder{color:#b67d91;font-family:Georgia,serif;font-size:23px;font-weight:900;text-align:center;padding:20px}
.glow365-badge{position:absolute;top:10px;left:10px;background:#aa3c70;color:#fff;font-size:10px;font-weight:900;letter-spacing:.4px;border-radius:22px;padding:6px 11px;max-width:75%}
.glow365-card-info{padding:12px 13px 13px;display:flex;flex-direction:column;gap:3px;flex:1}
.glow365-card-brand{font-size:11px;letter-spacing:1px;font-weight:900;color:#664557}.glow365-card-title{font-size:15px;font-weight:900;line-height:1.3;margin:0;color:#2e2027}.glow365-card-meta{font-size:12px;color:#6b5a61}.glow365-card-price{font-size:15px;font-weight:900;margin:6px 0 8px}.glow365-amazon{width:100%;padding:11px 9px;font-size:11px;margin-top:auto}
.glow365-no-link{display:block;text-align:center;background:#f4e7ec;color:#7d596a;border-radius:24px;font-size:11px;font-weight:800;padding:11px 8px;margin-top:auto}
.glow365-empty{text-align:center;border:1px dashed #d6a8ba;border-radius:14px;padding:36px 20px;background:#fff;color:#70435a}
.glow365-trust{max-width:1600px;margin:0 auto 28px;padding:18px;display:grid;grid-template-columns:repeat(4,1fr);gap:16px;background:#f9e0e8;border-radius:15px;color:#66324c}
.glow365-trust strong{display:block;font-size:12px}.glow365-trust span{display:block;font-size:11px;margin-top:4px}
.glow365-floating{position:fixed;bottom:20px;z-index:1000;border:0;border-radius:28px;padding:13px 18px;color:#fff;background:var(--glow-deep);box-shadow:0 4px 16px #321a2d55;cursor:pointer;font-weight:900;font-size:12px}
.glow365-back{left:18px}.glow365-share{right:18px;background:#a54772}.glow365-share-panel{position:fixed;right:18px;bottom:76px;z-index:1001;background:#fff;padding:12px;border-radius:12px;box-shadow:0 8px 25px #2c152c44;display:none;min-width:170px}
.glow365-share-panel.is-open{display:grid;gap:9px}.glow365-share-panel a,.glow365-share-panel button{color:var(--glow-deep);background:none;border:0;text-align:left;cursor:pointer;font-size:13px;padding:5px}
.glow365-footer{padding:28px 16px 75px;text-align:center;color:#6c4d5d;font-size:12px;background:#fff5f7}.glow365-footer p{margin:5px 0}
@media(max-width:980px){.glow365-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.glow365-nav a{padding:14px 10px;font-size:10px}.glow365-filterbar{grid-template-columns:repeat(3,minmax(0,1fr))}.glow365-filterbar input{grid-column:span 3}.glow365-trust{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.glow365-top{height:20px;font-size:8px;letter-spacing:1px}.glow365-social{display:none}.glow365-masthead{height:92px;justify-content:center;padding:8px}.glow365-masthead-side{min-width:0;position:absolute;top:31px;font-size:0}.glow365-masthead-side.left{left:15px}.glow365-masthead-side.right{right:15px}.glow365-masthead-side a{font-size:0}.glow365-masthead-side a::first-letter{font-size:18px}.glow365-brand img{width:185px;max-height:53px}.glow365-brand-text{font-size:43px}.glow365-tagline{font-size:7px;letter-spacing:1.6px}.glow365-nav{display:block}.glow365-mobile-toggle{display:block;width:100%;text-align:left}.glow365-nav-links{display:none;flex-direction:column}.glow365-nav-links.is-open{display:flex}.glow365-nav a{font-size:12px;padding:13px 18px}.glow365-hero{min-height:360px}.glow365-hero-photo{opacity:.45;object-position:25% center}.glow365-hero-overlay{background:rgba(255,247,248,.58)}.glow365-hero-content{width:100%;margin:0;text-align:center;padding:35px 22px}.glow365-hero h1{font-size:clamp(38px,9vw,55px)}.glow365-hero p{font-size:14px}.glow365-filterbar{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px}.glow365-filterbar input{grid-column:span 2}.glow365-grid{gap:9px}.glow365-card-info{padding:10px}.glow365-card-title{font-size:13px}.glow365-card-price{font-size:13px}.glow365-amazon{font-size:9px;letter-spacing:0}.glow365-badge{font-size:8px}.glow365-trust{margin:0 14px 20px}.glow365-floating{bottom:14px;padding:12px 14px}}
@media(max-width:370px){.glow365-brand-text{font-size:35px}.glow365-tagline{font-size:6px}.glow365-filterbar{grid-template-columns:1fr}.glow365-filterbar input{grid-column:auto}}

body:not(.home) .site-header,body:not(.home) #site-navigation{display:none!important}
.glow365-shared-header{width:100%;clear:both}
.glow365-shared-header .glow365-nav-links{display:flex}
@media(max-width:700px){.glow365-shared-header .glow365-nav-links{display:none}.glow365-shared-header .glow365-nav-links.is-open{display:flex}}

/* Theme-owned header and page-heading overrides. Keep product titles visible. */
body #masthead.site-header,body #site-navigation,body #mobile-header,body .navigation-clone{display:none!important}
.glow365-shared-header .glow365-nav-links{align-items:stretch;justify-content:center}
body.page .glow365-content > article > .entry-header,
body.page .glow365-content > article > h1,
body.page .g365-shop-hero{display:none!important}
.glow365-mobile-toggle:focus-visible,.glow365-nav a:focus-visible{outline:2px solid var(--glow-pink);outline-offset:-3px}

/* Homepage uses the same live Shop cards, search and filters. */
body.home .glow365-catalog .g365-shop-hero{display:none}
