*{box-sizing:border-box}
:root{--bg:#fff;--cream:#f5eee6;--cream2:#eadbcb;--brown:#704a35;--deep:#40291e;--muted:#8d7b6e;--line:#eee8e2;--gold:#b58a68}
body{margin:0;background:#fff;color:var(--deep);font-family:"DM Sans",sans-serif;padding-bottom:86px}
a{color:inherit;text-decoration:none}button,input{font:inherit}
.cover{height:190px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;background:linear-gradient(110deg,#e7d1bb,#f8eee2 42%,#e4cbb3);border-bottom:4px solid #b68b68}
.cover:before,.cover:after{content:"";position:absolute;width:45%;height:230%;top:-60%;border:1px solid rgba(116,72,47,.18);transform:rotate(-28deg);border-radius:50%}
.cover:before{left:-14%}.cover:after{right:-14%;transform:rotate(28deg)}
.cover-brand{z-index:1;display:flex;align-items:center;justify-content:center;width:min(58vw,760px)}
.cover-logo{display:block;width:100%;max-height:174px;object-fit:contain;mix-blend-mode:multiply}
.avatar{overflow:hidden}
.avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
.cover-deco{position:absolute;top:25px;bottom:15px;width:24%;opacity:.65;color:#805638}
.cover-deco span{font-size:52px;position:absolute;top:20px}
.cover-deco i,.cover-deco b{position:absolute;bottom:0;width:25px;background:#8b6245;border-radius:50% 50% 0 0;height:75px;left:30%}
.cover-deco b{height:105px;left:45%;width:33px;background:#b18a69}
.deco-left{left:2%}.deco-right{right:2%;transform:scaleX(-1)}
.shopbar{min-height:80px;padding:13px clamp(18px,4.5vw,70px);display:flex;align-items:center;gap:28px;border-bottom:1px solid var(--line);background:#fff}
.shop-profile{display:flex;align-items:center;gap:12px;flex:1}
.avatar{width:45px;height:45px;border-radius:50%;background:var(--deep);color:#f5e8da;display:grid;place-items:center;font-family:"Playfair Display",serif;font-size:25px;border:4px solid #eee5dc;outline:1px solid #c9a88e}
.shop-profile strong{display:block;font-size:13px}.shop-profile small{display:block;color:var(--muted);font-size:10px;margin-top:4px}
.searchbox{width:min(330px,36vw);height:42px;background:#f4f2f0;border-radius:7px;display:flex;align-items:center;padding:0 14px;gap:10px;color:#76675e}
.searchbox span{font-size:23px;line-height:1}.searchbox input{border:0;outline:0;background:transparent;width:100%;font-size:12px;color:var(--deep)}
.more-link{font-size:24px;padding:0 8px;color:#4f3b2e}
.subbar{height:27px;background:#f7f5f2;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,4.5vw,70px);color:#927d6e;font-size:8px;letter-spacing:.12em}
.catalog{padding:27px clamp(18px,4.5vw,70px) 65px}
.category-tabs{display:flex;gap:8px;margin-bottom:27px;flex-wrap:wrap}
.category{padding:9px 17px;border:1px solid #e5ded7;border-radius:24px;background:white;color:#5c493c;font-size:11px;cursor:pointer}
.category.active,.category:hover{background:#f0e9e2;border-color:#e0d4c8;color:#4a3022}
.catalog-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:16px}
.catalog-heading h1{font-size:15px;margin:0 0 4px;font-weight:700}
.catalog-heading p{font-size:10px;color:var(--muted);margin:0}
.catalog-heading>span{font-size:10px;color:#9a887a}
.product-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:22px 17px}
.product-card{min-width:0}
.product-image{aspect-ratio:1/1.12;background:#eee4da;overflow:hidden;border-radius:5px;position:relative}
.product-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}
.product-card:hover .product-image img{transform:scale(1.04)}
.placeholder{height:100%;display:grid;place-items:center;text-align:center;background:radial-gradient(circle at 50% 38%,#fff9f1,#e3d1bf);color:#986e50;font-family:"Playfair Display",serif;font-size:20px;padding:10px}
.product-tag{position:absolute;top:8px;left:8px;background:#fffaf4e8;color:#79543c;padding:5px 7px;border-radius:2px;font-size:8px}
.product-info{padding:8px 1px}
.product-info h3{font-size:11px;line-height:1.4;font-weight:500;margin:0 0 5px;min-height:31px}
.product-info p{font-size:9px;line-height:1.45;color:#9a887b;margin:0 0 8px;min-height:26px}
.product-foot{display:flex;align-items:center;justify-content:space-between;gap:5px}
.price{font-size:13px;font-weight:700;white-space:nowrap}
.add{border:0;background:#f1e9e1;color:#694832;border-radius:3px;padding:7px 8px;font-size:9px;cursor:pointer}
.add:hover{background:var(--brown);color:white}
.about{margin:0 clamp(18px,4.5vw,70px) 45px;padding:22px 25px;background:#f7f2ec;border:1px solid #eee5dc;display:flex;align-items:center;gap:18px}
.about-mark{font-family:"Playfair Display",serif;font-size:18px;color:#704a35;border-right:1px solid #d9c7b7;padding-right:18px;white-space:nowrap}
.about-mark span{color:#b58a68;font-size:13px}
.about strong{font-family:"Playfair Display",serif;font-size:16px;font-weight:500}
.about p{font-size:10px;color:var(--muted);margin:4px 0 0}
.floating-whatsapp{position:fixed;right:25px;bottom:105px;width:49px;height:49px;border-radius:50%;background:#25c96a;color:white;display:grid;place-items:center;box-shadow:0 5px 18px #0002;z-index:25}
.floating-whatsapp svg{width:29px;height:29px;display:block}
.bottom-cart{position:fixed;z-index:30;bottom:0;left:0;right:0;min-height:76px;padding:12px clamp(18px,4.5vw,70px);background:#fff;border-top:1px solid #e8e1da;box-shadow:0 -4px 18px #4b33200a;display:flex;justify-content:space-between;align-items:center}
.bottom-cart-left,.bottom-cart-right{display:flex;align-items:center;gap:13px}
.cart-bag{font-size:23px;color:#745039}
.bottom-cart-left strong{font-size:13px;font-weight:500;display:block}.bottom-cart-left small{font-size:9px;color:#9a887b;display:block;margin-top:3px}
.bottom-cart-right>strong{font-size:13px;margin-right:8px}
.bottom-cart-right button{border:0;border-radius:25px;background:#f2efec;color:#574537;padding:10px 17px;font-size:10px;cursor:pointer}
.bottom-cart-right button span{margin-left:8px}
.overlay{position:fixed;inset:0;background:#20150f66;z-index:40;opacity:0;pointer-events:none;transition:.25s}
.overlay.open{opacity:1;pointer-events:auto}
.cart-panel{position:fixed;z-index:41;right:0;top:0;height:100%;width:min(420px,100%);background:#fffdf9;transform:translateX(102%);transition:.3s;display:flex;flex-direction:column;padding:24px;box-shadow:-10px 0 35px #0001}
.cart-panel.open{transform:translateX(0)}
.panel-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:16px}
.panel-head small{font-size:9px;letter-spacing:.16em;color:#a47759}.panel-head h2{font-family:"Playfair Display",serif;font-size:27px;margin:4px 0}
.panel-head button{border:0;background:none;font-size:30px;color:var(--brown);cursor:pointer}
.cart-items{flex:1;overflow:auto;padding:14px 0}
.empty{color:var(--muted);font-size:12px;text-align:center;padding:35px 0}
.cart-row{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);padding:13px 0}
.cart-row strong{font-family:"Playfair Display",serif;font-size:15px;font-weight:500;display:block}.cart-row small{font-size:10px;color:var(--muted)}
.qty{display:flex;align-items:center;gap:10px;margin-top:8px}.qty button{border:1px solid var(--line);background:white;width:24px;height:24px;cursor:pointer;color:var(--brown)}
.cart-row .line-price{font-size:12px;font-weight:700;white-space:nowrap}
.panel-foot{border-top:1px solid var(--line);padding-top:17px}
.total{display:flex;justify-content:space-between;font-size:12px}.total strong{font-size:16px}
.panel-foot p{font-size:10px;color:var(--muted);line-height:1.6}
#checkout{width:100%;height:46px;border:0;background:var(--deep);color:white;font-size:11px;cursor:pointer;border-radius:3px}
#checkout span{margin-left:8px}
.toast{position:fixed;z-index:60;bottom:92px;left:50%;transform:translate(-50%,15px);opacity:0;background:var(--deep);color:white;padding:11px 17px;border-radius:3px;font-size:10px;transition:.2s;pointer-events:none}
.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1100px){.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.cover{height:145px}.cover-brand{width:72vw}.cover-logo{max-height:132px}.cover-deco{opacity:.35}.shopbar{padding:12px 16px;gap:12px}.shop-profile{min-width:0}.shop-profile small{max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.searchbox{width:42px;padding:0 11px;background:transparent}.searchbox input{width:0;min-width:0}.searchbox:focus-within{background:#f4f2f0}.subbar{padding:0 17px;font-size:7px}.catalog{padding:22px 17px 50px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 13px}.product-info h3{font-size:11px}.product-foot{align-items:flex-start;flex-direction:column}.add{width:100%}.about{margin:0 17px 30px;padding:17px;gap:12px}.about strong{font-size:14px}.floating-whatsapp{right:17px;bottom:98px;width:45px;height:45px}.bottom-cart{padding:10px 16px;min-height:70px}.bottom-cart-right{gap:5px}.bottom-cart-right>strong{font-size:11px;margin-right:2px}.bottom-cart-right button{padding:10px 12px;font-size:9px}}


/* Opções de cor e paginação */
.color-field{display:flex;align-items:center;gap:7px;margin:0 0 9px;color:#927d6e;font-size:9px}
.color-select{flex:1;min-width:0;height:30px;border:1px solid #e5d9ce;border-radius:3px;background:#fffdf9;color:#654832;padding:0 8px;font-size:10px;outline-color:#b58a68}
.pagination{display:flex;justify-content:center;align-items:center;gap:7px;margin:34px auto 0;flex-wrap:wrap}
.page-btn{min-width:34px;height:34px;padding:0 11px;border:1px solid #e6ddd5;background:#fff;color:#76563f;border-radius:3px;font-size:10px;cursor:pointer}
.page-btn.active,.page-btn:hover:not(:disabled){background:#40291e;color:#fff;border-color:#40291e}
.page-btn:disabled{opacity:.35;cursor:not-allowed}
@media(max-width:700px){
  .color-field{font-size:10px;margin-bottom:8px}
  .color-select{height:35px;font-size:12px}
  .pagination{gap:5px;margin-top:27px}
  .page-btn{min-width:35px;height:36px}
  .catalog-heading{gap:10px}
  .catalog-heading h1{font-size:16px}
  .product-image{aspect-ratio:1/1}
  .product-info{padding-top:9px}
  .product-info p{min-height:34px}
  .product-foot{gap:8px}
  .price{font-size:14px}
  .add{min-height:36px;font-size:10px}
  .shop-profile strong{font-size:11px}
  .bottom-cart-left{gap:8px}
  .bottom-cart-left strong{font-size:12px}
  .bottom-cart-right button{white-space:nowrap}
}


/* Busca mobile: ocupa a linha e substitui temporariamente o perfil da loja. */
@media(max-width:700px){
  .shopbar{transition:gap .18s ease}
  .shopbar.search-active .shop-profile{display:none}
  .shopbar.search-active .searchbox{
    flex:1;
    width:auto;
    min-width:0;
    padding:0 13px;
    background:#f4f2f0;
  }
  .shopbar.search-active .searchbox input{
    width:100%;
    min-width:0;
  }
  .shopbar.search-active .more-link{display:none}
  .shopbar:not(.search-active) .shop-profile{
    display:flex;
    flex:1 1 auto;
    min-width:0;
  }
  .shopbar:not(.search-active) .searchbox{
    flex:0 0 42px;
    width:42px;
    min-width:42px;
    justify-content:center;
    padding:0 11px;
    background:transparent;
  }
  .shopbar:not(.search-active) .searchbox input{
    width:0;
    min-width:0;
    padding:0;
    opacity:0;
  }
}


/* Chamada para produtos personalizados */
.custom-contact {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
    background: #F8F3ED;
    border: 1px solid #E8D9CA;
    border-radius: 12px;
    padding: 22px 28px;
    margin: 28px 0 25px;
    text-align: left;
}

.custom-contact-content {
    max-width: none;
    margin: 0;
    //display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.custom-contact h2 {
    font-family: 'Playfair Display', serif;
    color: #704A35;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 5px;
}

.custom-contact p {
    color: #806B5B;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.custom-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #704A35;
    color: #FFFFFF;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    transition: background .2s ease, transform .2s ease;
}

.custom-contact-button:hover {
    background: #563824;
    transform: translateY(-2px);
}

.custom-contact-button:focus-visible {
    outline: 3px solid #B89578;
    outline-offset: 4px;
}

@media (max-width: 600px) {
    .custom-contact {
        padding: 20px;
        margin: 24px 0;
    }

    .custom-contact-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .custom-contact h2 {
        font-size: 19px;
    }

    .custom-contact p {
        font-size: 13px;
    }

    .custom-contact-button {
        width: 100%;
        box-sizing: border-box;
    }
}
