/*
Theme Name: Lovegobuy Guide
Theme URI: https://sheetfinds.com/
Author: Lovegobuy Guide
Author URI: https://sheetfinds.com/
Description: Retro shopping magazine WordPress theme for the Lovegobuy Spreadsheet. Cream paper background, Playfair serif headlines, sticker-style category tiles, marquee stat strip, numbered timeline how-to guide and Polaroid article cards. 21 pre-loaded original SEO articles with internal linking included.
Version: 3.0.0
Requires at least: 5.5
Tested up to: 6.5
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lovegobuy-guide
Tags: blog, one-column, custom-menu, featured-images, translation-ready
*/

/* ================= BASE ================= */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
    font-family:'Inter','Segoe UI',-apple-system,BlinkMacSystemFont,Arial,sans-serif;
    font-size:16px;line-height:1.7;color:#1e293b;
    background:#fdf8ee;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255,107,91,.08) 1px, transparent 0);
    background-size:24px 24px;
    background-attachment:fixed;
    min-height:100vh;
    -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:#ff6b5b;text-decoration:none;transition:color .18s ease}
a:hover{color:#e53e3e;text-decoration:underline}

h1,h2,h3,h4{font-family:'Playfair Display','Georgia',serif;font-weight:900;line-height:1.1;color:#1e293b;letter-spacing:-.5px}
h1{font-size:3.2rem}h2{font-size:2.3rem}h3{font-size:1.4rem}
p{margin-bottom:1em}
.container{max-width:1160px;margin:0 auto;padding:0 20px}
hr{border:none;border-top:2px dashed #f5c6a5;margin:40px auto;max-width:800px}

/* ================= HEADER ================= */
.site-header{
    background:#fdf8ee;border-bottom:3px solid #1e293b;
    position:sticky;top:0;z-index:99;
}
.header-inner{
    display:flex;align-items:center;justify-content:space-between;
    padding:14px 20px;gap:16px;max-width:1220px;margin:0 auto;flex-wrap:wrap;
}
.site-brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.site-brand:hover{text-decoration:none}
.site-brand .logo{
    width:46px;height:46px;border-radius:50%;
    background:#ff6b5b;color:#fdf8ee;
    display:flex;align-items:center;justify-content:center;
    font-family:'Playfair Display',serif;font-weight:900;font-size:24px;
    border:3px solid #1e293b;box-shadow:3px 3px 0 #1e293b;
    transform:rotate(-4deg);
}
.site-brand .name{
    font-family:'Playfair Display',serif;font-weight:900;font-size:1.35rem;
    color:#1e293b;line-height:1;
}
.site-brand .name em{font-style:italic;color:#ff6b5b}
.site-brand .site-tagline{
    font-size:.72rem;color:#64748b;margin-top:4px;font-weight:600;
    letter-spacing:1.5px;text-transform:uppercase;
}

/* Nav */
.main-nav{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.main-nav > ul{list-style:none;display:flex;gap:2px;align-items:center;margin:0;padding:0;flex-wrap:wrap}
.main-nav li{position:relative}
.main-nav > ul > li > a{
    display:inline-block;padding:8px 14px;color:#1e293b;font-weight:700;font-size:.88rem;
    letter-spacing:.5px;text-transform:uppercase;
}
.main-nav > ul > li > a:hover{color:#ff6b5b;text-decoration:none;transform:translateY(-1px)}
.has-dropdown > a::after{content:" \25BE";font-size:.7em;opacity:.6}
.dropdown{
    position:absolute;top:calc(100% + 6px);left:0;min-width:260px;
    background:#fdf8ee;border:2px solid #1e293b;border-radius:6px;padding:8px;list-style:none;
    box-shadow:6px 6px 0 #1e293b;opacity:0;visibility:hidden;transform:translateY(-4px);
    transition:all .15s ease;z-index:100;
}
.has-dropdown:hover .dropdown,.has-dropdown:focus-within .dropdown,.has-dropdown.open .dropdown{opacity:1;visibility:visible;transform:translateY(0)}
.dropdown li a{
    display:block;padding:9px 12px;border-radius:4px;color:#1e293b;
    font-size:.9rem;font-weight:600;text-transform:none;letter-spacing:0;
}
.dropdown li a:hover{background:#ff6b5b;color:#fdf8ee;text-decoration:none}

/* CTA */
.header-cta{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.btn{
    display:inline-block;padding:11px 22px;border:3px solid #1e293b;border-radius:999px;
    font-weight:800;font-size:.85rem;text-align:center;text-transform:uppercase;letter-spacing:.6px;
    cursor:pointer;text-decoration:none;transition:all .12s ease;
    box-shadow:4px 4px 0 #1e293b;
}
.btn:hover{text-decoration:none;transform:translate(-2px,-2px);box-shadow:6px 6px 0 #1e293b}
.btn:active{transform:translate(2px,2px);box-shadow:2px 2px 0 #1e293b}
.btn-coral{background:#ff6b5b;color:#fdf8ee}
.btn-teal{background:#14b8a6;color:#fdf8ee}
.btn-mustard{background:#f5a623;color:#1e293b}
.btn-lilac{background:#a78bfa;color:#fdf8ee}
.btn-cream{background:#fdf8ee;color:#1e293b}

.menu-toggle{display:none;background:transparent;border:none;font-size:1.6rem;color:#1e293b;cursor:pointer}

/* ================= HERO ================= */
.hero{
    padding:80px 20px 40px;position:relative;overflow:hidden;
}
.hero .container{max-width:1160px;display:grid;grid-template-columns:1.3fr 1fr;gap:60px;align-items:center}
.hero .left h1{font-size:4.2rem;line-height:.95;margin-bottom:22px;letter-spacing:-2px}
.hero .left h1 em{font-style:italic;color:#ff6b5b;font-weight:900}
.hero .left h1 .underline{background:linear-gradient(180deg,transparent 60%,#fef08a 60%);padding:0 4px}
.hero .left .kicker{
    display:inline-block;background:#1e293b;color:#fdf8ee;
    padding:6px 14px;font-size:.75rem;font-weight:800;
    letter-spacing:2px;text-transform:uppercase;margin-bottom:20px;
    transform:rotate(-1deg);
}
.hero .left .intro{
    font-size:1.1rem;color:#334155;max-width:520px;line-height:1.75;margin:20px 0 26px;
}
.hero .left .hero-ctas{display:flex;gap:12px;flex-wrap:wrap}

/* Right side: sticker collage */
.hero .right{position:relative;height:420px}
.sticker{
    position:absolute;padding:18px 22px;border:3px solid #1e293b;border-radius:14px;
    box-shadow:5px 5px 0 #1e293b;font-family:'Playfair Display',serif;font-weight:900;
    display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
}
.sticker .num{font-size:2.4rem;line-height:1}
.sticker .lbl{font-size:.72rem;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;margin-top:4px;font-family:'Inter',sans-serif}
.sticker.s1{top:0;left:0;background:#ff6b5b;color:#fdf8ee;transform:rotate(-6deg);width:180px;height:180px}
.sticker.s2{top:40px;right:20px;background:#14b8a6;color:#fdf8ee;transform:rotate(5deg);width:160px;height:160px}
.sticker.s3{bottom:20px;left:60px;background:#f5a623;color:#1e293b;transform:rotate(4deg);width:170px;height:150px}
.sticker.s4{bottom:0;right:0;background:#a78bfa;color:#fdf8ee;transform:rotate(-4deg);width:150px;height:150px}

/* ================= MARQUEE STAT STRIP ================= */
.marquee-strip{
    background:#1e293b;color:#fdf8ee;padding:16px 0;
    border-top:3px solid #1e293b;border-bottom:3px solid #1e293b;
    overflow:hidden;position:relative;
}
.marquee-track{
    display:flex;gap:60px;white-space:nowrap;animation:marquee 30s linear infinite;
    font-family:'Playfair Display',serif;font-weight:900;font-size:1.4rem;
}
.marquee-track span{display:inline-block;padding-right:60px;position:relative}
.marquee-track span::after{content:"\2733";position:absolute;right:16px;top:50%;transform:translateY(-50%);color:#f5a623;font-size:1.2rem}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ================= SECTION SHARED ================= */
.section{padding:70px 20px}
.section-head{text-align:center;max-width:760px;margin:0 auto 44px}
.section-head .kicker{
    display:inline-block;background:#1e293b;color:#fdf8ee;
    padding:6px 14px;font-size:.72rem;font-weight:800;
    letter-spacing:2px;text-transform:uppercase;margin-bottom:16px;
    transform:rotate(-1deg);
}
.section-head h2{font-size:2.6rem;margin-bottom:14px}
.section-head h2 em{color:#ff6b5b;font-style:italic}
.section-head p{color:#475569;font-size:1.05rem}

/* ================= STICKER CATEGORY GRID ================= */
.sticker-cats{
    display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:26px;
    max-width:1100px;margin:0 auto;
}
.st-cat{
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    text-align:center;padding:30px 20px;border:3px solid #1e293b;border-radius:20px;
    text-decoration:none;background:#fdf8ee;color:#1e293b;
    box-shadow:6px 6px 0 #1e293b;transition:all .15s ease;
    position:relative;
}
.st-cat:nth-child(1){transform:rotate(-2deg)}
.st-cat:nth-child(2){transform:rotate(1.5deg)}
.st-cat:nth-child(3){transform:rotate(-1deg)}
.st-cat:nth-child(4){transform:rotate(2deg)}
.st-cat:nth-child(5){transform:rotate(-1.5deg)}
.st-cat:nth-child(6){transform:rotate(1deg)}
.st-cat:nth-child(7){transform:rotate(-2deg)}
.st-cat:nth-child(8){transform:rotate(1.5deg)}
.st-cat:nth-child(9){transform:rotate(-1deg)}
.st-cat:nth-child(10){transform:rotate(2deg)}
.st-cat:nth-child(11){transform:rotate(-1.5deg)}
.st-cat:hover{
    transform:translate(-3px,-3px) rotate(0deg);
    box-shadow:9px 9px 0 #1e293b;text-decoration:none;color:#1e293b;
}
.st-cat .emj{font-size:3rem;margin-bottom:12px}
.st-cat .lbl{font-family:'Playfair Display',serif;font-weight:900;font-size:1.15rem;margin-bottom:4px}
.st-cat .price{
    display:inline-block;background:var(--tone,#fef08a);color:#1e293b;
    padding:3px 10px;font-size:.7rem;font-weight:800;letter-spacing:1px;
    text-transform:uppercase;border-radius:999px;margin-top:6px;
    border:2px solid #1e293b;
}

/* Big CTAs row */
.big-ctas{
    display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;
    max-width:900px;margin:40px auto 0;
}
.big-cta{
    display:flex;align-items:center;justify-content:space-between;gap:18px;
    padding:22px 28px;border:3px solid #1e293b;border-radius:16px;
    text-decoration:none;font-family:'Playfair Display',serif;font-weight:900;font-size:1.15rem;
    box-shadow:6px 6px 0 #1e293b;transition:all .15s ease;
}
.big-cta:hover{transform:translate(-3px,-3px);box-shadow:9px 9px 0 #1e293b;text-decoration:none}
.big-cta.coral{background:#ff6b5b;color:#fdf8ee}
.big-cta.coral:hover{color:#fdf8ee}
.big-cta.teal{background:#14b8a6;color:#fdf8ee}
.big-cta.teal:hover{color:#fdf8ee}
.big-cta .arr{font-size:1.5rem}

/* ================= TIMELINE HOW-TO ================= */
.timeline{max-width:820px;margin:0 auto;padding:20px}
.tl-step{
    display:grid;grid-template-columns:80px 1fr;gap:24px;
    padding:22px 26px;background:#fdf8ee;border:3px solid #1e293b;border-radius:20px;
    box-shadow:5px 5px 0 #1e293b;margin-bottom:22px;position:relative;
}
.tl-step .num{
    width:70px;height:70px;border-radius:50%;border:3px solid #1e293b;
    display:flex;align-items:center;justify-content:center;
    font-family:'Playfair Display',serif;font-weight:900;font-size:2rem;
    color:#fdf8ee;box-shadow:3px 3px 0 #1e293b;
}
.tl-step:nth-child(1) .num{background:#ff6b5b}
.tl-step:nth-child(2) .num{background:#14b8a6}
.tl-step:nth-child(3) .num{background:#f5a623;color:#1e293b}
.tl-step:nth-child(4) .num{background:#a78bfa}
.tl-step:nth-child(5) .num{background:#ec4899}
.tl-step:nth-child(6) .num{background:#0ea5e9}
.tl-step h3{font-size:1.35rem;margin-bottom:6px;color:#1e293b}
.tl-step p{color:#475569;margin-bottom:0;line-height:1.7}
.tl-step a{color:#ff6b5b;font-weight:700}

/* ================= POLAROID / MAGAZINE ARTICLE GRID ================= */
.polaroid-grid{
    display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:26px;
    max-width:1160px;margin:0 auto;
}
.polaroid{
    background:#fdf8ee;border:3px solid #1e293b;border-radius:8px;
    box-shadow:6px 6px 0 #1e293b;padding:12px 12px 20px;text-decoration:none;color:#1e293b;
    display:flex;flex-direction:column;transition:all .15s ease;
}
.polaroid:nth-child(3n+1){transform:rotate(-1.2deg)}
.polaroid:nth-child(3n+2){transform:rotate(.8deg)}
.polaroid:nth-child(3n+3){transform:rotate(-.5deg)}
.polaroid:hover{transform:translate(-3px,-3px) rotate(0deg);box-shadow:9px 9px 0 #1e293b;text-decoration:none;color:#1e293b}
.polaroid .thumb{
    height:140px;border-radius:4px;margin-bottom:14px;
    background:linear-gradient(135deg,var(--pc1,#ff6b5b),var(--pc2,#f5a623));
    display:flex;align-items:center;justify-content:center;color:#fdf8ee;
    font-family:'Playfair Display',serif;font-weight:900;font-size:2.2rem;
    border:2px solid #1e293b;
}
.polaroid .tag{
    display:inline-block;background:#1e293b;color:#fdf8ee;
    padding:3px 10px;font-size:.65rem;font-weight:800;letter-spacing:1.5px;
    text-transform:uppercase;align-self:flex-start;margin-bottom:8px;
}
.polaroid h3{font-family:'Playfair Display',serif;font-size:1.15rem;line-height:1.25;margin-bottom:8px;padding:0 8px}
.polaroid .excerpt{font-size:.88rem;color:#64748b;padding:0 8px;line-height:1.55}
.polaroid .more{margin-top:auto;padding:10px 8px 0;color:#ff6b5b;font-weight:800;font-size:.82rem;text-transform:uppercase;letter-spacing:1px}

/* ================= SINGLE POST / PAGE ================= */
.article-wrap{max-width:800px;margin:0 auto;padding:60px 20px}
.article-head{margin-bottom:36px;text-align:center}
.article-head .crumbs{
    display:inline-block;background:#1e293b;color:#fdf8ee;padding:5px 14px;
    font-size:.72rem;font-weight:800;letter-spacing:1.5px;text-transform:uppercase;
    margin-bottom:20px;
}
.article-head .crumbs a{color:#f5a623;font-weight:800}
.article-head h1{font-size:2.8rem;margin-bottom:14px;line-height:1.05}
.article-head .meta{color:#64748b;font-size:.85rem;letter-spacing:.5px;text-transform:uppercase;font-weight:600}
.article-body{
    background:#fdf8ee;padding:44px;border:3px solid #1e293b;border-radius:20px;
    box-shadow:8px 8px 0 #1e293b;font-size:1.02rem;color:#334155;
}
.article-body h2{
    margin:30px 0 14px;font-family:'Playfair Display',serif;font-size:1.7rem;color:#1e293b;
    position:relative;padding-left:18px;
}
.article-body h2::before{
    content:"";position:absolute;left:0;top:8px;bottom:8px;width:6px;background:#ff6b5b;border-radius:3px;
}
.article-body h3{margin:22px 0 10px;font-family:'Playfair Display',serif;font-size:1.3rem;color:#ff6b5b;font-style:italic}
.article-body p{margin-bottom:14px;line-height:1.85}
.article-body ul,.article-body ol{margin:0 0 18px 22px;color:#334155}
.article-body li{margin-bottom:8px;line-height:1.75}
.article-body a{color:#ff6b5b;font-weight:700;text-decoration:underline;text-decoration-style:wavy;text-underline-offset:3px}
.article-body a:hover{color:#e53e3e}
.article-body strong{color:#1e293b;background:#fef08a;padding:0 4px}

.related-block{margin-top:44px;padding-top:32px;border-top:2px dashed #f5c6a5}
.related-block h3{margin-bottom:20px;color:#1e293b;font-family:'Playfair Display',serif;font-size:1.5rem}
.related-block .rel-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}
.related-block .rel-list a{
    background:#fdf8ee;padding:16px 18px;border:2px solid #1e293b;border-radius:10px;
    color:#1e293b;font-family:'Playfair Display',serif;font-weight:700;font-size:.95rem;
    display:block;transition:all .12s ease;box-shadow:3px 3px 0 #1e293b;
}
.related-block .rel-list a:hover{
    background:#ff6b5b;color:#fdf8ee;text-decoration:none;
    transform:translate(-2px,-2px);box-shadow:5px 5px 0 #1e293b;
}

/* ================= FLOATING CTA ================= */
.floating-cta{
    position:fixed;bottom:24px;right:24px;z-index:200;
    display:flex;align-items:center;gap:10px;
    background:#14b8a6;color:#fdf8ee;padding:14px 22px;
    border:3px solid #1e293b;border-radius:999px;
    font-weight:800;font-size:.9rem;text-decoration:none;text-transform:uppercase;letter-spacing:1px;
    box-shadow:5px 5px 0 #1e293b;transition:all .12s ease;
}
.floating-cta:hover{
    color:#fdf8ee;text-decoration:none;
    transform:translate(-2px,-2px);box-shadow:7px 7px 0 #1e293b;
}
.floating-cta .ico{font-size:1.15rem}

/* ================= FOOTER ================= */
.site-footer{
    margin-top:80px;background:#1e293b;color:#fdf8ee;
    padding:50px 20px 20px;border-top:5px solid #ff6b5b;
    background-image:
        repeating-linear-gradient(-45deg,transparent 0,transparent 22px,rgba(255,107,91,.06) 22px,rgba(255,107,91,.06) 24px);
}
.footer-inner{max-width:1160px;margin:0 auto;display:grid;grid-template-columns:2fr 1fr 1fr;gap:36px}
.footer-inner h4{
    color:#f5a623;margin-bottom:14px;font-family:'Playfair Display',serif;
    font-size:1.15rem;font-weight:900;letter-spacing:.5px;
}
.footer-inner p{color:#cbd5e1;font-size:.92rem;line-height:1.7}
.footer-inner ul{list-style:none;padding:0}
.footer-inner li{margin-bottom:8px}
.footer-inner a{color:#cbd5e1;font-size:.92rem;font-weight:500}
.footer-inner a:hover{color:#f5a623;text-decoration:none}
.disclaimer{
    background:rgba(253,248,238,.05);border:2px dashed rgba(245,166,35,.35);border-radius:10px;
    padding:18px 22px;margin:26px auto 0;max-width:1160px;
    font-size:.85rem;color:#cbd5e1;line-height:1.65;
}
.disclaimer strong{color:#f5a623}
.copyright{
    text-align:center;margin-top:22px;padding-top:20px;
    border-top:1px solid rgba(245,166,35,.15);
    font-size:.82rem;color:#94a3b8;letter-spacing:1px;text-transform:uppercase;
}

/* ================= RESPONSIVE ================= */
@media (max-width:1000px){
    .hero .container{grid-template-columns:1fr;text-align:center}
    .hero .left h1{font-size:3rem}
    .hero .left .kicker{margin-left:auto;margin-right:auto}
    .hero .right{height:340px;margin-top:20px}
    .hero .left .hero-ctas{justify-content:center}
    .footer-inner{grid-template-columns:1fr;text-align:center}
}
@media (max-width:760px){
    .menu-toggle{display:inline-block}
    .main-nav{
        position:absolute;top:100%;left:0;right:0;background:#fdf8ee;
        flex-direction:column;padding:14px;display:none;
        border-bottom:3px solid #1e293b;
    }
    .main-nav.open{display:flex}
    .main-nav > ul{flex-direction:column;width:100%;align-items:stretch;gap:2px}
    .main-nav > ul > li{width:100%}
    .main-nav > ul > li > a{display:block;padding:12px 14px}
    .dropdown{position:static;box-shadow:none;opacity:1;visibility:visible;transform:none;min-width:0;padding-left:14px;border:none;background:transparent;display:none}
    .has-dropdown.open .dropdown{display:block}
    .header-cta{width:100%;justify-content:center}
    .hero .left h1{font-size:2.4rem}
    .hero .right{height:280px}
    .sticker{padding:12px 14px}
    .sticker .num{font-size:1.8rem}
    .sticker.s1{width:140px;height:140px}
    .sticker.s2{width:130px;height:130px}
    .sticker.s3{width:135px;height:120px}
    .sticker.s4{width:120px;height:120px}
    .article-body{padding:24px}
    h1{font-size:1.9rem}h2{font-size:1.6rem}
    .article-head h1{font-size:2rem}
    .article-body h2{font-size:1.4rem}
    .floating-cta{bottom:14px;right:14px;padding:12px 18px;font-size:.8rem}
    .tl-step{grid-template-columns:60px 1fr;padding:18px 20px}
    .tl-step .num{width:54px;height:54px;font-size:1.6rem}
}
