/* ========================================
   INNER PAGES - UTILITY COMPAT + COMPONENTS
   ======================================== */

/* ---------- Shared Layout ---------- */
.min-h-screen {
    min-height: 100vh;
}

.inner-hero {
    position: relative;
    padding: 72px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 45%, color-mix(in srgb, var(--primary) 35%, #1e293b) 100%);
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.inner-hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    right: -140px;
    top: -220px;
    background: radial-gradient(circle, color-mix(in srgb, var(--primary) 55%, transparent) 0%, transparent 70%);
}

.inner-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    left: -120px;
    bottom: -230px;
    background: radial-gradient(circle, color-mix(in srgb, var(--secondary) 38%, transparent) 0%, transparent 72%);
}

.inner-hero > .container {
    position: relative;
    z-index: 1;
}

/* Ürün listesi hero: mobilde arama kutusu taşmasın */
.inner-hero-product-list {
    min-width: 0;
}
.product-list-hero-search {
    max-width: 100%;
    min-width: 0;
}
.product-list-hero-search .relative {
    max-width: 100%;
}
.product-list-hero-search-input {
    max-width: 100%;
    box-sizing: border-box;
}
@media (max-width: 767px) {
    .inner-hero-product-list {
        width: 100%;
    }
    .product-list-hero-search {
        width: 100%;
        max-width: 100%;
    }
}

.inner-hero-compact {
    padding: 64px 0;
}

.inner-hero h1,
.inner-hero h2,
.inner-hero h3,
.inner-hero .text-gray-900 {
    color: #fff !important;
}

.inner-hero nav {
    display: none;
}

.inner-section .mb-8 > nav.text-sm,
.inner-section .mb-10 > nav.text-sm {
    display: none;
}

.inner-hero p,
.inner-hero .text-gray-600,
.inner-hero .text-gray-500,
.inner-hero .text-gray-700 {
    color: rgba(226, 232, 240, .88) !important;
}

.inner-hero .text-primary,
.inner-hero .text-primary\/80 {
    color: color-mix(in srgb, var(--accent-light) 90%, #fff) !important;
}

/* Aktif bayilik kartı: açık arka planda metin siyah, vurgular yeşil */
.franchise-active-card,
.franchise-active-card p,
.franchise-active-card .text-gray-900 {
    color: #0f172a !important;
}
.franchise-active-card .text-emerald-700 {
    color: #047857 !important;
}
.franchise-active-card .text-emerald-600 {
    color: #059669 !important;
}

.inner-hero .bg-white {
    background: rgba(255, 255, 255, .95);
}

.inner-section {
    position: relative;
    padding: 64px 0;
    background:
        radial-gradient(circle at 8% -12%, rgba(108, 58, 237, .08) 0%, transparent 46%),
        radial-gradient(circle at 92% 10%, rgba(14, 165, 233, .08) 0%, transparent 42%),
        #f8fafc;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.inner-section-light {
    background:
        radial-gradient(circle at 96% 0%, rgba(108, 58, 237, .05) 0%, transparent 36%),
        #ffffff;
}

.inner-section-tall {
    min-height: calc(100vh - 240px);
}

.inner-section .software-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
    .inner-section .software-grid {
        grid-template-columns: 1fr;
    }
}

/* Grid taşmasını önle (sidebar + liste sayfaları) */
.inner-section .grid {
    min-width: 0;
}
.inner-section .grid > * {
    min-width: 0;
}

.inner-section .bg-white,
.inner-hero .bg-white {
    border: 1px solid rgba(148, 163, 184, .24);
    box-shadow: 0 18px 48px rgba(15, 23, 42, .10);
    border-radius: 18px;
}

/* ----- Category hero: layout & content ----- */
.inner-hero-category {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
}

.category-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
    min-width: 0;
}
@media (min-width: 1024px) {
    .category-hero-grid {
        grid-template-columns: minmax(0, 420px) 1fr;
        gap: 4rem;
    }
}

.category-hero-content,
.category-hero-visual {
    min-width: 0;
}

.category-hero-content {
    position: relative;
    padding-left: 1.25rem;
    border-left: 4px solid var(--primary, #6366f1);
}
@media (min-width: 768px) {
    .category-hero-content {
        padding-left: 1.5rem;
        border-left-width: 5px;
    }
}

.category-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    color: rgba(71, 85, 105, .9);
    margin-bottom: 0.75rem;
    overflow-wrap: break-word;
    word-break: break-word;
}
.category-breadcrumb a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}
.category-breadcrumb a:hover {
    color: var(--primary, #6366f1);
}
.category-breadcrumb-sep {
    opacity: .6;
    user-select: none;
}
.category-breadcrumb-current {
    font-weight: 600;
    color: var(--primary, #6366f1);
}

.category-hero-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary, #6366f1);
    margin-bottom: 0.5rem;
}

.category-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
    margin: 0 0 1rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.category-hero-desc {
    font-size: 1rem;
    line-height: 1.65;
    color: #475569;
    margin: 0 0 1.5rem;
    max-width: 36ch;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.category-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary, #6366f1);
    text-decoration: none;
    transition: gap .2s ease, color .2s ease;
}
.category-hero-cta:hover {
    gap: 0.75rem;
    color: #4f46e5;
}
.category-hero-cta-icon {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
}

/* ----- Category hero: visual card ----- */
.category-hero-visual {
    position: relative;
    min-width: 0;
}

.category-hero-card {
    position: relative;
    max-width: 100%;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .35);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, .8) inset,
        0 4px 6px -1px rgba(15, 23, 42, .06),
        0 20px 40px -10px rgba(15, 23, 42, .12),
        0 40px 80px -20px rgba(15, 23, 42, .18);
}
.category-hero-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, var(--primary, #6366f1), #818cf8);
    z-index: 1;
}

.category-hero-card-inner {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin-left: 6px;
}
.category-hero-card-inner img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    display: block;
}
.category-hero-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, .08), rgba(129, 140, 248, .06));
    color: var(--primary, #6366f1);
}
.category-hero-card-placeholder svg {
    width: 3rem;
    height: 3rem;
    opacity: .7;
}
.category-hero-card-placeholder span {
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    padding: 0 1rem;
}

.category-hero-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem 1.25rem 1.5rem;
    margin-left: 6px;
    background: linear-gradient(180deg, rgba(248, 250, 252, .6), #f8fafc);
    border-top: 1px solid rgba(226, 232, 240, .8);
}
.category-hero-stats-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(99, 102, 241, .12);
    color: var(--primary, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.category-hero-stats-icon svg {
    width: 22px;
    height: 22px;
}
.category-hero-stats-label {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.15rem;
}
.category-hero-stats-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

.inner-section .group.bg-white,
.inner-section .bg-white.group,
.inner-section .bg-white.rounded-xl.shadow-lg,
.inner-section .bg-white.rounded-2xl.shadow-lg {
    transition: transform .25s ease, box-shadow .25s ease;
}

.inner-section .group.bg-white:hover,
.inner-section .bg-white.group:hover,
.inner-section .bg-white.rounded-xl.shadow-lg:hover,
.inner-section .bg-white.rounded-2xl.shadow-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .14);
}

.inner-section .rounded-lg {
    border-radius: 12px;
}

.inner-section .rounded-xl {
    border-radius: 16px;
}

.inner-section .rounded-2xl {
    border-radius: 20px;
}

.inner-section .bg-gray-50 {
    background: #f8fafc;
}

.inner-section .bg-gray-100 {
    background: #f1f5f9;
}

.inner-section .text-gray-900 {
    color: #0f172a;
}

.inner-section .text-gray-700 {
    color: #334155;
}

.inner-section .text-gray-600 {
    color: #475569;
}

.inner-section .text-gray-500 {
    color: #64748b;
}

.inner-section .border-gray-200 {
    border-color: #e2e8f0;
}

.inner-section input,
.inner-section select,
.inner-section textarea {
    border-radius: 12px;
    border: 1px solid #dbe3ef;
    background: #fff;
}

.inner-section input:focus,
.inner-section select:focus,
.inner-section textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent);
}

.inner-section button.bg-primary,
.inner-section a.bg-primary {
    background: var(--gradient-1);
    color: #fff;
    border: 0;
    box-shadow: 0 10px 25px color-mix(in srgb, var(--primary) 35%, transparent);
}

.inner-section button.bg-primary:hover,
.inner-section a.bg-primary:hover {
    transform: translateY(-1px);
    opacity: .96;
}

.inner-section .inline-flex.items-center.gap-2.text-primary,
.inner-section a.inline-flex.items-center.gap-2.text-primary {
    font-weight: 700;
}

.inner-section .text-xs.font-medium.px-2.py-1.rounded-full {
    border: 1px solid rgba(148, 163, 184, .28);
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.h-auto {
    height: auto;
}

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

.container.mx-auto {
    max-width: 1320px;
    width: 100%;
}

/* Mobilde yatay taşmayı önle */
.inner-hero .container,
.inner-section .container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-5xl {
    max-width: 64rem;
}

.max-w-7xl {
    max-width: 80rem;
    width: 100%;
    min-width: 0;
}

.max-w-6xl {
    max-width: 72rem;
}

.max-w-md {
    max-width: 28rem;
}

.max-w-lg {
    max-width: 32rem;
}

.max-w-none {
    max-width: none;
}

.lg\:w-96 {
    width: 24rem;
}

/* ---------- Display / Flex / Grid ---------- */
.block {
    display: block;
}

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

.hidden {
    display: none;
}

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

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.flex-col {
    flex-direction: column;
}

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

.flex-1 {
    flex: 1 1 0;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

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

.items-start {
    align-items: flex-start;
}

.items-end {
    align-items: flex-end;
}

.self-start {
    align-self: flex-start;
}

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

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

.justify-end {
    justify-content: flex-end;
}

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

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

.min-w-0 {
    min-width: 0;
}

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

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

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

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

.lg\:grid-cols-\[280px_1fr\] {
    grid-template-columns: 280px minmax(0, 1fr);
}

.lg\:grid-cols-\[360px_1fr\] {
    grid-template-columns: 360px minmax(0, 1fr);
}

.lg\:col-span-2 {
    grid-column: span 2 / span 2;
}

.gap-1 {
    gap: .25rem;
}

.gap-2 {
    gap: .5rem;
}

.gap-3 {
    gap: .75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-10 {
    gap: 2.5rem;
}

.gap-12 {
    gap: 3rem;
}

.space-y-2 > * + * {
    margin-top: .5rem;
}

.space-y-3 > * + * {
    margin-top: .75rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-5 > * + * {
    margin-top: 1.25rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.space-y-8 > * + * {
    margin-top: 2rem;
}

/* ---------- Position ---------- */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.left-0 {
    left: 0;
}

.right-0 {
    right: 0;
}

.left-4 {
    left: 1rem;
}

.right-4 {
    right: 1rem;
}

.top-4 {
    top: 1rem;
}

.top-1\/2 {
    top: 50%;
}

.bottom-20 {
    bottom: 5rem;
}

.-top-3 {
    top: -0.75rem;
}

.-bottom-2 {
    bottom: -0.5rem;
}

.-bottom-6 {
    bottom: -1.5rem;
}

.-right-12 {
    right: -3rem;
}

.-left-6 {
    left: -1.5rem;
}

.right-3 {
    right: .75rem;
}

.right-6 {
    right: 1.5rem;
}

.left-5 {
    left: 1.25rem;
}

.top-24 {
    top: 6rem;
}

.z-0 {
    z-index: 0;
}

.z-10 {
    z-index: 10;
}

.inset-0 {
    inset: 0;
}

.inset-y-0 {
    top: 0;
    bottom: 0;
}

.-translate-y-1\/2 {
    transform: translateY(-50%);
}

.group-hover\:-translate-x-1 {
    transition: transform .3s ease;
}

.group:hover .group-hover\:-translate-x-1 {
    transform: translateX(-.25rem);
}

.group-hover\:translate-x-1 {
    transition: transform .3s ease;
}

.group:hover .group-hover\:translate-x-1 {
    transform: translateX(.25rem);
}

.group\/link:hover .group-hover\/link\:translate-x-1 {
    transform: translateX(.25rem);
}

/* ---------- Spacing ---------- */
.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.p-10 {
    padding: 2.5rem;
}

.p-12 {
    padding: 3rem;
}

.px-2 {
    padding-left: .5rem;
    padding-right: .5rem;
}

.px-3 {
    padding-left: .75rem;
    padding-right: .75rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-5 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-1 {
    padding-top: .25rem;
    padding-bottom: .25rem;
}

.py-2 {
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.py-3 {
    padding-top: .75rem;
    padding-bottom: .75rem;
}

.py-3\.5 {
    padding-top: .875rem;
    padding-bottom: .875rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-14 {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.pt-3 {
    padding-top: .75rem;
}

.pt-2 {
    padding-top: .5rem;
}

.pt-4 {
    padding-top: 1rem;
}

.pt-6 {
    padding-top: 1.5rem;
}

.pt-8 {
    padding-top: 2rem;
}

.pb-6 {
    padding-bottom: 1.5rem;
}

.pl-4 {
    padding-left: 1rem;
}

.pl-12 {
    padding-left: 3rem;
}

.pl-14 {
    padding-left: 3.5rem;
}

.pr-4 {
    padding-right: 1rem;
}

.pr-12 {
    padding-right: 3rem;
}

.mb-1 {
    margin-bottom: .25rem;
}

.mb-2 {
    margin-bottom: .5rem;
}

.mb-3 {
    margin-bottom: .75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-5 {
    margin-bottom: 1.25rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: .25rem;
}

.mt-0\.5 {
    margin-top: .125rem;
}

.mt-2 {
    margin-top: .5rem;
}

.mt-3 {
    margin-top: .75rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-10 {
    margin-top: 2.5rem;
}

.mt-auto {
    margin-top: auto;
}

.mx-2 {
    margin-left: .5rem;
    margin-right: .5rem;
}

.mr-2 {
    margin-right: .5rem;
}

/* ---------- Width / Height ---------- */
.w-3\.5 {
    width: .875rem;
}

.h-3\.5 {
    height: .875rem;
}

.w-4 {
    width: 1rem;
}

.h-4 {
    height: 1rem;
}

.w-5 {
    width: 1.25rem;
}

.h-5 {
    height: 1.25rem;
}

.w-6 {
    width: 1.5rem;
}

.h-6 {
    height: 1.5rem;
}

.w-8 {
    width: 2rem;
}

.h-8 {
    height: 2rem;
}

.w-10 {
    width: 2.5rem;
}

.h-10 {
    height: 2.5rem;
}

.w-12 {
    width: 3rem;
}

.h-12 {
    height: 3rem;
}

.w-16 {
    width: 4rem;
}

.h-16 {
    height: 4rem;
}

.w-20 {
    width: 5rem;
}

.h-20 {
    height: 5rem;
}

.w-24 {
    width: 6rem;
}

.h-24 {
    height: 6rem;
}

.h-32 {
    height: 8rem;
}

.h-48 {
    height: 12rem;
}

.h-64 {
    height: 16rem;
}

.md\:h-96 {
    height: 24rem;
}

.md\:w-32 {
    width: 8rem;
}

/* ---------- Aspect ---------- */
.aspect-video {
    aspect-ratio: 16 / 9;
}

.aspect-\[4\/3\] {
    aspect-ratio: 4 / 3;
}

/* ---------- Typography ---------- */
.text-xs {
    font-size: .75rem;
    line-height: 1rem;
}

.text-sm {
    font-size: .875rem;
    line-height: 1.35rem;
}

.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.65rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.7rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.font-normal {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.uppercase {
    text-transform: uppercase;
}

.leading-tight {
    line-height: 1.25;
}

.leading-relaxed {
    line-height: 1.7;
}

.tracking-widest {
    letter-spacing: .1em;
}

/* ---------- Colors ---------- */
.text-white {
    color: var(--white);
}

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

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

.text-primary\/80 {
    color: color-mix(in srgb, var(--primary) 80%, transparent);
}

.text-primary\/60 {
    color: color-mix(in srgb, var(--primary) 60%, transparent);
}

.text-white\/80 {
    color: rgba(255, 255, 255, .8);
}

.text-white\/90 {
    color: rgba(255, 255, 255, .9);
}

.text-gray-400 {
    color: #94a3b8;
}

.text-gray-500 {
    color: #64748b;
}

.text-gray-600 {
    color: #475569;
}

.text-gray-700 {
    color: #334155;
}

.text-gray-800 {
    color: #1f2937;
}

.text-gray-900 {
    color: #0f172a;
}

.text-gray-300 {
    color: #cbd5e1;
}

.text-red-500 {
    color: #ef4444;
}

.text-red-600 {
    color: #dc2626;
    background:transparent;
}

.text-red-700 {
    color: #b91c1c;
}

.text-red-800 {
    color: #991b1b;
}

.text-emerald-900 {
    color: #064e3b;
}

.text-emerald-700 {
    color: #047857;
}

.text-emerald-600 {
    color: #059669;
}

.text-green-800 {
    color: #166534;
}

.text-green-600 {
    color: #16a34a;
}

.text-blue-700 {
    color: #1d4ed8;
}

.text-amber-800 {
    color: #92400e;
}

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

/* ---------- Background ---------- */
.bg-white {
    background: #ffffff;
}

.bg-white\/30 {
    background: rgba(255, 255, 255, .3);
}

.bg-white\/80 {
    background: rgba(255, 255, 255, .8);
}

.bg-gray-50 {
    background: #f8fafc;
}

.bg-gray-100 {
    background: #f1f5f9;
}

.bg-gray-200 {
    background: #e2e8f0;
}

.bg-gray-600 {
    background: #475569;
}

.bg-gray-700 {
    background: #334155;
}

.bg-gray-800 {
    background: #1f2937;
}

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

.bg-primary\/0 {
    background: color-mix(in srgb, var(--primary) 0%, transparent);
}

.bg-primary\/5 {
    background: color-mix(in srgb, var(--primary) 5%, transparent);
}

.bg-primary\/10 {
    background: color-mix(in srgb, var(--primary) 10%, transparent);
}

.bg-primary\/20 {
    background: color-mix(in srgb, var(--primary) 20%, transparent);
}

.bg-red-50 {
    background: #fef2f2;
}

.bg-red-500 {
    background: #ef4444;
}

.bg-green-50 {
    background: #f0fdf4;
}

.bg-green-500 {
    background: #22c55e;
}

.bg-blue-50 {
    background: #eff6ff;
}

.bg-blue-400 {
    background: #60a5fa;
}

.bg-blue-600 {
    background: #2563eb;
}

.bg-blue-700 {
    background: #1d4ed8;
}

.bg-pink-600 {
    background: #db2777;
}

.bg-sky-500 {
    background: #0ea5e9;
}

.bg-\[\#25D366\] {
    background: #25d366;
}

.bg-emerald-50 {
    background: #ecfdf5;
}

.bg-emerald-100 {
    background: #d1fae5;
}

.bg-amber-50 {
    background: #fffbeb;
}

.bg-amber-100 {
    background: #fef3c7;
}

.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-from, transparent), var(--tw-gradient-via, transparent), var(--tw-gradient-to, transparent));
}

.from-primary\/10 {
    --tw-gradient-from: color-mix(in srgb, var(--primary) 10%, transparent);
}

.from-gray-100 {
    --tw-gradient-from: #f1f5f9;
}

.via-white {
    --tw-gradient-via: #ffffff;
}

.to-gray-200 {
    --tw-gradient-to: #e2e8f0;
}

.to-accent\/10 {
    --tw-gradient-to: color-mix(in srgb, var(--accent) 10%, transparent);
}

.to-primary-dark {
    --tw-gradient-to: var(--primary-dark);
}

/* ---------- Border ---------- */
.border {
    border: 1px solid #e2e8f0;
}

.border-2 {
    border-width: 2px;
    border-style: solid;
}

.border-t {
    border-top: 1px solid #e2e8f0;
}

.border-b {
    border-bottom: 1px solid #e2e8f0;
}

.border-b-2 {
    border-bottom-width: 2px;
    border-bottom-style: solid;
}

.border-dashed {
    border-style: dashed;
}

.border-transparent {
    border-color: transparent;
}

.border-gray-100 {
    border-color: #f1f5f9;
}

.border-gray-200 {
    border-color: #e2e8f0;
}

.border-gray-300 {
    border-color: #cbd5e1;
}

.border-red-200 {
    border-color: #fecaca;
}

.border-green-200 {
    border-color: #bbf7d0;
}

.border-blue-200 {
    border-color: #bfdbfe;
}

.border-amber-200 {
    border-color: #fde68a;
}

.border-emerald-200 {
    border-color: #a7f3d0;
}

.border-primary {
    border-color: var(--primary);
}

.border-primary\/10 {
    border-color: color-mix(in srgb, var(--primary) 10%, transparent);
}

.border-primary\/20 {
    border-color: color-mix(in srgb, var(--primary) 20%, transparent);
}

.rounded-lg {
    border-radius: .75rem;
}

.rounded-xl {
    border-radius: 1rem;
}

.rounded-md {
    border-radius: .625rem;
}

.rounded-2xl {
    border-radius: 1.25rem;
}

.rounded-3xl {
    border-radius: 1.6rem;
}

.rounded-full {
    border-radius: 9999px;
}

/* ---------- Effects ---------- */
.shadow-sm {
    box-shadow: 0 1px 3px rgba(15, 23, 42, .08);
}

.shadow-lg {
    box-shadow: 0 12px 35px rgba(15, 23, 42, .12);
}

.shadow-xl {
    box-shadow: 0 16px 44px rgba(15, 23, 42, .14);
}

.shadow-2xl {
    box-shadow: 0 24px 64px rgba(15, 23, 42, .18);
}

.ring-1 {
    box-shadow: 0 0 0 1px rgba(15, 23, 42, .08);
}

.ring-black\/5 {
    box-shadow: 0 0 0 1px rgba(15, 23, 42, .05);
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-x-auto {
    overflow-x: auto;
}

.whitespace-nowrap {
    white-space: nowrap;
}

.object-cover {
    object-fit: cover;
}

.object-contain {
    object-fit: contain;
}

.backdrop-blur,
.backdrop-blur-sm {
    backdrop-filter: blur(10px);
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-not-allowed {
    cursor: not-allowed;
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align:left;
}

.resize-none {
    resize: none;
}

.list-decimal {
    list-style: decimal;
}

.list-inside {
    list-style-position: inside;
}

.transition {
    transition: all .25s ease;
}

.transition-all {
    transition: all .3s ease;
}

.transition-colors {
    transition: color .25s ease, background-color .25s ease, border-color .25s ease;
}

.transition-shadow {
    transition: box-shadow .25s ease;
}

.transition-transform {
    transition: transform .3s ease;
}

.duration-200 {
    transition-duration: .2s;
}

.duration-300 {
    transition-duration: .3s;
}

.opacity-25 {
    opacity: .25;
}

.opacity-75 {
    opacity: .75;
}

.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

.group:hover .group-hover\:text-primary {
    color: var(--primary);
}

.group:hover .group-hover\:text-white {
    color: #fff;
}

.group:hover .group-hover\:bg-primary {
    background: var(--primary);
}

.group:hover .group-hover\:bg-primary\/10 {
    background: color-mix(in srgb, var(--primary) 10%, transparent);
}

.group:hover .group-hover\:gap-2 {
    gap: .5rem;
}

.group:focus-within .group-focus-within\:text-primary {
    color: var(--primary);
}

.group:focus-within .group-focus-within\:text-red-500 {
    color: #ef4444;
}

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

.hover\:text-primary-dark:hover {
    color: var(--primary-dark);
}

.hover\:text-red-600:hover {
    color: #dc2626;
}

.hover\:text-red-700:hover {
    color: #b91c1c;
}

.hover\:text-gray-700:hover {
    color: #334155;
}

.hover\:bg-gray-50:hover {
    background: #f8fafc;
}

.hover\:bg-gray-100:hover {
    background: #f1f5f9;
}

.hover\:bg-gray-700:hover {
    background: #334155;
}

.hover\:bg-primary\/5:hover {
    background: color-mix(in srgb, var(--primary) 5%, transparent);
}

.hover\:bg-primary\/20:hover {
    background: color-mix(in srgb, var(--primary) 20%, transparent);
}

.hover\:bg-primary-dark:hover {
    background: var(--primary-dark);
}

.hover\:bg-red-50:hover {
    background: #fef2f2;
}

.hover\:bg-red-600:hover {
    background: #dc2626;
}

.hover\:bg-green-600:hover {
    background: #16a34a;
}

.hover\:bg-blue-500:hover {
    background: #3b82f6;
}

.hover\:bg-blue-700:hover {
    background: #1d4ed8;
}

.hover\:bg-blue-800:hover {
    background: #1e40af;
}

.hover\:bg-pink-700:hover {
    background: #be185d;
}

.hover\:bg-sky-600:hover {
    background: #0284c7;
}

.hover\:bg-\[\#20BA5A\]:hover {
    background: #20ba5a;
}

.hover\:border-primary:hover {
    border-color: var(--primary);
}

.hover\:shadow-md:hover {
    box-shadow: 0 8px 22px rgba(15, 23, 42, .12);
}

.hover\:shadow-lg:hover {
    box-shadow: 0 14px 36px rgba(15, 23, 42, .14);
}

.hover\:shadow-xl:hover {
    box-shadow: 0 18px 46px rgba(15, 23, 42, .16);
}

.hover\:shadow-primary\/40:hover {
    box-shadow: 0 14px 38px color-mix(in srgb, var(--primary) 40%, transparent);
}

.hover\:underline:hover {
    text-decoration: underline;
}

.hover\:gap-3 {
    transition: gap .25s ease;
}

.hover\:gap-3:hover {
    gap: .75rem;
}

.hover\:scale-\[1\.02\]:hover {
    transform: scale(1.02);
}

.hover\:-translate-y-0\.5:hover {
    transform: translateY(-2px);
}

/* ---------- Forms ---------- */
.focus\:outline-none:focus {
    outline: none;
}

.focus\:border-primary:focus {
    border-color: var(--primary);
}

.focus\:border-red-500:focus {
    border-color: #ef4444;
}

.focus\:ring-2:focus {
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 30%, transparent);
}

.focus\:ring-4:focus {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 25%, transparent);
}

.focus\:ring-primary:focus {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 25%, transparent);
}

.focus\:ring-primary\/20:focus {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent);
}

.focus\:ring-primary\/40:focus {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 40%, transparent);
}

.focus\:ring-primary\/50:focus {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 40%, transparent);
}

.focus\:ring-red-500:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .25);
}

.focus\:ring-red-500\/50:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, .35);
}

.focus\:bg-white:focus {
    background: #fff;
}

.placeholder-gray-400::placeholder {
    color: #94a3b8;
}

.last\:border-0:last-child {
    border: 0;
}

.last\:mb-0:last-child {
    margin-bottom: 0;
}

/* ---------- Component Helpers ---------- */
.line-clamp-1,
.line-clamp-2,
.line-clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-1 {
    -webkit-line-clamp: 1;
}

.line-clamp-2 {
    -webkit-line-clamp: 2;
}

.line-clamp-3 {
    -webkit-line-clamp: 3;
}

.prose {
    color: #334155;
    line-height: 1.8;
}

.prose p,
.prose ul,
.prose ol,
.prose h2,
.prose h3,
.prose h4 {
    margin-bottom: 1rem;
}

.prose img {
    border-radius: 14px;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

.prose-lg {
    font-size: 1.05rem;
}

.leading-none {
    line-height: 1;
}

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

.space-y-1 > * + * {
    margin-top: .25rem;
}

.add-to-cart-btn,
.remove-from-cart-btn,
.franchise-select-btn {
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    transition: all .25s ease;
}

.hero-typing {
    color: var(--accent-light);
    font-weight: 700;
}

.search-container {
    position: relative;
}

.account-type-btn {
    transition: all .2s ease;
    cursor: pointer;
}

/* ---------- Global Breadcrumb ---------- */
.breadcrumb-section {
    background: var(--dark);
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-light);
}

.breadcrumb a {
    color: var(--gray-light);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb .current,
.breadcrumb span {
    color: var(--primary-light);
}

.page-shell {
    background: #f8fafc;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .lg\:grid-cols-3,
    .xl\:grid-cols-3,
    .lg\:grid-cols-\[280px_1fr\],
    .lg\:grid-cols-\[360px_1fr\] {
        grid-template-columns: 1fr;
    }

    .lg\:col-span-2 {
        grid-column: auto;
    }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .md\:flex-row {
        flex-direction: row;
    }

    .md\:flex-row-reverse {
        flex-direction: row-reverse;
    }

    .md\:text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }

    .md\:text-5xl {
        font-size: 3rem;
        line-height: 1.1;
    }

    .md\:text-3xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }

    .md\:p-8 {
        padding: 2rem;
    }

    .md\:p-10 {
        padding: 2.5rem;
    }

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

    .md\:items-start {
        align-items: flex-start;
    }

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

    .md\:text-xl {
        font-size: 1.25rem;
        line-height: 1.7rem;
    }

    .md\:text-right {
        text-align: right;
    }

    .md\:w-auto {
        width: auto;
    }

    .md\:w-72 {
        width: 18rem;
    }

    .md\:py-16 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

@media (min-width: 1200px) {
    .lg\:items-center {
        align-items: center;
    }

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

    .lg\:flex-row {
        flex-direction: row;
    }

    .lg\:gap-12 {
        gap: 3rem;
    }

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

    .lg\:col-span-1 {
        grid-column: span 1 / span 1;
    }
}

@media (min-width: 640px) {
    .sm\:flex-row {
        flex-direction: row;
    }

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

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