/* =========================================================
   GLOBAL
========================================================= */

.tis-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 20px;
}

body {
    background: #f5f7fa;
}

/* =========================================================
   PAGE HEADER
========================================================= */

.tis-page-header {
    margin-bottom: 40px;
}

.tis-page-title {
    font-size: 52px;
    font-weight: 800;
    color: #111;
    margin-bottom: 12px;
    line-height: 1.1;
}

.tis-page-subtitle {
    color: #6b7280;
    font-size: 18px;
    margin: 0;
}

/* =========================================================
   FILTER BAR
========================================================= */

.tis-filter-box {
    background: #fff;
    padding: 22px;
    border-radius: 18px;
    margin-bottom: 40px;
    box-shadow:
        0 6px 24px rgba(0,0,0,0.04);
}

.tis-filter-grid {
    display: grid;
    grid-template-columns:
        2fr
        1fr
        1fr
        1fr
        auto;
    gap: 16px;
    align-items: center;
}

.tis-filter-input,
.tis-filter-select {
    width: 100%;
    height: 54px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 0 18px;
    background: #fff;
    font-size: 15px;
    color: #111;
    outline: none;
}

.tis-filter-input:focus,
.tis-filter-select:focus {
    border-color: #e11d2e;
    box-shadow:
        0 0 0 4px rgba(225,29,46,0.08);
}

.tis-filter-button {
    height: 54px;
    padding: 0 28px;
    border: none;
    border-radius: 14px;
    background: #e11d2e;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
}

.tis-filter-button:hover {
    background: #be123c;
}

/* =========================================================
   MARKETPLACE LAYOUT
========================================================= */

.tis-marketplace-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    align-items: start;
}

/* =========================================================
   SIDEBAR
========================================================= */

.tis-sidebar-card {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #ececec;
    box-shadow:
        0 8px 24px rgba(0,0,0,0.04);
    position: sticky;
    top: 30px;
}

.tis-sidebar-card h3 {
    margin: 0 0 20px;
    font-size: 24px;
    font-weight: 700;
    color: #111;
}

.tis-sidebar-scroll {
    max-height: 70vh;
    overflow-y: auto;
}

.tis-sidebar-link {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: #374151;
    font-size: 15px;
    transition: 0.25s ease;
    margin-bottom: 8px;
}

.tis-sidebar-link:hover {
    background: #fef2f2;
    color: #e11d2e;
}

/* =========================================================
   GRID
========================================================= */

.tis-business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* =========================================================
   BUSINESS CARD
========================================================= */

.tis-business-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #ececec;
    box-shadow:
        0 8px 24px rgba(0,0,0,0.05);
    transition: 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tis-business-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 14px 34px rgba(0,0,0,0.12);
}

/* =========================================================
   TOP BADGES
========================================================= */

.tis-card-top-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    justify-content: space-between;
    z-index: 20;
}

.tis-top-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    backdrop-filter: blur(8px);
}

.tis-featured-badge {
    background: rgba(225,29,46,0.95);
}

.tis-verified-badge {
    background: rgba(59, 224, 9, 0.92);
}

/* =========================================================
   BANNER
========================================================= */

.tis-card-banner img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* =========================================================
   CARD BODY
========================================================= */

.tis-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* =========================================================
   INFO ROW
========================================================= */

.tis-card-info-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

/* =========================================================
   TITLE
========================================================= */

.tis-card-title {
    margin: 0 0 8px;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
}

.tis-card-title a {
    text-decoration: none;
    color: #111;
}

/* =========================================================
   LOCATION
========================================================= */

.tis-card-location {

    color: #6b7280;
    font-size: 14px;
    margin-bottom: 14px;
}

/* =========================================================
   CATEGORY PILLS
========================================================= */

.tis-card-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tis-category-pill {
    background: #fef2f2;
    color: #be123c;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

/* =========================================================
   LOGO
========================================================= */

.tis-logo-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #fff;
    background: #fff;
    box-shadow:
        0 6px 18px rgba(0,0,0,0.12);
}

.tis-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================================
   DESCRIPTION
========================================================= */

.tis-business-description {
    color: #4b5563;
    line-height: 1.7;
    font-size: 14px;
    margin-bottom: 22px;
    flex-grow: 1;
}

/* =========================================================
   FOOTER
========================================================= */

.tis-card-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* =========================================================
   BUTTONS
========================================================= */

.tis-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    height: 48px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.25s ease;
}

.tis-unlock-btn {
    background: #fff;
    color: #111;
    border: 1px solid #d1d5db;
}

.tis-unlock-btn:hover {
    background: #f84f1c;
}

.tis-profile-btn {
    background: #e11d2e;
    color: #fff;
}

.tis-profile-btn:hover {
    background: #be123c;
}

/* =========================================================
   PAGINATION
========================================================= */

.tis-pagination-wrapper {
    margin-top: 50px;
    text-align: center;
}

.page-numbers {

    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 4px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #111;
    font-weight: 600;
    transition: 0.25s ease;
}

.page-numbers.current {
    background: #e11d2e;
    border-color: #e11d2e;
    color: #fff;
}

.page-numbers:hover {
    background: #111;
    color: #fff;
}

/* =========================================================
   EMPTY STATE
========================================================= */

.tis-empty-state {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid #ececec;
}

.tis-empty-state h3 {
    margin-bottom: 10px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:1200px) {

    .tis-business-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:992px) {

    .tis-marketplace-layout {
        grid-template-columns: 1fr;
    }

    .tis-sidebar {
        order: 2;
    }

    .tis-filter-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:768px) {

    .tis-page-title {
        font-size: 38px;
    }

    .tis-filter-grid {
        grid-template-columns: 1fr;
    }

    .tis-business-grid {
        grid-template-columns: 1fr;
    }

    .tis-card-banner img {
        height: 220px;
    }

    .tis-card-footer {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Single Business Listing PHP file CSS Code - Started
========================================================= */


body {
    background: #f5f7fa;
}

.tis-single-business-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

/* HERO */

.tis-single-hero {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 40px;
}

.tis-single-banner img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.tis-single-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.75),
        rgba(0,0,0,0.15)
    );
}

.tis-single-hero-content {
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: 40px;
    z-index: 10;
}

.tis-single-hero-left {
    display: flex;
    gap: 24px;
    align-items: flex-end;
}

.tis-single-logo {
    width: 130px;
    height: 130px;
    border-radius: 24px;
    overflow: hidden;
    border: 4px solid #fff;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.tis-single-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tis-single-heading h1 {
    color: #fff;
    font-size: 52px;
    margin: 0 0 14px;
    line-height: 1.1;
}

.tis-single-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.tis-single-badge {
    padding: 8px 14px;
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.tis-featured {
    background: #e11d2e;
}

.tis-verified {
    background: #42cc17;
}

.tis-single-location {
    color: #fff;
    margin-bottom: 14px;
    font-size: 15px;
}

.tis-single-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tis-single-category-pill {
    background: rgba(255,255,255,0.18);
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

/* GRID */

.tis-single-grid {
    display: grid;
    grid-template-columns: 2fr 380px;
    gap: 28px;
}

/* CARDS */

.tis-single-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 28px;
    border: 1px solid #ececec;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.tis-section-title {
    margin: 0 0 22px;
    font-size: 28px;
    font-weight: 700;
    color: #111;
}

/* CONTENT */

.tis-single-content {
    color: #4b5563;
    line-height: 1.9;
    font-size: 16px;
}

/* INFO GRID */

.tis-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.tis-info-item {
    background: #f9fafb;
    padding: 18px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tis-full-width {
    grid-column: span 2;
}

.tis-info-item strong {
    color: #111;
}

.tis-info-item span,
.tis-info-item a {
    color: #6b7280;
    text-decoration: none;
}

/* SOCIAL */

.tis-social-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.tis-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 14px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.25s ease;
}

.tis-social-btn:hover {
    background: #e11d2e;
}

/* CONTACT */

.sticky-card {
    position: sticky;
    top: 30px;
}

.tis-contact-list,
.tis-locked-fields {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tis-contact-item,
.tis-locked-item {
    background: #f9fafb;
    padding: 16px;
    border-radius: 14px;
    color: #374151;
}

.tis-unlock-scroll-btn,
.tis-purchase-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 54px;
    border-radius: 14px;
    background: #e11d2e;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    margin-top: 22px;
    transition: 0.25s ease;
}

.tis-unlock-scroll-btn:hover,
.tis-purchase-btn:hover {
    background: #be123c;
}

/* UNLOCK SECTION */

.tis-unlock-section {
    margin-top: 50px;
}

.tis-unlock-box {
    background: linear-gradient(
        135deg,
        #111,
        #1f2937
    );
    color: #fff;
    border-radius: 24px;
    padding: 50px;
    text-align: center;
}

.tis-unlock-box h2 {
    font-size: 42px;
    margin-bottom: 14px;
}

.tis-unlock-box p {
    color: #d1d5db;
    margin-bottom: 28px;
}

/* RESPONSIVE */

@media(max-width:1024px) {

    .tis-single-grid {
        grid-template-columns: 1fr;
    }

    .sticky-card {
        position: relative;
        top: auto;
    }
}

@media(max-width:768px) {

    .tis-single-banner img {
        height: 280px;
    }

    .tis-single-hero-content {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .tis-single-hero-left {
        flex-direction: column;
        align-items: flex-start;
    }

    .tis-single-logo {
        width: 100px;
        height: 100px;
    }

    .tis-single-heading h1 {
        font-size: 36px;
    }

    .tis-info-grid {
        grid-template-columns: 1fr;
    }

    .tis-full-width {
        grid-column: span 1;
    }

    .tis-unlock-box {
        padding: 34px 24px;
    }

    .tis-unlock-box h2 {
        font-size: 30px;
    }
}

.tis-services-list {
    margin: 0;
    padding-left: 18px;
}

.tis-services-list li {
    margin-bottom: 8px;
    color: #4b5563;
}

.tis-contact-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tis-contact-item strong {
    color: #111;
    font-size: 14px;
}

.tis-contact-item span,
.tis-contact-item a {
    color: #6b7280;
    text-decoration: none;
    word-break: break-word;
}

/* =========================================================
   Single Business Listing PHP file CSS Code - Ended
========================================================= */

/* =========================================================
   MY BUSINESSES DASHBOARD REDESIGN - Started
========================================================= */

.tis-dashboard-page-title{
    margin-bottom:35px;
    font-size:42px;
    font-weight:800;
}

.tis-dashboard-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.tis-dashboard-card{
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    border:1px solid #ececec;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
    transition:.3s ease;
}

.tis-dashboard-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 40px rgba(0,0,0,.12);
}

/* Banner */

.tis-dashboard-banner{
    position:relative;
    height:180px;
}

.tis-dashboard-banner img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.tis-dashboard-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.6),
        rgba(0,0,0,.1)
    );
}

/* Badges */

.tis-dashboard-badges{
    position:absolute;
    top:16px;
    left:16px;
    right:16px;
    display:flex;
    justify-content:space-between;
    z-index:10;
}

.tis-dashboard-badge{
    padding:8px 14px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
    color:#fff;
}

.tis-dashboard-featured{
    background:#e11d2e;
}

.tis-dashboard-verified{
    background:#16a34a;
}

/* Body */

.tis-dashboard-body{
    position:relative;
    padding:24px;
}

/* Logo */

.tis-dashboard-logo{
    width:90px;
    height:90px;
    border-radius:22px;
    overflow:hidden;
    border:4px solid #fff;
    background:#fff;
    margin-top:-65px;
    margin-bottom:18px;
    box-shadow:0 10px 24px rgba(0,0,0,.15);
}

.tis-dashboard-logo img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* Title */

.tis-dashboard-title{
    margin:0 0 14px;
    font-size:30px;
    font-weight:800;
    line-height:1.2;
}

/* Status */

.tis-dashboard-status{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:max-content;
    padding:8px 16px;
    border-radius:999px;
    background:#dcfce7;
    color:#166534;
    font-size:13px;
    font-weight:700;
    margin-bottom:20px;
}
/* =========================================================
   STATUS COLORS
========================================================= */

.tis-status-approved{
    background:#dcfce7;
    color:#15803d;
}

.tis-status-pending{
    background:#fef3c7;
    color:#b45309;
}

.tis-status-rejected{
    background:#fee2e2;
    color:#b91c1c;
}

.tis-status-draft{
    background:#e5e7eb;
    color:#374151;
}

.tis-status-default{
    background:#e5e7eb;
    color:#374151;
}

/* Meta */

.tis-dashboard-meta{
    display:flex;
    flex-direction:column;
    gap:14px;
    margin-bottom:24px;
}

.tis-dashboard-meta-item{
    display:flex;
    justify-content:space-between;
    gap:14px;
    border-bottom:1px solid #f3f4f6;
    padding-bottom:12px;
}

.tis-dashboard-meta-label{
    font-weight:700;
}

.tis-dashboard-meta-value{
    color:#6b7280;
    text-align:right;
}

/* Actions */

.tis-dashboard-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}

.tis-dashboard-btn{
    height:48px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-size:14px;
    font-weight:700;
    transition:.25s ease;
}

.tis-dashboard-btn-view{
    background:#111827;
    color:#fff;
}

.tis-dashboard-btn-view:hover{
    background:#e11d2e;
    color:#fff;
}

.tis-dashboard-btn-edit{
    background:#2563eb;
    color:#fff;
}

.tis-dashboard-btn-delete{
    background:#fee2e2;
    color:#dc2626;
}

.tis-dashboard-btn-featured{
    background:#fef3c7;
    color:#b45309;
}

.tis-dashboard-btn-renew{
    background:#dcfce7;
    color:#166534;
}

.tis-dashboard-btn-pending{
    background:#fef3c7;
    color:#92400e;
}

/* =========================================================
   DISABLED BUTTON
========================================================= */

.tis-dashboard-btn-disabled{
    background:#e5e7eb !important;
    color:#6b7280 !important;
    cursor:not-allowed;
    pointer-events:none;
    border:1px solid #d1d5db;
}

/* Responsive */

@media(max-width:1200px){

    .tis-dashboard-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:768px){

    .tis-dashboard-grid{
        grid-template-columns:1fr;
    }

    .tis-dashboard-actions{
        grid-template-columns:1fr;
    }

    .tis-dashboard-title{
        font-size:24px;
    }
}

/* =========================================================
   MY BUSINESSES DASHBOARD REDESIGN - Ended
========================================================= */

/* =========================================================
   MY UNLOCKS DASHBOARD - Started
========================================================= */

.tis-unlocks-wrapper {
    width: 100%;
}

.tis-dashboard-header {
    margin-bottom: 35px;
}

.tis-dashboard-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111827;
}

.tis-dashboard-subtitle {
    font-size: 16px;
    color: #6b7280;
}

.tis-unlocks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.tis-unlock-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    border: 1px solid #e5e7eb;
}

.tis-unlock-card:hover {
    transform: translateY(-5px);
}

.tis-unlock-banner{
    position:relative;
    height:170px;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
}

.tis-unlock-banner-img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
}

.tis-unlock-banner-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.55),
        rgba(0,0,0,.15)
    );
}

.tis-unlock-logo{
    position:relative;
    z-index:5;
    width:95px;
    height:95px;
    border-radius:24px;
    object-fit:cover;
    background:#fff;
    padding:6px;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
}

.tis-unlock-logo-placeholder{
    position:relative;
    z-index:5;
    width:95px;
    height:95px;
    border-radius:24px;
    background:#fff;
    color:#be123c;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:38px;
    font-weight:700;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
}

.tis-unlock-content {
    padding: 28px;
}

.tis-unlock-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 22px;
    color: #111827;
    line-height: 1.3;
}

.tis-unlock-meta {
    margin-bottom: 12px;
    font-size: 15px;
}

.tis-meta-label {
    font-weight: 700;
    color: #111827;
}

.tis-meta-value {
    color: #4b5563;
}

.tis-unlock-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
    margin-bottom: 25px;
}

.tis-badge {
    padding: 7px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

.tis-badge-verified {
    background: #dcfce7;
    color: #166534;
}

.tis-badge-featured {
    background: #fef3c7;
    color: #92400e;
}

.tis-unlock-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: #ffffff;
    padding: 15px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s ease;
}

.tis-unlock-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(190, 18, 60, 0.25);
    color: #ffffff;
}

.tis-empty-unlocks {
    background: #ffffff;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.tis-empty-unlocks h3 {
    margin-bottom: 10px;
    color: #111827;
}

.tis-empty-unlocks p {
    color: #6b7280;
}

/* =========================================================
   MOBILE RESPONSIVE
========================================================= */

@media (max-width: 768px) {

    .tis-dashboard-title {
        font-size: 28px;
    }

    .tis-unlocks-grid {
        grid-template-columns: 1fr;
    }

    .tis-unlock-content {
        padding: 22px;
    }

    .tis-unlock-title {
        font-size: 24px;
    }

}

/* =========================================================
   MY UNLOCKS DASHBOARD - Ended
========================================================= */