/* =========================================
   SINGLE CATEGORY
   Scope: categories/show.blade.php only
========================================= */
.categories.show .sub-nav-bar {
    padding: 13px 0;
    background: #fff;
}

.categories.show .search-container {
    padding-top: 18px;
    padding-bottom: 18px;
}

.categories.show .page-title {
    margin: 0 0 8px;
    color: #1f2937;
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.15;
}

.categories.show .page-subtitle {
    margin: 0;
    color: #4b5563;
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.45;
}

.categories.show #content {
    order: 1;
}

.categories.show .sidebar {
    margin-right: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: 4px solid #ff6900;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.categories.show .sidebar:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.categories.show .sidebar .widget {
    margin-bottom: 24px;
    padding: 0;
    background: transparent;
}

.categories.show .sidebar h2,
.categories.show .sidebar h3,
.categories.show .sidebar p,
.categories.show .sidebar li,
.categories.show .sidebar a {
    font-family: Inter, sans-serif;
}

.categories.show .sidebar h3 {
    margin-bottom: 14px;
    color: #1f2937;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
}

.categories.show .related__link {
    color: #4b5563;
    font-size: 15px !important;
    line-height: 1.7;
    text-decoration: none;
}

.categories.show .related__link:hover {
    color: #ff6900;
    text-decoration: none;
}

.categories.show .coupon {
    position: relative;
    margin-bottom: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.categories.show .coupon:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.categories.show .coupon.bg-border-or {
    border: 1px solid #e5e7eb !important;
}

.categories.show .coupon__body {
    display: flex;
    align-items: flex-start;
    padding: 22px 24px;
}

.categories.show .coupon__aside,
.categories.show .coupon__body > div:first-child {
    flex: 0 0 104px;
    width: 104px;
    min-width: 104px;
}

.categories.show .coupon__body > div:first-child img,
.categories.show .coupon__aside img {
    display: block;
    width: 84px;
    height: 84px;
    margin: 0 auto;
    object-fit: contain;
    background: #fff;
    border: 0;
}

.categories.show .coupon__right {
    display: flex;
    flex: 1 1 auto;
    align-items: flex-start;
    gap: 20px;
    margin-left: 20px;
}

.categories.show .coupon__desc {
    display: block;
    flex: 1 1 auto;
    padding: 0;
    margin: 0;
}

.categories.show .coupon__title_link {
    text-decoration: none;
}

.categories.show .coupon__title_link:hover {
    text-decoration: none;
}

.categories.show .coupon__title {
    margin: 0 0 10px !important;
    color: #0f3b66;
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: 20px !important;
    line-height: 1.25;
}

.categories.show .coupon__text {
    display: block;
    max-height: none;
    margin: 0;
    padding-right: 0;
    overflow: visible;
    color: #4b5563;
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.55;
    -webkit-line-clamp: unset;
}

.categories.show .coupon__footer {
    min-height: auto;
    margin-top: 10px;
    padding: 0;
    background: transparent;
}

.categories.show .coupon__label-code {
    display: none;
}

.categories.show .container1 {
    display: none;
}

.categories.show .collapse.p-0 {
    margin-top: 10px;
}

.categories.show .coupon__action {
    flex: 0 0 190px;
    width: 190px;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.categories.show .coupon__action .btn {
    min-width: 185px;
    margin-top: 0;
    padding: 14px 18px;
    background: #10b981 !important;
    border: none;
    border-radius: 0;
    box-shadow: none;
    color: #fff;
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}

.categories.show .coupon__action .btn:hover {
    background: #059669 !important;
    color: #fff;
}

.categories.show .tc-trigger {
    margin: 0;
    color: #4b5563;
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.4;
}

.categories.show .tc-trigger:hover {
    color: #111827;
}

.categories.show .tc-content-row {
    padding: 0 24px 18px;
}

.categories.show .tc-content-row hr {
    margin: 0 0 12px;
    border-color: #e5e7eb;
}

.categories.show .tc-content-row ul {
    margin: 0;
    padding-left: 18px;
    color: #4b5563;
    font-family: Inter, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

.categories.show .banner.mb-2 {
    margin: 18px 0 !important;
}

.categories.show .banner.mb-2 img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.categories.show .see-more-categories {
    margin-top: 28px;
    padding: 28px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: 4px solid #ff6900;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.categories.show .see-more-categories__title {
    margin: 0 0 18px;
    color: #1f2937;
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.3;
}

.categories.show .see-more-categories__content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.categories.show .see-more-categories__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.categories.show .see-more-categories__item {
    margin-bottom: 10px;
}

.categories.show .see-more-categories__item a {
    color: #4b5563;
    font-family: Inter, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    text-decoration: none;
}

.categories.show .see-more-categories__item a:hover {
    color: #ff6900;
    text-decoration: none;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 991.98px) {
    .categories.show .page-title {
        font-size: 32px;
    }

    .categories.show .page-subtitle {
        font-size: 18px;
    }

    .categories.show .coupon__body {
        padding: 18px;
    }

    .categories.show .coupon__right {
        gap: 16px;
        margin-left: 16px;
    }

    .categories.show .coupon__action {
        flex: 0 0 170px;
        width: 170px;
    }

    .categories.show .coupon__action .btn {
        min-width: 170px;
        padding: 12px 14px;
        font-size: 14px;
    }

    .categories.show .sidebar {
        margin-top: 18px;
    }

    .categories.show .see-more-categories__content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767.98px) {
    .categories.show .search-container {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .categories.show .page-title {
        font-size: 24px;
        line-height: 1.2;
    }

    .categories.show .page-subtitle {
        font-size: 16px;
        line-height: 1.45;
    }

    .categories.show .coupon {
        border-radius: 6px;
    }

    .categories.show .coupon__body {
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
    }

    .categories.show .coupon__aside,
    .categories.show .coupon__body > div:first-child {
        flex: none;
        width: 72px;
        min-width: 72px;
        margin-bottom: 12px;
    }

    .categories.show .coupon__body > div:first-child img,
    .categories.show .coupon__aside img {
        width: 72px;
        height: 72px;
        margin: 0;
    }

    .categories.show .coupon__right {
        display: block;
        margin-left: 0;
    }

    .categories.show .coupon__title {
        font-size: 16px !important;
        line-height: 1.3;
    }

    .categories.show .coupon__text {
        font-size: 14px;
        line-height: 1.5;
    }

    .categories.show .coupon__action {
        width: 100%;
        margin-top: 14px;
        text-align: left;
    }

    .categories.show .coupon__action .btn {
        width: 100%;
        min-width: 0;
    }

    .categories.show .tc-content-row {
        padding: 0 14px 14px;
    }

    .categories.show .sidebar {
        padding: 18px;
    }

    .categories.show .see-more-categories {
        padding: 20px;
    }

    .categories.show .see-more-categories__content {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* =========================================
   SINGLE CATEGORY - RESIDUAL LOCAL RULES
========================================= */

.categories.show .coupon__type {
    width: 90px;
    white-space: nowrap !important;
    display: block !important;
    text-align: center !important;
    font-size: 22px !important;
}

.categories.show .coupon__title_link {
    color: #222;
}

.categories.show .coupon__title_link:hover {
    color: #222;
    text-decoration: none;
}

.categories.show .related__link {
    font-size: 16px !important;
}

.categories.show .coupon__aside {
    flex: 0 1 16%;
    cursor: pointer;
}

.categories.show .bg-border-or {
    background-color: #fff !important;
    border: 3px solid #ff6900 !important;
}

.categories.show ul.popular-shops {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-left: 0;
    list-style: none;
}

.categories.show .popular-shops__item {
    flex: 0 0 33.3%;
    max-width: 33.3%;
    padding: 5px;
}

.categories.show .related__col {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.categories.show .related-categories li a {
    color: grey;
    transition: 0.3s ease-in-out;
}

.categories.show .related-categories li a:hover {
    color: #000;
}

.categories.show .coupon .row {
    margin-left: 15px !important;
    margin-right: 15px !important;
}

.categories.show .tc-trigger {
    cursor: pointer;
    user-select: none;
}

.categories.show .tc-trigger:hover {
    text-decoration: underline;
}

.categories.show .tc-arrow {
    display: inline-block;
    font-size: 12px;
    transition: transform 0.25s ease;
}

.categories.show .tc-trigger.active .tc-arrow {
    transform: rotate(180deg);
}

.categories.show .h1,
.categories.show h1 {
    font-size: 23px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}

.categories.show .title-and-filters-container h1 {
    padding-left: 0 !important;
}

.categories.show .coupon-filter {
    min-height: 27px;
    margin-bottom: 15px;
    padding-left: 0;
    font-family: Inter, sans-serif;
    text-align: right;
    list-style-type: none;
    border-bottom: 1px solid #d8d8d8;
}

.categories.show .coupon-filter li {
    display: inline-block;
    margin-left: 5px;
    color: #222;
    cursor: pointer;
}

.categories.show .coupon-filter li:hover {
    border-bottom: 3px solid #ff6900;
}

.categories.show .coupon-filter li.active {
    font-weight: 700;
    text-decoration: none;
    border-bottom: 3px solid #04777b;
}

@media (max-width: 575px) {
    .categories.show .coupon-filter {
        padding: 10px 0;
        text-align: center;
    }
}

/* CATEGORY: logo label clone from single store */

.categories.show .coupon__logo.coupon__logo--bg {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    overflow: hidden;
    background: #fff !important;
    border: 1px solid #d3d3d3;
    border-radius: 5px;
}

.categories.show .coupon__logo.coupon__logo--bg > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 8px 8px 28px;
    background: #fff;
}

.categories.show .coupon__logo.coupon__logo--bg > span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 6px;
    background-color: #ff6900;
    color: #fff !important;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: default;
}

.categories.show .coupon__logo.coupon__logo--bg.coupon-code > span {
    background-color: #ff6900;
}

.categories.show .coupon__logo.coupon__logo--bg:not(.coupon-code) > span {
    background-color: #ff6900;
}