/*
 * Antique — CSS-only template for antiques, vintage and collectibles shops.
 * Loaded after default/style.css; scoped to .lb-tpl-antique. Parchment + sepia
 * ink + oxblood + antique brass: a framed "gallery" header with brass corner
 * ornaments (inline SVG, generated), cameo logo, museum-label product cards with
 * matted, slightly sepia photos that warm up to full colour on hover.
 */
.lb-tpl-antique{--an-parch:#f7f1e4;--an-paper:#fffdf8;--an-ink:#2e2417;--an-ox:#7a3b22;--an-ox-dk:#5c2b18;--an-brass:#8a6a2c;--an-brass-lt:#c9a96a;--an-muted:#76664f;--an-line:#e2d5bb}

/* Header: parchment panel, double brass frame, ornaments in the four corners */
.lb-tpl-antique .lb-store-custom-header{position:relative;border-radius:4px;background:radial-gradient(ellipse at center,#fffaf0 0%,var(--an-parch) 58%,#efe3c9 100%);border:1px solid var(--an-brass-lt);box-shadow:inset 0 0 0 6px var(--an-paper),inset 0 0 0 7px var(--an-line),0 12px 30px rgba(46,36,23,.12)}
.lb-tpl-antique .lb-store-custom-header::after{content:"";position:absolute;inset:10px;pointer-events:none;z-index:2;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 90'%3E%3Cg fill='none' stroke='%238A6A2C' transform=''%3E%3Cpath d='M6 70V6h64' stroke-width='2'/%3E%3Cpath d='M14 52V14h38' stroke-width='1'/%3E%3Cpath d='M6 6c10 2 16 8 18 18c-8-2-14-6-18-18z' fill='%23C9A96A' stroke-width='1'/%3E%3Ccircle cx='70' cy='6' r='3' fill='%238A6A2C'/%3E%3Ccircle cx='6' cy='70' r='3' fill='%238A6A2C'/%3E%3C/g%3E%3C/svg%3E") top left/64px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 90'%3E%3Cg fill='none' stroke='%238A6A2C' transform='translate(90 0) scale(-1 1)'%3E%3Cpath d='M6 70V6h64' stroke-width='2'/%3E%3Cpath d='M14 52V14h38' stroke-width='1'/%3E%3Cpath d='M6 6c10 2 16 8 18 18c-8-2-14-6-18-18z' fill='%23C9A96A' stroke-width='1'/%3E%3Ccircle cx='70' cy='6' r='3' fill='%238A6A2C'/%3E%3Ccircle cx='6' cy='70' r='3' fill='%238A6A2C'/%3E%3C/g%3E%3C/svg%3E") top right/64px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 90'%3E%3Cg fill='none' stroke='%238A6A2C' transform='translate(0 90) scale(1 -1)'%3E%3Cpath d='M6 70V6h64' stroke-width='2'/%3E%3Cpath d='M14 52V14h38' stroke-width='1'/%3E%3Cpath d='M6 6c10 2 16 8 18 18c-8-2-14-6-18-18z' fill='%23C9A96A' stroke-width='1'/%3E%3Ccircle cx='70' cy='6' r='3' fill='%238A6A2C'/%3E%3Ccircle cx='6' cy='70' r='3' fill='%238A6A2C'/%3E%3C/g%3E%3C/svg%3E") bottom left/64px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 90'%3E%3Cg fill='none' stroke='%238A6A2C' transform='translate(90 90) scale(-1 -1)'%3E%3Cpath d='M6 70V6h64' stroke-width='2'/%3E%3Cpath d='M14 52V14h38' stroke-width='1'/%3E%3Cpath d='M6 6c10 2 16 8 18 18c-8-2-14-6-18-18z' fill='%23C9A96A' stroke-width='1'/%3E%3Ccircle cx='70' cy='6' r='3' fill='%238A6A2C'/%3E%3Ccircle cx='6' cy='70' r='3' fill='%238A6A2C'/%3E%3C/g%3E%3C/svg%3E") bottom right/64px no-repeat}
.lb-tpl-antique .lb-store-cover{filter:sepia(.18) saturate(.92)}
.lb-tpl-antique .lb-store-header{position:relative;z-index:1;flex-direction:column;text-align:center;justify-content:center;background:transparent;border:0;padding:2.6rem 2rem 2.3rem;margin:0}
.lb-tpl-antique .lb-store-logo,.lb-tpl-antique .lb-store-logo-placeholder{width:104px;height:124px;flex-basis:auto;border-radius:50%;background:var(--an-paper);border:3px solid var(--an-paper);box-shadow:0 0 0 2px var(--an-brass),0 0 0 6px var(--an-paper),0 0 0 7px var(--an-brass-lt),0 10px 22px rgba(46,36,23,.18)}
.lb-tpl-antique .lb-store-logo-placeholder{color:var(--an-ox)}
.lb-tpl-antique .lb-store-meta h1{color:var(--an-ink);font-size:2rem;font-weight:800;letter-spacing:.02em;margin:.75rem 0 .3rem}
.lb-tpl-antique .lb-store-meta h1::after{content:"\2766";display:block;margin:.35rem auto 0;width:min(240px,70%);font-size:1rem;line-height:1;color:var(--an-brass);
  background:linear-gradient(var(--an-brass-lt),var(--an-brass-lt)) left center/42% 1px no-repeat,linear-gradient(var(--an-brass-lt),var(--an-brass-lt)) right center/42% 1px no-repeat}
.lb-tpl-antique .lb-store-meta-row{justify-content:center;color:var(--an-muted)}
.lb-tpl-antique .lb-store-meta-row a{color:var(--an-ox)}

/* Headings with a fleuron, about text on a paper card with a double rule */
.lb-tpl-antique .lb-section-head{border-bottom:1px solid var(--an-line);padding-bottom:.6rem}
.lb-tpl-antique .lb-section-head h2{color:var(--an-ink);font-weight:800;letter-spacing:.02em}
.lb-tpl-antique .lb-section-head h2::before{content:"\2767";color:var(--an-brass);margin-inline-end:.45rem;font-size:.9em}
.lb-tpl-antique .lb-store-about-text{background:var(--an-paper);border:1px solid var(--an-line);box-shadow:inset 0 0 0 4px var(--an-paper),inset 0 0 0 5px var(--an-line);border-radius:4px;padding:1.3rem 1.5rem;line-height:2;color:#4e4232}

/* Products: museum-label cards, matted photos */
.lb-tpl-antique .lb-store-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}
.lb-tpl-antique .lb-product-card{border:1px solid var(--an-line);border-radius:4px;background:var(--an-paper);box-shadow:none;transition:box-shadow .2s ease,border-color .2s ease}
.lb-tpl-antique .lb-product-card:hover{border-color:var(--an-brass-lt);box-shadow:0 14px 30px rgba(46,36,23,.12)}
.lb-tpl-antique .lb-product-card-media{aspect-ratio:1/1;margin:.7rem .7rem 0;border-radius:2px;background:var(--an-parch);box-shadow:0 0 0 1px var(--an-line);outline:6px solid var(--an-paper);outline-offset:-7px}
.lb-tpl-antique .lb-product-card-media img{filter:sepia(.14) saturate(.9);transition:filter .35s ease,transform .45s ease}
.lb-tpl-antique .lb-product-card:hover .lb-product-card-media img{filter:none;transform:scale(1.03)}
.lb-tpl-antique .lb-product-card-body{padding:1rem 1.15rem 1.2rem}
.lb-tpl-antique .lb-product-card-title{color:var(--an-ink);font-size:1.02rem;font-weight:800}
.lb-tpl-antique .lb-price-now{color:var(--an-ox);font-size:1.12rem}
.lb-tpl-antique .lb-card-add-cart{border-radius:3px;background:var(--an-ox)}
.lb-tpl-antique .lb-card-add-cart:hover{background:var(--an-ox-dk)}
.lb-tpl-antique .lb-badge{border-radius:2px}
.lb-tpl-antique .lb-badge-featured{background:var(--an-brass)}

@media (max-width:991px){ .lb-tpl-antique .lb-store-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem} }
@media (max-width:575px){
  .lb-tpl-antique .lb-store-custom-header::after{background-size:44px}
  .lb-tpl-antique .lb-store-header{padding:2.2rem 1.6rem 2.9rem}
  .lb-tpl-antique .lb-store-meta h1{font-size:1.6rem}
  .lb-tpl-antique .lb-product-card-media{margin:.5rem .5rem 0}
}
