:root{
    --rb-pink:#ec008c;
    --rb-pink-dark:#b8006d;
    --rb-navy:#10162f;
    --rb-blue:#173f67;
    --rb-cyan:#55ddeb;
    --rb-ink:#111827;
    --rb-muted:#65728a;
    --rb-line:#e3e9f2;
    --rb-soft:#f4f7fb;
    --rb-card:#ffffff;
    --rb-shadow:0 18px 45px rgba(16,22,47,.12);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    font-family:Inter,Arial,sans-serif;
    color:var(--rb-ink);
    background:#f7f9fc;
}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}

.rb-store-header{
    position:sticky;
    top:0;
    z-index:50;
    background:rgba(255,255,255,.96);
    border-bottom:1px solid var(--rb-line);
    backdrop-filter:blur(18px);
}
.store-strip{
    display:flex;
    justify-content:center;
    gap:22px;
    padding:8px 16px;
    color:#fff;
    background:linear-gradient(90deg,var(--rb-navy),var(--rb-blue),var(--rb-pink-dark));
    font-size:12px;
    font-weight:700;
}
.store-strip a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.store-mainbar{
    display:grid;
    grid-template-columns:180px minmax(240px,1fr) auto;
    align-items:center;
    gap:24px;
    max-width:1240px;
    margin:0 auto;
    padding:14px 22px;
}
.store-logo img{
    width:170px;
    max-width:100%;
    display:block;
}
.store-icon-btn{
    display:none;
    width:42px;
    height:42px;
    border:1px solid var(--rb-line);
    border-radius:10px;
    background:#fff;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
}
.store-icon-btn span{
    width:20px;
    height:2px;
    background:var(--rb-navy);
    display:block;
}
.store-search{
    display:flex;
    border:1px solid #d6dfeb;
    border-radius:999px;
    background:#fff;
    overflow:hidden;
    min-height:48px;
}
.store-search input{
    flex:1;
    min-width:0;
    border:0;
    padding:0 18px;
    outline:0;
    background:transparent;
    color:var(--rb-ink);
}
.store-search button{
    border:0;
    background:var(--rb-navy);
    color:#fff;
    padding:0 24px;
    font-weight:800;
}
.store-actions{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:800;
    color:var(--rb-navy);
}
.store-actions a,.bag-button{
    border:1px solid var(--rb-line);
    background:#fff;
    border-radius:999px;
    min-height:42px;
    padding:0 16px;
    display:inline-flex;
    align-items:center;
    gap:8px;
}
.bag-button strong{
    min-width:24px;
    height:24px;
    border-radius:999px;
    color:#fff;
    background:var(--rb-pink);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
}
.store-nav{
    max-width:1240px;
    margin:0 auto;
    padding:0 22px 12px;
    display:flex;
    gap:8px;
    overflow-x:auto;
}
.store-nav a{
    padding:9px 14px;
    border-radius:999px;
    color:var(--rb-muted);
    font-weight:800;
    font-size:13px;
    white-space:nowrap;
}
.store-nav a:hover,.store-nav a.active{
    color:var(--rb-navy);
    background:#eef7ff;
}

.store-page{
    min-height:70vh;
}
.store-container{
    max-width:1240px;
    margin:0 auto;
    padding:0 22px;
}
.store-hero{
    position:relative;
    max-width:1240px;
    margin:18px auto 0;
    padding:0 22px;
}
.store-hero-inner{
    min-height:330px;
    border-radius:18px;
    overflow:hidden;
    background:
        linear-gradient(90deg,rgba(16,22,47,.92) 0%,rgba(16,22,47,.78) 45%,rgba(16,22,47,.12) 100%),
        url("../img/public/imagem-central-produto.jpg") center/cover no-repeat;
    display:grid;
    grid-template-columns:minmax(0,500px) 1fr;
    align-items:center;
    padding:42px;
    box-shadow:0 12px 34px rgba(16,22,47,.1);
}
.hero-copy{color:#fff}
.hero-kicker{
    display:inline-flex;
    color:#fff;
    background:rgba(236,0,140,.25);
    border:1px solid rgba(255,255,255,.24);
    border-radius:999px;
    padding:9px 14px;
    font-size:12px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.hero-copy h1{
    margin:18px 0 10px;
    font-size:clamp(32px,4.4vw,54px);
    line-height:1.04;
    letter-spacing:0;
}
.hero-copy p{
    margin:0;
    color:#dbe6f2;
    font-size:17px;
    line-height:1.5;
}
.hero-actions{
    display:flex;
    gap:12px;
    margin-top:28px;
    flex-wrap:wrap;
}
.btn-primary,.btn-secondary{
    border:0;
    border-radius:999px;
    padding:14px 22px;
    font-weight:900;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
}
.btn-primary{background:var(--rb-pink);color:#fff;box-shadow:0 16px 30px rgba(236,0,140,.28)}
.btn-secondary{background:#fff;color:var(--rb-navy)}

.store-shortcuts{
    max-width:1240px;
    margin:14px auto 0;
    padding:0 22px;
    display:flex;
    gap:10px;
    overflow:auto;
}
.store-shortcuts a{
    background:#fff;
    border:1px solid var(--rb-line);
    border-radius:999px;
    color:var(--rb-navy);
    font-size:13px;
    font-weight:900;
    padding:11px 15px;
    white-space:nowrap;
    box-shadow:0 8px 22px rgba(16,22,47,.05);
}

.section-head{
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:20px;
    margin:28px 0 14px;
}
.section-head h2{margin:0;color:var(--rb-navy);font-size:30px}
.section-head p{margin:6px 0 0;color:var(--rb-muted);line-height:1.5}
.catalog-toolbar{
    background:#fff;
    border:1px solid var(--rb-line);
    border-radius:14px;
    padding:14px;
    display:grid;
    grid-template-columns:minmax(220px,1fr) 180px 170px auto;
    gap:10px;
    margin-bottom:18px;
}
.catalog-toolbar input,.catalog-toolbar select{
    border:1px solid #d6dfeb;
    border-radius:11px;
    min-height:46px;
    padding:0 14px;
    outline:0;
    background:#fff;
}
.catalog-toolbar button{
    border:0;
    background:var(--rb-navy);
    color:#fff;
    border-radius:11px;
    padding:0 18px;
    font-weight:900;
}
.catalog-count{
    color:var(--rb-muted);
    font-weight:800;
    font-size:13px;
    margin-bottom:14px;
}
.products-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}
.product-card{
    background:#fff;
    border:1px solid var(--rb-line);
    border-radius:14px;
    overflow:hidden;
    min-height:100%;
    display:flex;
    flex-direction:column;
    transition:.22s ease;
}
.product-card:hover{
    transform:translateY(-3px);
    box-shadow:0 18px 38px rgba(16,22,47,.12);
}
.product-image{
    display:block;
    aspect-ratio:1/1;
    background:#f8fafc;
    overflow:hidden;
}
.product-image img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
    transition:.25s ease;
}
.product-card:hover .product-image img{transform:scale(1.03)}
.product-info{padding:16px;display:flex;flex-direction:column;gap:10px;flex:1}
.product-meta{display:flex;gap:7px;flex-wrap:wrap}
.tag{
    background:#eef7ff;
    color:var(--rb-blue);
    border-radius:999px;
    padding:6px 9px;
    font-size:11px;
    font-weight:900;
}
.product-info h3{margin:0;color:var(--rb-navy);font-size:17px;line-height:1.3}
.product-price{font-size:22px;font-weight:900;color:#020617}
.swatches{display:flex;gap:8px}
.swatch{
    width:26px;
    height:26px;
    border-radius:999px;
    border:2px solid #fff;
    box-shadow:0 0 0 1px #ccd6e3;
}
.swatch.dourado{background:linear-gradient(135deg,#fff4bd,#d8a736,#8a620b)}
.swatch.prata{background:linear-gradient(135deg,#fff,#cbd5e1,#64748b)}
.product-actions{display:flex;gap:8px;margin-top:auto}
.product-actions button,.product-actions a{
    flex:1;
    min-height:42px;
    border-radius:10px;
    border:0;
    font-weight:900;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-align:center;
}
.product-actions a{background:#eef7ff;color:var(--rb-navy)}
.product-actions button{background:var(--rb-navy);color:#fff}
.product-empty{
    background:#fff;
    border:1px dashed #cbd5e1;
    border-radius:14px;
    padding:32px;
    color:var(--rb-muted);
    text-align:center;
}

.product-page{
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:34px;
    padding:34px 0;
}
.product-gallery{
    background:#fff;
    border:1px solid var(--rb-line);
    border-radius:16px;
    padding:18px;
}
.product-gallery-main{
    aspect-ratio:1/1;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f8fafc;
    border-radius:12px;
}
.product-gallery-main img{width:100%;height:100%;object-fit:contain}
.thumb-row{display:flex;gap:10px;margin-top:12px;overflow:auto}
.thumb-row button{
    width:74px;height:74px;border:1px solid var(--rb-line);border-radius:10px;background:#fff;padding:4px;
}
.thumb-row img{width:100%;height:100%;object-fit:contain}
.product-buy{
    background:#fff;
    border:1px solid var(--rb-line);
    border-radius:16px;
    padding:26px;
    align-self:start;
    box-shadow:0 15px 40px rgba(16,22,47,.08);
}
.product-buy h1{margin:0 0 10px;color:var(--rb-navy);font-size:34px;line-height:1.1}
.product-buy .product-price{font-size:30px;margin:16px 0}
.option-row{margin:20px 0}
.option-row label{display:block;font-size:12px;font-weight:900;color:var(--rb-muted);margin-bottom:8px;text-transform:uppercase}
.tone-options{display:flex;gap:10px}
.tone-options button{
    border:1px solid var(--rb-line);
    background:#fff;
    border-radius:999px;
    padding:10px 14px;
    font-weight:900;
}
.tone-options button.active{background:var(--rb-navy);color:#fff}
.qty-control{display:inline-flex;border:1px solid var(--rb-line);border-radius:999px;overflow:hidden}
.qty-control button{width:42px;border:0;background:#f8fafc;font-weight:900}
.qty-control span{min-width:48px;display:inline-flex;align-items:center;justify-content:center;font-weight:900}
.buy-actions{display:grid;gap:10px;margin-top:20px}
.buy-actions button,.buy-actions a{min-height:52px;border-radius:12px;border:0;font-weight:900;display:flex;align-items:center;justify-content:center}
.buy-actions button{background:var(--rb-pink);color:#fff}
.buy-actions a{background:var(--rb-navy);color:#fff}
.details-block{
    margin-top:18px;
    padding-top:18px;
    border-top:1px solid var(--rb-line);
    color:var(--rb-muted);
    line-height:1.6;
}

.checkout-grid,.locator-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) 410px;
    gap:24px;
    padding:34px 0;
}
.form-panel,.summary-panel,.locator-panel,.store-list-panel{
    background:#fff;
    border:1px solid var(--rb-line);
    border-radius:16px;
    padding:22px;
    box-shadow:0 12px 35px rgba(16,22,47,.07);
}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.field{display:flex;flex-direction:column;gap:7px}
.field.full{grid-column:1/-1}
.field label{font-size:12px;font-weight:900;color:var(--rb-muted);text-transform:uppercase}
.field input,.field textarea,.field select{
    border:1px solid #d6dfeb;
    border-radius:11px;
    min-height:46px;
    padding:0 13px;
    outline:0;
}
.field textarea{padding:12px;min-height:100px}
.summary-list{display:grid;gap:12px}
.summary-item{display:grid;grid-template-columns:58px 1fr auto;gap:10px;align-items:center}
.summary-item img{width:58px;height:58px;object-fit:contain;border-radius:10px;background:#f8fafc}
.summary-totals{border-top:1px solid var(--rb-line);margin-top:18px;padding-top:14px;display:grid;gap:8px}
.summary-totals div{display:flex;justify-content:space-between}
.summary-totals strong{font-size:20px}
.checkout-submit{
    width:100%;
    min-height:52px;
    border:0;
    border-radius:12px;
    background:var(--rb-pink);
    color:#fff;
    font-weight:900;
    margin-top:18px;
}
.notice{
    border-radius:12px;
    padding:14px;
    background:#fff8e5;
    color:#7a4b00;
    font-weight:800;
    margin-top:14px;
}
.store-result{border:1px solid var(--rb-line);border-radius:12px;padding:14px;display:grid;gap:6px}
.store-result strong{color:var(--rb-navy)}
.store-result span{color:var(--rb-muted);font-size:14px}
.store-result a{color:var(--rb-pink);font-weight:900}

.store-footer{
    margin-top:50px;
    background:var(--rb-navy);
    color:#fff;
    display:grid;
    grid-template-columns:1.2fr 1fr 1fr;
    gap:26px;
    padding:38px max(22px,calc((100vw - 1240px)/2 + 22px));
}
.store-footer img{width:180px;filter:drop-shadow(0 10px 18px rgba(0,0,0,.25));margin-bottom:12px}
.store-footer p,.store-footer span,.store-footer a{color:#c8d5e6;display:block;line-height:1.6}
.store-footer h3{margin:0 0 12px;color:#fff}

@media (max-width:960px){
    .store-mainbar{grid-template-columns:44px 1fr auto;gap:12px}
    .store-icon-btn{display:flex}
    .store-search{grid-column:1/-1;order:4}
    .store-actions a{display:none}
    .store-nav{display:none;padding:10px 22px 14px;flex-direction:column}
    .store-nav.open{display:flex}
    .store-logo img{width:150px}
    .store-hero-inner{grid-template-columns:1fr;min-height:320px;padding:30px 24px}
    .catalog-toolbar{grid-template-columns:1fr}
    .products-grid{grid-template-columns:1fr 1fr}
    .product-page,.checkout-grid,.locator-grid{grid-template-columns:1fr}
    .store-footer{grid-template-columns:1fr}
}
@media (max-width:560px){
    .store-strip{font-size:11px;flex-direction:column;gap:3px}
    .store-mainbar{padding:12px 14px}
    .store-actions{gap:6px}
    .bag-button{padding:0 11px}
    .store-container,.store-hero,.store-shortcuts{padding-left:14px;padding-right:14px}
    .store-hero-inner{min-height:300px}
    .hero-copy p{font-size:15px}
    .section-head{align-items:flex-start;flex-direction:column}
    .products-grid{grid-template-columns:1fr}
    .form-grid{grid-template-columns:1fr}
    .store-footer{padding:30px 18px}
}
