/* mylocalshoplist.com - Shop Ticket theme */

.marquee-track {
    animation: marquee 22s linear infinite;
    width: max-content;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.animate-this {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.animate-this.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Category rail */
.category-rail {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
}
.category-rail::-webkit-scrollbar { display: none; }
.category-chip {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 2px dashed rgba(31,42,42,.2);
    background: #fff;
    font-weight: 700;
    font-size: 13px;
    color: #1F2A2A;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
}
.category-chip:hover, .category-chip.active {
    border-style: solid;
    border-color: #60BFC1;
    background: #60BFC1;
    color: #fff;
}

/* preloader */
.preloader-inline { display:flex; justify-content:center; padding:30px 0; }
.spin {
    width: 32px; height: 32px;
    border: 3px solid rgba(31,42,42,.15);
    border-top-color: #FDA2AC;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Ticket-style business cards (matches ajaxList markup: .businesscard > img + .p-3.pb-2) */
.businesscard {
    display: block;
    background: #fff;
    border-radius: 16px;
    border: 2px dashed rgba(31,42,42,.18);
    overflow: hidden;
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.businesscard:hover {
    transform: translateY(-5px) rotate(-0.4deg);
    box-shadow: 0 16px 30px -14px rgba(31,42,42,.25);
    border-color: #60BFC1;
}
.businesscard-premium {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 10;
    background: #FDA2AC;
    color: #1F2A2A;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
}
.businesscard::before,
.businesscard::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: #FFFDF8;
    border-radius: 50%;
    top: 108px;
    z-index: 2;
}
.businesscard::before { left: -10px; }
.businesscard::after { right: -10px; }
.businesscard img.img-fluid {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
    border-bottom: 2px dashed rgba(31,42,42,.18);
}
.businesscard .p-3.pb-2 h3 {
    font-family: "Instrument Serif", serif;
    font-style: italic;
    font-size: 20px;
    color: #1F2A2A;
    margin-bottom: 4px;
}
.businesscard .p-3.pb-2 p.opacity-75 {
    font-size: 13px;
    color: #6B7A7A;
}
.businesscard .btn-prime {
    background: #1F2A2A !important;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
}
.businesscard .btn-sec {
    background: #FDA2AC !important;
    border-radius: 999px;
}

/* Tabs (how it works) */
.tabs-wrapper input[type="radio"] { display: none; }
.tabs-wrapper .tab-labels { display: flex; gap: 10px; flex-wrap: wrap; }
.tabs-wrapper .tab-labels label {
    padding: 10px 20px;
    border-radius: 999px;
    border: 2px solid #1F2A2A;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    color: #1F2A2A;
    transition: all .2s ease;
}
.tabs-wrapper .tab-panel { display: none; }
#tab1:checked ~ .tab-labels label[for="tab1"],
#tab2:checked ~ .tab-labels label[for="tab2"],
#tab3:checked ~ .tab-labels label[for="tab3"] {
    background: #1F2A2A;
    color: #fff;
}
#tab1:checked ~ .tab-panels #panel1,
#tab2:checked ~ .tab-panels #panel2,
#tab3:checked ~ .tab-panels #panel3 {
    display: block;
}

/* Blog content prose */
.blog-content { font-size: 15px; line-height: 1.8; color: #1F2A2A; }
.blog-content p { margin-bottom: 1em; }
.blog-content img { max-width: 100%; border-radius: 12px; margin: 1em 0; }
.blog-content h2, .blog-content h3 { font-family: "Instrument Serif", serif; font-style: italic; margin: 1.2em 0 .5em; }
.blog-content ul, .blog-content ol { margin: 0 0 1em 1.4em; }
