/* PYCM homepage — teal/gold chem-lab x cosmetics palette */
:root{
	--pycm-teal-900:#0b3c40;
	--pycm-teal-700:#0f5c63;
	--pycm-teal-600:#137a83;
	--pycm-gold:#e8a838;
	--pycm-gold-dark:#c8862a;
	--pycm-bg:#f6f9f9;
	--pycm-card:#ffffff;
	--pycm-text:#173033;
	--pycm-text-soft:#4d6669;
	--pycm-border:#e2ebec;
}

/* Header logo — parent theme renders it at native upload size (very large); cap it down */
.site-header .custom-logo-link{ display:inline-block; }
.site-header .custom-logo{ max-height:56px; width:auto; height:auto; }

.pycm-home{ background:var(--pycm-bg); color:var(--pycm-text); }
.pycm-container{ max-width:1180px; margin:0 auto; padding:0 20px; }
.pycm-section-title{ font-size:26px; font-weight:800; margin:0 0 28px; text-align:center; color:var(--pycm-teal-900); }
.pycm-center{ text-align:center; margin-top:28px; }

.pycm-btn{ display:inline-block; padding:13px 28px; border-radius:999px; font-weight:700; text-decoration:none; transition:transform .15s ease, box-shadow .15s ease; }
.pycm-btn-primary{ background:var(--pycm-gold); color:var(--pycm-teal-900); box-shadow:0 6px 18px rgba(232,168,56,.35); }
.pycm-btn-primary:hover{ transform:translateY(-2px); background:var(--pycm-gold-dark); color:#fff; }
.pycm-btn-outline{ background:transparent; color:var(--pycm-teal-700); border:2px solid var(--pycm-teal-700); }
.pycm-btn-outline:hover{ background:var(--pycm-teal-700); color:#fff; transform:translateY(-2px); }

/* Hero */
.pycm-hero{
	background-image:linear-gradient(120deg, rgba(9,46,50,.92) 0%, rgba(11,60,64,.88) 45%, rgba(15,92,99,.72) 100%), url('https://xn--42crarj8bybh4lfh2b6joh.com/wp-content/uploads/2026/07/pycm-hero-banner.png');
	background-size:cover; background-position:center;
	color:#fff; padding:76px 0 64px; position:relative; overflow:hidden;
}
.pycm-hero::before{
	content:""; position:absolute; inset:0;
	background-image:radial-gradient(circle at 85% 20%, rgba(232,168,56,.18), transparent 45%);
}
.pycm-hero-inner{ position:relative; text-align:center; max-width:820px; }
.pycm-hero-eyebrow{ text-transform:uppercase; letter-spacing:.14em; font-weight:700; color:var(--pycm-gold); font-size:13px; margin:0 0 14px; }
.pycm-hero h1{ font-size:34px; line-height:1.35; margin:0 0 18px; font-weight:800; }
.pycm-hero-sub{ font-size:16px; line-height:1.7; color:rgba(255,255,255,.85); margin:0 auto 30px; max-width:680px; }
.pycm-hero-cta{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.pycm-hero .pycm-btn-outline{ color:#fff; border-color:rgba(255,255,255,.6); }
.pycm-hero .pycm-btn-outline:hover{ background:#fff; color:var(--pycm-teal-900); border-color:#fff; }

/* Pillars */
.pycm-pillars{ padding:56px 0 8px; }
.pycm-pillars-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:-56px; }
.pycm-pillar-card{
	background:var(--pycm-card); border-radius:18px; padding:30px 24px; text-decoration:none; color:var(--pycm-text);
	box-shadow:0 14px 34px rgba(11,60,64,.12); border:1px solid var(--pycm-border);
	transition:transform .18s ease, box-shadow .18s ease; display:block;
}
.pycm-pillar-card:hover{ transform:translateY(-6px); box-shadow:0 20px 40px rgba(11,60,64,.18); }
.pycm-pillar-icon{ font-size:34px; display:block; margin-bottom:14px; }
.pycm-pillar-card h3{ font-size:19px; margin:0 0 10px; color:var(--pycm-teal-900); }
.pycm-pillar-card p{ margin:0; font-size:14px; line-height:1.6; color:var(--pycm-text-soft); }

/* Categories */
.pycm-cats{ padding:64px 0; }
.pycm-cats-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.pycm-cat-card{
	position:relative; text-decoration:none; display:block; overflow:hidden;
	border-radius:18px; aspect-ratio:1/1.05;
	box-shadow:0 10px 26px rgba(11,60,64,.14);
	transition:transform .22s ease, box-shadow .22s ease;
}
.pycm-cat-card:hover{ transform:translateY(-6px) scale(1.01); box-shadow:0 18px 36px rgba(11,60,64,.24); }
.pycm-cat-img{
	position:absolute; inset:0; background-size:cover; background-position:center;
	background-color:#0b3c40; transition:transform .35s ease;
}
.pycm-cat-card:hover .pycm-cat-img{ transform:scale(1.06); }
.pycm-cat-scrim{
	position:absolute; inset:0;
	background:linear-gradient(180deg, rgba(11,60,64,0) 40%, rgba(9,38,41,.55) 75%, rgba(6,26,28,.88) 100%);
}
.pycm-cat-text{ position:absolute; left:0; right:0; bottom:0; padding:18px 18px 20px; color:#fff; }
.pycm-cat-name{ display:block; font-weight:800; font-size:16px; line-height:1.35; text-shadow:0 2px 8px rgba(0,0,0,.35); }
.pycm-cat-count{ display:block; margin-top:4px; font-size:12.5px; color:rgba(255,255,255,.82); }

/* New products (WooCommerce loop) */
.pycm-newproducts{ padding:8px 0 64px; }
.pycm-newproducts ul.products{ display:grid !important; grid-template-columns:repeat(4,1fr); gap:20px; list-style:none; margin:0; padding:0; }
.pycm-newproducts ul.products li.product{ background:var(--pycm-card); border:1px solid var(--pycm-border); border-radius:14px; padding:16px; text-align:center; }
.pycm-newproducts ul.products li.product img{ border-radius:10px; margin-bottom:10px; }

/* Trust strip */
.pycm-trust{ background:var(--pycm-teal-900); color:#fff; padding:40px 0; }
.pycm-trust-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:center; }
.pycm-trust-item span{ font-size:30px; display:block; margin-bottom:10px; }
.pycm-trust-item p{ margin:0; font-size:14px; color:rgba(255,255,255,.9); }

/* Contact band */
.pycm-contact{ padding:56px 0; }
.pycm-contact-inner{ background:linear-gradient(120deg,#fff,#eef7f6); border:1px solid var(--pycm-border); border-radius:20px; padding:38px 34px; display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.pycm-contact-inner h2{ margin:0 0 10px; font-size:22px; color:var(--pycm-teal-900); }
.pycm-contact-inner p{ margin:4px 0; color:var(--pycm-text-soft); font-size:14.5px; }

@media (max-width:1000px){
	.pycm-pillars-grid{ grid-template-columns:1fr; margin-top:-40px; }
	.pycm-cats-grid{ grid-template-columns:repeat(3,1fr); }
	.pycm-newproducts ul.products{ grid-template-columns:repeat(2,1fr); }
	.pycm-trust-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:640px){
	.pycm-hero{ padding:56px 0 46px; }
	.pycm-hero h1{ font-size:25px; }
	.pycm-cats-grid{ grid-template-columns:repeat(2,1fr); }
	.pycm-newproducts ul.products{ grid-template-columns:1fr 1fr; }
	.pycm-contact-inner{ flex-direction:column; text-align:center; }
}
