:root {
    --ink: #151517;
    --ink-soft: #232326;
    --accent: #E7402E;
    --accent-dark: #C93222;
    --paper: #ffffff;
    --mist: #f6f6f7;
    --line: #e6e6e9;
    --slate: #6b6d76;
    --slate-dark: #2c2d31;
    --blue: #0d6efd;
    --blue-tint: #eaf2ff;
    --radius: 3px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-pill: 999px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}


body {
    font-family: 'Inter', sans-serif;
    background: var(--mist);
    color: var(--slate-dark);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.topbar {
    background: #323131;
    color: #c9c9cd;
    font-size: 12.5px;
    position: relative;
    /* z-index: 60; */
}

.topbar-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding-right: 0;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 9px 24px;
}

.follow-label {
    letter-spacing: .08em;
    font-weight: 600;
    color: #fff;
    font-size: 11.5px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.social-links a {
    color: #c9c9cd;
    display: flex;
    transition: color .15s ease;
}

.social-links a:hover {
    color: var(--accent);
}

.social-links svg {
    width: 14px;
    height: 14px;
}

.topbar-right {
    display: flex;
    align-items: stretch;
}

.quicklinks {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 22px;
    color: #e7e7e9;
    font-weight: 500;
    letter-spacing: .04em;
}

.quicklinks svg {
    width: 13px;
    height: 13px;
}

.topbar-chevron {
    background: #323131;
    display: flex;
    align-items: stretch;
    position: relative;
    padding-left: 26px;
    clip-path: polygon(16px 0, 100% 0, 100% 100%, 0 100%);
}

.topbar-chevron ul {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.topbar-chevron a {
    display: block;
    padding: 9px 20px;
    color: #fff;
    font-weight: 600;
    letter-spacing: .03em;
    font-size: 12px;
    transition: background .15s ease;
    white-space: nowrap;
}

.topbar-chevron a:hover {
    background: var(--accent-dark);
}

.main-header {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-header-inner {
    max-width: 1380px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    padding: 16px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.logo-mark {

    font-weight: 700;
    font-size: 30px;
    letter-spacing: .01em;
    color: var(--ink);
    font-style: italic;
    transform: skewX(-6deg);
    position: relative;
    padding-right: 6px;
}

.logo-mark::after {
    content: "";
    position: absolute;
    top: -2px;
    right: -3px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 13px 13px;
    border-color: transparent transparent var(--accent) transparent;
}

.logo-sub {
    display: none;
}


.search-wrap {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    position: relative;
}

.logo img {
    width: 135px;
}

.search-bar {
    display: flex;
    align-items: stretch;
    border: 1px solid #e6e6e9d1;
    border-radius: var(--radius-pill);
    background: #eeeeeede;
    height: 48px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.search-bar:focus-within {
    border-color: #e3e3e3;
}

.cat-select {
    position: relative;
    border-right: 1.5px solid #cfcfd0;
    flex-shrink: 0;
}

.cat-btn {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px 0 20px;
    font-size: 13px;
    font-weight: 500;
    color: #000;
    white-space: nowrap;
    max-width: 180px;
}

.cat-btn span.txt {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.caret {
    width: 7px;
    height: 7px;
    border-right: 1.6px solid #111111;
    border-bottom: 1.6px solid #111111;
    transform: rotate(45deg);
    flex-shrink: 0;
    transition: transform .15s ease;
}

.cat-select.open .caret {
    transform: rotate(-135deg);
    margin-top: 8px;
}

.cat-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 14px 30px rgba(21, 21, 23, .14);
    width: 800px;
    max-width: 90vw;
    padding: 24px;
    display: none;
    z-index: 80;
}

.cat-panel::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 22px;
    width: 11px;
    height: 11px;
    background: var(--paper);
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
    transform: rotate(45deg);
}

.cat-select.open .cat-panel {
    display: block;
}


.catmenu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.catmenu-col-head {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 2px solid var(--line);
}

.catmenu-col-head i {
    font-size: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.catmenu-col-head h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0;
}

.catmenu-item {
    display: block;
    padding: 8px 8px;
    margin: 0 -8px 2px;
    border-radius: 6px;
}

.catmenu-item:hover {
    background: var(--mist);
}

.catmenu-item:hover .catmenu-title {
    color: var(--accent);
}

.catmenu-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
    transition: color .12s ease;
}

.catmenu-desc {
    font-size: 12px;
    line-height: 1.4;
    color: var(--slate);
}

.catmenu-footer {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    text-align: center;
}

.catmenu-footer a {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--accent);
}

.catmenu-footer a:hover {
    color: var(--accent-dark);
}


.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 20px;
    font-size: 14px;
    color: var(--ink);
    outline: none;
    min-width: 0;
    letter-spacing: .2px;
}

.search-input::placeholder {
    color: var(--slate);
}

.search-btn {
    flex-shrink: 0;
    width: 58px;
    /* background: var(--accent); */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease;
    border-top-right-radius: var(--radius-pill);
    border-bottom-right-radius: var(--radius-pill);
}

.search-btn:hover {
    background: var(--accent-dark);
    color: #fff;
}

.search-btn svg {
    width: 19px;
    height: 19px;
    stroke: var(--accent);
    ;
}

.suggest-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 34px rgba(21, 21, 23, .14);
    padding: 25px;
    display: none;
    z-index: 75;
    max-height: 500px;
    overflow-y: auto;
}

.search-wrap.open .suggest-panel {
    display: block;
}

.suggest-label {
    font-size: 10.5px;
    letter-spacing: .08em;
    font-weight: 800;
    color: #e72f2e;
    padding: 2px 2px 14px;
}

.trending-block {
    display: block;
}

.trending-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.trend-tag {
    padding: 9px 18px;
    border-radius: var(--radius-pill);
    border: 1.4px solid var(--line);
    background: var(--paper);
    font-size: 13px;
    font-weight: 500;
    color: var(--slate-dark);
    transition: all .15s ease;
    text-transform: capitalize;
}

.trend-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.favorites-block {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.fav-card {
    display: block;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--paper);
    transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}

.fav-card:hover {
    box-shadow: 0 10px 24px rgba(21, 21, 23, .1);
    transform: translateY(-2px);
    border-color: var(--line);
}

.fav-thumb {
    height: 135px;
    display: flex;
    align-items: flex-end;
    padding: 0;
}

.fav-thumb-title {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}

.fav-body {
    padding: 10px 12px 12px;
}

.fav-provider {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: .03em;
    margin-bottom: 6px;
}

.fav-provider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.fav-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.35;
    margin-bottom: 4px;
}

.fav-meta {
    font-size: 11px;
    color: var(--slate);
}



.suggest-results {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.suggest-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 10px;
    border-radius: var(--radius-md);
}

.suggest-item:hover {
    background: var(--mist);
}

.pop-footer a.btn.btn-solid {
    font-size: 12px;
    text-transform: capitalize;
    font-weight: 500;
    padding: 6px 12px;
    width: 100%;
}

.pop-footer a.btn.btn-outline {
    font-size: 12px;
    text-transform: capitalize;
    letter-spacing: 0;
    padding: 6px 13px;
    width: 100%;
}

.pop-thumb img {
    width: 100%;
    height: 100%;
    border-radius: 7px;
    border: 1px solid #ddd;
}

.suggest-thumb img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.suggest-thumb {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    background: var(--ink);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);

    font-weight: 600;
    font-size: 14px;
}

.suggest-text {
    min-width: 0;
}

.suggest-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggest-cat {
    font-size: 11.5px;
    color: var(--slate);
}

.suggest-empty {
    padding: 16px 10px;
    font-size: 13px;
    color: var(--slate);
    text-align: center;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--slate-dark);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width .18s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent);
}

.icon-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.icon-btn-wrap {
    position: relative;
}

.icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--ink);
    transition: background .15s ease;
}

.icon-btn:hover {
    background: var(--mist);
}

.icon-btn svg {
    width: 20px;
    height: 20px;
}

.badge-cart {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--accent);
    color: #fff;
    font-size: 9.5px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 18px;
}

.pop-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 320px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 34px rgba(21, 21, 23, .16);
    display: none;
    z-index: 90;
    overflow: hidden;
}

.pop-panel::before {
    content: "";
    position: absolute;
    top: -6px;
    right: 16px;
    width: 11px;
    height: 11px;
    background: var(--paper);
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
    transform: rotate(45deg);
}

.icon-btn-wrap.open .pop-panel {
    display: block;
}

.pop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 10px;
    border-bottom: 1px solid var(--line);
}

.pop-header h4 {
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 0;
    font-size: 15px;
    font-weight: 700;
}

.pop-header span {
    font-size: 11.5px;
    color: var(--slate);
    font-weight: 600;
}

.pop-list {
    max-height: 290px;
    overflow-y: auto;
}

.pop-row {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
}

.pop-row:last-child {
    border-bottom: none;
}

.pop-thumb {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--mist);
    border: 1px solid var(--line);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);

    font-weight: 600;
}

.pop-info {
    flex: 1;
    min-width: 0;
}

.pop-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pop-meta {
    font-size: 11.5px;
    color: var(--slate);
    margin-top: 2px;
}

.pop-remove {
    color: var(--slate);
    font-size: 16px;
    line-height: 1;
    padding: 4px;
    flex-shrink: 0;
}

.pop-remove:hover {
    color: var(--accent);
}

.pop-footer {
    padding: 14px 16px;
    display: flex;
    gap: 10px;
    border-top: 1px solid var(--line);
}

.pop-total {
    display: flex;
    justify-content: space-between;
    padding: 0 16px 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}

.btn {
    text-align: center;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    transition: all .15s ease;
}

.btn-outline {
    border: 1.4px solid var(--ink);
    color: var(--ink);
}

.btn-outline:hover {
    background: var(--ink);
    color: #fff;
}

.btn-solid {
    background: var(--accent);
    color: #fff;
}

.btn-solid:hover {
    background: var(--accent-dark);
    color: #fff;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-buttons .btn {
    flex: none;
    padding: 9px 18px;
}

.hamburger {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: var(--ink);
    display: block;
    transition: transform .2s ease, opacity .2s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.hero-main {
    background: var(--cream);
    background-image: radial-gradient(circle at 8% 10%, rgba(231, 64, 46, 0.06), transparent 45%);
}

.hero {
    max-width: 1346px;
    margin: 0 auto;
    padding: 57px 17px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    align-items: center;
}

.badge-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--badge-bg);
    color: var(--accent);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: 56px;
    line-height: 1.09;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero h1 .accent {
    color: var(--accent);
}

.hero .sub {
    font-size: 16px;
    line-height: 1.6;
    color: #666666;
    max-width: 480px;
    font-weight: 500;
    margin-bottom: 26px;
}

.cta-row {
    display: flex;
    gap: 14px;
    margin-bottom: 56px;
}

.btn-red {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 24px -8px rgba(231, 64, 46, 0.55);
    padding: 11px 26px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: capitalize;
    transition: all .15s ease;
}

.btn-red:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-2 {
    background: #fff;
    color: var(--ink);
    border-color: #E4E1DB;
    padding: 11px 26px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: capitalize;
    transition: all .15s ease;
}

.btn-outline-2:hover {
    border-color: #C9C5BD;
    transform: translateY(-1px);
}

.stats {
    display: flex;
    gap: 44px;
}

.stat-num {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.stat-label {
    font-size: 13.5px;
    color: var(--muted);
    margin-top: 2px;
}

.hero-visual {
    position: relative;
}

.hero-visual img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    box-shadow: 0 30px 60px -20px rgba(23, 24, 26, 0.25);
}

/*category-section*/
.padding-auto {
    padding: 70px 20px;
}

.section-head {
    text-align: center;
}

.section-category {
    background: #fff;
}

h2.main-heading-all {
    text-align: center;
    margin: 10px auto 14px;
    font-weight: 800;
    color: #000;
    font-size: 38px;
}

.sub-heading {
    background-color: #ffffff;
    color: var(--dark);
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    column-gap: 10px;
    margin-bottom: 4px;
    position: relative;
    border: 1px solid #e1e1e1;
    padding: 4px 15px 5px 4px;
    border-radius: 100px;
    letter-spacing: 0;
    text-transform: capitalize;
}

.sub-heading .heading-icon {
    background-color: #fdece9;
    color: var(--accent);
    font-size: 14px;
    height: 28px;
    width: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 54px 26px;
    margin-top: 3rem;
}

.cat-card {
    position: relative;
    display: block;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    overflow: visible;
    padding-top: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.category-grid .badge {
    position: absolute;
    top: -26px;
    left: 20px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    z-index: 2;
    transition: background 0.25s ease, border-color 0.25s ease;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
}

.category-grid .badge i {
    font-size: 28px;
    color: var(--accent);
    transition: color 0.25s ease;
}

.cat-card:hover .badge {
    background: var(--accent);
    border-color: var(--accent);
}

.cat-card:hover .badge i {
    color: #fff;
}

.cat-img {
    width: 100%;
    height: 190px;
    overflow: hidden;
    border-top-left-radius: 10px;
    filter: grayscale(35%);
    transition: filter 0.3s ease;
    border-top-right-radius: 10px;
}

.cat-card:hover .cat-img,
.cat-card.is-active .cat-img {
    filter: grayscale(0%);
}

.cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.cat-card:hover .cat-img img {
    transform: scale(1.06);
}

.cat-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom-left-radius: 10px;
    transition: background 0.25s ease, color 0.25s ease;
    border-bottom-right-radius: 10px;
}

.cat-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    transition: color 0.25s ease;
}

.cat-footer i {
    font-size: 20px;
    color: var(--dark);
    transition: transform 0.25s ease, color 0.25s ease;
}

.cat-card:hover .cat-footer {
    background: var(--accent);
}

.cat-card:hover .cat-name,
.cat-card:hover .cat-footer i {
    color: #fff;
}

.cat-card:hover .cat-footer i {
    transform: translateX(5px);
}

/*courses*/
.section-course {
    background: #F5F5F5;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
    margin-top: 2.4rem;
}

.course-card {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.course-thumb {
    position: relative;
    height: 184px;
    display: flex;
    align-items: flex-start;
    padding: 0;
    overflow: hidden;
}

.course-thumb img {
    width: 100%;
}

.thumb-tag {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #fff;
    line-height: 1.3;
    max-width: 85%;
}

.thumb-tag i {
    font-size: 15px;
    flex-shrink: 0;
}

.course-body {
    padding: 17px 15px 17px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-cat {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.course-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 8px;
    color: var(--dark);
    min-height: 46px;
}

.course-author {
    font-size: 12px;
    color: #656565;
    margin: 0 0 12px;
    font-weight: 500;
}

.course-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 8px;
    border-top: 1px dashed #dfdfdf;
}

.course-rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
}

.course-rating i {
    color: #f5b400;
    font-size: 15px;
}

.course-price {
    font-size: 17px;
    font-weight: 800;
    color: var(--dark);
}

.enroll-btn {
    display: block;
    text-align: center;
    text-decoration: none;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 0;
    border-radius: 8px;
    margin-top: auto;
    letter-spacing: .3px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.enroll-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    color: #fff;
}


/*mentor-cards*/
.section-mentors {
    background: #fff;
}

.slider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 2rem;
}

.slider-arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #e0e0e0;
    color: var(--dark);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.slider-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: scale(1.06);
}

.slider-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.slider-viewport {
    flex: 1;
    overflow: hidden;
}

.slider-track {
    display: flex;
    gap: 24px;
    transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}

.mentor-card {
    flex: 0 0 calc(25% - 18px);
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 28px 20px 24px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mentor-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.mentor-photo {
    width: 100px;
    height: 100px;
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--grey-light);
}

.mentor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mentor-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--dark);
}

.mentor-role {
    font-size: 13px;
    color: #656565;
    margin: 0 0 11px;
}

.mentor-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.mentor-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #eaeaeaa6;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.mentor-social a:hover {
    background: var(--accent);
    color: #fff;
}


.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, width 0.2s ease;
}

.dot.active {
    background: var(--accent);
    width: 22px;
    border-radius: 5px;
}


/*why-choose*/
.why-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #fdf1ef 0%, #f7f7f78c 45%, #f2f2f270 100%);
    padding-bottom: 40px;
}

.blob {
    position: absolute;
    top: -140px;
    left: -140px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(231, 64, 46, 0.14), rgba(231, 64, 46, 0.03) 70%);
    z-index: 0;
}

.timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    height: 480px;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, rgba(231, 64, 46, 0.12), rgba(231, 64, 46, 0.5), rgba(231, 64, 46, 0.12));
    z-index: 0;
}

.tl-item {
    position: relative;
    flex: 1;
    max-width: 260px;
}

.tl-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--accent);
    box-shadow: 0 0 0 4px #fff, 0 4px 10px rgba(231, 64, 46, 0.25);
    z-index: 2;
}

.tl-connector {
    position: absolute;
    left: 50%;
    width: 2px;
    height: 46px;
    transform: translateX(-50%);
    background: rgba(231, 64, 46, 0.35);
    z-index: 1;
}

.tl-item.top .tl-connector {
    bottom: 50%;
}

.tl-item.bottom .tl-connector {
    top: 50%;
}

.tl-card {
    position: absolute;
    left: 50%;
    width: 150%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px 22px 22px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tl-item.top .tl-card {
    bottom: calc(50% + 46px);
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.tl-item.bottom .tl-card {
    top: calc(50% + 46px);
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.tl-card:hover {
    background: var(--accent);
}

.tl-card:hover h3,
.tl-card:hover p {
    color: #fff;
}

.tl-card:hover .tl-check {
    background: #fff;
    color: var(--accent);
}

.tl-card:hover {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 16px 32px rgba(28, 37, 48, 0.12);
}

.tl-check {
    position: absolute;
    top: -16px;
    left: 22px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 6px 14px rgba(231, 64, 46, 0.35);
}

.tl-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 10px 0 10px;
    color: #000;
}

.tl-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #656565;
    margin: 0;
    font-weight: 500;
}


/*step-section*/
.step-section-21 {
    overflow-x: clip;
}

.step-item-21:not(:last-of-type) {
    margin-bottom: 200px;
}

.step-item-21 {
    align-items: center;
    position: relative;
}


.step-item-21 .step-shape-1 {
    position: absolute;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    width: 76%;
    margin: auto;
}


.step-item-21 .step-content .step-inner {
    display: grid;
    align-items: center;
    grid-template-columns: 120px 1fr;
    grid-gap: 20px;
    margin-bottom: 21px;
}

.step-item-21 .step-content .step-inner .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    width: 120px;
    border-radius: 50%;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px;
    background: #fff;
}

.step-item-21 .step-content .step-inner .number {
    color: #a3a3a3;
    opacity: 0.2;
    font-size: 55px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0;
}


.step-items-wrap {
    margin-top: 2.5rem;
}

.step-item-21 .step-content .title {
    font-size: 23px;
    margin-bottom: 10px;
    font-weight: 700;
}

.step-item-21 .step-content p {
    max-width: 485px;
    width: 100%;
    font-size: 16px;
    line-height: 26px;
    font-weight: 500;
    color: #656565;
}

.step-item-21 .step-img {
    max-width: 628px;
    width: 100%;
    height: 400px;
    border-radius: 20px;
    padding: 14px;
    background: #fff;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px;
}

.step-item-21 .step-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.step-section-21 {
    background-color: #fff;
}

.step-item-21.item-2 .step-content {
    padding-left: 35px;
}




/*statstics*/
section.goals-section {
    padding: 70px 40px;
}

.wrap {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.goals-left .section-head {
    text-align: left;
}

.goals-left {
    flex: 0 0 417px;
}

.goals-stats {
    flex: 1;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    min-width: 280px;
}

.stat-item {
    flex: 1;
    min-width: 143px;
    text-align: center;
    padding: 16px;
}

.stat-item:hover {
    background-color: #fff;
    box-shadow: 0 29px 53px rgba(0, 0, 0, .08);
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--mist);
    color: var(--accent);
    font-size: 28px;
    margin-bottom: 16px;
}

.stat-item img {
    width: 95px;
    margin: auto;
}

.goals-stats .stat-number {
    font-size: 30px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.goals-stats .stat-label {
    display: block;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
}

.goals-left h2.main-heading-all {
    font-size: 32px;
    text-align: left;
}

.goals-left p {
    font-size: 15px;
    width: 100%;
    color: #656565;
    font-weight: 500;
}


/*testimonial*/
.section-testimonials {
    background: #ffff;
}

.testi-eyebrow {
    text-align: center;
    color: var(--accent);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 13px;
    margin: 0 0 8px;
}

.testi-sub {
    text-align: center;
    color: #666666;
    font-size: 15px;
    max-width: 560px;
    margin: 14px auto 0;
}

.testi-slider {
    position: relative;
    margin-top: 3rem;
}

.testi-viewport {
    overflow: hidden;
}

.testi-track {
    display: flex;
    gap: 24px;
    transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}

.testi-card {
    flex: 0 0 calc(33.333% - 16px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 28px 26px 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testi-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
}

.testi-stars i {
    font-size: 16px;
    color: #f5b400;
}

.testi-quote {
    font-style: italic;
    font-size: 14px;
    line-height: 1.7;
    color: #2a2a2a;
    margin: 0 0 22px;
    font-weight: 500;
}

.testi-divider {
    border: none;
    border-top: 1px solid var(--line);
    margin: 0 0 20px;
}

.testi-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testi-user img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testi-user h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 2px;
    color: var(--ink);
}

.testi-user span {
    font-size: 13px;
    color: var(--slate);
    font-weight: 500;
}

.testi-arrow {
    position: absolute;
    top: 46%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    background: #ddd;
    color: var(--slate);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.testi-arrow:hover {
    background: var(--accent);
    color: #fff;
}

.testi-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.testi-arrow-left {
    left: -22px;
}

.testi-arrow-right {
    right: -22px;
}



/*footer*/
footer {
    background: #0d0d0d;
    color: #a3a3a3;
    padding: 56px 64px 0;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 40px;
}

.brand-col {
    max-width: 300px;
}

.footer-bottom a:hover {
    color: #fff;
}

.footer-grid .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 7px;
}

.brand-col p {
    font-size: 14px;
    line-height: 1.7;
    color: #8a8a8a;
}

.col h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 18px;
    border-bottom: 1px dashed #e72e2d;
    padding-bottom: 8px;
}

.col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.col ul li a {
    color: #a3a3a3;
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
}

.col ul li a:hover {
    color: #ffffff;
}

.col ul li .bx.bx-chevron-right {
    font-size: 19px;
    color: #e72f2e;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 34px;
    height: 34px;
    background: #1e1e1e;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cfcfcf;
    text-decoration: none;
    font-size: 14px;
}

.social-icons a:hover {
    background: #2a2a2a;
}

.footer-bottom {
    border-top: 1px solid #232323;
    padding: 22px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    color: #9a9a9a;
}

.footer-bottom .links {
    display: flex;
    gap: 28px;
}

.footer-bottom .links a {
    color: #6b6b6b;
    text-decoration: none;
}

.footer-bottom .links a:hover {
    color: #a3a3a3;
}


/*course-list*/
.listing-banner {
    overflow: hidden;
    /* height: 420px; */
}

.listing-banner img {
    width: 100%;

}

/* .listing-banner::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -120px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(231, 64, 46, .35), rgba(231, 64, 46, 0) 70%);
} */

.listing-banner-inner {
    position: relative;
}

.listing-banner .sub-heading {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .12);
    color: #fff;
}

.listing-banner .sub-heading .heading-icon {
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    width: 31px;
    height: 31px;
}

.listing-banner h1 {
    color: #fff;
    font-weight: 800;
    font-size: 38px;
    margin: 14px 0 10px;
    letter-spacing: -.5px;
}

.listing-banner p {
    color: #b9b9bd;
    font-size: 15px;
    max-width: 560px;
    margin: 0 0 22px;
    line-height: 1.6;
}

.listing-crumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #9a9aa0;
    font-weight: 600;
}

.listing-crumb a {
    color: #d5d5d9;
}

.listing-crumb a:hover {
    color: var(--accent);
}

.listing-crumb i {
    font-size: 15px;
    color: #6c6c72;
}

.listing-crumb span {
    color: var(--accent);
}


.section-listing {
    background: #F5F5F5;
    padding: 0 0 80px;
}

.listing-layout {
    position: relative;
    z-index: auto;
}

.filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    padding: 14px 18px;
    margin: -40px 0 18px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.filter-bar-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 800;
    color: var(--ink);
    margin-right: 4px;
}

.filter-bar-label i {
    color: var(--accent);
    font-size: 17px;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #e2e2e6;
    background: #fafafb;
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 14px;
    border-radius: 100px;
    white-space: nowrap;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.filter-pill i {
    font-size: 15px;
    color: #a8a8ae;
    transition: color .2s ease, transform .2s ease;
}

.filter-pill:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.filter-pill:hover i {
    color: var(--accent);
}

.filter-pill.all-filters {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.filter-pill.all-filters i {
    color: #fff;
}

.filter-pill.all-filters:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.filter-dd {
    position: relative;
    z-index: 101;
}

.filter-dd.open .filter-pill {
    border-color: var(--accent);
    color: var(--accent);
}

.filter-dd.open {
    z-index: 200;
}

.filter-dd.open .filter-pill i {
    color: var(--accent);
    transform: rotate(180deg);
}

.filter-pill.all-filters:hover span.conuter-flter {
    color: #fff;
}

.filter-dd-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 400px;
    max-width: 100%;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(21, 21, 23, .14);
    padding: 12px 14px;
    z-index: 300;
}

.filter-scroll {
    overflow-y: auto;
    max-height: 300px;
    padding-right: 6px;
}

.filter-scroll::-webkit-scrollbar {
    width: 5px;
}

.filter-scroll::-webkit-scrollbar-thumb {
    background: #d3d3d7;
    border-radius: 100px;
}

.filter-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

.filter-dd.open .filter-dd-panel {
    display: block;
}

.filter-dd-panel .filter-check {
    padding: 6px 2px;
}

.filter-dd-clear {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    background: #fdece9;
    padding: 6px 0;
    border-radius: 8px;
    margin-top: 8px;
}

.filter-dd-clear:hover {
    background: var(--accent);
    color: #fff;
}

.filters-sidebar {
    background: #fff;
    padding: 22px 20px 8px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 320px;
    max-width: 88vw;
    z-index: 999;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .28s ease;
    box-shadow: 10px 0 34px rgba(21, 21, 23, .18);
}

.filters-sidebar.open {
    transform: translateX(0);
}

.filters-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 6px;
    border-bottom: 1px solid #eee;
}

.filters-head h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filters-head h3 i {
    color: var(--accent);
    font-size: 19px;
}

.clear-filters {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--accent);
    background: #fdece9;
    padding: 5px 12px;
    border-radius: 100px;
    transition: background .2s ease, color .2s ease;
}

.clear-filters:hover {
    background: var(--accent);
    color: #fff;
}

.filter-block {
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.filter-block:last-child {
    border-bottom: 0;
}

.filter-block h4 {
    font-size: 13.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: var(--ink);
    margin-bottom: 12px;
}

/* .filter-scroll {
  max-height: 180px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin; 
  scrollbar-color: #d3d3d7 transparent;
} */

/* .filter-scroll::-webkit-scrollbar {
  width: 5px;
}

.filter-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.filter-scroll::-webkit-scrollbar-thumb {
  background: #d3d3d7;
  border-radius: 100px;
} */

.filter-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

.filter-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    cursor: pointer;
    font-size: 14px;
    color: var(--slate);
    font-weight: 500;
}

.filter-check input {
    appearance: none;
    -webkit-appearance: none;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    border: 1.6px solid #d3d3d7;
    border-radius: 5px;
    position: relative;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}

.filter-check input:checked {
    background: var(--accent);
    border-color: var(--accent);
}

.filter-check input:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 4px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(40deg);
}

.filter-check span {
    flex: 1;
    color: var(--ink);
}

.filter-check em {
    font-style: normal;
    font-size: 12px;
    color: #9c9ca3;
    font-weight: 600;
}

.filter-check:hover span {
    color: var(--accent);
}

.pill-toggle {
    display: inline-flex;
    border: 1px solid #e2e2e6;
    border-radius: 8px;
    overflow: hidden;
}

.pill-toggle button {
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 700;
    color: var(--slate);
    background: #fff;
    transition: background .2s ease, color .2s ease;
}

.pill-toggle button+button {
    border-left: 1px solid #e2e2e6;
}

.pill-toggle button.active {
    background: var(--accent);
    color: #fff;
}

.filter-cta {
    display: block;
    text-align: center;
    background: var(--ink);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 0;
    border-radius: 8px;
    margin: 18px 0 20px;
    transition: background .2s ease;
}

.filter-cta:hover {
    background: var(--accent);
    color: #fff;
}

.listing-main {
    min-width: 0;
}

.listing-toolbar {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.results-count {
    font-size: 14px;
    color: var(--slate);
    font-weight: 500;
}

.results-count strong {
    color: var(--ink);
    font-weight: 800;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.toolbar-search {
    position: relative;
    display: flex;
    align-items: center;
}

.toolbar-search input {
    border: 1px solid #e2e2e6;
    border-radius: 8px;
    padding: 9px 36px 9px 14px;
    font-size: 13px;
    width: 320px;
    color: var(--ink);
    background: #fafafb;
}

.toolbar-search input::placeholder {
    color: #a8a8ae;
}

.toolbar-search input:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
}

.toolbar-search i {
    position: absolute;
    right: 12px;
    font-size: 16px;
    color: #a8a8ae;
    pointer-events: none;
}

.sort-select {
    border: 1px solid #e2e2e6;
    border-radius: 8px;
    padding: 9px 32px 9px 14px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    background: #fafafb;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M0 0l5 6 5-6z' fill='%236b6d76'/></svg>");
    background-repeat: no-repeat;
    background-position: right 13px center;
    cursor: pointer;
}

.sort-select:focus {
    outline: none;
    border-color: var(--accent);
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.active-filters:empty {
    display: none;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #f1c9c2;
    color: var(--accent-dark);
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 8px 6px 12px;
    border-radius: 100px;
}

.chip button {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fdece9;
    color: var(--accent);
    font-size: 13px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chip button:hover {
    background: var(--accent);
    color: #fff;
}

.course-card {
    position: relative;
}

.thumb-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 54px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 2;
    gap: 8px;
}

.thumb-badges .level-badge {
    margin-right: auto;
}

.level-badge {
    background: rgba(21, 21, 23, .78);
    color: #fff;
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 4px 10px;
    border-radius: 51px;
}

.featured-badge {
    background: var(--accent);
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 4px 10px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.featured-badge i {
    font-size: 12px;
}

.course-sub-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: #8b8b92;
    font-weight: 600;
    margin: 0 0 10px;
}

.course-sub-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.course-sub-meta i {
    font-size: 14px;
    color: #b7b7bc;
}

.course-price .old-price {
    text-decoration: line-through;
    color: #b3b3ba;
    font-weight: 500;
    font-size: 12.5px;
    margin-right: 5px;
}

.wish-toggle {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, .92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: background .2s ease;
}

.wish-toggle i {
    font-size: 16px;
    color: var(--ink);
}

.wish-toggle.active {
    background: var(--accent);
}

.wish-toggle.active i {
    color: #fff;
}

.wish-toggle:hover {
    background: var(--accent);
}

.wish-toggle:hover i {
    color: #fff;
}

.no-results {
    background: #fff;
    border: 1px dashed #d9d9dd;
    border-radius: 12px;
    padding: 60px 20px;
    text-align: center;
}

.no-results i {
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 10px;
    display: block;
}

.no-results h4 {
    font-size: 17px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 6px;
}

.no-results p {
    font-size: 13.5px;
    color: var(--slate);
    margin-bottom: 16px;
}

.no-results button {
    background: var(--accent);
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: 8px;
}

.no-results button:hover {
    background: var(--accent-dark);
}

.filters-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(21, 21, 23, .5);
    z-index: 998;
}

.filters-overlay.open {
    display: block;
}

.filters-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f2f2f4;
    font-size: 18px;
    color: var(--ink);
}

span.conuter-flter {
    font-size: 13px;
    color: #f61800;
}

span.filter-counters {
    background: #e7402e;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #fff;
}

/*course-details*/
.cd-breadcrumb {
    background: var(--ink-soft);
    padding: 12px 0;
}

.cd-breadcrumb .crumb-inner a {
    color: #c9c9cd;
    font-size: 13px;
    font-weight: 500;
}

.cd-breadcrumb .crumb-inner a:hover {
    color: #fff;
}

.cd-breadcrumb .crumb-inner span {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
}

.cd-breadcrumb i {
    color: #6f6f76;
    font-size: 12px;
    margin: 0 4px;
}

.cd-hero {
    background: var(--ink);
    /* padding: 36px 0 0; */
}

.cd-hero-inner {
    max-width: 720px;
}

.cd-badges {
    display: flex;
    gap: 8px;
    margin: 14px 0 12px;
    flex-wrap: wrap;
}

.cd-badge {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius);
    letter-spacing: .2px;
}

.cd-badge.bestseller {
    background: #ffe59a;
    color: #3d2b00;
}

.cd-badge.roleplay {
    background: #d9c7ff;
    color: #33146b;
}

.cd-hero h1 {

    color: #fff;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.28;
    margin-bottom: 10px;
}

.cd-hero .cd-subtitle {
    color: #d8d8db;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.cd-hero .cd-author {
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.cd-hero .cd-author span {
    color: #b9b9bd;
    font-weight: 400;
}

.listing-banner-inner h1 {
    font-size: 34px;
    font-weight: 700;
    margin: 10px 0;
}

.cd-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    color: #cacaca;
    font-size: 13px;
    margin-bottom: 30px !important;
}

.cd-meta-row .cd-rating-num {
    color: #ffb400;
    font-weight: 700;
    font-size: 17px;
}

span.last-uptd {
    font-size: 13px;
    color: #e7402e;
    font-weight: 500;
}

span.subjtex {
    font-size: 13px;
    color: #2a2a2a;
    font-weight: 500;
}

.cd-meta-row .bx-star {
    color: #ffb400;
}

.cd-meta-row .cd-rating-count {
    color: #1c1c1c;
    text-decoration: underline;
    font-weight: 500;
}

.cd-body {
    background: var(--mist);
    padding-bottom: 48px;
}

.cd-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
    padding-top: 28px;
}

.cd-left {
    min-width: 0;
}

.cd-aside {
    position: sticky;
    top: 20px;
    margin-top: -140px;
}

.purchase-card {
    background: var(--paper);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 34px rgba(0, 0, 0, .22);
    overflow: hidden;
    border: 1px solid var(--line);
}

.purchase-thumb {
    position: relative;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #2b2b30, #141416);
    overflow: hidden;
}

.purchase-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .85;
}

.purchase-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    background: rgba(0, 0, 0, .25);
    cursor: pointer;
    border: none;
    width: 100%;
}

.purchase-play .play-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}

.purchase-play .play-circle i {
    font-size: 26px;
    color: var(--ink);
    margin-left: 3px;
}

.purchase-play span {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;
}

.purchase-body {
    padding: 20px;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 4px;
}

.price-now {
    font-size: 28px;
    font-weight: 800;
    color: var(--ink);
}

.price-old {
    font-size: 15px;
    color: #6b6d76;
    text-decoration: line-through;
}

.price-off {
    color: var(--accent-dark);
    font-size: 14px;
    font-weight: 800;
    text-transform: capitalize;
}
.btn-cart:hover a{
    color: #fff;
}.btn-cart:hover{
    color: #fff;
}
.price-timer {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-dark);
    font-size: 12.5px;
    font-weight: 600;
    margin: 8px 0 16px;
}

.price-timer i {
    font-size: 15px;
}

.btn-cart,
.btn-buy {
    width: 100%;
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: none;
    margin-bottom: 12px;
    transition: .15s ease;
    border-radius: 10px;
}

.btn-cart {
    background: var(--accent);
    color: #fff;
}

.btn-cart:hover {
    background: var(--accent-dark);
}

.btn-cart.in-cart {
    background: var(--ink);
}

.btn-cart.in-cart:hover {
    background: var(--ink-soft);
}

.btn-buy {
    background: #fff;
    color: var(--ink);
    border: 1.5px solid var(--ink);
}

.btn-buy:hover {
    background: var(--mist);
}

.purchase-guarantee {
    text-align: left;
    font-size: 12.5px;
    color: #292929;
    margin-bottom: 14px;
}

.purchase-includes-mini {
    list-style: none;
    padding: 14px 0 0;
    border-top: 1px solid var(--line);
    margin-top: 4px;
}

.purchase-includes-mini li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--slate-dark);
    padding: 6px 0;
}

.purchase-includes-mini i {
    color: #e7402e;
    font-size: 17px;
    width: 18px;
}

.purchase-actions-row {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    margin-top: 6px;
    padding-bottom: 15px;
    border-top: 1px solid var(--line);
}

.wish-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--slate-dark);
    background: none;
    border: none;
    cursor: pointer;
}

.wish-link i {
    font-size: 18px;
    color: #e7402e;
}

.wish-link.active {
    color: var(--accent);
}

.wish-link.active i {
    color: var(--accent);
}

.gift-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--slate-dark);
}

.cd-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    margin-bottom: 26px;
}

.cd-card h2,
.cd-section-title {
    font-size: 21px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 16px;
}

.learn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 28px;
}

.learn-item {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: var(--slate-dark);
    padding: 6px 0;
    line-height: 1.45;
    font-weight: 500;
    align-items: center;
}

.purchase-guarantee {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 9px;
    padding: 12px 12px;
    margin-top: 18px;
    background: #f7f9fc;
    border: 1px solid #e5eaf2;
    border-radius: 12px;
    font-family: 'Public Sans', sans-serif;
}

.guarantee-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--slate-dark);
    letter-spacing: .3px;
}

.guarantee-item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    color: #e7402e;
    border-radius: 50%;
    font-size: 19px;
}


@media (max-width: 480px) {
    .purchase-guarantee {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding: 14px;
    }

    .guarantee-divider {
        display: none;
    }
}

.learn-item i {
    color: #fff;
    font-size: 15px;
    margin-top: 0;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: #e7402e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.show-more-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--accent-dark);
    font-weight: 700;
    font-size: 14px;
    margin-top: 10px;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
}

.show-more-link i {
    font-size: 20px;
}

.topic-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.topic-pill {
    border: 1.4px solid var(--line);
    background: var(--paper);
    color: var(--slate-dark);
    font-size: 13.5px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: var(--radius-pill);
}

.topic-pill:hover {
    border-color: var(--accent);
    color: var(--accent);
}


.includes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
}

.includes-grid .inc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--slate-dark);
    padding: 7px 0;
}

.includes-grid i {
    font-size: 19px;
    color: #e7402e;
    width: 20px;
}



.coding-promo {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 24px;
    align-items: center;
    background: var(--ink);
    border-radius: var(--radius-md);
    padding: 26px 28px;
    margin-bottom: 26px;
}

.coding-promo h3 {

    color: #fff;
    font-size: 19px;
    margin-bottom: 8px;
}

.coding-promo p {
    color: #c7c7cc;
    font-size: 13.5px;
    margin-bottom: 12px;
}

.coding-promo a {
    color: var(--accent);
    font-weight: 700;
    font-size: 13.5px;
}

.coding-promo-visual {
    background: #101012;
    border-radius: var(--radius-sm);
    padding: 14px;
    font-family: monospace;
    font-size: 11.5px;
    color: #7ee787;
    line-height: 1.7;
    border: 1px solid #2a2a2e;
}

.coding-promo-visual .c1 {
    color: #79c0ff;
}

.coding-promo-visual .c2 {
    color: #ffa657;
}


.cc-head-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 10px;
}

.cc-meta-line {
    font-size: 13px;
    color: var(--slate);
}

.cc-expand-all {
    background: none;
    border: none;
    color: var(--accent-dark);
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
}

.cc-section {
    border: 1px solid var(--line);
    border-top: none;
}

.cc-section:first-child {
    border-top: 1px solid var(--line);
}

.cc-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--mist);
    cursor: pointer;
    gap: 10px;
}

.cc-section-head-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cc-section-head-left i.chev {
    transition: transform .2s ease;
    color: var(--slate-dark);
}

.cc-section.open .cc-section-head-left i.chev {
    transform: rotate(180deg);
}

.cc-section-head-left strong {
    font-size: 14.5px;
    color: var(--ink);
}

.cc-section-head-right {
    font-size: 12.5px;
    color: var(--slate);
    white-space: nowrap;
}

.cc-lectures {
    display: none;
}

.cc-section.open .cc-lectures {
    display: block;
}

.cc-lecture {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px 11px 40px;
    border-top: 1px solid var(--line);
    font-size: 13.5px;
    color: var(--slate-dark);
}

.cc-lecture-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cc-lecture-left i {
    color: var(--slate);
    font-size: 16px;
}

.cc-lecture .preview-tag {
    color: var(--accent-dark);
    font-weight: 700;
    font-size: 12px;
    margin-left: 8px;
}

.cc-lecture-time {
    color: var(--slate);
    font-size: 12.5px;
    white-space: nowrap;
}

.cc-more-sections {
    width: 100%;
    text-align: center;
    padding: 13px;
    border: 1px solid var(--line);
    border-top: none;
    background: var(--paper);
    color: var(--ink);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}


.cd-list-plain {
    list-style: none;
    padding: 0;
}

.cd-list-plain li {
    position: relative;
    padding-left: 4px;
    font-size: 14.5px;
    color: var(--slate-dark);
    line-height: 1.6;
    margin-bottom: 6px;
}

.desc-text {
    font-size: 14.5px;
    color: var(--slate-dark);
    line-height: 1.7;
    max-height: 130px;
    overflow: hidden;
    position: relative;
}

.desc-text.expanded {
    max-height: none;
}


.instructor-row {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.instructor-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--line);
    flex-shrink: 0;
}

.instructor-name {
    color: var(--accent-dark);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 2px;
}

.instructor-role {
    color: var(--slate);
    font-size: 13.5px;
    margin-bottom: 12px;
}

.instructor-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 14px;
}

.instructor-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    color: var(--slate-dark);
}

.instructor-stats i {
    color: var(--slate);
}

.review-summary {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.review-score {

    font-size: 46px;
    font-weight: 700;
    color: var(--ink);
}

.review-bars {
    flex: 1;
    min-width: 220px;
}

.review-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

#btnshwos {
    max-height: 278px;
    overflow: hidden;
}

#btnshwos.show-all {
    max-height: none;
}

.review-bar-row .stars {
    color: #f9b400;
    font-size: 13px;
    width: 62px;
    font-weight: 700;
}

.review-bar-track {
    flex: 1;
    height: 8px;
    background: var(--line);
    border-radius: 4px;
    overflow: hidden;
}

.review-bar-fill {
    height: 100%;
    background: #ffb400;
}

.review-bar-row .pct {
    font-size: 12px;
    color: var(--slate);
    width: 34px;
    text-align: right;
}

.review-card {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.review-card:last-child {
    border-bottom: none;
}

.review-head {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 6px;
}

.review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.review-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
}

.review-date {
    font-size: 12px;
    color: var(--slate);
}

.review-stars {
    color: #ffb400;
    font-size: 12px;
    margin-bottom: 6px;
}

.review-text {
    font-size: 13.5px;
    color: var(--slate-dark);
    line-height: 1.6;
}

.more-course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.topic-pill:hover a {
    color: var(--accent);
}


/* ===================== CART PAGE ===================== */
.cart-page {
    max-width: 1320px;
    margin: 0 auto;
    padding: 36px 24px 64px;
}

.cart-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 0;
    text-align: center;
    padding-bottom: 9px;
    border-bottom: 6px double #e72f2e;
    max-width: max-content;
    margin: 0 auto 30px;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 409px;
    gap: 34px;
    align-items: start;
}

.cart-count {
    font-size: 15px;
    font-weight: 700;
    color: #000000;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--line);
    margin-bottom: 24px;
}

.cart-item {
    display: flex;
    gap: 20px;
    padding: 24px 24px;
    position: relative;
    background: #fff;
    margin-bottom: 20px;
    border-radius: 14px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.cart-item-thumb {
    width: 130px;
    height: 115px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--mist);
}

.cart-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-body {
    flex: 1;
    min-width: 0;
    padding-right: 0;
}

.cart-item-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.35;
    margin-bottom: 4px;
}


.cart-item-title a:hover {
    color: var(--accent);
}

.cart-item-author {
    font-size: 11px;
    color: var(--slate);
    margin-bottom: 4px;
    font-weight: 500;
}

.cart-item-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.cart-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    letter-spacing: .03em;
    text-transform: uppercase;
    padding: 2px 9px;
    border-radius: 68px;
    line-height: 17px;
    font-weight: 700;
}

.cart-badge.bestseller {
    background: #fff3e0;
    color: #9a5b00;
}

.cart-badge.premium {
    background: rgba(140, 107, 255, .14);
    color: #5b3fd6;
    font-weight: 600;
}

.cart-item-meta p {
    border: 1px solid #dddddd;
    padding: 4px 11px;
    border-radius: 7px;
    margin-bottom: 0;
}

.div-rates {
    display: flex;
    align-items: center;
    gap: 11px;
}

.cart-item-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
}

.cart-item-rating .num {
    font-weight: 800;
    color: #000;
}

.cart-item-rating .stars {
    color: #ffb400;
    font-size: 15px;
    letter-spacing: 1px;
}

.cart-item-rating .count {
    color: var(--slate);
    font-weight: 500;
}

.cart-item-meta {
    font-size: 12px;
    color: #2a2a2a;
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 500;
}

.cart-item-actions a {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
    transition: color .15s ease;
}

.cart-item-actions a:hover {
    color: var(--accent-dark);
}

.div-top-prices {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.cart-item-price {
    text-align: right;
}

.cart-item-price .now {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
}

.cart-card-actions {
    display: flex;
    gap: 15px;
    padding-top: 10px;
    border-top: 1px dashed #979797;
    margin-top: 12px;
}

.link-action.danger {
    color: #e72f2e;
}

.link-action i {
    font-size: 14px;
}

.link-action {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    transition: color .15s ease;
    display: flex;
    align-items: center;
    gap: 3px;
}

.div-topp-sec {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 11px;
    margin-bottom: 8px;
}

.cart-item-price .old {
    font-size: 14px;
    color: var(--slate);
    text-decoration: line-through;
    font-weight: 500;
}

.cart-empty-hint {
    padding: 40px 0;
    text-align: center;
    color: var(--slate);
    font-size: 14px;
}

.coupon {
    margin-top: 10px;
}

.coupon summary {
    list-style: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    padding: 10px 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    transition: color .15s ease;
}

.coupon summary::-webkit-details-marker {
    display: none;
}

.coupon summary:hover {
    color: var(--ink);
}

.coupon summary::after {
    content: "+";
    font-size: 15px;
    transition: transform .2s ease;
}

.eyebrow h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 21px;
    color: #000;
    border-bottom: 1px solid #ddd;
    padding-bottom: 14px;
}

.coupon[open] summary::after {
    transform: rotate(45deg);
}

.coupon-body {
    display: flex;
    gap: 8px;
    padding-top: 3px;
}

.coupon-body input {
    flex: 1;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-size: 12.5px;
    color: var(--ink);
    outline: none;

}

.coupon-body input:focus {
    border-color: var(--violet);
}

.coupon-body button {
    padding: 0 6px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    color: #e74049;
    transition: background .15s ease;
}

.coupon-body button:hover {
    background: var(--panel-2);
}

.trust-card {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 21px 19px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
    margin-top: 20px;
    border: 1px solid #e72f2e;
}

.trust-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #2a2a2a;
    font-weight: 500;
    padding-bottom: 2px;
}

.trust-row svg {
    width: 16px;
    height: 16px;
    color: #e7402e;
    flex-shrink: 0;
}

/* You might also like */
.cart-suggest {
    padding: 21px 0 70px;
}

.cart-suggest h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 20px;
    letter-spacing: 0px;
    font-weight: 800;
}

.cart-suggest .more-course-grid {
    grid-template-columns: repeat(4, 1fr);
}


/* ---- Layout ---- */
.co-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 26px 24px 10px;
    display: grid;
    grid-template-columns: 1fr 409px;
    gap: 28px;
    align-items: start;
}

@media(max-width:980px) {
    .co-wrap {
        grid-template-columns: 1fr;
        padding: 20px 16px 60px;
    }

    .co-summary {
        order: -1;
    }
}

/* ---- Form panels ---- */
.co-panel {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px 30px;
    margin-bottom: 20px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.co-panel-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.co-panel-head .idx {
    font-weight: 700;
    font-size: 14px;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: #e7402e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.co-panel-head h2 {
    font-size: 18px;
    color: var(--ink);
    letter-spacing: .01em;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 0;
}

.co-panel-sub {
    font-size: 13.5px;
    color: var(--slate);
    margin: 2px 0 22px 42px;
}

.co-panel-body {
    margin-left: 0;
}

.co-panel-head.spread {
    justify-content: space-between;
}

.co-secure-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--slate);
    margin-left: auto;
    letter-spacing: 0;
    font-weight: 600;
}

.co-secure-badge i {
    color: var(--accent);
    font-size: 15px;
}

.co-select-wrap {
    position: relative;
}

.co-select-wrap i.co-select-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: var(--slate);
    pointer-events: none;
}

select.co-input {
    appearance: none;
    -webkit-appearance: none;
    padding-left: 38px;
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%236b6d76' stroke-width='1.6' fill='none' fill-rule='evenodd'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.co-tax-note {
    font-size: 12px;
    color: var(--slate);
    line-height: 1.5;
    margin: 4px 0 4px;
}

.co-field {
    margin-bottom: 16px;
}

.co-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--slate-dark);
    margin-bottom: 7px;
    display: block;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.co-input {
    width: 100%;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 12px 15px;
    font-size: 14px;
    font-family: 'Inter';
    background: #fff;
    color: var(--ink);
    transition: .2s;
}

.co-input:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(231, 64, 46, .08);
}

.co-input::placeholder {
    color: #a9a9b0;
}

.co-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.co-three {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 14px;
}

.co-check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 14px 0 4px;
}

.co-check-row input {
    margin-top: 3px;
    accent-color: var(--accent);
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.co-check-row label {
    font-size: 13px;
    color: var(--slate);
    line-height: 1.5;
    font-weight: 500;
}

.co-check-row a {
    color: var(--accent-dark);
    font-weight: 600;
}

/* payment method tiles */
.pay-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 22px;
}

.pay-tile {
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 16px 10px 14px;
    text-align: center;
    cursor: pointer;
    position: relative;
    background: #fff;
    transition: .18s;
}

.pay-tile:hover {
    border-color: #c9c5bd;
}

.pay-tile.selected {
    border-color: var(--accent);
    background: #FDF3F1;
}

.pay-tile i {
    font-size: 23px;
    color: var(--ink);
    display: block;
    margin-bottom: 7px;
}

.pay-tile.selected i {
    color: var(--accent);
}

.pay-tile span {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--slate-dark);
}

.pay-tile .check {
    position: absolute;
    top: 9px;
    right: 9px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid var(--line);
    background: #fff;
}

.pay-tile.selected .check {
    background: var(--accent);
    border-color: var(--accent);
}

.pay-tile.selected .check::after {
    content: "";
    display: block;
    width: 5px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin: 2px auto 0;
}

.card-art {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
    margin-bottom: 18px;
}

.card-art i {
    font-size: 26px;
    color: #c9c5bd;
}

.card-art i.active {
    color: var(--ink);
}

/* ---- Payment method accordion (radio-based) ---- */
.pay-methods {
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 6px;
}

.pay-method {
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.pay-method:last-child {
    border-bottom: none;
}

.pay-method-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    cursor: pointer;
    background: var(--mist);
    transition: .15s;
    margin-bottom: 0;
}

.card-inners {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 34px rgba(21, 21, 23, .08);
}

.pay-method-head:hover {
    background: #f0f0f1;
}

.pay-method.open .pay-method-head {
    background: #fff;
}

.pay-method-head input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    flex-shrink: 0;
    cursor: pointer;
}

.pay-method-head .pm-icon {
    width: 34px;
    height: 26px;
    border-radius: 5px;
    background: var(--ink);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.pay-method-head .pm-icon.upi {
    background: #fff;
    border: 1.5px solid var(--line);
    color: var(--accent-dark);
    font-weight: 700;
    font-size: 10px;
}

.pay-method-head .pm-label {
    font-size: 15px;
    color: var(--ink);
    letter-spacing: .01em;
    flex: 1;
    font-weight: 600;
}

.pay-method-head .pm-badges {
    display: flex;
    gap: 6px;
    align-items: center;
}

.pay-method-head .pm-badges i {
    font-size: 27px;
    color: var(--accent);
}

.pay-method-body {
    display: none;
    padding: 22px 20px 24px;
    background: #fff;
}

.pay-method.open .pay-method-body {
    display: block;
}

.upi-apps {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.upi-app {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--slate-dark);
    transition: .15s;
}

.upi-app:hover {
    border-color: #c9c5bd;
}

.upi-app.selected {
    border-color: var(--accent);
    background: #FDF3F1;
    color: var(--accent-dark);
}

.upi-app i {
    font-size: 17px;
}

.bank-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.bank-item {
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--slate-dark);
    transition: .15s;
}

.bank-item:hover {
    border-color: #c9c5bd;
}

.bank-item.selected {
    border-color: var(--accent);
    background: #FDF3F1;
    color: var(--accent-dark);
}

.bank-item input {
    accent-color: var(--accent);
    width: 15px;
    height: 15px;
}

.wallet-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.wallet-item {
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--slate-dark);
    transition: .15s;
}

.wallet-item:hover {
    border-color: #c9c5bd;
}

.wallet-item.selected {
    border-color: var(--accent);
    background: #FDF3F1;
    color: var(--accent-dark);
}

.wallet-item i {
    font-size: 18px;
    color: var(--slate);
}

.wallet-item.selected i {
    color: var(--accent-dark);
}

.upi-info-box {
    background: var(--mist);
    border: 1px dashed var(--line);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    font-size: 13.5px;
    color: var(--slate-dark);
    line-height: 1.65;
    margin-bottom: 18px;
}

.upi-info-box p {
    margin: 0 0 8px;
}

.upi-info-box p:last-child {
    margin-bottom: 0;
}

.upi-proceed-btn {
    background: var(--ink);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 12px 26px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .05em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: .18s;
}

.upi-proceed-btn:hover {
    background: var(--accent);
}

/* Order details accordion (left column, mirrors screenshot) */
.order-details-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 2px 0;
}

.order-details-toggle h2 {
    font-size: 18px;
    color: var(--ink);
    letter-spacing: .01em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0;
}

.order-details-toggle i {
    font-size: 22px;
    color: var(--slate);
    transition: .2s;
}

.order-details.open .order-details-toggle i {
    transform: rotate(180deg);
}

.order-details-body {
    display: none;
    margin-top: 18px;
}

.order-details.open .order-details-body {
    display: block;
}

.co-locked {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--slate);
    font-size: 13px;
    padding: 13px 16px;
    background: var(--mist);
    border-radius: var(--radius-sm);
    border: 1px dashed var(--line);
}

.co-locked i {
    color: var(--accent-dark);
    font-size: 17px;
}

.co-continue {
    margin-top: 6px;
}

/* ---- Order summary (light card, echoes screenshot) ---- */
.co-summary {
    position: sticky;
    top: 20px;
}

.sum-head {
    padding: 24px 24px 16px;
    border-bottom: 1px dashed var(--line);
}

.sum-head h3 {
    font-size: 13px;
    letter-spacing: .1em;
    color: var(--slate);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.sum-head .count {
    font-size: 20px;
    color: var(--ink);
    letter-spacing: .01em;
}

.sum-items {
    padding: 6px 24px;
}

.sum-row-item {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.sum-row-item:last-child {
    border-bottom: none;
}

.sum-thumb {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--mist);
}

.sum-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sum-info {
    flex: 1;
    min-width: 0;
}

.sum-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.35;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sum-tags {
    display: flex;
    gap: 6px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.sum-tag {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .03em;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
    line-height: 16px;
}

.sum-tag.bestseller {
    background: #FFF1DD;
    color: #96650a;
}

.sum-tag.premium {
    background: #EDE7FF;
    color: #5b3fc4;
}

.sum-meta {
    font-size: 12px;
    color: var(--slate);
    font-weight: 600;
}

.sum-price {
    text-align: right;
    flex-shrink: 0;
}

.sum-price .now {
    font-weight: 700;
    font-size: 14.5px;
    color: var(--ink);
    display: block;
}

.sum-price .was {
    font-size: 12px;
    color: #a9a9b0;
    text-decoration: line-through;
    font-weight: 500;
}

.sum-promo {
    padding: 18px 24px 4px;
}

.promo-row {
    display: flex;
    gap: 8px;
}

.promo-row input {
    flex: 1;
    background: var(--mist);
    border: 1.5px dashed var(--line);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-size: 13.5px;
    color: var(--ink);
}

.promo-row input::placeholder {
    color: #a9a9b0;
}

.promo-row button {
    background: var(--ink);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0 20px;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: .18s;
}

.promo-row button:hover {
    background: var(--accent);
}

.sum-totals {
    padding: 16px 24px 6px;
}

.tot-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--slate);
    padding: 6px 0;
    font-weight: 500;
}

.tot-row.discount {
    color: var(--accent-dark);
    font-weight: 600;
}

.tot-row.discount .stamp {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #FDECEA;
    color: var(--accent-dark);
    padding: 2px 9px;
    border-radius: 5px;
    font-size: 11px;
    letter-spacing: .04em;
}

.tot-grand {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 10px;
    padding-top: 16px;
    border-top: 1.5px solid var(--line);
}

.tot-grand .lbl {
    font-size: 16px;
    color: #000;
    font-weight: 600;
}

.tot-grand .amt {
    font-size: 18px;
    color: var(--ink);
    font-weight: 700;
}

.tot-grand .amt sup {
    font-size: 14px;
    color: var(--accent);
    margin-right: 1px;
}

.sum-terms-note {
    font-size: 12.5px;
    color: var(--slate);
    line-height: 1.6;
    padding: 16px 24px 0;
    margin-bottom: 0;
}

.sum-terms-note a {
    color: var(--accent-dark);
    font-weight: 600;
}

.guarantee-box {
    padding: 6px 24px 24px;
    text-align: center;
}

.guarantee-box h4 {
    font-size: 14.5px;
    color: var(--ink);
    letter-spacing: .01em;
    margin-bottom: 8px;
}

.guarantee-box p {
    font-size: 12.5px;
    color: var(--slate);
    line-height: 1.6;
    margin: 0;
}

.sum-cta {
    padding: 18px 24px 22px;
}

.sum-cta .co-pay-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 12px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .05em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    box-shadow: 0 12px 24px -8px rgba(231, 64, 46, .5);
    transition: transform .15s ease, box-shadow .15s ease;
    margin-bottom: 14px;
}

.sum-cta .co-pay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px -8px rgba(231, 64, 46, .6);
}

.sum-cta .charge-note {
    text-align: center;
    font-size: 11.5px;
    color: var(--slate);
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.sum-cta .charge-note i {
    color: var(--accent-dark);
    font-size: 14px;
}

.trust-strip {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    background: var(--mist);
    padding: 16px 20px;
    margin: 0 24px 24px;
    border-radius: var(--radius-sm);
}

.co-page {
    background: #fff;
    padding: 50px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    text-align: center;
}

.trust-item i {
    color: var(--accent-dark);
    font-size: 18px;
}

.trust-item span {
    font-size: 10.5px;
    color: var(--slate-dark);
    font-weight: 600;
    line-height: 1.3;
}

.sum-accent-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    border-radius: 10px;
    width: 92%;
    margin: -1px auto;
}

/* Write a Review */
.write-review-box {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--mist);
    padding: 18px 20px;
    margin-bottom: 22px;
}

.write-review-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 12px;
}

.review-rating-input {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 14px;
}

.review-rating-input i {
    font-size: 24px;
    color: #ffb400;
    cursor: pointer;
    transition: transform .1s ease;
}

.review-rating-input i:hover {
    transform: scale(1.15);
}

.review-rating-input .rating-hint {
    font-size: 12.5px;
    color: var(--slate);
    margin-left: 8px;
}

.review-form-row {
    margin-bottom: 12px;
}

.review-input,
.review-textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--paper);
    padding: 10px 12px;
    font-size: 13.5px;
    color: var(--slate-dark);
    font-family: inherit;
    resize: vertical;
}

.review-input:focus,
.review-textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.review-submit-btn {
    border: none;
    background: var(--accent);
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background .15s ease;
}

.review-submit-btn:hover {
    background: var(--accent-dark);
}

.review-submit-btn:disabled {
    background: var(--line);
    color: var(--slate);
    cursor: not-allowed;
}

.review-form-msg {
    font-size: 12.5px;
    margin-top: 8px;
    display: none;
}

.review-form-msg.error {
    color: var(--accent-dark);
    display: block;
}

.section-course .cta-row {
    justify-content: center;
    margin: 3rem auto 0;
}

.review-form-msg.success {
    color: #1a9d5c;
    display: block;
}

.more-course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.topic-pill:hover a {
    color: var(--accent);
}

@media (max-width: 1080px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

    .cart-suggest .more-course-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .cart-title {
        font-size: 28px;
    }

    .cart-item {
        flex-wrap: wrap;
    }

    .cart-item-body {
        padding-right: 0;
    }

    .cart-item-thumb {
        width: 120px;
        height: 70px;
    }

    .cart-item-actions {
        position: static;
        display: flex;
        gap: 14px;
        margin-top: 10px;
    }

    .cart-item-actions a {
        margin-bottom: 0;
    }

    .cart-item-price {
        position: static;
        text-align: left;
        margin-top: 10px;
    }

    .cart-suggest .more-course-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 1200px) {
    .step-item-21 .step-shape-1 {
        left: 55%;
    }
}

@media (max-width: 1080px) {
    .goals-left {
        flex: 1 1 100%;
        text-align: center;
    }

    .goals-stats {
        flex: 1 1 100%;
        justify-content: center;
    }
}

@media (max-width:980px) {
    .more-course-grid {
        grid-template-columns: 1fr;
    }

    .coding-promo {
        grid-template-columns: 1fr;
    }

    .includes-grid {
        grid-template-columns: 1fr;
    }

    .learn-grid {
        grid-template-columns: 1fr;
    }

    .cd-grid {
        grid-template-columns: 1fr;
    }

    .cd-aside {
        margin-top: 24px;
        position: static;
    }

    .listing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testi-card {
        flex: 0 0 calc(50% - 12px);
    }

    .step-item-21 .step-shape-1 {
        left: 50%;
        width: 95%;
        bottom: -170px;
    }

    .step-item-21:not(:last-of-type) {
        margin-bottom: 170px;
    }

    .timeline {
        flex-direction: column;
        height: auto;
        gap: 56px;
        align-items: center;
        padding: 20px 0;
    }

    .timeline-line {
        display: none;
    }

    .tl-node,
    .tl-connector {
        display: none;
    }

    .tl-item {
        max-width: 460px;
        width: 100%;
    }

    .tl-card {
        position: static;
        transform: none;
        width: 100%;
    }

    .tl-card:hover {
        transform: translateY(-4px);
    }

    .mentor-card {
        flex: 0 0 calc(50% - 12px);
    }

    .topbar-left {
        padding: 8px 16px;
        gap: 12px;
    }

    .quicklinks {
        padding: 8px 14px;
    }

    .topbar-chevron a {
        padding: 8px 14px;
    }

    .main-header-inner {
        padding: 12px 16px;
        gap: 14px;
        flex-wrap: wrap;
    }

    .nav-links {
        order: 5;
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        border-top: 1px solid var(--line);
        margin-top: 4px;
    }

    .nav-links.mobile-open {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        padding: 12px 4px;
    }

    .nav-links a::after {
        display: none;
    }

    .search-wrap {
        order: 4;
        max-width: none;
        width: 100%;
    }

    .auth-buttons {
        order: 6;
        width: 100%;
        display: none;
        padding-top: 10px;
        border-top: 1px solid var(--line);
    }

    .auth-buttons.mobile-open {
        display: flex;
    }

    .auth-buttons .btn {
        flex: 1;
    }

    .hamburger {
        display: flex;
    }

    .pop-panel {
        width: 290px;
        right: -40px;
    }

    .pop-panel::before {
        right: 56px;
    }
}

@media (max-width: 880px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 56px 24px;
    }

    .stats {
        gap: 28px;
    }

    .filter-bar {
        margin: -30px 0 16px;
    }

    .filter-dd-panel {
        left: auto;
        right: 0;
    }
}

@media (max-width: 768px) {
    .step-item-21 {
        row-gap: 40px;
    }

    footer {
        padding: 40px 24px 0;
    }

    .footer-grid {
        flex-direction: column;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .step-item-21:not(:last-of-type) {
        margin-bottom: 50px;
    }

    .step-item-21 .step-shape-1 {
        display: none;
    }

    .step-item-21 .step-content .step-inner .number {
        font-size: 40px;
    }

    .step-item-21.item-2 {
        flex-direction: column-reverse;
    }

    .step-item-21.item-2 .step-content {
        padding-left: 0;
    }
}

@media (max-width: 640px) {
    .listing-banner h1 {
        font-size: 28px;
    }

    .listing-grid {
        grid-template-columns: 1fr;
    }

    .listing-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .toolbar-right {
        justify-content: space-between;
    }

    .toolbar-search {
        flex: 1;
    }

    .toolbar-search input {
        width: 100%;
    }

    .cat-panel {
        width: 88vw;
        padding: 18px;
    }

    .catmenu-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .favorites-grid {
        grid-template-columns: 1fr;
    }

    .follow-label {
        display: none;
    }

    .quicklinks span.qtxt {
        display: none;
    }

    .topbar-chevron a:nth-child(2) {
        display: none;
    }

    .logo-mark {
        font-size: 25px;
    }

    .cat-btn {
        max-width: 110px;
        padding: 0 10px;
    }

    .header-actions {
        gap: 8px;
    }

    .pop-panel {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 12px 12px 0 0;
    }

    .pop-panel::before {
        display: none;
    }

    .mentor-card {
        flex: 0 0 100%;
    }

    .slider {
        gap: 8px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 19px;
    }

    .goals-stats {
        gap: 32px 20px;
    }

    .stat-item {
        min-width: 42%;
    }

    .testi-card {
        flex: 0 0 100%;
    }

    .testi-arrow {
        width: 36px;
        height: 60px;
        font-size: 18px;
    }

    .testi-arrow-left {
        left: -6px;
    }

    .testi-arrow-right {
        right: -6px;
    }
}