/*
Theme Name: ShopRank Landing
Theme URI: https://example.com/
Author: ShopRank
Description: 광고주 전용 쇼핑몰 광고 랜딩페이지. ShopRank 광고 관리 플러그인과 연동됩니다.
Version: 1.2.0
Requires at least: 6.1
Requires PHP: 7.4
Text Domain: shoprank-landing
*/
:root{--sr-ink:#18191b;--sr-warm:#a58557;--sr-muted:#74767b;--sr-border:#e8e5df;--sr-off:#f8f7f4;--sr-max:1210px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fbfaf8;color:var(--sr-ink);font-family:-apple-system,BlinkMacSystemFont,'Pretendard','Apple SD Gothic Neo','Malgun Gothic',sans-serif;-webkit-font-smoothing:antialiased;font-size:15px}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}img{max-width:100%;height:auto}.sr-layout{width:min(calc(100% - 48px),var(--sr-max));margin:auto}.sr-site-head{height:78px;background:rgba(255,255,255,.95);border-bottom:1px solid #f0efec;display:flex;align-items:center}.sr-site-head .sr-layout{display:flex;align-items:center;justify-content:space-between}.sr-logo{display:inline-flex;align-items:center;gap:10px;font-size:24px;letter-spacing:-1.2px;font-weight:900;color:#1c1d1d}.sr-logo-emblem{width:30px;height:30px;display:grid;place-items:center;color:var(--sr-warm)}.sr-logo strong{color:var(--sr-warm)}.sr-head-note{font-size:12px;color:#91908b;font-weight:650;letter-spacing:.05em}.sr-home{overflow:hidden}.sr-intro{padding:31px 0 19px;display:flex;align-items:center;justify-content:space-between;gap:20px}.sr-kicker{display:inline-flex;gap:9px;align-items:center;letter-spacing:.16em;text-transform:uppercase;font-size:10px;color:var(--sr-warm);font-weight:850}.sr-kicker:before{content:'';height:1px;width:21px;background:var(--sr-warm)}.sr-intro h1{font-weight:750;letter-spacing:-.07em;line-height:1.21;font-size:clamp(28px,4vw,45px);margin:10px 0 0}.sr-intro-copy{margin:16px 0 0;color:var(--sr-muted);font-size:14px}.sr-intro-mark{font-family:Georgia,serif;font-size:12px;letter-spacing:.16em;color:#bcb8b0;white-space:nowrap}.sr-hero-wrap{position:relative;background:#28231f;border-radius:22px;overflow:hidden;height:clamp(320px,38vw,470px);box-shadow:0 13px 50px #24222414}.sr-hero-item{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .65s ease,visibility .65s ease;color:white}.sr-hero-item.active{opacity:1;visibility:visible}.sr-hero-art{position:absolute;inset:0;background:radial-gradient(circle at 72% 45%,#927a55 0%,#4b4035 29%,#22201f 65%,#171819 100%);background-size:cover;background-position:center}.sr-hero-art:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(16,16,16,.83) 0%,rgba(24,22,20,.62) 44%,rgba(18,19,20,.08) 100%)}.sr-hero-glow{position:absolute;right:14%;top:7%;width:27%;height:82%;border:1px solid #d8c3a549;border-radius:140px;transform:rotate(24deg);box-shadow:0 0 90px #dab77c35,inset 0 0 130px #dbc29d20;pointer-events:none}.sr-hero-text{position:relative;z-index:2;height:100%;padding:clamp(28px,5vw,72px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;max-width:680px}.sr-pill{font-size:10px;font-weight:800;letter-spacing:.13em;border:1px solid #d6b9868c;background:#3e372b55;color:#e5cfad;padding:8px 14px;border-radius:30px;display:inline-flex}.sr-hero-text h2{margin:24px 0 14px;line-height:1.11;font-size:clamp(33px,5vw,61px);letter-spacing:-.072em;word-break:keep-all;font-weight:730}.sr-hero-text p{color:#e5ded7;font-size:15px;line-height:1.75;max-width:400px;margin:0 0 29px}.sr-white-btn,.sr-dark-btn{display:inline-flex;gap:18px;justify-content:center;align-items:center;min-height:47px;border-radius:40px;padding:0 23px;font-weight:750;font-size:13px;transition:transform .2s ease}.sr-white-btn{background:#fff;color:#252321}.sr-white-btn:hover,.sr-dark-btn:hover{transform:translateY(-2px)}.sr-dark-btn{background:#1c1d20;color:#fff}.sr-hero-controls{position:absolute;z-index:5;right:23px;bottom:19px;display:flex;gap:9px;align-items:center}.sr-hero-controls button{height:36px;width:36px;border-radius:50%;border:1px solid #ffffff55;background:#ffffff20;color:#fff;font-size:19px}.sr-dots{display:flex;gap:6px;align-items:center;padding-right:10px}.sr-dots button{height:6px;width:6px;border:0;padding:0;background:#ffffff77;border-radius:10px;transition:width .3s}.sr-dots button.on{width:19px;background:white}.sr-section{margin-top:69px}.sr-section-head{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:23px}.sr-section-head h2{font-size:clamp(24px,3vw,32px);letter-spacing:-.052em;margin:9px 0;font-weight:800}.sr-section-head p{margin:0;font-size:14px;color:var(--sr-muted)}.sr-topline{font-size:10px;letter-spacing:.18em;color:var(--sr-warm);font-weight:800}.sr-count{font-family:Georgia,serif;font-size:13px;color:#b19a79}.sr-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.sr-card{border:1px solid #ebe8e3;background:#fff;border-radius:17px;overflow:hidden;transition:box-shadow .2s ease,transform .2s ease}.sr-card:hover{box-shadow:0 18px 38px #19191914;transform:translateY(-3px)}.sr-card-photo{height:230px;position:relative;overflow:hidden;background:linear-gradient(125deg,#d5c9b7,#8c8479 56%,#e2d8c5)}.sr-card-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s}.sr-card:hover .sr-card-photo img{transform:scale(1.04)}.sr-card-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 60%,#00000015)}.sr-photo-fallback{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#f8f3e8;gap:13px}.sr-photo-fallback svg{width:48px;height:48px;opacity:.75}.sr-photo-fallback span{font-family:Georgia,serif;font-weight:700;letter-spacing:.12em;font-size:12px}.sr-tag{position:absolute;top:15px;left:15px;z-index:2;font-size:10px;font-weight:750;border-radius:20px;padding:7px 11px;color:#292929;background:#f4e4c5}.sr-card-body{padding:24px}.sr-card-cat{font-size:11px;color:var(--sr-warm);font-weight:800;letter-spacing:.05em}.sr-card h3{font-size:21px;letter-spacing:-.04em;margin:8px 0 7px}.sr-card p{line-height:1.6;font-size:13px;color:#888;min-height:42px;margin:0 0 18px}.sr-card-link{border-top:1px solid #f0efeb;padding-top:16px;display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:800}.sr-card-link span:last-child{font-size:18px;font-weight:400}.sr-all-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sr-list-item{display:flex;gap:16px;align-items:center;padding:13px;border-radius:14px;border:1px solid #ebe8e1;background:white;transition:transform .2s}.sr-list-item:hover{transform:translateX(3px)}.sr-list-thumb{flex:0 0 90px;height:87px;border-radius:10px;overflow:hidden;background:linear-gradient(135deg,#d2c5b2,#827c73);display:flex;align-items:center;justify-content:center;color:#faf5ea}.sr-list-thumb img{width:100%;height:100%;object-fit:cover}.sr-list-thumb svg{width:35px;opacity:.75}.sr-list-content{min-width:0;flex:1}.sr-list-content strong{font-size:16px;display:block;margin:4px 0 4px}.sr-list-content small{font-size:12px;color:#9b8a73}.sr-list-content p{font-size:12px;color:#8f8d88;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:5px 0 0}.sr-list-arrow{font-size:20px;color:#aa9779;padding:0 8px}.sr-banner-cta{margin:78px auto 85px;background:#201f1f;border-radius:23px;display:grid;grid-template-columns:1.5fr 1fr;overflow:hidden;min-height:257px}.sr-banner-text{padding:44px 50px;color:#fff}.sr-banner-text span{font-family:Georgia,serif;color:#c6aa7b;font-size:12px;letter-spacing:.16em}.sr-banner-text h2{font-size:clamp(25px,3vw,37px);letter-spacing:-.06em;margin:16px 0}.sr-banner-text p{color:#bdbbb7;font-size:13px;line-height:1.75;max-width:450px;margin:0 0 25px}.sr-banner-side{position:relative;overflow:hidden;background:radial-gradient(circle at 70% 55%,#6f5d41,#3b352d 55%,#25221e)}.sr-banner-side:before,.sr-banner-side:after{content:'';position:absolute;border:1px solid #a9937545;border-radius:50%;height:310px;width:310px;left:calc(50% - 155px);top:calc(50% - 155px)}.sr-banner-side:after{height:210px;width:210px;left:calc(50% - 105px);top:calc(50% - 105px);box-shadow:0 0 70px #d3ab6535}.sr-banner-side b{font-family:Georgia,serif;color:#e2cead;font-size:28px;letter-spacing:.11em;position:absolute;top:calc(50% - 18px);left:0;right:0;text-align:center;z-index:2}.sr-footer{background:#18191a;color:#e1e1df;padding:40px 0 29px}.sr-footer-inner{display:flex;align-items:center;justify-content:space-between;gap:18px}.sr-footer .sr-logo{color:white;font-size:21px}.sr-footer-links{display:flex;flex-wrap:wrap;gap:24px;align-items:center;font-size:12px;color:#b6b6b2}.sr-footer-links a:hover{text-decoration:underline}.sr-footer-bottom{margin-top:35px;padding-top:20px;border-top:1px solid #3b3b3b;display:flex;justify-content:space-between;font-size:11px;color:#8e8e8c}.sr-empty-page{text-align:center;padding:100px 20px 44px}.sr-empty-page h2{font-size:clamp(32px,5vw,54px);letter-spacing:-.07em;margin:18px 0}.sr-empty-page p{color:#888;margin:0 0 22px}.sr-empty-deco{height:250px;margin:48px auto 0;border-radius:22px;background:radial-gradient(circle at 50% 40%,#726047,#262320 62%,#181919);position:relative;overflow:hidden}.sr-empty-deco:after{content:'SHOP RANK';position:absolute;top:50%;left:0;right:0;transform:translateY(-50%);color:#f0dfc9;font-family:Georgia,serif;font-size:clamp(30px,6vw,78px);letter-spacing:.13em}.sr-public-page{min-height:75vh;padding:30px 0 60px}.sr-public-page .entry-title{display:none}.sr-public-page .entry-content{max-width:1120px;margin:auto}.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}.screen-reader-text:focus{clip:auto;width:auto;height:auto;z-index:200}.sr-footer a:focus,.sr-white-btn:focus,.sr-dark-btn:focus{outline:2px solid #c7a56d;outline-offset:3px}@media(max-width:900px){.sr-hero-wrap{height:410px}.sr-grid{gap:12px}.sr-card-photo{height:185px}.sr-card-body{padding:17px}.sr-list-thumb{flex-basis:70px;height:70px}}@media(max-width:680px){.sr-layout{width:min(calc(100% - 30px),var(--sr-max))}.sr-site-head{height:65px}.sr-logo{font-size:22px}.sr-head-note{display:none}.sr-intro{padding:29px 0 21px}.sr-intro-mark{display:none}.sr-intro h1{font-size:29px}.sr-intro-copy{font-size:12px}.sr-hero-wrap{height:400px;border-radius:15px}.sr-hero-text{padding:29px}.sr-hero-text h2{font-size:35px;margin:18px 0 12px}.sr-hero-text p{font-size:13px}.sr-hero-art:after{background:linear-gradient(90deg,#151618d9,#16151565)}.sr-hero-controls{bottom:14px;right:12px}.sr-section{margin-top:50px}.sr-section-head{margin-bottom:18px}.sr-section-head h2{font-size:25px}.sr-section-head p{font-size:12px}.sr-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sr-card-photo{height:155px}.sr-card-body{padding:15px 13px}.sr-card h3{font-size:16px}.sr-card p{font-size:11px;min-height:34px}.sr-all-list{grid-template-columns:1fr}.sr-list-item{padding:9px}.sr-list-thumb{flex-basis:72px;height:72px}.sr-banner-cta{grid-template-columns:1fr;margin:50px auto}.sr-banner-text{padding:31px 25px}.sr-banner-side{display:none}.sr-footer-inner,.sr-footer-bottom{flex-direction:column;align-items:flex-start}.sr-footer-links{gap:16px}.sr-empty-page{padding-top:65px}.sr-empty-deco{height:200px}}@media(max-width:380px){.sr-grid{grid-template-columns:1fr}.sr-card-photo{height:220px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* ShopRank v1.1: sample-only preview ribbon. Never shown to normal visitors. */
.sr-demo-notice{margin:21px 0 0;padding:14px 20px;border:1px solid #dccba9;background:#fff7e7;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:16px;color:#51422d}
.sr-demo-notice div{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.sr-demo-notice strong{font-size:13px}
.sr-demo-notice span{font-size:12px;line-height:1.6}
.sr-demo-notice a{font-weight:800;font-size:12px;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
@media(max-width:680px){.sr-demo-notice{align-items:flex-start;flex-direction:column;margin-top:13px;padding:13px 14px}.sr-demo-notice div{display:block}.sr-demo-notice span{display:block;margin-top:4px}.sr-demo-notice a{align-self:flex-start}}

/* Keep an odd final premium card balanced at phone widths (1 or 3 partner shops). */
@media(min-width:381px) and (max-width:680px){
 .sr-grid>.sr-card:last-child:nth-child(odd){grid-column:1/-1;display:grid;grid-template-columns:43% minmax(0,1fr);min-height:185px}
 .sr-grid>.sr-card:last-child:nth-child(odd) .sr-card-photo{height:100%;min-height:185px}
 .sr-grid>.sr-card:last-child:nth-child(odd) .sr-card-body{display:flex;flex-direction:column;min-width:0}
 .sr-grid>.sr-card:last-child:nth-child(odd) .sr-card-link{margin-top:auto}
}

/* v1.2: Account navigation, TOP 3 cards, sponsor recruitment placeholders */
.sr-account-nav{display:flex;align-items:center;gap:9px;flex-shrink:0}
.sr-auth-link{font-size:13px;font-weight:750;border:1px solid #e5e1d9;background:#fff;border-radius:999px;padding:10px 17px;white-space:nowrap}
.sr-auth-primary{background:#1c1d20;border-color:#1c1d20;color:white}
.sr-header-inner{gap:16px}
.sr-top-card{position:relative;display:flex;flex-direction:column;min-width:0}
.sr-top-card .sr-card-body{flex:1;display:flex;flex-direction:column;min-height:0}
.sr-rank-badge{position:absolute;z-index:3;left:14px;top:12px;display:flex;align-items:center;gap:6px;border-radius:999px;background:#1b1b1ce0;color:#fff;padding:9px 13px;font-size:15px;box-shadow:0 4px 20px #0003}
.sr-rank-badge b{font-size:11px;letter-spacing:.07em}
.sr-top-grid>.sr-top-card:first-child{border-color:#bd9953;box-shadow:0 8px 26px #a7894129}
.sr-top-grid>.sr-top-card:first-child .sr-rank-badge{background:#9d6c22}
.sr-card-button{margin-top:auto;min-height:42px}
.sr-feature-list{display:grid;gap:8px;margin:7px 0 17px}
.sr-feature-list>div{display:flex;gap:8px;align-items:flex-start;line-height:1.4;color:#57544f;font-size:12px;word-break:keep-all}
.sr-feature-list>div span:first-child{font-size:16px;line-height:1.2;flex:0 0 20px}
.sr-shop-specialty{font-size:12px;padding:9px 12px;border:1px solid #eee8dd;background:#faf7f0;border-radius:8px;margin-bottom:13px;line-height:1.4}
.sr-offer-line{font-size:12px;line-height:1.4;color:#7d633b;margin:0 0 12px}
.sr-more-description{margin:0 0 16px;border-top:1px solid #eeece8;padding-top:11px}
.sr-more-description summary{cursor:pointer;font-size:12px;font-weight:750;color:#765d35;list-style-position:inside}
.sr-more-description p{margin:10px 0!important;font-size:12px!important;line-height:1.7!important;min-height:0!important;white-space:normal}
.sr-recruit-card{background:#fffcf6;border-style:dashed;border-color:#d4bea0}
.sr-recruit-art{height:100%;min-height:230px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;background:radial-gradient(circle at 50% 35%,#fff0d7,#e5d8c6 65%,#c7baa9);color:#5d482e}
.sr-recruit-art>span{font-size:40px}.sr-recruit-art strong{font-size:22px}.sr-recruit-art small{font-size:12px}
.sr-recruit-card .sr-card-body p{min-height:0}
.sr-recruit-slide .sr-hero-art{background:radial-gradient(circle at 70% 35%,#b8a17d,#554636 52%,#17191a 100%)}
.sr-list-feature{display:block;margin-top:7px;font-size:11px;color:#7b633d;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.sr-recruit-list{background:#faf6ef;border-style:dashed;border-color:#d8c7ae}
.sr-recruit-thumb{font-size:30px;background:linear-gradient(145deg,#d8c3a0,#aa9275)}
.sr-list-arrow{display:inline-flex;align-items:center;justify-content:center;min-width:28px;min-height:28px}
.sr-top-card .sr-card-photo{flex-shrink:0}
@media(max-width:900px){.sr-top-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sr-top-card .sr-card-photo{height:172px}.sr-feature-list>div{font-size:11px}.sr-top-card .sr-card-body{padding:15px}}
@media(max-width:680px){.sr-account-nav{gap:6px}.sr-auth-link{padding:8px 10px;font-size:11px}.sr-logo{font-size:20px;letter-spacing:-.8px}.sr-logo-emblem{width:20px}.sr-header-inner{gap:4px}.sr-top-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sr-top-card .sr-card-photo{height:155px}.sr-feature-list{gap:6px}.sr-rank-badge{font-size:13px;padding:6px 9px;left:8px;top:8px}.sr-rank-badge b{font-size:10px}.sr-recruit-art{min-height:150px}.sr-recruit-art strong{font-size:17px}.sr-top-grid>.sr-top-card:last-child:nth-child(odd){grid-column:1/-1;display:block}.sr-top-grid>.sr-top-card:last-child:nth-child(odd) .sr-card-photo{height:180px}.sr-top-grid>.sr-top-card:last-child:nth-child(odd) .sr-card-body{display:flex}.sr-top-grid>.sr-top-card:last-child:nth-child(odd) .sr-card-link{margin-top:auto}}
@media(max-width:380px){.sr-top-grid{grid-template-columns:1fr}.sr-top-grid>.sr-top-card:last-child:nth-child(odd){grid-column:auto}.sr-top-card .sr-card-photo{height:215px}.sr-logo{font-size:18px}.sr-auth-link{font-size:10px;padding:8px}.sr-top-grid>.sr-top-card:last-child:nth-child(odd) .sr-card-photo{height:215px}}
