/* ==========================================================================
   United MUN Mağaza — tema
   Renkler umitkalko.com arayüzünden (bordo #920143, turuncu #ed9c28,
   koyu gri #373a3c / #4c4c4c) ve United MUN logosundan (lacivert #16233c,
   altın #c8ac62) türetilmiştir.
   ========================================================================== */

:root {
    --ses-purple: #920143;
    --ses-purple-dark: #6e0032;
    --ses-purple-light: #b3245f;
    --ses-magenta: #ed9c28;
    --ses-magenta-dark: #d18211;
    --ses-navy: #16233c;
    --ses-navy-soft: #22304d;
    --ses-amber: #c8ac62;
    --ses-teal: #40cbb4;

    --ses-ink: #373a3c;
    --ses-muted: #6b6e72;
    --ses-line: #e8e4e6;
    --ses-surface: #ffffff;
    --ses-canvas: #faf7f8;

    --ses-gradient: linear-gradient(120deg, var(--ses-purple) 0%, var(--ses-magenta) 100%);
    --ses-gradient-soft: linear-gradient(120deg, rgba(146, 1, 67, .08), rgba(237, 156, 40, .08));

    --ses-radius: 16px;
    --ses-radius-sm: 10px;
    --ses-shadow: 0 10px 30px rgba(22, 35, 60, .07);
    --ses-shadow-lg: 0 18px 48px rgba(22, 35, 60, .12);

    --bs-primary: #920143;
    --bs-primary-rgb: 146, 1, 67;
}

* { -webkit-font-smoothing: antialiased; }

body {
    font-family: Poppins, "Segoe UI", system-ui, sans-serif;
    color: var(--ses-ink);
    background: var(--ses-canvas);
    font-size: .95rem;
}

h1, h2, h3, h4, h5, h6, .display-6 { font-weight: 700; letter-spacing: -.01em; }

a { color: var(--ses-purple); text-decoration: none; }
a:hover { color: var(--ses-magenta); }

.text-magenta { color: var(--ses-magenta) !important; }
.text-purple { color: var(--ses-purple) !important; }
.text-muted-ses { color: var(--ses-muted) !important; }
.bg-navy { background: var(--ses-navy) !important; }
.bg-canvas { background: var(--ses-canvas) !important; }
.bg-gradient-ses { background: var(--ses-gradient) !important; }

/* ---------------------------------------------------------------- buttons */

.btn { border-radius: 999px; font-weight: 600; padding: .6rem 1.5rem; }
.btn-sm { padding: .35rem 1rem; font-size: .82rem; }
.btn-lg { padding: .85rem 2rem; }

.btn-ses {
    background: var(--ses-gradient);
    border: 0;
    color: #fff;
    box-shadow: 0 8px 20px rgba(237, 156, 40, .25);
}
.btn-ses:hover, .btn-ses:focus { color: #fff; filter: brightness(1.06); box-shadow: 0 10px 26px rgba(237, 156, 40, .35); }

.btn-purple { background: var(--ses-purple); border: 0; color: #fff; }
.btn-purple:hover { background: var(--ses-purple-dark); color: #fff; }

.btn-outline-ses { border: 2px solid var(--ses-purple); color: var(--ses-purple); background: transparent; }
.btn-outline-ses:hover { background: var(--ses-purple); color: #fff; }

.btn-ghost-light { border: 2px solid rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--ses-purple); border-color: #fff; }

/* ----------------------------------------------------------------- header */

.topbar {
    background: var(--ses-navy);
    color: rgba(255, 255, 255, .78);
    font-size: .8rem;
    padding: .5rem 0;
}
.topbar a { color: rgba(255, 255, 255, .78); }
.topbar a:hover { color: #fff; }

.site-header {
    background: #fff;
    box-shadow: 0 2px 16px rgba(22, 35, 60, .06);
    position: sticky;
    top: 0;
    z-index: 1030;
}
.site-header .navbar-brand img { height: 52px; width: auto; border-radius: 8px; }

.nav-main .nav-link {
    color: var(--ses-ink);
    font-weight: 600;
    padding: .5rem .9rem;
    border-radius: 999px;
    font-size: .9rem;
}
.nav-main .nav-link:hover,
.nav-main .nav-link.active { color: var(--ses-magenta); background: rgba(237, 156, 40, .07); }

/* -------------------------------------------------------------- mega menü */
/* Alt kategorisi olan menü öğesinin paneli: solda degrade vitrin kartı,
   sağda alt kategori kartları, daha derin kademeler etiket olarak. */

#mainNav { position: relative; }
.nav-main .nav-item.mega { position: static; }

.nav-main .mega > .dropdown-toggle::after {
    transition: transform .25s ease;
    vertical-align: .15em;
}
.nav-main .mega > .dropdown-toggle.show { color: var(--ses-magenta); background: rgba(237, 156, 40, .07); }
.nav-main .mega > .dropdown-toggle.show::after { transform: rotate(180deg); }

.mega-menu {
    left: 0;
    width: max-content;
    max-width: 100%;
    margin-top: .35rem !important;
    padding: .9rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(14px);
    box-shadow: 0 30px 70px rgba(22, 35, 60, .18), 0 0 0 1px rgba(146, 1, 67, .06);
}
.mega-menu.show { animation: megaIn .32s cubic-bezier(.2, .8, .2, 1) both; }

/* Panelin üstündeki küçük ok, açılan başlığı işaret eder. */
.mega-menu::before {
    content: "";
    position: absolute;
    top: -7px;
    left: var(--mega-arrow-x, 3.2rem);
    width: 14px;
    height: 14px;
    background: #fff;
    transform: rotate(45deg);
    border-radius: 3px 0 0 0;
    box-shadow: -1px -1px 0 rgba(146, 1, 67, .06);
}

.mega-grid {
    display: grid;
    grid-template-columns: minmax(230px, 280px) 1fr;
    gap: .9rem;
}

/* Vitrin kartı */
.mega-spotlight {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: 1.5rem;
    border-radius: 18px;
    background: var(--ses-gradient);
    color: #fff;
    min-height: 220px;
    isolation: isolate;
}
.mega-spotlight:hover { color: #fff; }
.mega-orb {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    filter: blur(2px);
    transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.mega-orb-1 { width: 180px; height: 180px; right: -60px; top: -60px; background: rgba(255, 255, 255, .14); }
.mega-orb-2 { width: 120px; height: 120px; left: -40px; bottom: -50px; background: rgba(250, 172, 29, .35); }
.mega-spotlight:hover .mega-orb-1 { transform: translate(-18px, 14px) scale(1.12); }
.mega-spotlight:hover .mega-orb-2 { transform: translate(16px, -10px) scale(1.18); }

.mega-spotlight-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, .18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
    font-size: 1.35rem;
    margin-bottom: .6rem;
}
.mega-eyebrow { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ses-amber); font-weight: 700; }
.mega-spotlight-title { font-size: 1.25rem; font-weight: 700; line-height: 1.2; }
.mega-spotlight-text {
    font-size: .8rem;
    color: rgba(255, 255, 255, .8);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mega-spotlight-cta {
    margin-top: auto;
    padding-top: .9rem;
    font-size: .82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}
.mega-spotlight-cta i { transition: transform .25s ease; }
.mega-spotlight:hover .mega-spotlight-cta i { transform: translateX(5px); }

/* Alt kategori kartları */
.mega-tiles {
    display: grid;
    grid-template-columns: repeat(var(--mega-cols, 3), minmax(220px, 260px));
    gap: .6rem;
    align-content: start;
}
.mega-tile {
    border-radius: 16px;
    padding: .35rem;
    transition: background .2s ease, box-shadow .2s ease;
    animation: megaTileIn .4s cubic-bezier(.2, .8, .2, 1) both;
    animation-delay: calc(var(--i, 0) * 45ms + 60ms);
}
.mega-menu:not(.show) .mega-tile { animation: none; }
.mega-tile:hover { background: var(--ses-gradient-soft); box-shadow: inset 0 0 0 1px rgba(146, 1, 67, .08); }

.mega-tile-head {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .55rem .6rem;
    border-radius: 12px;
    color: var(--ses-ink);
}
.mega-tile-icon {
    flex: 0 0 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--ses-gradient-soft);
    color: var(--ses-purple);
    font-size: 1.05rem;
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), background .2s ease, color .2s ease;
}
.mega-tile:hover .mega-tile-icon { background: var(--ses-gradient); color: #fff; transform: rotate(-8deg) scale(1.06); }
.mega-tile-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.mega-tile-title { font-weight: 700; font-size: .92rem; }
.mega-tile-text { font-size: .76rem; color: var(--ses-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mega-tile-arrow {
    color: var(--ses-magenta);
    font-size: .8rem;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .2s ease, transform .2s ease;
}
.mega-tile:hover .mega-tile-arrow { opacity: 1; transform: translateX(0); }
.mega-tile-head:hover .mega-tile-title { color: var(--ses-magenta); }

.mega-chips { display: flex; flex-wrap: wrap; gap: .35rem; padding: .1rem .6rem .55rem calc(.6rem + 42px + .8rem); }
.mega-chip {
    font-size: .74rem;
    font-weight: 600;
    padding: .28rem .7rem;
    border-radius: 999px;
    background: #fff;
    color: var(--ses-purple);
    box-shadow: inset 0 0 0 1px var(--ses-line);
    transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.mega-chip:hover { background: var(--ses-purple); color: #fff; box-shadow: none; transform: translateY(-1px); }
.mega-chip-deep { font-weight: 500; color: var(--ses-muted); }
.mega-chip-deep i { font-size: .62rem; margin-right: .2rem; opacity: .6; }

@keyframes megaIn {
    from { opacity: 0; transform: translateY(-10px) scale(.985); }
    to { opacity: 1; transform: none; }
}
@keyframes megaTileIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

/* Mobilde panel menünün içinde akar: vitrin sadeleşir, kartlar alt alta dizilir. */
@media (max-width: 991.98px) {
    .mega-menu {
        position: static !important;
        width: auto;
        margin: .25rem 0 .6rem !important;
        padding: .5rem;
        box-shadow: none;
        background: var(--ses-canvas);
        border-radius: 16px;
    }
    .mega-menu::before { display: none; }
    .mega-grid { grid-template-columns: 1fr; gap: .5rem; }
    .mega-spotlight { min-height: 0; padding: 1rem 1.1rem; flex-direction: row; flex-wrap: wrap; align-items: center; }
    .mega-spotlight-icon { width: 40px; height: 40px; font-size: 1rem; margin: 0 .4rem 0 0; }
    .mega-eyebrow, .mega-spotlight-text { display: none; }
    .mega-spotlight-title { font-size: 1rem; }
    .mega-spotlight-cta { margin: 0 0 0 auto; padding: 0; }
    .mega-tiles { grid-template-columns: 1fr; }
    .mega-tile-arrow { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .mega-menu.show, .mega-tile { animation: none; }
    .mega-orb, .mega-tile-icon, .mega-spotlight-cta i { transition: none; }
}

.header-search .form-control {
    border-radius: 999px 0 0 999px;
    border: 1px solid var(--ses-line);
    border-right: 0;
    padding-left: 1.1rem;
    height: 44px;
}
.header-search .btn { border-radius: 0 999px 999px 0; height: 44px; }
.header-search .form-control:focus { box-shadow: none; border-color: var(--ses-purple-light); }

.header-action {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--ses-ink);
    font-weight: 600;
    font-size: .85rem;
    padding: .4rem .7rem;
    border-radius: 999px;
}
.header-action:hover { color: var(--ses-magenta); background: rgba(237, 156, 40, .07); }
.header-action i { font-size: 1.05rem; }

.cart-badge {
    background: var(--ses-magenta);
    color: #fff;
    border-radius: 999px;
    font-size: .68rem;
    padding: .1rem .42rem;
    font-weight: 700;
}

/* ------------------------------------------------------------------ hero */

/* Alt boşluk, slider'ın altına binen özellik şeridinin görseli örtmemesi içindir. */
.hero { background: var(--ses-navy); position: relative; overflow: hidden; padding-bottom: 3rem; }
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(1000px 420px at 12% 0%, rgba(146, 1, 67, .75), transparent 62%),
                radial-gradient(760px 380px at 92% 100%, rgba(237, 156, 40, .55), transparent 60%);
}
.hero > * { position: relative; z-index: 1; }

.hero-slide { min-height: 460px; display: flex; align-items: center; color: #fff; }
.hero-slide .eyebrow {
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .72rem;
    font-weight: 700;
    color: var(--ses-amber);
}
.hero-slide h1 { font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.12; }
.hero-slide p { color: rgba(255, 255, 255, .82); max-width: 42ch; }
.hero-visual {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
    aspect-ratio: 16 / 10;
    background: rgba(0, 0, 0, .28);
}
/* Panelden yüklenen afişler kırpılmaz; oran tutmazsa kenarlarda koyu bant kalır. */
.hero-visual img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Hero oklari: masaustunde kenarlarda, mobilde gizli (kaydirma ile gecilir) */
.hero .carousel-control-prev, .hero .carousel-control-next { width: 56px; opacity: .55; }
.hero .carousel-control-prev:hover, .hero .carousel-control-next:hover { opacity: 1; }
.hero .carousel-control-prev-icon, .hero .carousel-control-next-icon {
    width: 40px; height: 40px; border-radius: 50%; background-color: rgba(255,255,255,.14); background-size: 50%;
}
@media (max-width: 991.98px) { .hero .carousel-control-prev, .hero .carousel-control-next { display: none; } }
.hero .carousel-inner { cursor: grab; }
.hero .carousel-inner.dragging { cursor: grabbing; user-select: none; }

.carousel-indicators [data-bs-target] {
    width: 26px; height: 4px; border-radius: 999px;
    background: rgba(255, 255, 255, .4); border: 0;
}
.carousel-indicators .active { background: var(--ses-amber); }

/* --------------------------------------------------------------- sections */

.section { padding: 4rem 0; }
.section-tight { padding: 2.5rem 0; }

.section-title { position: relative; margin-bottom: 2rem; }
.section-title .eyebrow {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .72rem;
    font-weight: 700;
    color: var(--ses-magenta);
    margin-bottom: .35rem;
}
.section-title h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 0; }

/* ---------------------------------------------------------------- cards */

.feature-strip { background: #fff; border-radius: var(--ses-radius); box-shadow: var(--ses-shadow); }
.feature-item { display: flex; gap: .9rem; align-items: center; padding: 1.25rem; }
.feature-item i { font-size: 1.5rem; color: var(--ses-purple); }
.feature-item strong { display: block; font-size: .9rem; }
.feature-item span { font-size: .8rem; color: var(--ses-muted); }

/* Şeritteki ifade sayısı panelden değişir; içerik her sütunda ortalanır ki 2-3 ifade de dengeli dursun. */
.feature-strip .feature-item { justify-content: center; position: relative; }
@media (min-width: 992px) {
    .feature-strip .col + .col .feature-item::before {
        content: ""; position: absolute; left: 0; top: 25%; bottom: 25%;
        border-left: 1px solid var(--ses-line);
    }
}

.category-card {
    display: block;
    background: #fff;
    border-radius: var(--ses-radius);
    padding: 1.6rem 1.25rem;
    text-align: center;
    box-shadow: var(--ses-shadow);
    transition: transform .18s ease, box-shadow .18s ease;
    height: 100%;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--ses-shadow-lg); }
.category-card .icon {
    width: 62px; height: 62px; margin: 0 auto .9rem;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--ses-gradient-soft);
    color: var(--ses-purple);
    font-size: 1.4rem;
}
.category-card h3 { font-size: .98rem; margin: 0 0 .25rem; color: var(--ses-ink); }
.category-card p { font-size: .78rem; color: var(--ses-muted); margin: 0; }

.product-card {
    background: #fff;
    border-radius: var(--ses-radius);
    overflow: hidden;
    box-shadow: var(--ses-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease;
    position: relative;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--ses-shadow-lg); }

.product-thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--ses-gradient-soft);
    display: grid;
    place-items: center;
    overflow: hidden;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-badges { position: absolute; top: .7rem; left: .7rem; display: flex; flex-direction: column; gap: .35rem; z-index: 2; }
.badge-ses {
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 700;
    padding: .3rem .65rem;
    letter-spacing: .02em;
}
.badge-discount { background: var(--ses-magenta); color: #fff; }
.badge-type { background: rgba(22, 35, 60, .82); color: #fff; }
.badge-soldout { background: #6b6e72; color: #fff; }

.product-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.product-category { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ses-magenta); font-weight: 700; }
.product-title { font-size: .95rem; font-weight: 600; margin: .35rem 0 .5rem; line-height: 1.35; }
.product-title a { color: var(--ses-ink); }
.product-title a:hover { color: var(--ses-purple); }
.product-meta { font-size: .76rem; color: var(--ses-muted); margin-bottom: .75rem; }
.product-price { margin-top: auto; display: flex; align-items: baseline; gap: .5rem; }
.product-price .now { font-size: 1.12rem; font-weight: 700; color: var(--ses-purple); }
.product-price .was { font-size: .82rem; color: var(--ses-muted); text-decoration: line-through; }

/* --------------------------------------------------------------- product */

.gallery-main {
    background: #fff;
    border-radius: var(--ses-radius);
    overflow: hidden;
    box-shadow: var(--ses-shadow);
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb {
    width: 76px; height: 60px; border-radius: 10px; overflow: hidden;
    border: 2px solid transparent; background: #fff; padding: 0; cursor: pointer;
}
.gallery-thumb.active { border-color: var(--ses-magenta); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.price-box {
    background: #fff;
    border-radius: var(--ses-radius);
    box-shadow: var(--ses-shadow);
    padding: 1.5rem;
}
.price-now { font-size: 2rem; font-weight: 800; color: var(--ses-purple); line-height: 1; }
.price-was { color: var(--ses-muted); text-decoration: line-through; }

.qty-input { display: inline-flex; border: 1px solid var(--ses-line); border-radius: 999px; overflow: hidden; }
.qty-input button { border: 0; background: #fff; width: 40px; font-size: 1.05rem; color: var(--ses-purple); }
.qty-input input { border: 0; width: 54px; text-align: center; font-weight: 600; }
.qty-input input:focus { outline: none; }

.info-list { list-style: none; padding: 0; margin: 0; font-size: .85rem; }
.info-list li { display: flex; gap: .6rem; padding: .5rem 0; border-bottom: 1px dashed var(--ses-line); }
.info-list li:last-child { border-bottom: 0; }
.info-list i { color: var(--ses-teal); margin-top: .15rem; }

/* ------------------------------------------------------------------ panel */

.panel {
    background: #fff;
    border-radius: var(--ses-radius);
    box-shadow: var(--ses-shadow);
    padding: 1.5rem;
}
.panel-title { font-size: 1rem; font-weight: 700; margin-bottom: 1.1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--ses-line); }

.summary-row { display: flex; justify-content: space-between; padding: .45rem 0; font-size: .9rem; }
.summary-row.total { border-top: 1px solid var(--ses-line); margin-top: .5rem; padding-top: .9rem; font-size: 1.1rem; font-weight: 700; color: var(--ses-purple); }

.form-label { font-size: .8rem; font-weight: 600; color: var(--ses-muted); text-transform: uppercase; letter-spacing: .04em; }
.form-control, .form-select {
    border-radius: var(--ses-radius-sm);
    border: 1px solid var(--ses-line);
    padding: .65rem .9rem;
    font-size: .9rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--ses-purple-light);
    box-shadow: 0 0 0 .2rem rgba(146, 1, 67, .12);
}

.steps { display: flex; gap: .5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.step {
    display: flex; align-items: center; gap: .5rem;
    font-size: .82rem; font-weight: 600; color: var(--ses-muted);
    background: #fff; border-radius: 999px; padding: .5rem 1rem; box-shadow: var(--ses-shadow);
}
.step .num { width: 22px; height: 22px; border-radius: 50%; background: var(--ses-line); color: var(--ses-muted); display: grid; place-items: center; font-size: .72rem; }
.step.active { color: #fff; background: var(--ses-gradient); }
.step.active .num { background: rgba(255,255,255,.28); color: #fff; }

/* ------------------------------------------------------------------- auth */

.auth-split { min-height: calc(100vh - 60px); display: flex; }
.auth-visual {
    flex: 1;
    background: var(--ses-navy);
    position: relative;
    display: none;
    color: #fff;
    padding: 3rem;
}
.auth-visual::after {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(700px 420px at 20% 15%, rgba(146, 1, 67, .8), transparent 60%),
                radial-gradient(600px 420px at 85% 90%, rgba(237, 156, 40, .6), transparent 60%);
}
.auth-visual > * { position: relative; z-index: 1; }
.auth-form-side { flex: 1; display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; }
.auth-card { width: 100%; max-width: 440px; background: #fff; border-radius: 20px; box-shadow: var(--ses-shadow-lg); padding: 2.25rem; border-top: 4px solid var(--ses-magenta); }

@media (min-width: 992px) { .auth-visual { display: block; } }

/* ----------------------------------------------------------------- footer */

.site-footer { background: var(--ses-navy); color: rgba(255, 255, 255, .68); padding: 3.5rem 0 0; }
.site-footer h5 { color: #fff; font-size: .92rem; margin-bottom: 1.1rem; }
.site-footer a { color: rgba(255, 255, 255, .68); font-size: .85rem; }
.site-footer a:hover { color: var(--ses-amber); }
.site-footer .footer-logo { height: 64px; opacity: .95; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.5rem; padding: 1.2rem 0; font-size: .78rem; }
.social-link {
    width: 36px; height: 36px; border-radius: 50%;
    display: inline-grid; place-items: center;
    background: rgba(255, 255, 255, .08); color: #fff;
}
.social-link:hover { background: var(--ses-magenta); color: #fff; }

/* ------------------------------------------------------------------ admin */

.admin-body { background: var(--ses-canvas); }
.admin-sidebar {
    background: var(--ses-navy);
    color: rgba(255, 255, 255, .72);
    width: 250px;
    min-height: 100vh;
    position: fixed;
    top: 0; left: 0;
    padding: 1.25rem 0;
    overflow-y: auto;
    z-index: 1040;
}
.admin-sidebar .brand { padding: 0 1.25rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 1rem; }
.admin-sidebar .brand img { height: 44px; }
.admin-sidebar .nav-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.35); padding: 1rem 1.25rem .4rem; }
.admin-sidebar a {
    display: flex; align-items: center; gap: .7rem;
    padding: .6rem 1.25rem; color: rgba(255, 255, 255, .72);
    font-size: .87rem; font-weight: 500;
}
.admin-sidebar a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.admin-sidebar a.active { background: var(--ses-gradient); color: #fff; font-weight: 600; }
.admin-sidebar a i { width: 18px; text-align: center; }

.admin-content { margin-left: 250px; padding: 1.5rem; }
.admin-topbar {
    background: #fff; border-radius: var(--ses-radius);
    box-shadow: var(--ses-shadow); padding: .9rem 1.25rem;
    display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem;
}

.stat-card { background: #fff; border-radius: var(--ses-radius); box-shadow: var(--ses-shadow); padding: 1.25rem; height: 100%; }
.stat-card .label { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ses-muted); font-weight: 600; }
.stat-card .value { font-size: 1.6rem; font-weight: 800; color: var(--ses-ink); line-height: 1.2; }
.stat-card .icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.15rem; color: #fff; }

.table-ses { font-size: .87rem; }
.table-ses > :not(caption) > * > * { padding: .8rem .75rem; }
.table-ses thead th {
    font-size: .72rem; text-transform: uppercase; letter-spacing: .08em;
    color: var(--ses-muted); border-bottom: 2px solid var(--ses-line); font-weight: 700;
}

.status-pill { border-radius: 999px; padding: .25rem .7rem; font-size: .72rem; font-weight: 700; display: inline-block; }
.status-pending { background: #fff3d6; color: #9a6b00; }
.status-paid { background: #d9f5ee; color: #12735d; }
.status-preparing { background: #e4ecfd; color: #2b52a8; }
.status-shipped { background: #e6e0f5; color: var(--ses-purple); }
.status-completed { background: #d9f5ee; color: #0f6b56; }
.status-cancelled { background: #fde2e6; color: #a41930; }
.status-refunded { background: #ececf3; color: #55576e; }

@media (max-width: 991.98px) {
    .admin-sidebar { transform: translateX(-100%); transition: transform .2s ease; }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-content { margin-left: 0; }
}

/* ------------------------------------------------------------------ utils */

.empty-state { text-align: center; padding: 3.5rem 1rem; }
.empty-state i { font-size: 3rem; color: var(--ses-line); margin-bottom: 1rem; }
.empty-state h3 { font-size: 1.1rem; }
.empty-state p { color: var(--ses-muted); font-size: .9rem; }

.page-head { background: var(--ses-navy); color: #fff; padding: 2.4rem 0; position: relative; overflow: hidden; }
.page-head::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(700px 300px at 8% 0%, rgba(146, 1, 67, .8), transparent 62%),
                radial-gradient(600px 300px at 95% 100%, rgba(237, 156, 40, .5), transparent 60%);
}
.page-head > * { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(1.4rem, 3vw, 2.1rem); margin: 0; }
.page-head .breadcrumb { margin: .4rem 0 0; font-size: .8rem; }
.page-head .breadcrumb a { color: rgba(255,255,255,.72); }
.page-head .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }
.page-head .breadcrumb-item.active { color: var(--ses-amber); }

.filter-panel { background: #fff; border-radius: var(--ses-radius); box-shadow: var(--ses-shadow); padding: 1.25rem; }
.filter-panel h6 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ses-muted); font-weight: 700; margin: 1.1rem 0 .6rem; }
.filter-panel h6:first-child { margin-top: 0; }

.pagination .page-link { border: 0; border-radius: 999px; margin: 0 .15rem; color: var(--ses-ink); font-size: .85rem; font-weight: 600; }
.pagination .active .page-link { background: var(--ses-gradient); color: #fff; }

.alert { border: 0; border-radius: var(--ses-radius-sm); font-size: .88rem; }
.alert-success { background: #d9f5ee; color: #12735d; }
.alert-danger { background: #fde2e6; color: #a41930; }
.alert-info { background: #e4ecfd; color: #2b52a8; }
.alert-warning { background: #fff3d6; color: #8a5f00; }
