/*
Theme Name: INVITES by GrowthX Creators
Theme URI: https://invites.growthxcreators.com/
Author: GrowthX Creators
Description: Premium digital invitation marketplace theme for WordPress. WooCommerce-ready, responsive, and optimized for invitation templates.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GPL v2 or later
Text Domain: invites-growthx
*/

:root{
  --ink:#24111d;
  --maroon:#4b092d;
  --wine:#650b3c;
  --rose:#e93668;
  --rose-dark:#c92855;
  --cream:#fff8f1;
  --peach:#fff0e5;
  --line:#ead9cf;
  --gold:#b87928;
  --muted:#6d6267;
  --white:#fff;
  --shadow:0 16px 45px rgba(75,9,45,.10);
  --radius:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#fff;font-size:16px;line-height:1.65}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
button,input,select,textarea{font:inherit}
.container{width:min(1180px,92%);margin:auto}
.topbar{background:var(--maroon);color:#fff;font-size:13px;text-align:center;padding:8px 12px}
.site-header{background:rgba(255,255,255,.97);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:100}
.nav{min-height:78px;display:flex;align-items:center;gap:28px}
.brand{display:flex;align-items:center;gap:10px;margin-right:auto}
.brand-mark{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#fff,#f7dfcb);border:1px solid #e9c9ad;color:var(--gold);font-size:19px}
.brand-text strong{display:block;font-family:Georgia,serif;font-size:26px;letter-spacing:.5px;line-height:1}
.brand-text small{font-size:10px;display:block;text-align:center;letter-spacing:.5px;color:#695e63}
.main-menu{display:flex;align-items:center;gap:26px;font-size:14px}
.main-menu a{padding:28px 0;position:relative}
.main-menu a:hover,.main-menu .current-menu-item>a{color:var(--rose)}
.nav-actions{display:flex;align-items:center;gap:10px}
.icon-btn{border:0;background:transparent;font-size:20px;cursor:pointer;padding:8px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:11px;padding:12px 21px;font-weight:700;border:1px solid transparent;cursor:pointer;transition:.2s}
.btn-primary{background:var(--rose);color:#fff;box-shadow:0 9px 22px rgba(233,54,104,.22)}
.btn-primary:hover{background:var(--rose-dark);transform:translateY(-1px)}
.btn-outline{background:#fff;border-color:#4d3e45;color:var(--ink)}
.btn-soft{background:var(--peach);color:var(--wine)}
.hero{background:radial-gradient(circle at 80% 35%,#ffe9dd 0,#fff8f1 40%,#fff 78%);overflow:hidden}
.hero-grid{min-height:650px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:30px;padding:70px 0}
.eyebrow{color:var(--rose);font-weight:800;font-size:13px;letter-spacing:1.2px;text-transform:uppercase}
.hero h1{font-family:Georgia,serif;font-weight:500;font-size:clamp(44px,5vw,72px);line-height:1.05;margin:14px 0 22px;color:var(--maroon)}
.hero p{max-width:610px;color:#5f555a;font-size:18px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0}
.hero-features{display:flex;gap:25px;flex-wrap:wrap;color:#44373e;font-size:13px}
.hero-features span:before{content:"✓";color:var(--rose);font-weight:900;margin-right:7px}
.phone-stack{position:relative;height:510px;display:flex;align-items:center;justify-content:center}
.phone{width:220px;height:440px;border:9px solid #16151a;border-radius:34px;background:#fff;box-shadow:0 30px 60px rgba(20,10,20,.22);overflow:hidden;position:absolute}
.phone img{width:100%;height:100%;object-fit:cover}
.phone.one{transform:translateX(-145px) rotate(-5deg)}
.phone.two{z-index:2;width:250px;height:485px}
.phone.three{transform:translateX(145px) rotate(5deg)}
.invite-fallback{height:100%;padding:30px 18px;display:flex;flex-direction:column;justify-content:center;text-align:center;background:linear-gradient(160deg,#fff8ed,#f9d5c8);font-family:Georgia,serif}
.invite-fallback.dark{background:linear-gradient(160deg,#210f22,#68123d);color:#ffe4a8}
.invite-fallback.blue{background:linear-gradient(160deg,#f5fbff,#bfe4f3)}
.invite-fallback .tiny{font-family:Inter,sans-serif;font-size:10px;letter-spacing:2px}
.invite-fallback h3{font-size:31px;font-weight:500;line-height:1.1;margin:18px 0}
.section{padding:76px 0}
.section-alt{background:var(--cream)}
.section-heading{text-align:center;margin-bottom:38px}
.section-heading h2{font:500 38px/1.15 Georgia,serif;color:var(--maroon);margin:0 0 10px}
.section-heading p{color:var(--muted);margin:auto;max-width:650px}
.occasion-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:12px}
.occasion{background:#fff;border:1px solid var(--line);border-radius:15px;padding:20px 10px;text-align:center;transition:.2s}
.occasion:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.occasion-icon{font-size:28px;margin-bottom:7px}.occasion strong{display:block;font-size:13px}
.template-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.card{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff;transition:.2s}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.template-preview{aspect-ratio:4/5;overflow:hidden;background:var(--peach)}
.template-preview img{width:100%;height:100%;object-fit:cover}
.template-body{padding:14px}
.template-body h3{font-size:15px;margin:0 0 4px}
.meta{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:var(--muted)}
.price{font-weight:800;color:var(--ink)}
.stars{color:#e59a16;letter-spacing:1px}
.how-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.step{background:#fff;border:1px solid var(--line);padding:26px;border-radius:18px;position:relative}
.step-num{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#ffe5d6;color:var(--rose);font-weight:900;margin-bottom:15px}
.step h3{margin:0 0 5px;font-size:16px}.step p{color:var(--muted);font-size:14px;margin:0}
.features{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.feature{border:1px solid var(--line);border-radius:16px;padding:20px;background:#fff}
.feature b{display:block;font-size:14px;margin-bottom:5px}.feature p{font-size:12px;color:var(--muted);margin:0}
.testimonials{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.testimonial{border:1px solid var(--line);border-radius:18px;padding:24px;background:#fff}
.testimonial .stars{margin-bottom:10px}.testimonial p{font-size:14px;color:#574d53}
.cta{background:linear-gradient(110deg,#4b092d,#7a1748);color:#fff;padding:48px 0}
.cta-row{display:flex;justify-content:space-between;align-items:center;gap:25px}
.cta h2{font:500 36px Georgia,serif;margin:0 0 6px}.cta p{margin:0;color:#f4dfe9}
.newsletter{background:#fff1e7;padding:35px 0}.newsletter-row{display:flex;align-items:center;gap:25px;justify-content:space-between}
.newsletter h3{font:500 28px Georgia,serif;margin:0}.newsletter-form{display:flex;max-width:520px;width:100%}.newsletter-form input{flex:1;border:1px solid var(--line);padding:13px 15px;border-radius:10px 0 0 10px}.newsletter-form button{border:0;border-radius:0 10px 10px 0;padding:0 22px;background:var(--rose);color:#fff;font-weight:700}
.site-footer{background:#250b1d;color:#fff;padding:55px 0 18px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr 1.3fr;gap:35px}.footer-brand p,.footer-col a{color:#d9c8d1;font-size:13px}.footer-col h4{margin:0 0 15px}.footer-col a{display:block;margin:7px 0}.footer-bottom{border-top:1px solid #573547;margin-top:35px;padding-top:16px;color:#bdaab4;font-size:12px;display:flex;justify-content:space-between}
.page-hero{background:linear-gradient(120deg,#fff3e9,#fff);padding:65px 0;text-align:center;border-bottom:1px solid var(--line)}
.page-hero h1{font:500 48px Georgia,serif;color:var(--maroon);margin:0 0 10px}.breadcrumbs{font-size:13px;color:var(--muted)}
.archive-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:25px}.search-field{width:min(430px,100%);padding:12px 15px;border:1px solid var(--line);border-radius:10px}
.archive-layout{display:grid;grid-template-columns:240px 1fr;gap:30px}.filters{border:1px solid var(--line);border-radius:16px;padding:20px;height:max-content;position:sticky;top:100px}.filters h3{margin-top:0}.filter-group{border-top:1px solid var(--line);padding:15px 0}.filter-group label{display:block;font-size:13px;margin:7px 0}
.product-layout{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:start}.product-main-image{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:var(--peach);aspect-ratio:4/5}.product-main-image .invite-fallback{height:100%}.product-info h1{font:500 42px Georgia,serif;color:var(--maroon);line-height:1.1}.product-info .product-price{font-size:28px;font-weight:800;margin:20px 0}.product-points{list-style:none;padding:0}.product-points li{margin:9px 0}.product-points li:before{content:"✓";color:var(--rose);font-weight:900;margin-right:9px}
.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center}.info-grid img{border-radius:22px}.info-copy h2{font:500 40px Georgia,serif;color:var(--maroon)}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}.form-card{border:1px solid var(--line);border-radius:18px;padding:28px}.form-card label{font-size:13px;font-weight:700;display:block;margin:13px 0 6px}.form-card input,.form-card textarea,.form-card select{width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:10px}.form-card textarea{min-height:150px}
.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.pricing-card{border:1px solid var(--line);border-radius:20px;padding:30px;background:#fff}.pricing-card.featured{border:2px solid var(--rose);transform:translateY(-7px);box-shadow:var(--shadow)}.pricing-card h3{font:500 28px Georgia,serif;margin:0}.pricing-card .big-price{font-size:40px;font-weight:900;margin:10px 0}.pricing-card ul{padding-left:20px;color:var(--muted)}
.faq{max-width:850px;margin:auto}.faq details{border-bottom:1px solid var(--line);padding:18px 0}.faq summary{cursor:pointer;font-weight:700}
.woocommerce .site-main{padding:60px 0}.woocommerce .button,.woocommerce a.button,.woocommerce button.button{background:var(--rose);color:#fff;border-radius:10px}.woocommerce .button:hover{background:var(--rose-dark);color:#fff}
.woocommerce ul.products li.product{border:1px solid var(--line);border-radius:16px;padding:10px;overflow:hidden}
.mobile-toggle{display:none}
@media(max-width:1000px){
 .main-menu{display:none}.mobile-toggle{display:block}.nav{gap:10px}.occasion-grid{grid-template-columns:repeat(4,1fr)}.template-grid{grid-template-columns:repeat(3,1fr)}.features{grid-template-columns:repeat(3,1fr)}.footer-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:720px){
 .container{width:min(94%,600px)}.nav{min-height:65px}.brand-text strong{font-size:21px}.hero-grid,.product-layout,.contact-grid,.info-grid{grid-template-columns:1fr}.hero-grid{padding:45px 0}.phone-stack{height:430px;transform:scale(.86);margin-top:-15px}.phone.one{transform:translateX(-100px) rotate(-5deg)}.phone.three{transform:translateX(100px) rotate(5deg)}
 .occasion-grid{grid-template-columns:repeat(2,1fr)}.template-grid{grid-template-columns:repeat(2,1fr);gap:12px}.how-grid{grid-template-columns:1fr 1fr}.features{grid-template-columns:1fr 1fr}.testimonials,.pricing-grid{grid-template-columns:1fr}.pricing-card.featured{transform:none}.archive-layout{grid-template-columns:1fr}.filters{position:static}.archive-toolbar{align-items:stretch;flex-direction:column}.page-hero h1{font-size:38px}.product-info h1{font-size:34px}.cta-row,.newsletter-row{flex-direction:column;align-items:flex-start}.newsletter-form{max-width:none}.footer-grid{grid-template-columns:1fr 1fr}.footer-bottom{flex-direction:column;gap:8px}
}
@media(max-width:460px){
 .template-grid{grid-template-columns:1fr 1fr}.how-grid{grid-template-columns:1fr}.features{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.hero h1{font-size:42px}.phone{width:185px;height:370px}.phone.two{width:210px;height:410px}.phone-stack{height:390px}
}
