:root {
    --brand-primary: #1E88E5;
    --brand-accent: #FDD835;
    --brand-dark: #263238;
    --brand-white: #FFFFFF;
    --brand-cyan: #00BCD4;

    --bg: #f6f7fb;
    --ink: var(--brand-dark);
    --ink-muted: #6b7280;
    --line: #e5e7eb;
    --card: #ffffff;
    --soft: #f5f6f8;
    --radius: 10px;
    --radius-sm: 8px;
    --shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
    --container: 1200px;
    --sp-1: 4px;
    --sp-2: 8px;
    --sp-3: 12px;
    --sp-4: 16px;
    --sp-5: 20px;
    --sp-6: 24px;
    --sp-8: 32px;
    --sp-10: 40px;
    --fs-xs: 12px;
    --fs-sm: 14px;
    --fs-md: 16px;
    --fs-lg: 18px;
    --fs-xl: 22px;
    --fs-2xl: 28px;
    --fw-600: 600;
    --fw-700: 700;
    --fw-800: 800;
}

html,
body {
    color: var(--ink);
    background: var(--bg);
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 3rem;
}

/* brand helpers */
.bg-primary {
    background: var(--brand-primary);
}

.bg-accent {
    background: var(--brand-accent);
}

.text-primary {
    color: var(--brand-primary);
}

.text-accent {
    color: var(--brand-accent);
}

.text-invert {
    color: var(--brand-white);
}

.border-line {
    border: 1px solid var(--line);
}

/* layout */
.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.items-center {
    align-items: center;
}

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

.justify-center {
    justify-content: center;
}

.gap-2 {
    gap: var(--sp-2);
}

.gap-4 {
    gap: var(--sp-4);
}

.gap-6 {
    gap: var(--sp-6);
}

.grid {
    display: grid;
}

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

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 768px) {
    .md\:grid-1 {
        grid-template-columns: 1fr;
    }
}

/* spacing */
.p-2 {
    padding: var(--sp-2);
}

.p-4 {
    padding: var(--sp-4);
}

.p-6 {
    padding: var(--sp-6);
}

.px-4 {
    padding-left: var(--sp-4);
    padding-right: var(--sp-4);
}

.py-2 {
    padding-top: var(--sp-2);
    padding-bottom: var(--sp-2);
}

.mt-4 {
    margin-top: var(--sp-10);
}

.mb-4 {
    margin-bottom: var(--sp-10);
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* text */
.text-sm {
    font-size: var(--fs-sm);
}

.text-md {
    font-size: var(--fs-md);
}

.text-lg {
    font-size: var(--fs-lg);
}

.text-xl {
    font-size: var(--fs-xl);
}

.text-muted {
    color: var(--ink-muted);
}

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

.fw-700 {
    font-weight: var(--fw-700);
}

.fw-800 {
    font-weight: var(--fw-800);
}

/* surfaces */
.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.rounded {
    border-radius: var(--radius);
}

.rounded-sm {
    border-radius: var(--radius-sm);
}

.border {
    border: 1px solid var(--line);
}

.w-full {
    width: 100%;
}

.hidden {
    display: none;
}

/* components */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    font-weight: var(--fw-700);
}

.btn-primary {
    background: var(--brand-primary);
    color: var(--brand-white);
}

.btn-accent {
    background: var(--brand-accent);
    color: #111;
}

.btn-outline {
    background: transparent;
    border-color: var(--line);
    color: var(--ink);
}

.btn:hover {
    opacity: .95;
}

.input,
.select,
.textarea {
    width: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-size: var(--fs-md);
}

.input:focus,
.select:focus,
.textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, .15);
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table thead th {
    text-align: left;
    font-weight: var(--fw-700);
    font-size: var(--fs-sm);
    color: var(--ink-muted);
    background: var(--soft);
    border-bottom: 1px solid var(--line);
    padding: 10px;
}

.table td {
    padding: 10px;
    border-bottom: 1px solid #eef1f5;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: var(--fs-xs);
    font-weight: var(--fw-700);
}

.badge-success {
    background: rgba(22, 163, 74, .12);
    color: #16a34a;
}

.badge-danger {
    background: rgba(220, 38, 38, .12);
    color: #dc2626;
}

.badge-warning {
    background: rgba(217, 119, 6, .12);
    color: #d97706;
}

.alert {
    border-radius: var(--radius-sm);
    padding: var(--sp-4);
    border: 1px solid var(--line);
    background: var(--soft);
}

.alert-success {
    border-color: rgba(22, 163, 74, .25);
}

.alert-danger {
    border-color: rgba(220, 38, 38, .25);
}

/* header modern layout */
.site-header {
    background: #fff;
}

.site-header .header-top {
    padding: var(--sp-3) 50px;
}

.site-header .header-top .logo {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-weight: var(--fw-600);
    color: var(--brand-dark);
    text-decoration: none;
}

.site-header .header-top .logo img {
    height: 34px;
    width: auto;
}

.site-header .header-top .header-search {
    display: flex;
    width: 100%;
    max-width: 640px;
    gap: 8px;
}

.site-header .header-top .header-search input {
    flex: 1;
    width: 355px;
}

/* Responsive header styles and mobile nav */
.mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    margin-right: 12px;
    cursor: pointer;
}

.mobile-toggle .hamburger,
.mobile-toggle .hamburger::before,
.mobile-toggle .hamburger::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--brand-dark);
    border-radius: 2px;
    position: relative;
}

.mobile-toggle .hamburger::before,
.mobile-toggle .hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.mobile-toggle .hamburger::before {
    top: -7px;
}

.mobile-toggle .hamburger::after {
    top: 7px;
}

.header-top-inner {
    align-items: center;
}

.header-top .logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--brand-dark);
    font-weight: var(--fw-700);
}

.header-top .logo img {
    height: 34px;
}

.header-right .nav-action {
    margin-left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.header-right .nav-text {
    display: inline-block;
}

.mobile-nav {
    display: none;
    background: var(--card);
    border-top: 1px solid var(--line);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.05);
}

.mobile-nav .mobile-links {
    display: flex;
    flex-direction: column;
    padding: 12px;
    gap: 8px;
}

.mobile-nav .mobile-links a {
    padding: 10px;
    text-decoration: none;
    color: var(--ink);
    border-radius: 6px;
}

.user-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    padding: 8px;
    min-width: 200px;
    z-index: 40;
}

.user-dropdown a {
    display: block;
    padding: 8px;
    color: var(--ink);
    text-decoration: none;
}

.user-menu {
    position: relative;
}

@media (max-width: 900px) {
    .site-header .header-top .header-search input {
        width: 100%;
    }

    .header-top-inner {
        gap: 8px;
    }

    .header-center {
        flex: 1;
        display: none;
    }

    .header-right .nav-text {
        display: none;
    }

    .mobile-toggle {
        display: inline-flex;
    }

    .mobile-nav {
        display: none;
    }

    .site-header nav {
        display: none;
    }
}

@media (max-width: 640px) {
    .header-top .logo {
        font-size: 16px;
    }

    .site-header .header-top {
        padding: 15px;
    }

    .site-header .header-top .header-search {
        width: 100%;
    }

    .site-header .header-top .header-search input {
        width: 100%;
    }

    .mobile-nav.open {
        display: block;
    }

    .mobile-toggle.open .hamburger {
        background: transparent;
    }

    .mobile-toggle.open .hamburger::before {
        transform: rotate(45deg) translate(4px, 4px);
    }

    .mobile-toggle.open .hamburger::after {
        transform: rotate(-45deg) translate(4px, -4px);
    }
}

.site-header .header-top .header-search button {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--soft);
    cursor: pointer;
}

.site-header .header-bottom {
    background: var(--soft);
    border-bottom: 1px solid var(--line);
}

.site-header .header-actions .link {
    color: var(--ink);
    opacity: .85;
    text-decoration: none;
    margin-left: var(--sp-4);
    font-size: 14px;
    font-weight: var(--fw-500);
}

.site-header .header-actions .link:hover {
    text-decoration: underline;
}

.site-header .cart-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--ink);
}

.site-header .cart-badge {
    background: var(--brand-primary);
    color: #fff;
    border-radius: 999px;
    padding: 2px 7px;
    font-size: var(--fs-xs);
}

/* nav styles */
.bg-primary {
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08);
}

.bg-primary a {
    text-decoration: none;
    opacity: .95;
}

.bg-primary a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bg-primary .text-accent {
    color: var(--brand-accent);
    font-weight: var(--fw-700);
}

/* hero buttons override to new .btn */
.hero .btn-primary,
.hero .btn-secondary {
    all: unset;
}

.hero .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-primary);
    color: #fff;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.hero .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--brand-primary);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--brand-primary);
    cursor: pointer;
}

.banner-section {
    color: #fff;
    padding: 1rem 3rem;
}

@media only screen and (max-width: 1000px) {
    .banner-section {
        padding: 0rem;
    }

    .header-bottom .header-quote {
        font-size: 13px;
    }

    .links-header {
        flex-direction: column;
        gap: 2px;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .site-header .header-actions .link {
        margin-left: 0;
        font-size: 13px;
    }
}

.banner-section .container {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    padding: 0;
}

@media only screen and (max-width: 1000px) {
    .banner-section .container {
        border-radius: 0;
    }
}

.banner-section .container .slider {
    display: flex;
    width: 500%;
    height: 22rem;
    transition: all 0.25s ease-in;
    transform: translateX(0);
}

@media only screen and (max-width: 1000px) {
    .slider {
        height: 100vh;
    }
}

.banner-section .container .slider .box {
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    overflow: hidden;
    position: relative;
    background-color: var(--brand-primary);
}

@media only screen and (max-width: 650px) {
    .banner-section .container .slider{
        height: 30rem;
    }

    .banner-section .container .slider .box {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(2, 1fr);
    }
}

.banner-section .container .slider .box .bg {
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.2);
    width: 60%;
    transform: skewX(7deg);
    position: absolute;
    height: 100%;
    left: -10%;
    padding-left: 20rem;
    transform-origin: 0 100%;
}

@media only screen and (max-width: 800px) {
    .banner-section .container .slider .box .bg {
        width: 65%;
    }
}

@media only screen and (max-width: 650px) {
    .banner-section .container .slider .box .bg {
        width: 100%;
        left: 0;
        bottom: 0;
        height: 100%;
        transform: skewX(0deg);
    }
}

.banner-section .container .slider .box .bg::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: inherit;
    pointer-events: none;
    transform: skewX(10deg);
}

@media only screen and (max-width: 650px) {
    .banner-section .container .slider .box .bg::before {
        width: 120%;
        bottom: 0;
        transform: skewX(0deg);
    }
}

.banner-section .container .slider .box .details {
    padding-left: 5rem;
    z-index: 100;
    grid-column: 1/span 1;
    grid-row: 1/-1;
}

@media only screen and (max-width: 650px) {
    .banner-section .container .slider .box .details {
        grid-row: 2/span 1;
        grid-column: 1/-1;
        text-align: center;
        padding: 2rem;
        transform: translateY(-5rem);
    }
}

.slider .box .details h1 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: normal;
}

.banner-section .container .slider .box .details p {
    display: inline-block;
    font-size: 18px;
    margin-right: 5rem;
    margin-bottom: 1rem;
}

@media only screen and (max-width: 800px) {
    .banner-section .container .slider .box .details p {
        margin-right: 0;
    }

    .slider .box .details h1 {
        font-size: 2rem;
        font-weight: 600;
    }
}

.banner-section .container .slider .box .details button {
    padding: 0.9rem 2rem;
    color: #fff;
    border-radius: 2rem;
    outline: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.banner-section .container .slider .box .details button:hover {
    opacity: 0.8;
    background-color: #007d88;
}

.banner-section .container .slider .box .details button:focus {
    outline: none;
    border: none;
}

.banner-section .container .slider .box1 {
    background-color: var(--brand-primary);
}

.banner-section .container .slider .box .product-img {
    height: 20rem;
    width: 20rem;
}

.banner-section .container .slider .box .illustration .inner {
    background-color: #5191c9;
}

.banner-section .container .slider .box .illustration .inner::after,
.banner-section .container .slider .box .illustration .inner::before {
    background-color: rgba(0, 119, 255, 0.4);
}

.banner-section .container .slider .box button {
    background-color: #5191c9;
}

/* .banner-section .container .slider .box2 {
    background-color: #fff9e6;
}

.banner-section .container .slider .box2 .illustration .inner {
    background-color: #c4990d;
}

.banner-section .container .slider .box2 .illustration .inner::after,
.banner-section .container .slider .box2 .illustration .inner::before {
    background-color: rgb(138 109 0);
}

.banner-section .container .slider .box2 button {
    background-color: #c4990d;
}

.banner-section .container .slider .box3 {
    background-color: #00501D;
}

.banner-section .container .slider .box3 .illustration .inner {
    background-color: #00FF44;
}

.banner-section .container .slider .box3 .illustration .inner::after,
.banner-section .container .slider .box3 .illustration .inner::before {
    background-color: rgba(0, 255, 68, 0.4);
}

.banner-section .container .slider .box3 button {
    background-color: #00FF44;
}

.banner-section .container .slider .box4 {
    background-color: #554D00;
}

.banner-section .container .slider .box4 .illustration .inner {
    background-color: #FF4E00;
}

.banner-section .container .slider .box4 .illustration .inner::after,
.banner-section .container .slider .box4 .illustration .inner::before {
    background-color: rgba(255, 78, 0, 0.4);
}

.banner-section .container .slider .box4 button {
    background-color: #FF4E00;
}

.banner-section .container .slider .box5 {
    background-color: #300050;
}

.banner-section .container .slider .box5 .illustration .inner {
    background-color: #8000FF;
}

.banner-section .container .slider .box5 .illustration .inner::after,
.banner-section .container .slider .box5 .illustration .inner::before {
    background-color: rgba(128, 0, 255, 0.4);
}

.banner-section .container .slider .box5 button {
    background-color: #8000FF;
}*/

.banner-section .container .slider .illustration {
    grid-column: 2/-1;
    grid-row: 1/-1;
    justify-self: center;
}

@media only screen and (max-width: 650px) {
    .banner-section .container .slider .illustration {
        grid-row: 1/span 1;
        grid-column: 1/-1;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media only screen and (max-width: 800px) {
    .banner-section .container .slider .illustration img.product-img {
        height: 15rem;
        width: 15rem;
    }
}

/* Disable decorative pseudo elements for product images */
.banner-section .container .slider .illustration div::after,
.banner-section .container .slider .illustration div::before {
    content: none;
}

.banner-section .container .prev,
.banner-section .container .next,
.banner-section .container .trail {
    z-index: 10000;
    position: absolute;
}

.banner-section .container .prev,
.banner-section .container .next {
    width: 2rem;
    cursor: pointer;
    opacity: 0.2;
    transition: all 0.3s ease;
}

@media only screen and (max-width: 650px) {

    .banner-section .container .prev,
    .banner-section .container .next {
        display: none;
    }
}

.banner-section .container .prev:hover,
.banner-section .container .next:hover {
    opacity: 1;
}

.banner-section .container .prev {
    top: 50%;
    left: 2%;
    transform: translateY(-50%);
}

.banner-section .container .next {
    top: 50%;
    right: 2%;
    transform: translateY(-50%);
}

.banner-section .container .trail {
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 25%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    text-align: center;
    font-size: 1.5rem;
}

@media only screen and (max-width: 650px) {
    .banner-section .container .trail {
        width: 50%;
        bottom: 0;
    }
}

.banner-section .container .trail div {
    border-top: 3px solid #fff;
    cursor: pointer;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.banner-section .container .trail div:hover {
    opacity: 0.6;
}

@media only screen and (max-width: 650px) {
    .banner-section .container .trail div {
        padding: 0.5rem;
    }
}

.trail .active {
    opacity: 1 !important;
}

/* Dashboard sidebar and layout styles */
:root {
    --brand-primary: #1E88E5;
    --main-text-color: #1E88E5;
    --second-text-color: #bbbec5;
    --second-bg-color: #A1D6FF;
}

.primary-text {
    color: var(--main-text-color);
}

.second-text {
    color: var(--second-text-color);
}

.primary-bg {
    background-color: var(--brand-primary);
}

.secondary-bg {
    background-color: var(--second-bg-color);
}

.rounded-full {
    border-radius: 100%;
}

#wrapper {
    overflow-x: hidden;
    background-color: #A1D6FF;
}

#sidebar-wrapper {
    min-height: 100vh;
    margin-left: -15rem;
    -webkit-transition: margin 0.25s ease-out;
    -moz-transition: margin 0.25s ease-out;
    -o-transition: margin 0.25s ease-out;
    transition: margin 0.25s ease-out;
}

#sidebar-wrapper .sidebar-heading {
    padding: 0.875rem 1rem;
    font-size: 1.2rem;
}

#sidebar-wrapper .sidebar-heading img {
    height: 30px;
    width: auto;
    margin-right: 10px;
}

#sidebar-wrapper .list-group {
    width: 15rem;
}

#page-content-wrapper {
    min-width: 100vw;
}

#wrapper.toggled #sidebar-wrapper {
    margin-left: 0;
}

#menu-toggle {
    cursor: pointer;
    color: #000;
}

.list-group-item {
    border: none;
    padding: 20px 30px;
}

.list-group-item.active {
    background-color: transparent;
    color: var(--main-text-color);
    font-weight: bold;
    border: none;
}

@media (min-width: 768px) {
    #sidebar-wrapper {
        margin-left: 0;
    }

    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }

    #wrapper.toggled #sidebar-wrapper {
        margin-left: -15rem;
    }
}

/* Admin orders page sidebar and layout styles */
.container-fluid {
    padding: 0 2rem;
}

.admin-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
}

.admin-container p {
    margin-top: 1rem;
}

.admin-container p a {
    text-decoration: none;
    color: var(--brand-primary);
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th {
    font-size: 16px;
}

.orders-table td {
    font-size: 14px;
}

.orders-table th,
.orders-table td {
    padding: 8px;
    border-bottom: 1px solid #eee;
    text-align: left;
    white-space: nowrap;
}

.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-processing {
    background: #cfe2ff;
    color: #084298;
}

.status-shipped {
    background: #d1e7dd;
    color: #0f5132;
}

.status-delivered {
    background: #e2f7d9;
    color: #1b5e20;
}

.status-cancelled {
    background: #f8d7da;
    color: #842029;
}

.inline-form {
    display: inline-block;
}

.inline-form select {
    padding: 4px;
}

.inline-form button {
    margin-left: 6px;
    background-color: #000;
    color: white;
    padding: 0.4rem 2rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.filters {
    margin-bottom: 1rem;
}

.filters form label {
    font-size: 24px;
    font-weight: 700;
}

.filters form select {
    font-size: 15px;
    padding: 6px 10px;
    margin-left: 8px;
    border: 2px solid var(--brand-primary);
    border-radius: 0.3rem;
    color: var(--brand-primary);
}

.filters form select option {
    font-size: 14px;
    padding: 4px 8px;
}

.filters form button {
    margin-left: 8px;
    background: var(--brand-primary);
    color: var(--brand-white);
    padding: 0.4rem 2rem;
    border: none;
    border-radius: 0.3rem;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    justify-content: center;
}

/* Product Table */
.search-add-form .form-control {
    padding: 8px 12px;
    width: max-content;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: var(--fs-md);
    width: 450px;
}

.btn-add-product {
    margin-left: 8px;
    color: var(--brand-white);
    padding: 0.4rem 2rem;
    border: none;
    border-radius: 0.3rem;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    justify-content: center;
}

@media (max-width: 568px) {
    .container-fluid {
        padding: 0;
    }

    .btn-add-product {
        padding: 0.4rem 1rem;
    }

}

/* Section header (used by Shop by Price, Shop by Brand etc.) */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-6);
}

.section-header .category {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.section-header .category .badge {
    margin-bottom: 4px;
    white-space: nowrap;
}

@media (max-width: 760px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .section-header .category {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .section-header .category .badge {
        padding: 6px 10px;
        font-size: 14px;
    }
}

@media (max-width: 420px) {
    .section-header .category .badge {
        padding: 6px 8px;
        font-size: 13px;
    }

    .section-title {
        font-size: 18px;
    }
}