/*
Theme Name: Superbuy Boutique
Theme URI: https://sheetcn.com/
Author: Superbuy
Author URI: https://sheetcn.com/
Description: Western-boutique-themed SEO site for the Superbuy Spreadsheet affiliate hub. Multi-color pastel palette with abstract shopper hero, fashion-forward product icons, and six keyword-optimised articles for Google indexing.
Version: 1.0.0
Requires at least: 5.5
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: superbuy-boutique
Tags: one-column, custom-menu, featured-images, seo, affiliate
*/

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.72;
    color: #44403c;
    background: #fffaf0;
    -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: #db2777; text-decoration: none; transition: color .2s ease; }
a:hover { color: #be185d; }

h1, h2, h3, h4 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 700;
    line-height: 1.25;
    color: #4c1d95;
    margin: 0 0 .6em;
    letter-spacing: -0.015em;
}
h1 { font-size: 2.3rem; }
h2 { font-size: 1.65rem; margin-top: 1.8em; }
h3 { font-size: 1.25rem; margin-top: 1.4em; }
p { margin: 0 0 1em; }

ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: .4em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
    background: rgba(255, 250, 240, .9);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid #fbcfe8;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 0;
}
.site-brand a {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: #4c1d95;
    letter-spacing: -0.015em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-style: italic;
}
.site-brand .brand-accent { color: #db2777; }
.site-brand .brand-mark {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbcfe8 0%, #c4b5fd 50%, #a7f3d0 100%);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(236,72,153,.25);
    font-style: normal;
}

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav > ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; }
.main-nav a,
.main-nav .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    color: #44403c;
    font-weight: 600;
    font-size: .95rem;
    border-radius: 999px;
    background: none;
    border: 0;
    cursor: pointer;
    font-family: inherit;
}
.main-nav a:hover,
.main-nav .nav-toggle:hover { background: #fdf2f8; color: #db2777; }
.main-nav .caret { font-size: .7rem; }

.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 300px;
    background: #ffffff;
    border: 1px solid #fbcfe8;
    border-radius: 16px;
    box-shadow: 0 14px 32px rgba(236,72,153,.15), 0 4px 10px rgba(0,0,0,.04);
    padding: 10px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all .18s ease;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu li { margin: 0; }
.dropdown-menu a {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 500;
    color: #44403c;
    font-size: .92rem;
}
.dropdown-menu a:hover { background: #fdf2f8; color: #db2777; }

.mobile-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 1.4rem;
    cursor: pointer;
    color: #4c1d95;
}

/* ---------- Hero (Western boutique shopping scene) ---------- */
.hero {
    position: relative;
    background:
        radial-gradient(900px 400px at 85% 10%, rgba(251, 207, 232, .55), transparent 70%),
        radial-gradient(800px 500px at 10% 90%, rgba(196, 181, 253, .5), transparent 70%),
        radial-gradient(700px 350px at 50% 50%, rgba(253, 224, 71, .35), transparent 75%),
        radial-gradient(600px 300px at 30% 20%, rgba(167, 243, 208, .4), transparent 70%),
        linear-gradient(170deg, #fffaf0 0%, #fdf2f8 35%, #f5f3ff 65%, #ecfdf5 100%);
    padding: 110px 0 130px;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid #fbcfe8;
}
.hero-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.hero-decor svg { position: absolute; }

.hero-shopper { bottom: 8%; right: 6%; width: 190px; animation: shopperSway 6s ease-in-out infinite; }
.hero-bags { bottom: 10%; left: 7%; width: 150px; animation: bagJiggle 4s ease-in-out infinite; }
.hero-hanger-a { top: 10%; left: 18%; width: 110px; animation: hangerSwing 7s ease-in-out infinite; transform-origin: top center; }
.hero-hanger-b { top: 14%; right: 20%; width: 100px; animation: hangerSwing 6s ease-in-out infinite reverse; transform-origin: top center; }
.hero-pricetag { top: 38%; right: 10%; width: 70px; animation: tagFloat 5s ease-in-out infinite; }
.hero-lipstick { top: 50%; left: 10%; width: 42px; animation: tagFloat 6s ease-in-out infinite 1s; }
.hero-balloon { top: 20%; right: 42%; width: 55px; animation: balloonBob 4s ease-in-out infinite; }
.hero-sparkle-a { top: 25%; left: 44%; width: 24px; animation: sparkle 3s ease-in-out infinite; }
.hero-sparkle-b { top: 60%; right: 32%; width: 20px; animation: sparkle 4s ease-in-out infinite .5s; }
.hero-sparkle-c { bottom: 25%; left: 38%; width: 18px; animation: sparkle 3.5s ease-in-out infinite 1s; }
.hero-sparkle-d { top: 35%; left: 30%; width: 22px; animation: sparkle 3.5s ease-in-out infinite 1.5s; }
.hero-confetti { top: 60%; left: 55%; width: 60px; opacity: .9; }

@keyframes shopperSway {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-6px) rotate(1deg); }
}
@keyframes bagJiggle {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-5px) rotate(2deg); }
}
@keyframes hangerSwing {
    0%, 100% { transform: rotate(-4deg); }
    50% { transform: rotate(4deg); }
}
@keyframes tagFloat {
    0%, 100% { transform: translateY(0) rotate(-8deg); }
    50% { transform: translateY(-12px) rotate(8deg); }
}
@keyframes balloonBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes sparkle {
    0%, 100% { opacity: .3; transform: scale(0.8) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.2) rotate(45deg); }
}

.hero-inner { position: relative; z-index: 1; }
.hero .eyebrow {
    display: inline-block;
    background: rgba(255,255,255,.9);
    border: 1px solid #fbcfe8;
    color: #be185d;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: 999px;
    margin-bottom: 22px;
    box-shadow: 0 4px 12px rgba(236,72,153,.15);
}
.hero h1 {
    font-size: 3rem;
    max-width: 880px;
    margin: 0 auto .5em;
    letter-spacing: -0.025em;
    color: #4c1d95;
    font-style: italic;
}
.hero h1 .accent {
    background: linear-gradient(90deg, #db2777, #a855f7, #10b981);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-style: normal;
}
.hero .lede {
    font-size: 1.2rem;
    color: #57534e;
    max-width: 760px;
    margin: 0 auto 2.4em;
    line-height: 1.65;
}
.cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    white-space: nowrap;
    font-family: inherit;
    letter-spacing: .02em;
}
.btn-primary {
    background: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(236,72,153,.3);
}
.btn-primary:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(236,72,153,.4);
}
.btn-secondary {
    background: #ffffff;
    color: #db2777;
    border-color: #fbcfe8;
}
.btn-secondary:hover {
    background: #db2777;
    color: #ffffff;
    border-color: #db2777;
    transform: translateY(-2px);
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-light { background: #ffffff; }
.section-tint {
    background:
        radial-gradient(600px 220px at 15% 0%, rgba(253, 242, 248, .9), transparent 70%),
        radial-gradient(500px 220px at 85% 100%, rgba(245, 243, 255, .9), transparent 70%),
        #fffaf0;
}
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: .4em;
    font-style: italic;
}
.section-sub {
    text-align: center;
    color: #78716c;
    max-width: 720px;
    margin: 0 auto 2.8em;
    font-size: 1.02rem;
}

/* ---------- Category grid (boutique display cards) ---------- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #ffffff;
    border-radius: 24px;
    padding: 32px 20px 26px;
    color: #4c1d95;
    font-weight: 700;
    transition: all .3s ease;
    position: relative;
    box-shadow: 0 4px 12px rgba(236,72,153,.08);
    border: 1px solid rgba(236,72,153,.08);
    overflow: hidden;
}
.category-card:before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: var(--bg, #fdf2f8);
    z-index: 0;
    transition: height .3s ease;
}
.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 36px var(--shadow, rgba(236,72,153,.18));
    color: var(--primary);
}
.category-card:hover:before { height: 60%; }
.category-card .icon-wrap {
    width: 96px;
    height: 96px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
    transition: transform .3s ease;
}
.category-card:hover .icon-wrap { transform: scale(1.08); }
.category-card .icon-wrap svg { width: 76px; height: 76px; }
.category-card .label {
    font-size: 1.02rem;
    position: relative;
    z-index: 1;
    letter-spacing: -0.01em;
}
.category-card .sparkle {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 20px;
    height: 20px;
    opacity: 0;
    transform: scale(0.5);
    transition: all .3s ease;
    z-index: 2;
}
.category-card:hover .sparkle { opacity: 1; transform: scale(1); }

/* per-card themes */
.cat-shoes       { --bg:#fdf2f8; --primary:#be185d; --shadow:rgba(190,24,93,.18); }
.cat-hoodies     { --bg:#ecfdf5; --primary:#047857; --shadow:rgba(4,120,87,.18); }
.cat-tshirts     { --bg:#eff6ff; --primary:#1d4ed8; --shadow:rgba(29,78,216,.18); }
.cat-jackets     { --bg:#f5f3ff; --primary:#6d28d9; --shadow:rgba(109,40,217,.18); }
.cat-pants       { --bg:#fef3c7; --primary:#b45309; --shadow:rgba(180,83,9,.18); }
.cat-headwear    { --bg:#fff1f2; --primary:#be123c; --shadow:rgba(190,18,60,.18); }
.cat-accessories { --bg:#f0fdfa; --primary:#0f766e; --shadow:rgba(15,118,110,.18); }
.cat-other       { --bg:#fef9c3; --primary:#a16207; --shadow:rgba(161,98,7,.18); }

/* ---------- Article grid ---------- */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.article-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: all .22s ease;
    position: relative;
    border: 1px solid rgba(167,139,250,.15);
    box-shadow: 0 6px 18px rgba(167,139,250,.08);
    overflow: hidden;
}
.article-card:before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #fbcfe8 0%, #c4b5fd 100%);
    border-radius: 50%;
    opacity: .25;
    transition: all .3s ease;
}
.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 32px rgba(167,139,250,.18);
}
.article-card:hover:before { transform: scale(1.3); opacity: .35; }
.article-card .tag {
    display: inline-block;
    background: linear-gradient(135deg, #fdf2f8, #f5f3ff);
    color: #be185d;
    font-size: .72rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 999px;
    letter-spacing: .1em;
    text-transform: uppercase;
    align-self: flex-start;
    margin-bottom: 16px;
    border: 1px solid #fbcfe8;
    position: relative;
    z-index: 1;
}
.article-card h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    color: #4c1d95;
    position: relative;
    z-index: 1;
    font-style: italic;
}
.article-card p {
    color: #57534e;
    font-size: .94rem;
    flex-grow: 1;
    margin-bottom: 1.1em;
    position: relative;
    z-index: 1;
}
.article-card .read-more {
    font-weight: 700;
    font-size: .9rem;
    align-self: flex-start;
    color: #db2777;
    position: relative;
    z-index: 1;
}
.article-card .read-more:after { content: " ❀"; }

/* ---------- Content ---------- */
.content-area {
    max-width: 820px;
    margin: 0 auto;
    padding: 70px 20px 20px;
}
.content-area h1 {
    font-size: 2.5rem;
    letter-spacing: -0.025em;
    font-style: italic;
    text-align: center;
    margin-bottom: 1em;
}
.content-area h2 { font-size: 1.6rem; font-style: italic; }
.content-area h3 { font-size: 1.22rem; }
.content-area ul li, .content-area ol li { color: #44403c; }
.content-area .lede {
    font-size: 1.14rem;
    color: #57534e;
    margin-bottom: 1.6em;
    text-align: center;
    font-style: italic;
}
.content-area .inline-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 32px 0;
    justify-content: center;
}
.related-box {
    margin-top: 54px;
    padding: 32px 34px;
    background: linear-gradient(135deg, #fdf2f8 0%, #f5f3ff 50%, #ecfdf5 100%);
    border-radius: 24px;
    border: 1px solid #fbcfe8;
}
.related-box h3 { margin-top: 0; color: #4c1d95; font-style: italic; }
.related-box ul { margin-bottom: 0; }
.related-box a { color: #db2777; font-weight: 600; }

.back-home {
    display: inline-block;
    margin-top: 36px;
    font-weight: 700;
    color: #db2777;
}
.back-home:before { content: "❀ "; }

/* ---------- Footer ---------- */
.site-footer {
    background: linear-gradient(135deg, #4c1d95 0%, #831843 100%);
    color: #e9d5ff;
    padding: 60px 0 24px;
    margin-top: 70px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 32px;
}
.site-footer h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 14px;
    font-style: italic;
    font-size: 1.1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #e9d5ff; font-size: .92rem; }
.site-footer a:hover { color: #fbcfe8; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.15);
    padding-top: 20px;
    text-align: center;
    font-size: .85rem;
    color: #c4b5fd;
}
.footer-bottom a { color: #fbcfe8; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .article-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 2.4rem; }
}

@media (max-width: 720px) {
    h1 { font-size: 1.9rem; }
    .hero { padding: 60px 0 90px; }
    .hero h1 { font-size: 2rem; }
    .hero .lede { font-size: 1.02rem; }
    .section { padding: 56px 0; }
    .section-title { font-size: 1.7rem; }
    .hero-shopper { width: 110px; }
    .hero-bags { width: 95px; }
    .hero-hanger-a, .hero-hanger-b { width: 65px; }
    .hero-pricetag { width: 45px; }
    .hero-lipstick { width: 28px; }
    .hero-balloon { width: 36px; }
    .hero-confetti { width: 40px; }

    .mobile-toggle { display: inline-flex; }
    .main-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: #ffffff;
        border-top: 1px solid #fbcfe8;
        box-shadow: 0 10px 20px rgba(0,0,0,.05);
        display: none;
        padding: 10px 16px;
    }
    .main-nav.open { display: block; }
    .main-nav > ul {
        flex-direction: column;
        gap: 2px;
    }
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: 0;
        padding-left: 10px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: #fdf2f8;
    }
    .dropdown.open .dropdown-menu { display: block; }

    .article-grid { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 420px) {
    .btn { padding: 12px 22px; font-size: .95rem; }
    .category-card { padding: 24px 14px 20px; }
    .category-card .icon-wrap { width: 76px; height: 76px; }
    .category-card .icon-wrap svg { width: 60px; height: 60px; }
}
