@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Nunito:wght@700;800;900&display=swap');
:root{--ink:#29251f;--muted:#77716a;--orange:#ff9f1c;--yellow:#ffd166;--coral:#ff6b5f;--cream:#fffaf0;--line:#f0e7d7;--green:#247a50}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fffefa;color:var(--ink);font-family:"DM Sans",Arial,sans-serif}
a{color:inherit;text-decoration:none}
.site-header{height:76px;padding:0 max(5vw,24px);display:flex;align-items:center;justify-content:space-between;background:#fff;position:sticky;top:0;z-index:5;border-bottom:1px solid #f5eee2}
.brand{display:flex;align-items:center;gap:9px;font:900 25px Nunito,sans-serif;letter-spacing:-1px}
.sun-mark{display:grid;place-items:center;background:var(--yellow);width:35px;height:35px;border-radius:50%;color:#9c5a00;font-size:23px}
.brand-sun{color:#f28b16}
.desktop-nav{display:flex;gap:34px;color:#655e55;font-size:14px;font-weight:700}
.desktop-nav a:hover{color:#e9850a}
.header-cta,.hero-button{background:var(--ink);color:white;padding:12px 18px;border-radius:30px;font-size:13px;font-weight:800}
.header-cta span,.hero-button span{margin-left:8px;color:var(--yellow)}
.hero{min-height:490px;background:linear-gradient(115deg,#fff3d6 0%,#fff8e9 54%,#ffe6c7 100%);padding:68px max(8vw,28px);display:grid;grid-template-columns:1.05fr .95fr;align-items:center;overflow:hidden}
.hero-copy{max-width:590px;position:relative;z-index:1}
.eyebrow{font-size:11px;letter-spacing:1.7px;font-weight:800;color:#bd7414}
.sparkle{color:#f29a19;font-size:17px;margin-right:6px}
h1,h2,h3,p{margin-top:0}
h1{font:900 clamp(44px,6vw,76px)/.99 Nunito,sans-serif;letter-spacing:-3px;margin:18px 0}
h1 span{color:#f08a13}
.hero-copy>p{max-width:470px;color:#6d6255;font-size:16px;line-height:1.75;margin-bottom:25px}
.hero-button{display:inline-block;background:#f28b16;padding:15px 22px;box-shadow:0 8px 18px #ef9d3040}
.hero-note{margin-top:25px;font-size:12px;color:#8b7962;font-weight:700}
.tiny-sun{color:#f29a19;margin-right:7px}
.hero-art{height:330px;position:relative;max-width:480px;width:100%;justify-self:center}
.art-sun{position:absolute;width:260px;height:260px;border-radius:50%;background:#ffd166;right:55px;top:25px;box-shadow:0 0 0 22px #ffd16635}
.art-card{position:absolute;width:150px;height:190px;border-radius:22px;padding:22px 18px;box-shadow:0 18px 35px #8c5a2430;font:900 20px/1.1 Nunito,sans-serif;display:flex;flex-direction:column;justify-content:space-between;transform:rotate(-10deg)}
.card-one{background:#ff765f;color:white;left:28px;top:68px}
.card-one b{font-size:36px;align-self:flex-end}
.card-two{background:#fffdf7;color:#4e4539;right:35px;top:120px;transform:rotate(9deg)}
.card-two b{font-size:40px;color:#f39a18;align-self:flex-end}
.art-circle{position:absolute;right:135px;bottom:0;background:#5b9b76;color:white;width:112px;height:112px;border-radius:50%;display:grid;place-content:center;text-align:center;font-size:12px;line-height:1.3;transform:rotate(-8deg);box-shadow:0 10px 25px #42795a45}
.art-circle strong{font:900 19px Nunito}
.art-spark{position:absolute;color:#f28b16;font-size:37px}.spark-a{right:12px;top:30px}.spark-b{left:20px;bottom:30px}
.deal-section{padding:76px max(6vw,24px) 65px;max-width:1440px;margin:auto}
.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:25px}
.section-heading h2,.sunshine-banner h2{font:900 clamp(28px,3.5vw,40px) Nunito,sans-serif;letter-spacing:-1.3px;margin:8px 0}
.section-heading h2 span{color:#f29a19;font-size:25px}
.section-subtitle{color:var(--muted);font-size:14px;margin:0}
.deal-count{background:#fff2d8;color:#a7650b;padding:9px 14px;border-radius:30px;font-size:12px;font-weight:800}
.toolbar{display:flex;gap:12px;margin:25px 0 28px}
.search-box{flex:1;display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:12px;padding:0 14px;background:#fff;height:48px}
.search-box span{font-size:25px;color:#b7a58b}
.search-box input{border:0;outline:0;width:100%;font:14px "DM Sans";color:var(--ink)}
.toolbar select{border:1px solid var(--line);border-radius:12px;background:#fff;padding:0 34px 0 13px;font:600 13px "DM Sans";color:#554e45;min-width:150px}
.status-panel{border:2px dashed #f2d9a8;background:#fffbf1;border-radius:22px;text-align:center;padding:48px 20px;max-width:650px;margin:0 auto}
.status-icon{font-size:38px;color:#f29a19}
.status-panel h3{font:900 24px Nunito;margin:12px 0 8px}
.status-panel p{max-width:480px;margin:0 auto 20px;color:#77716a;font-size:14px;line-height:1.65}
.status-panel code{background:#fff0cf;padding:2px 5px;border-radius:4px;color:#8b5b12}
.upload-button,.secondary-button{display:inline-block;border:0;border-radius:30px;background:#f28b16;color:white;padding:13px 22px;font:800 13px "DM Sans";cursor:pointer}
.product-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.product-card{border:1px solid #f0e9dd;border-radius:17px;overflow:hidden;background:white;transition:transform .2s,box-shadow .2s;display:flex;flex-direction:column;min-width:0}
.product-card:hover{transform:translateY(-4px);box-shadow:0 13px 30px #6b4c1a12}
.image-wrap{width:100%;aspect-ratio:1 / 1;flex:none;background:#fffaf2;position:relative;overflow:hidden}
/* object-fit: contain = whole picture visible; change to cover to fill the box (crops edges) */
.product-image{position:absolute;inset:0;width:100%;height:100%;padding:12px;object-fit:contain}
.image-placeholder{position:absolute;inset:0;display:grid;place-items:center;font-size:52px;color:#e9b65f}
.discount-pill{position:absolute;top:12px;left:12px;background:#ff705f;color:#fff;border-radius:20px;padding:6px 10px;font-size:11px;font-weight:900}
.card-content{padding:16px;display:flex;flex-direction:column;flex:1}
.product-name{font:800 15px/1.35 Nunito,sans-serif;margin:0 0 7px;overflow-wrap:anywhere}
.product-note{font-size:12px;color:#77716a;line-height:1.5;margin:0 0 12px;display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.price-row{display:flex;align-items:baseline;gap:8px;margin-top:auto;margin-bottom:10px}
.sale-price{font:900 22px Nunito;color:#e77817}
.original-price{font-size:12px;color:#999;text-decoration:line-through}
.coupon-code{background:#fff5dc;border:1px dashed #edc16e;color:#8c5c12;border-radius:7px;padding:7px 9px;font-size:11px;margin:0 0 12px;overflow-wrap:anywhere}
.deal-button{display:block;text-align:center;background:#29251f;color:#fff;padding:12px;border-radius:9px;font-size:12px;font-weight:800}
.deal-button:hover{background:#ef8c16}
.empty-results{text-align:center;padding:35px;color:#777}
.load-row{text-align:center;margin-top:26px}
.secondary-button{background:#fff1d6;color:#a7650b;border:1px solid #f1d49e}
.data-hint{text-align:center;color:#999;font-size:11px;margin-top:14px}
.sunshine-banner{margin:0 max(6vw,24px) 70px;border-radius:24px;background:#ffedc6;padding:35px 42px;display:flex;align-items:center;gap:24px}
.banner-sun{font-size:55px;color:#ed9415}
.sunshine-banner h2{margin:4px 0;font-size:29px}
.sunshine-banner p{margin:0;color:#77664e;font-size:13px}
.sunshine-banner>a{margin-left:auto;background:white;padding:13px 18px;border-radius:30px;font-size:12px;font-weight:800;white-space:nowrap}
.sunshine-banner>a span{color:#e78a16;margin-left:7px}
.site-footer{text-align:center;padding:35px 24px 25px;background:#29251f;color:#fff}
.footer-brand{justify-content:center;color:white}
.footer-brand .brand-sun{color:#ffd166}
.site-footer>p{color:#c9c0b4;font-size:12px;margin:10px 0}
.site-footer .disclosure{max-width:650px;margin:20px auto;color:#a9a196;line-height:1.6;font-size:11px}
.copyright{color:#8d857a;font-size:10px}
[hidden]{display:none!important}
@media(max-width:1200px){.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:950px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero{padding-left:6vw;padding-right:6vw}.art-sun{right:25px}.card-two{right:5px}}
@media(max-width:700px){.site-header{height:66px}.desktop-nav{display:none}.hero{grid-template-columns:1fr;padding:55px 25px 35px}.hero-art{height:260px;max-width:390px;margin-top:18px}.art-sun{width:205px;height:205px;right:70px;top:15px}.art-card{width:120px;height:150px;font-size:16px;padding:17px}.card-one{left:25px;top:45px}.card-two{right:20px;top:90px}.art-circle{width:88px;height:88px;right:125px}.section-heading{align-items:start;gap:12px;flex-direction:column}.toolbar{flex-wrap:wrap}.search-box{flex-basis:100%}.toolbar select{flex:1;min-width:0;height:44px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.image-wrap{height:auto;aspect-ratio:1 / 1;padding:10px}.card-content{padding:12px}.product-name{font-size:14px}.sale-price{font-size:19px}.sunshine-banner{margin:0 18px 45px;padding:25px;gap:13px;flex-wrap:wrap}.banner-sun{font-size:40px}.sunshine-banner>a{margin-left:0}.sunshine-banner h2{font-size:24px}}
@media(max-width:380px){.product-grid{grid-template-columns:1fr}.image-wrap{height:auto;aspect-ratio:1 / 1}.header-cta{font-size:11px;padding:10px 13px}}

.copy-toast{position:fixed;left:50%;bottom:28px;z-index:20;transform:translate(-50%,18px);background:#29251f;color:#fff;padding:13px 20px;border-radius:30px;box-shadow:0 10px 30px #29251f35;font-size:13px;font-weight:800;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:calc(100vw - 32px);text-align:center}
.copy-toast.show{opacity:1;transform:translate(-50%,0)}

/* "Code copied" message shown for ~1s before the deal opens */
.copy-overlay{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:20px;background:#29251fb8;backdrop-filter:blur(3px);animation:overlayIn .15s ease-out}
.copy-card{background:#fff;border-radius:24px;padding:30px 34px 26px;width:min(380px,100%);text-align:center;box-shadow:0 25px 70px #00000055;animation:cardPop .25s cubic-bezier(.2,1.4,.4,1)}
.copy-check{width:68px;height:68px;margin:0 auto 14px;border-radius:50%;background:var(--green);color:#fff;font:900 38px/68px Nunito,sans-serif;box-shadow:0 0 0 8px #247a5022}
.copy-card h3{font:900 30px Nunito,sans-serif;letter-spacing:-.8px;margin:0 0 12px;color:var(--ink)}
.copy-code{display:inline-block;max-width:100%;background:#fff5dc;border:2px dashed #edc16e;color:#8c5c12;border-radius:10px;padding:10px 18px;font:800 22px "DM Sans",monospace;letter-spacing:1.5px;overflow-wrap:anywhere;user-select:all}
.copy-card p{color:var(--muted);font-size:13px;margin:14px 0 16px}
.copy-bar{height:6px;border-radius:6px;background:#f3ead8;overflow:hidden}
.copy-bar span{display:block;height:100%;width:0;background:#f28b16;border-radius:6px;animation:barFill var(--stay,1s) linear forwards}
@keyframes overlayIn{from{opacity:0}to{opacity:1}}
@keyframes cardPop{from{transform:scale(.85);opacity:0}to{transform:scale(1);opacity:1}}
@keyframes barFill{to{width:100%}}
@media(prefers-reduced-motion:reduce){.copy-overlay,.copy-card{animation:none}}

/* EN / 中文 title switch */
.lang-toggle{display:flex;border:1px solid var(--line);border-radius:12px;background:#fff;padding:4px;gap:4px;height:48px;flex:none}
.lang-toggle button{border:0;background:transparent;border-radius:9px;padding:0 16px;font:800 13px "DM Sans","PingFang SC","Microsoft YaHei",sans-serif;color:#77716a;cursor:pointer;transition:background .15s,color .15s}
.lang-toggle button:hover{color:var(--ink)}
.lang-toggle button.active{background:#f28b16;color:#fff;box-shadow:0 3px 8px #ef9d3040}
.product-name[lang="zh"]{font-family:"PingFang SC","Microsoft YaHei","Noto Sans SC","Hiragino Sans GB",sans-serif;font-weight:700}
@media(max-width:700px){.lang-toggle{height:44px}.lang-toggle button{padding:0 14px}}

/* 中文 mode: make sure every control uses a Chinese-capable font */
body[data-lang="zh"]{font-family:"DM Sans","PingFang SC","Microsoft YaHei","Noto Sans SC","Hiragino Sans GB",Arial,sans-serif}
body[data-lang="zh"] select,body[data-lang="zh"] input,body[data-lang="zh"] .copy-card h3,body[data-lang="zh"] .sale-price{font-family:inherit}

.brand-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
}

.footer-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
    border-radius: 50%;
    background: white;
}

/* Mobile two-column layout */
@media (max-width: 700px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .image-wrap {
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .product-name {
        font-size: 13px;
    }

    .sale-price {
        font-size: 18px;
    }

    .deal-button {
        font-size: 11px;
    }
}