/*
Theme Name: Tempelify
Theme URI: https://tempelify.com/
Author: Tempelify
Author URI: https://tempelify.com/
Description: A premium, responsive storefront theme for digital products. Designed for WooCommerce and the Tempelify Companion plugin.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tempelify
Tags: e-commerce, blog, custom-logo, custom-menu, featured-images, full-width-template
*/
:root{--tp-ink:#302b35;--tp-muted:#756d79;--tp-cream:#fbf8f4;--tp-lilac:#e9e1f2;--tp-lilac-dark:#79658e;--tp-peach:#f4e6dc;--tp-line:#eee7e2;--tp-white:#fff;--tp-radius:20px;--tp-shadow:0 12px 36px rgba(55,42,65,.07)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--tp-ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.65}a{color:inherit;text-decoration:none}a:hover{color:var(--tp-lilac-dark)}img{max-width:100%;height:auto;display:block}button,input,select,textarea{font:inherit}.tp-container{width:min(1160px,calc(100% - 40px));margin-inline:auto}.tp-site-header{background:rgba(255,255,255,.94);border-bottom:1px solid var(--tp-line);position:sticky;top:0;z-index:50;backdrop-filter:blur(12px)}.tp-header-inner{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}.tp-brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:25px;letter-spacing:-1px}.tp-brand img{max-height:48px;width:auto}.tp-brand-mark{width:34px;height:34px;border-radius:12px;background:var(--tp-lilac);display:grid;place-items:center;color:#5f4d70;font-size:18px}.tp-nav{display:flex;align-items:center;gap:26px;font-size:14px;font-weight:600}.tp-nav ul{list-style:none;display:flex;gap:24px;margin:0;padding:0}.tp-nav li{margin:0}.tp-header-actions{display:flex;align-items:center;gap:14px;font-size:14px;font-weight:600}.tp-menu-toggle{display:none;border:1px solid var(--tp-line);background:#fff;border-radius:12px;padding:8px 12px}.tp-button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;background:var(--tp-ink);color:#fff!important;padding:13px 24px;font-weight:700;font-size:14px;transition:.2s;cursor:pointer}.tp-button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:var(--tp-lilac-dark);color:#fff!important;transform:translateY(-1px)}.tp-button-light{background:#fff;color:var(--tp-ink)!important}.tp-hero{padding:78px 0 68px;background:radial-gradient(circle at 85% 20%,#eee5f5 0,transparent 30%),linear-gradient(120deg,#fbf8f4,#f7f1f7);overflow:hidden}.tp-hero-grid{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:48px}.tp-eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:11px;font-weight:800;color:var(--tp-lilac-dark);margin:0 0 15px}.tp-hero h1{font-size:clamp(40px,5.2vw,66px);line-height:1.08;letter-spacing:-2.8px;margin:0 0 20px;max-width:650px}.tp-hero p{font-size:18px;color:var(--tp-muted);max-width:540px;margin:0 0 28px}.tp-hero-art{min-height:360px;position:relative;display:grid;place-items:center}.tp-art-card{position:absolute;background:#fff;border:1px solid rgba(255,255,255,.8);border-radius:24px;box-shadow:var(--tp-shadow);padding:22px}.tp-art-card.main{width:72%;min-height:275px;transform:rotate(4deg);display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(145deg,#fff,#f7f1fa)}.tp-art-card.small{width:43%;left:0;bottom:24px;transform:rotate(-8deg);background:#f5e9df}.tp-art-card.note{width:40%;right:0;top:12px;transform:rotate(7deg);background:#e9e1f2}.tp-art-label{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;color:#82758c;font-weight:800}.tp-art-title{font-family:Georgia,serif;font-size:34px;line-height:1.05}.tp-art-lines{height:7px;border-radius:10px;background:#e9e1ed;margin-top:10px}.tp-art-lines:nth-child(2){width:80%}.tp-art-lines:nth-child(3){width:58%}.tp-section{padding:70px 0}.tp-section-soft{background:var(--tp-cream)}.tp-section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px}.tp-section-head h2{font-size:clamp(27px,3vw,38px);letter-spacing:-1.3px;line-height:1.15;margin:0}.tp-section-head p{color:var(--tp-muted);margin:8px 0 0}.tp-text-link{font-weight:700;font-size:14px;border-bottom:1px solid #b6a7c4;padding-bottom:3px}.tp-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.tp-category-card{border:1px solid var(--tp-line);border-radius:var(--tp-radius);padding:24px;background:#fff;min-height:155px;transition:.2s}.tp-category-card:hover{transform:translateY(-4px);box-shadow:var(--tp-shadow)}.tp-category-icon{width:44px;height:44px;border-radius:14px;background:var(--tp-lilac);display:grid;place-items:center;font-size:21px;margin-bottom:18px}.tp-category-card:nth-child(2n) .tp-category-icon{background:var(--tp-peach)}.tp-category-card h3{font-size:17px;margin:0 0 4px}.tp-category-card p{margin:0;color:var(--tp-muted);font-size:13px}.tp-products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.tp-product-card{min-width:0}.tp-product-image{aspect-ratio:4/4.5;background:#f5f1f4;border-radius:18px;overflow:hidden;margin-bottom:14px;position:relative}.tp-product-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.tp-product-card:hover .tp-product-image img{transform:scale(1.04)}.tp-product-title{font-size:15px;font-weight:700;line-height:1.4;margin:0 0 6px}.tp-product-price{font-weight:700;font-size:14px}.tp-product-price del{color:#a39aa5;font-weight:400}.tp-product-price ins{text-decoration:none}.tp-product-card .tp-add{margin-top:10px;font-size:12px}.tp-empty{padding:28px;background:#fff;border:1px dashed #d9cddd;border-radius:16px;color:var(--tp-muted)}.tp-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.tp-benefit{padding:25px;border-radius:18px;background:#fff;border:1px solid var(--tp-line)}.tp-benefit-icon{font-size:24px;margin-bottom:10px}.tp-benefit h3{font-size:16px;margin:0 0 6px}.tp-benefit p{font-size:14px;color:var(--tp-muted);margin:0}.tp-cta{padding:55px 30px;border-radius:26px;background:linear-gradient(120deg,#e9e1f2,#f7e9df);text-align:center}.tp-cta h2{font-size:clamp(28px,3vw,40px);letter-spacing:-1.2px;margin:0 0 10px}.tp-cta p{color:var(--tp-muted);margin:0 auto 22px;max-width:580px}.tp-footer{background:#302b35;color:#fff;padding:50px 0 22px}.tp-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:35px}.tp-footer p,.tp-footer a{color:#d5cfd9;font-size:14px}.tp-footer h3{font-size:14px;margin:0 0 14px}.tp-footer ul{list-style:none;padding:0;margin:0}.tp-footer li{margin:8px 0}.tp-footer-bottom{border-top:1px solid #514957;margin-top:35px;padding-top:18px;color:#bcb4c2;font-size:12px;display:flex;justify-content:space-between;gap:15px}.tp-content{padding:50px 0;min-height:45vh}.tp-content h1,.tp-content h2{letter-spacing:-1px}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product{width:auto!important;margin:0!important;padding:0!important}.woocommerce ul.products li.product a img{border-radius:18px;margin-bottom:12px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px!important;color:var(--tp-ink);font-weight:700}.woocommerce span.onsale{background:var(--tp-lilac-dark);min-height:34px;min-width:54px;line-height:34px}.woocommerce div.product div.images img{border-radius:20px}.woocommerce div.product .product_title{font-size:34px;letter-spacing:-1px}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--tp-ink);font-weight:700}.woocommerce-message,.woocommerce-info{border-top-color:var(--tp-lilac-dark)}.woocommerce-message:before,.woocommerce-info:before{color:var(--tp-lilac-dark)}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{border:1px solid var(--tp-line);border-radius:10px;padding:12px}.woocommerce table.shop_table{border-radius:12px;border-color:var(--tp-line)}.tp-pagination{margin-top:30px}.screen-reader-text{clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute!important;width:1px;white-space:nowrap}
@media(max-width:900px){.tp-hero-grid{grid-template-columns:1fr;gap:20px}.tp-hero-art{min-height:300px;max-width:560px;width:100%;margin:auto}.tp-category-grid,.tp-products-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}.tp-benefits{grid-template-columns:1fr}.tp-nav{display:none;position:absolute;top:78px;left:0;right:0;background:#fff;padding:20px;border-bottom:1px solid var(--tp-line)}.tp-nav.is-open{display:block}.tp-nav ul{display:flex;flex-direction:column;gap:14px}.tp-menu-toggle{display:inline-flex}.tp-header-actions .tp-account{display:none}}
@media(max-width:560px){.tp-container{width:min(100% - 28px,1160px)}.tp-hero{padding:54px 0 42px}.tp-hero h1{letter-spacing:-1.8px}.tp-hero p{font-size:16px}.tp-hero-art{min-height:260px}.tp-art-card.main{min-height:220px}.tp-art-title{font-size:26px}.tp-section{padding:48px 0}.tp-category-grid{gap:10px}.tp-category-card{padding:16px;min-height:140px}.tp-products-grid,.woocommerce ul.products{gap:14px!important}.tp-section-head{align-items:start;flex-direction:column}.tp-footer-grid{grid-template-columns:1fr;gap:22px}.tp-footer-bottom{flex-direction:column}.woocommerce div.product .product_title{font-size:27px}}

/* Tempelify Premium 2.0 visual upgrade */
:root{--tp-ink:#25202b;--tp-muted:#77717e;--tp-cream:#faf7f3;--tp-lilac:#eee7f6;--tp-plum:#6d587e;--tp-gold:#b89a70;--tp-line:#ece6e1;--tp-shadow:0 18px 50px rgba(44,32,54,.09)}
body{font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--tp-ink)}
.tp-site-header{box-shadow:0 4px 22px rgba(40,30,48,.035)}
.tp-brand{font-family:Georgia,serif;letter-spacing:-1px;font-size:28px}
.tp-hero{padding:85px 0;background:linear-gradient(115deg,#faf7f3 0%,#f7f1f8 58%,#eee6f4 100%);position:relative;overflow:hidden}
.tp-hero:after{content:"";position:absolute;width:410px;height:410px;border:1px solid #d9cbe8;border-radius:50%;right:-140px;top:-210px}
.tp-hero-grid{position:relative;z-index:1;gap:50px}
.tp-hero h1{font-family:Georgia,serif;font-weight:500;font-size:clamp(44px,5.5vw,72px);line-height:1.06;letter-spacing:-2px}
.tp-hero h1 em{color:var(--tp-plum)}
.tp-hero p{line-height:1.8}
.tp-hero-art{min-height:390px}
.tp-art-card.main{width:68%;min-height:320px;transform:rotate(4deg);padding:18px;background:linear-gradient(145deg,#fff,#f1eaf5)}
.tp-art-card.main .tp-art-title{font-family:Georgia,serif;font-size:36px;line-height:1.08}
.tp-art-card.small{background:#fffaf6;box-shadow:var(--tp-shadow)}
.tp-art-card.note{background:#e7dcef}
.tp-section{padding:78px 0}
.tp-section-soft{background:#faf8f5}
.tp-section-head h2{font-family:Georgia,serif;font-size:clamp(31px,3.5vw,44px);font-weight:500;letter-spacing:-1px}
.tp-category-card{border-radius:18px;min-height:175px;box-shadow:0 5px 18px rgba(50,40,60,.025);transition:transform .3s,box-shadow .3s}
.tp-category-card:hover{transform:translateY(-6px);box-shadow:var(--tp-shadow)}
.tp-category-icon{border-radius:15px;background:#eee7f6;color:#6d587e}
.tp-product-card .tp-product-image{border-radius:17px;box-shadow:0 6px 22px rgba(40,30,50,.04)}
.tp-product-title{font-size:15px}
.tp-product-price{font-size:14px}
.tp-benefit{border-radius:18px;box-shadow:0 5px 18px rgba(50,40,60,.025)}
.tp-cta{background:linear-gradient(115deg,#e9e1f1,#f6e8df);border-radius:25px;padding:62px 28px}
.tp-cta h2{font-family:Georgia,serif;font-weight:500}
.tp-footer{padding:55px 0 24px}
.tp-button{letter-spacing:.5px}
.js-reveal{opacity:0;transform:translateY(25px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1)}
.js-reveal.is-visible{opacity:1;transform:translateY(0)}
.js-reveal[data-delay="1"]{transition-delay:.08s}.js-reveal[data-delay="2"]{transition-delay:.16s}.js-reveal[data-delay="3"]{transition-delay:.24s}
@media(prefers-reduced-motion:reduce){.js-reveal{opacity:1;transform:none;transition:none}html{scroll-behavior:auto}}
@media(max-width:700px){.tp-hero{padding:54px 0 35px}.tp-hero h1{font-size:47px}.tp-section{padding:55px 0}.tp-hero-art{min-height:280px}.tp-art-card.main{min-height:230px}.tp-art-card.main .tp-art-title{font-size:29px}}
