/* ================================================================
   Somnath Sir Notes — EduSpark Style Theme
   All custom classes prefixed with ssn- to avoid conflicts.
   Loaded LAST — overrides bootstrap + app.css
   ================================================================ */

/* ── CSS VARIABLES ───────────────────────────────────────────── */
:root {
   --ssn-blue: #2563EB;
   --ssn-blue-dark: #1d4ed8;
   --ssn-deep: #173B70;
   --ssn-yellow: #F5B942;
   --ssn-orange: #fb923c;
   --ssn-dark: #1F2937;
   --ssn-muted: #6B7280;
   --ssn-light-bg: #F8FAFC;
   --ssn-white: #FFFFFF;
   --ssn-border: #E5E7EB;
   --ssn-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
   --ssn-radius: 12px;
   --ssn-radius-lg: 20px;
}

/* ── BODY ────────────────────────────────────────────────────── */
body {
   background: var(--ssn-light-bg) !important;
   color: var(--ssn-dark);
   font-family: 'Inter', 'Nunito', system-ui, -apple-system, sans-serif;
}

/* ── CONTAINER ───────────────────────────────────────────────── */
.container-custom {
   max-width: 1280px;
}

/* ════════════════════════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════════════════════════ */
.es-navbar,
.ssn-navbar {
   background: var(--ssn-white) !important;
   border-bottom: 1.5px solid #edf0f5 !important;
   box-shadow: 0 2px 14px rgba(0, 0, 0, .06) !important;
   position: sticky;
   top: 0;
   z-index: 1050;
}

.es-nav-wrap {
   display: flex !important;
   align-items: center !important;
   height: 70px !important;
   gap: 16px !important;
}

/* Logo */
.es-logo {
   flex-shrink: 0;
   text-decoration: none;
}

.es-logo img {
   height: 38px !important;
   width: auto;
   display: block;
}

/* Search */
.es-nav-search {
   flex: 1;
   max-width: 320px;
}

.es-nav-search-inner {
   display: flex;
   align-items: center;
   background: #f4f6fa;
   border: 1.5px solid #e8ecf2;
   border-radius: 50px;
   padding: 0 16px;
   gap: 8px;
   transition: border-color .2s, background .2s;
}

.es-nav-search-inner:focus-within {
   border-color: var(--ssn-blue);
   background: var(--ssn-white);
   box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
}

.es-nav-search-inner i {
   color: #94a3b8;
   font-size: 13px;
   flex-shrink: 0;
}

.es-nav-search-inner input {
   border: none !important;
   background: transparent !important;
   outline: none !important;
   padding: 9px 0 !important;
   font-size: 14px !important;
   color: var(--ssn-dark) !important;
   width: 100% !important;
   box-shadow: none !important;
}

.es-nav-search-inner input::placeholder {
   color: #9ca3af;
}

/* Nav links */
.es-nav-links {
   display: flex;
   align-items: center;
   gap: 2px;
}

.es-nav-link {
   font-size: 14.5px;
   font-weight: 500;
   color: var(--ssn-dark) !important;
   padding: 7px 13px;
   border-radius: 8px;
   cursor: pointer;
   text-decoration: none !important;
   transition: color .15s, background .15s;
   white-space: nowrap;
}

.es-nav-link:hover {
   color: var(--ssn-blue) !important;
   background: rgba(37, 99, 235, .06);
}

.es-nav-link-active {
   color: var(--ssn-blue) !important;
   font-weight: 700 !important;
}

/* Nav right actions */
.es-nav-actions {
   display: flex;
   align-items: center;
   gap: 10px;
   margin-left: auto;
}

.es-cart-btn {
   position: relative;
   color: var(--ssn-dark);
   font-size: 17px;
   padding: 7px 10px;
   border-radius: 8px;
   text-decoration: none;
   transition: background .15s, color .15s;
}

.es-cart-btn:hover {
   background: #f1f5f9;
   color: var(--ssn-blue);
}

.es-cart-count {
   position: absolute;
   top: -4px;
   right: -4px;
   background: #ef4444;
   color: #fff;
   font-size: 10px;
   font-weight: 700;
   padding: 1px 5px;
   border-radius: 20px;
   line-height: 1.4;
}

.es-btn-register {
   font-size: 14px;
   font-weight: 600;
   color: var(--ssn-dark) !important;
   padding: 8px 20px;
   border: 1.5px solid var(--ssn-border);
   border-radius: 9px;
   text-decoration: none !important;
   transition: border-color .15s, color .15s;
   white-space: nowrap;
}

.es-btn-register:hover {
   border-color: var(--ssn-blue);
   color: var(--ssn-blue) !important;
}

.es-btn-login {
   font-size: 14px;
   font-weight: 700;
   color: var(--ssn-white) !important;
   padding: 9px 22px;
   background: var(--ssn-blue);
   border-radius: 9px;
   text-decoration: none !important;
   transition: background .15s;
   white-space: nowrap;
   display: inline-flex;
   align-items: center;
}

.es-btn-login:hover {
   background: var(--ssn-blue-dark);
   color: var(--ssn-white) !important;
}

.es-btn-premium {
   font-size: 13px;
   font-weight: 700;
   color: #b45309 !important;
   padding: 7px 16px;
   background: #fef3c7;
   border: 1.5px solid #fcd34d;
   border-radius: 9px;
   text-decoration: none !important;
   transition: .15s;
   white-space: nowrap;
}

.es-btn-premium:hover {
   background: #fde68a;
   color: #92400e !important;
}

/* ════════════════════════════════════════════════════════════════
   HERO SECTION
════════════════════════════════════════════════════════════════ */
.ssn-hero {
   background: linear-gradient(135deg, #EEF2FF 0%, #FFFBEB 60%, #EFF6FF 100%);
   padding: 76px 0 0;
   overflow: hidden;
   position: relative;
}

.ssn-hero-inner {
   display: grid;
   grid-template-columns: 55% 45%;
   gap: 48px;
   align-items: center;
   padding-bottom: 80px;
}

/* Hero badge */
.ssn-hero-badge {
   display: inline-flex;
   align-items: center;
   gap: 10px;
   background: rgba(37, 99, 235, .08);
   border: 1.5px solid rgba(37, 99, 235, .18);
   color: var(--ssn-blue);
   font-size: 13px;
   font-weight: 700;
   padding: 7px 18px;
   border-radius: 100px;
   margin-bottom: 22px;
}

.ssn-badge-lines {
   color: var(--ssn-yellow);
   letter-spacing: 2px;
   font-weight: 900;
}

/* Hero title */
.ssn-hero-title {
   font-size: clamp(2rem, 4.5vw, 3.2rem);
   font-weight: 900;
   line-height: 1.1;
   letter-spacing: -.03em;
   color: #111827;
   margin-bottom: 18px;
}

.ssn-title-blue {
   color: var(--ssn-blue);
   position: relative;
}

.ssn-title-blue::after {
   content: '';
   display: block;
   height: 4px;
   background: var(--ssn-yellow);
   border-radius: 4px;
   margin-top: 2px;
   width: 100%;
}

/* Hero subtitle */
.ssn-hero-sub {
   font-size: 15.5px;
   color: var(--ssn-muted);
   line-height: 1.8;
   max-width: 460px;
   margin-bottom: 32px;
}

/* Hero buttons */
.ssn-hero-btns {
   display: flex;
   align-items: center;
   gap: 16px;
   flex-wrap: wrap;
   margin-bottom: 36px;
}

.ssn-btn-blue {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   background: var(--ssn-blue);
   color: var(--ssn-white) !important;
   font-size: 14.5px;
   font-weight: 700;
   padding: 12px 28px;
   border-radius: 10px;
   text-decoration: none !important;
   border: 2px solid var(--ssn-blue);
   transition: background .2s, transform .2s, box-shadow .2s;
   cursor: pointer;
   white-space: nowrap;
}

.ssn-btn-blue:hover {
   background: var(--ssn-blue-dark);
   border-color: var(--ssn-blue-dark);
   transform: translateY(-2px);
   box-shadow: 0 6px 20px rgba(37, 99, 235, .35);
   color: var(--ssn-white) !important;
}

.ssn-btn-play {
   display: inline-flex;
   align-items: center;
   gap: 10px;
   background: transparent;
   color: var(--ssn-dark) !important;
   font-size: 14.5px;
   font-weight: 600;
   text-decoration: none !important;
   transition: color .15s;
   cursor: pointer;
}

.ssn-btn-play:hover {
   color: var(--ssn-blue) !important;
}

.ssn-play-icon {
   width: 42px;
   height: 42px;
   border-radius: 50%;
   background: var(--ssn-white);
   box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 13px;
   color: var(--ssn-blue);
   flex-shrink: 0;
   transition: background .15s, color .15s;
}

.ssn-btn-play:hover .ssn-play-icon {
   background: var(--ssn-blue);
   color: var(--ssn-white);
}

/* Hero stats row */
.ssn-hero-stats {
   display: flex;
   align-items: center;
   gap: 22px;
   flex-wrap: wrap;
}

.ssn-stat-avatars {
   display: flex;
   align-items: center;
   gap: 10px;
}

.ssn-avatars {
   display: flex;
}

.ssn-av {
   width: 34px;
   height: 34px;
   border-radius: 50%;
   border: 2.5px solid #fff;
   color: #fff;
   font-weight: 700;
   font-size: 13px;
   display: flex;
   align-items: center;
   justify-content: center;
   margin-left: -8px;
   flex-shrink: 0;
}

.ssn-av:first-child {
   margin-left: 0;
}

.ssn-stat-info {}

.ssn-stars {
   color: #f59e0b;
   font-size: 13px;
   letter-spacing: 2px;
   line-height: 1;
}

.ssn-stat-label {
   font-size: 12px;
   color: #9ca3af;
   margin-top: 2px;
}

.ssn-stat-sep {
   width: 1px;
   height: 36px;
   background: var(--ssn-border);
   flex-shrink: 0;
}

.ssn-stat-block {
   display: flex;
   align-items: center;
   gap: 10px;
}

.ssn-stat-icon {
   font-size: 22px;
   color: var(--ssn-blue);
}

.ssn-stat-num {
   font-size: 1.1rem;
   font-weight: 900;
   color: #111827;
   line-height: 1;
}

/* Hero right image column */
.ssn-hero-right {
   display: flex;
   justify-content: center;
   align-items: flex-end;
}

.ssn-hero-imgbox {
   position: relative;
   width: 100%;
   max-width: 480px;
}

.ssn-hero-blob {
   position: absolute;
   bottom: 0;
   left: 50%;
   transform: translateX(-50%);
   width: 86%;
   height: 80%;
   border-radius: 50% 50% 0 0 / 60% 60% 0 0;
   background: linear-gradient(135deg, #dbeafe 0%, #fde68a 100%);
   z-index: 0;
}

.ssn-hero-img {
   position: relative;
   z-index: 1;
   width: 100%;
   max-height: 480px;
   object-fit: contain;
   object-position: bottom;
   display: block;
}

.ssn-hero-imgph {
   position: relative;
   z-index: 1;
   display: flex;
   align-items: flex-end;
   justify-content: center;
   min-height: 320px;
   font-size: 180px;
   color: rgba(37, 99, 235, .1);
}

/* Floating cards */
.ssn-floatcard {
   position: absolute;
   z-index: 2;
   background: var(--ssn-white);
   border-radius: 12px;
   padding: 10px 16px;
   display: flex;
   align-items: center;
   gap: 10px;
   font-size: 13px;
   font-weight: 600;
   color: var(--ssn-dark);
   box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
}

.ssn-floatcard span {
   font-size: 12px;
}

.ssn-fc1 {
   top: 24px;
   right: -16px;
   animation: ssn-float 4s ease-in-out infinite;
}

.ssn-fc2 {
   bottom: 70px;
   left: -16px;
   animation: ssn-float 5s ease-in-out infinite 1.2s;
}

@keyframes ssn-float {

   0%,
   100% {
      transform: translateY(0);
   }

   50% {
      transform: translateY(-10px);
   }
}

/* Brand strip */
.ssn-brand-strip {
   background: var(--ssn-white);
   border-top: 1.5px solid #f1f5f9;
   padding: 18px 0;
}

.ssn-brand-row {
   display: flex;
   align-items: center;
   gap: 24px;
   flex-wrap: wrap;
   justify-content: center;
}

.ssn-brand-label {
   font-size: 13px;
   font-weight: 700;
   color: var(--ssn-muted);
   white-space: nowrap;
}

.ssn-brand-item {
   display: flex;
   align-items: center;
   gap: 7px;
   text-decoration: none !important;
   color: #9ca3af;
   font-size: 13.5px;
   font-weight: 600;
   opacity: .65;
   transition: opacity .2s, color .2s;
}

.ssn-brand-item:hover {
   opacity: 1;
   color: var(--ssn-blue);
}

.ssn-brand-item img {
   width: 22px;
   height: 22px;
   object-fit: contain;
   filter: grayscale(1);
   transition: filter .2s;
}

.ssn-brand-item:hover img {
   filter: none;
}

/* ════════════════════════════════════════════════════════════════
   OFFER BANNER
════════════════════════════════════════════════════════════════ */
.ssn-offer-section {
   background: var(--ssn-white);
   padding: 64px 0;
}

.ssn-offer-box {
   display: flex;
   align-items: stretch;
   background: linear-gradient(120deg, #1e1b4b 0%, #1E3A5F 100%);
   border-radius: var(--ssn-radius-lg);
   overflow: hidden;
   min-height: 220px;
   box-shadow: 0 12px 48px rgba(0, 0, 0, .2);
}

.ssn-offer-img {
   width: 300px;
   flex-shrink: 0;
   overflow: hidden;
}

.ssn-offer-img img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   display: block;
}

.ssn-offer-content {
   padding: 40px 44px;
   flex: 1;
}

.ssn-offer-eyebrow {
   font-size: 11px;
   font-weight: 800;
   letter-spacing: .18em;
   text-transform: uppercase;
   color: var(--ssn-orange);
   margin-bottom: 10px;
}

.ssn-offer-title {
   font-size: clamp(1.3rem, 2.5vw, 1.9rem);
   font-weight: 900;
   color: var(--ssn-white);
   line-height: 1.3;
   margin-bottom: 20px;
}

.ssn-yellow-text {
   color: var(--ssn-yellow) !important;
}

/* Countdown */
.ssn-countdown {
   display: flex;
   align-items: center;
   gap: 10px;
   margin-bottom: 24px;
   flex-wrap: wrap;
}

.ssn-cd-unit {
   display: flex;
   flex-direction: column;
   align-items: center;
   min-width: 52px;
   background: rgba(255, 255, 255, .08);
   border-radius: 10px;
   padding: 8px 12px;
}

.ssn-cd-n {
   font-size: 1.8rem;
   font-weight: 900;
   color: var(--ssn-white);
   line-height: 1;
   font-variant-numeric: tabular-nums;
}

.ssn-cd-unit small {
   font-size: 10px;
   color: rgba(255, 255, 255, .5);
   text-transform: uppercase;
   letter-spacing: .1em;
   margin-top: 4px;
}

.ssn-cd-sep {
   font-size: 1.6rem;
   font-weight: 900;
   color: rgba(255, 255, 255, .3);
   margin-bottom: 14px;
}

/* ════════════════════════════════════════════════════════════════
   SHARED SECTION STYLES
════════════════════════════════════════════════════════════════ */
.ssn-section {
   padding: 72px 0;
}

.ssn-bg-light {
   background: var(--ssn-light-bg) !important;
}

.ssn-bg-white {
   background: var(--ssn-white) !important;
}

.ssn-section-head {
   margin-bottom: 44px;
}

.ssn-section-pill {
   display: inline-flex;
   align-items: center;
   background: rgba(37, 99, 235, .08);
   color: var(--ssn-blue);
   font-size: 11.5px;
   font-weight: 700;
   letter-spacing: .1em;
   text-transform: uppercase;
   padding: 5px 14px;
   border-radius: 100px;
   margin-bottom: 10px;
}

.ssn-pill {
   display: inline-flex;
   align-items: center;
   background: rgba(37, 99, 235, .08);
   color: var(--ssn-blue);
   font-size: 11.5px;
   font-weight: 700;
   letter-spacing: .1em;
   text-transform: uppercase;
   padding: 5px 14px;
   border-radius: 100px;
   margin-bottom: 12px;
}

.ssn-pill-light {
   background: rgba(255, 255, 255, .12);
   color: rgba(255, 255, 255, .85);
   border: 1px solid rgba(255, 255, 255, .2);
}

.ssn-section-title {
   font-size: clamp(1.6rem, 3.5vw, 2.15rem);
   font-weight: 900;
   color: #111827;
   letter-spacing: -.03em;
   margin-bottom: 10px;
}

.ssn-section-sub {
   font-size: 15px;
   color: var(--ssn-muted);
   max-width: 480px;
   margin: 0 auto;
   line-height: 1.7;
}

/* Shared button variants */
.ssn-btn-outline-blue {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   background: transparent;
   color: var(--ssn-blue) !important;
   font-size: 14px;
   font-weight: 600;
   padding: 10px 26px;
   border: 1.5px solid var(--ssn-blue);
   border-radius: 9px;
   text-decoration: none !important;
   transition: background .2s, color .2s, transform .2s;
   cursor: pointer;
   white-space: nowrap;
}

.ssn-btn-outline-blue:hover {
   background: var(--ssn-blue);
   color: var(--ssn-white) !important;
   transform: translateY(-2px);
}

.ssn-btn-outline-white {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   background: rgba(255, 255, 255, .1);
   color: var(--ssn-white) !important;
   font-size: 14.5px;
   font-weight: 600;
   padding: 12px 28px;
   border: 1.5px solid rgba(255, 255, 255, .35);
   border-radius: 10px;
   text-decoration: none !important;
   transition: background .2s, transform .2s;
   cursor: pointer;
   white-space: nowrap;
}

.ssn-btn-outline-white:hover {
   background: rgba(255, 255, 255, .2);
   color: var(--ssn-white) !important;
   transform: translateY(-2px);
}

/* ════════════════════════════════════════════════════════════════
   CATEGORY CARDS
════════════════════════════════════════════════════════════════ */
.ssn-cat-grid {
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
   gap: 14px;
}

.ssn-cat-card {
   display: flex;
   align-items: center;
   gap: 12px;
   background: var(--ssn-white);
   border: 1.5px solid var(--ssn-border);
   border-radius: var(--ssn-radius);
   padding: 16px 18px;
   text-decoration: none !important;
   transition: border-color .2s, transform .2s, box-shadow .2s;
   cursor: pointer;
}

.ssn-cat-card:hover {
   border-color: var(--ssn-blue);
   background: rgba(37, 99, 235, .03);
   transform: translateY(-3px);
   box-shadow: 0 8px 24px rgba(37, 99, 235, .13);
}

.ssn-cat-card-full {
   width: 100%;
}

.ssn-cat-icon {
   width: 44px;
   height: 44px;
   border-radius: 10px;
   background: rgba(37, 99, 235, .08);
   display: flex;
   align-items: center;
   justify-content: center;
   flex-shrink: 0;
}

.ssn-cat-icon img {
   width: 26px;
   height: 26px;
   object-fit: contain;
}

.ssn-cat-name,
.ssn-cat-info .ssn-cat-name {
   flex: 1;
   font-size: 14px !important;
   font-weight: 600 !important;
   color: var(--ssn-dark) !important;
   text-decoration: none !important;
   margin: 0 !important;
}

.ssn-cat-card:hover .ssn-cat-name {
   color: var(--ssn-blue) !important;
}

.ssn-cat-arrow {
   font-size: 16px;
   font-weight: 700;
   color: var(--ssn-orange);
   transition: transform .2s;
   flex-shrink: 0;
}

.ssn-cat-card:hover .ssn-cat-arrow {
   transform: translate(2px, -2px);
}

/* Legacy .home-category styles (categories.blade uses these) */
.home-category {
   display: flex;
   align-items: center;
   gap: 14px;
   background: var(--ssn-white);
   border: 1.5px solid var(--ssn-border);
   border-radius: var(--ssn-radius);
   padding: 16px 20px;
   text-decoration: none !important;
   transition: border-color .2s, transform .2s, box-shadow .2s;
   width: 100%;
}

.home-category:hover {
   border-color: var(--ssn-blue);
   box-shadow: 0 6px 20px rgba(37, 99, 235, .12);
   transform: translateY(-3px);
}

.home-category-icon {
   width: 46px;
   height: 46px;
   border-radius: 10px;
   background: rgba(37, 99, 235, .08);
   display: flex;
   align-items: center;
   justify-content: center;
   flex-shrink: 0;
}

.home-category-icon img {
   width: 28px;
   height: 28px;
   object-fit: contain;
}

.home-category-title {
   font-size: 14px !important;
   font-weight: 700 !important;
   color: var(--ssn-dark) !important;
   margin: 0 !important;
}

.home-category:hover .home-category-title {
   color: var(--ssn-blue) !important;
}

/* ════════════════════════════════════════════════════════════════
   ABOUT SECTION
════════════════════════════════════════════════════════════════ */
.ssn-about-row {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 72px;
   align-items: center;
}

.ssn-about-imgwrap {
   position: relative;
   border-radius: var(--ssn-radius-lg);
   overflow: visible;
   aspect-ratio: 4/5;
   max-height: 500px;
}

.ssn-about-imgbg {
   position: absolute;
   inset: 0;
   border-radius: var(--ssn-radius-lg);
   background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.ssn-about-imgph {
   position: absolute;
   inset: 0;
   border-radius: var(--ssn-radius-lg);
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 120px;
   color: rgba(37, 99, 235, .12);
   overflow: hidden;
}

.ssn-about-badge1 {
   position: absolute;
   top: 22px;
   right: -24px;
   background: var(--ssn-orange);
   color: var(--ssn-white);
   border-radius: 12px;
   padding: 12px 16px;
   display: flex;
   align-items: center;
   gap: 10px;
   box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
   z-index: 3;
}

.ssn-about-badge1 strong {
   font-size: 1.2rem;
   font-weight: 900;
   display: block;
}

.ssn-about-badge1 span {
   font-size: 11px;
   opacity: .9;
}

.ssn-about-badge2 {
   position: absolute;
   bottom: 22px;
   left: -24px;
   background: var(--ssn-white);
   border-radius: 12px;
   padding: 12px 16px;
   display: flex;
   align-items: center;
   gap: 10px;
   box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
   z-index: 3;
}

.ssn-about-badge2 strong {
   font-weight: 700;
   display: block;
   color: #111827;
}

.ssn-about-badge2 span {
   font-size: 11px;
   color: #9ca3af;
}

.ssn-about-title {
   font-size: clamp(1.4rem, 2.8vw, 2rem);
   font-weight: 900;
   color: #111827;
   letter-spacing: -.03em;
   line-height: 1.25;
   margin-bottom: 14px;
}

.ssn-blue-text {
   color: var(--ssn-blue) !important;
}

.ssn-about-text {
   font-size: 15px;
   color: var(--ssn-muted);
   line-height: 1.8;
   margin-bottom: 24px;
}

.ssn-features {
   display: flex;
   flex-direction: column;
   gap: 12px;
}

.ssn-feature {
   display: flex;
   align-items: center;
   gap: 12px;
   font-size: 14px;
   font-weight: 500;
   color: var(--ssn-dark);
}

.ssn-chk {
   width: 22px;
   height: 22px;
   border-radius: 50%;
   background: rgba(37, 99, 235, .1);
   color: var(--ssn-blue);
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 10px;
   flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════════
   ITEM CARDS (EduSpark course card style)
════════════════════════════════════════════════════════════════ */
.item,
.ssn-item {
   background: var(--ssn-white);
   border: 1.5px solid var(--ssn-border);
   border-radius: 16px;
   overflow: hidden;
   transition: transform .22s, box-shadow .22s, border-color .22s;
   display: flex;
   flex-direction: column;
   height: 100%;
   position: relative;
}

.item:hover,
.ssn-item:hover {
   transform: translateY(-5px);
   box-shadow: 0 14px 40px rgba(0, 0, 0, .1);
   border-color: rgba(37, 99, 235, .3);
}

/* Colored accent bar */
.ssn-item-topbar {
   height: 4px;
   width: 100%;
   flex-shrink: 0;
}

/* Thumbnail */
.item-header,
.ssn-item-header {
   position: relative;
   overflow: hidden;
   background: #f1f5f9;
}

.item-img,
.ssn-item-img {
   display: block;
   width: 100%;
   aspect-ratio: 16/9;
   overflow: hidden;
}

.item-img img,
.ssn-item-img img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform .35s;
}

.item:hover .item-img img,
.ssn-item:hover .ssn-item-img img {
   transform: scale(1.06);
}

.ssn-item-imgph {
   display: flex;
   align-items: center;
   justify-content: center;
   aspect-ratio: 16/9;
   text-decoration: none !important;
}

/* Badges */
.item-badge,
.ssn-badge {
   position: absolute;
   top: 10px;
   left: 10px;
   font-size: 11px;
   font-weight: 700;
   padding: 4px 11px;
   border-radius: 6px;
   z-index: 2;
}

.item-badge-free {
   background: #dcfce7;
   color: #15803d;
}

.item-badge-sale {
   background: #fff7ed;
   color: #c2410c;
}

.item-badge-trending {
   background: #fef3c7;
   color: #b45309;
}

.item-badge-premium {
   background: linear-gradient(135deg, #f59e0b, #d97706);
   color: #fff;
}

/* Card content area */
.item-content,
.ssn-item-content {
   padding: 16px;
   flex: 1;
   display: flex;
   flex-direction: column;
   gap: 8px;
}

/* Category breadcrumb */
.ssn-item-category .breadcrumb {
   margin: 0;
   padding: 0;
   background: transparent;
}

.ssn-item-category .breadcrumb-item {
   font-size: 11.5px;
   color: #9ca3af;
}

.ssn-item-category .breadcrumb-item a {
   color: var(--ssn-blue);
   font-size: 11.5px;
   text-decoration: none;
}

.ssn-item-category .breadcrumb-item a:hover {
   text-decoration: underline;
}

.ssn-item-category .breadcrumb-item+.breadcrumb-item::before {
   font-size: 10px;
}

/* Title */
.item-title,
.ssn-item-title {
   font-size: 14px !important;
   font-weight: 700 !important;
   line-height: 1.45 !important;
   margin-bottom: 0 !important;
   display: -webkit-box;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
   overflow: hidden;
}

.item-title a,
.ssn-item-title a {
   color: #111827 !important;
   text-decoration: none !important;
   transition: color .15s;
}

.item-title a:hover,
.ssn-item-title a:hover {
   color: var(--ssn-blue) !important;
}

/* Rating */
.ssn-item-rating {
   margin-top: 2px;
}

/* Footer row: price + buttons */
.ssn-item-footer {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 8px;
   margin-top: auto;
   padding-top: 12px;
   border-top: 1px solid #f1f5f9;
}

.ssn-item-price-block {
   display: flex;
   flex-direction: column;
   gap: 2px;
}

.ssn-price {
   font-size: 15px !important;
   font-weight: 800 !important;
   color: var(--ssn-blue) !important;
   display: block;
   line-height: 1.2;
}

.ssn-price-through {
   font-size: 11.5px !important;
   color: #9ca3af !important;
   text-decoration: line-through;
   display: block;
   line-height: 1.2;
}

.ssn-sales {
   font-size: 11px;
   color: #9ca3af;
   display: block;
   line-height: 1.4;
}

/* Item action buttons */
.ssn-item-actions {
   display: flex;
   align-items: center;
   gap: 6px;
   flex-shrink: 0;
}

.ssn-btn-buy {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   background: var(--ssn-blue);
   color: var(--ssn-white) !important;
   font-size: 12.5px;
   font-weight: 700;
   padding: 7px 14px;
   border-radius: 8px;
   text-decoration: none !important;
   border: none;
   cursor: pointer;
   transition: background .15s, transform .15s;
   white-space: nowrap;
}

.ssn-btn-buy:hover {
   background: var(--ssn-blue-dark);
   color: var(--ssn-white) !important;
   transform: translateY(-1px);
}

.ssn-btn-preview {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   background: transparent;
   color: var(--ssn-muted) !important;
   font-size: 14px;
   padding: 7px 10px;
   border-radius: 8px;
   text-decoration: none !important;
   border: 1.5px solid var(--ssn-border);
   transition: border-color .15s, color .15s, background .15s;
   white-space: nowrap;
}

.ssn-btn-preview:hover {
   border-color: var(--ssn-blue);
   color: var(--ssn-blue) !important;
   background: rgba(37, 99, 235, .06);
}

/* Legacy item price selectors (keep app.css items working too) */
.item-price-amount {
   font-size: 15px !important;
   font-weight: 800 !important;
   color: var(--ssn-blue) !important;
}

.item-price-through {
   font-size: 12px !important;
   color: #9ca3af !important;
   text-decoration: line-through;
   margin-right: 4px;
}

.item-sales {
   font-size: 11px;
   color: #9ca3af;
}

/* ════════════════════════════════════════════════════════════════
   SECTION TABS
════════════════════════════════════════════════════════════════ */
.ssn-tabs-wrap {
   display: flex;
   justify-content: center;
}

.ssn-tab-btn,
.items-tabs-btn {
   padding: 8px 20px;
   font-size: 13.5px;
   font-weight: 600;
   color: var(--ssn-muted);
   background: var(--ssn-white);
   border: 1.5px solid var(--ssn-border);
   border-radius: 100px;
   cursor: pointer;
   transition: background .18s, color .18s, border-color .18s;
   white-space: nowrap;
   line-height: 1.4;
}

.ssn-tab-btn.active,
.ssn-tab-btn:hover,
.items-tabs-btn.active,
.items-tabs-btn:hover {
   background: var(--ssn-blue);
   border-color: var(--ssn-blue);
   color: var(--ssn-white) !important;
}

/* ════════════════════════════════════════════════════════════════
   FEATURED SECTION — promo box
════════════════════════════════════════════════════════════════ */
.ssn-featured-promo {
   background: linear-gradient(135deg, rgba(37, 99, 235, .06) 0%, rgba(37, 99, 235, .12) 100%);
   border: 2px dashed rgba(37, 99, 235, .3);
   border-radius: 16px;
   padding: 32px 28px;
   display: flex;
   flex-direction: column;
   gap: 14px;
}

.ssn-featured-promo-title {
   font-size: 1.5rem;
   font-weight: 900;
   color: #111827;
   letter-spacing: -.02em;
   line-height: 1.25;
   margin: 0;
}

.ssn-featured-promo-sub {
   font-size: 14.5px;
   color: var(--ssn-muted);
   line-height: 1.7;
   margin: 0;
}

/* ════════════════════════════════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════════════════════════════════ */
.ssn-testimonial {
   background: var(--ssn-light-bg);
   border: 1.5px solid var(--ssn-border);
   border-radius: 16px;
   padding: 28px;
   display: flex;
   flex-direction: column;
   height: 100%;
   transition: border-color .2s, transform .2s, box-shadow .2s;
}

.ssn-testimonial:hover {
   border-color: rgba(37, 99, 235, .3);
   box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
   transform: translateY(-3px);
}

.ssn-testimonial-quote {
   font-size: 26px;
   color: var(--ssn-yellow);
   margin-bottom: 12px;
   line-height: 1;
}

.ssn-testimonial-message {
   font-size: 14.5px;
   color: var(--ssn-muted);
   line-height: 1.8;
   font-style: italic;
   flex: 1;
   margin-bottom: 16px;
}

.ssn-testimonial-stars {
   color: var(--ssn-yellow);
}

.ssn-testimonial-avatar {
   width: 48px !important;
   height: 48px !important;
   border-radius: 50% !important;
   overflow: hidden;
   flex-shrink: 0;
   border: 2px solid var(--ssn-border);
}

.ssn-testimonial-avatar img {
   width: 100%;
   height: 100%;
   object-fit: cover;
}

.ssn-testimonial-name {
   font-size: 14px !important;
   font-weight: 700 !important;
   color: #111827 !important;
}

.ssn-testimonial-title {
   font-size: 12px;
   color: #9ca3af;
   margin: 0;
}

/* Legacy testimonial classes */
.testimonial {
   background: var(--ssn-light-bg);
   border: 1.5px solid var(--ssn-border);
   border-radius: 16px;
   padding: 28px;
   display: flex;
   flex-direction: column;
   height: 100%;
   transition: border-color .2s, transform .2s, box-shadow .2s;
}

.testimonial:hover {
   border-color: rgba(37, 99, 235, .3);
   box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
   transform: translateY(-3px);
}

.testimonial-title {
   font-size: 15px !important;
   font-weight: 700 !important;
   color: #111827 !important;
}

.testimonial-jobtitle {
   font-size: 12px;
   color: #9ca3af;
   margin: 0;
}

.testimonial-message {
   font-size: 14px;
   color: var(--ssn-muted);
   line-height: 1.8;
   flex: 1;
   font-style: italic;
}

.testimonial-avatar {
   width: 46px !important;
   height: 46px !important;
   border-radius: 50% !important;
   overflow: hidden;
   flex-shrink: 0;
}

.testimonial-avatar img {
   width: 100%;
   height: 100%;
   object-fit: cover;
}

/* ════════════════════════════════════════════════════════════════
   SWIPER BUTTONS
════════════════════════════════════════════════════════════════ */
.ssn-swiper-btn,
.swiper-button-prev,
.swiper-button-next {
   width: 44px !important;
   height: 44px !important;
   background: var(--ssn-white) !important;
   border: 1.5px solid var(--ssn-border) !important;
   border-radius: 50% !important;
   color: var(--ssn-blue) !important;
   box-shadow: 0 4px 16px rgba(0, 0, 0, .08) !important;
   transition: background .2s, border-color .2s, color .2s !important;
   display: flex !important;
   align-items: center !important;
   justify-content: center !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
   display: none;
}

.ssn-swiper-btn:hover,
.swiper-button-prev:hover,
.swiper-button-next:hover {
   background: var(--ssn-blue) !important;
   border-color: var(--ssn-blue) !important;
   color: var(--ssn-white) !important;
}

/* ════════════════════════════════════════════════════════════════
   CTA SECTION
════════════════════════════════════════════════════════════════ */
.ssn-cta-section {
   background: linear-gradient(120deg, #1e1b4b 0%, #173B70 55%, #0f4c81 100%);
   padding: 84px 0;
   position: relative;
   overflow: hidden;
}

.ssn-cta-dots {
   position: absolute;
   inset: 0;
   background-image: radial-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px);
   background-size: 28px 28px;
   pointer-events: none;
   z-index: 1;
}

.ssn-cta-row {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 64px;
   align-items: center;
}

.ssn-cta-left {}

.ssn-cta-title {
   font-size: clamp(1.5rem, 3.5vw, 2.2rem);
   font-weight: 900;
   color: var(--ssn-white);
   letter-spacing: -.03em;
   line-height: 1.2;
   margin-bottom: 12px;
}

.ssn-cta-sub {
   font-size: 15px;
   color: rgba(255, 255, 255, .65);
   line-height: 1.8;
   margin-bottom: 28px;
}

.ssn-cta-right {}

.ssn-cta-illustration {
   position: relative;
   min-height: 220px;
   display: flex;
   align-items: center;
   justify-content: center;
}

.ssn-cta-geo {
   position: absolute;
   border-radius: 50%;
   opacity: .15;
}

.ssn-cta-geo1 {
   width: 220px;
   height: 220px;
   background: var(--ssn-blue);
   top: -30px;
   right: -30px;
}

.ssn-cta-geo2 {
   width: 140px;
   height: 140px;
   background: var(--ssn-yellow);
   bottom: -20px;
   right: 60px;
   border-radius: 20px;
   transform: rotate(20deg);
}

.ssn-cta-geo3 {
   width: 80px;
   height: 80px;
   background: var(--ssn-orange);
   top: 30px;
   right: 140px;
   border-radius: 12px;
   transform: rotate(-15deg);
}

.ssn-cta-card {
   position: relative;
   z-index: 2;
   background: rgba(255, 255, 255, .08);
   border: 1px solid rgba(255, 255, 255, .14);
   border-radius: 20px;
   padding: 32px;
   backdrop-filter: blur(14px);
   width: 100%;
}

.ssn-quote-icon {
   font-size: 28px;
   color: var(--ssn-orange);
   margin-bottom: 14px;
   display: block;
}

.ssn-cta-card p {
   font-size: 15px;
   color: rgba(255, 255, 255, .8);
   line-height: 1.8;
   font-style: italic;
   margin-bottom: 10px;
}

.ssn-cta-card footer {
   font-size: 13px;
   font-weight: 600;
   color: rgba(255, 255, 255, .5);
}

/* ════════════════════════════════════════════════════════════════
   SECTION — shared legacy styles
════════════════════════════════════════════════════════════════ */
.section {
   padding: 72px 0;
}

.section-title {
   font-size: clamp(1.5rem, 3vw, 2rem) !important;
   font-weight: 900 !important;
   color: #111827 !important;
   letter-spacing: -.03em !important;
}

.section-text {
   font-size: 15px;
   color: var(--ssn-muted);
   line-height: 1.7;
}

.section:nth-child(even) {
   background: var(--ssn-light-bg);
}

/* ════════════════════════════════════════════════════════════════
   BOX (card wrappers from existing templates)
════════════════════════════════════════════════════════════════ */
.box {
   border-radius: 14px !important;
   border-color: var(--ssn-border) !important;
}

/* ════════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════════ */
.footer {
   background: #111827 !important;
}

.footer-upper {
   padding: 56px 0 36px;
}

.footer-lower {
   background: #111827 !important;
   border-top: 1px solid rgba(255, 255, 255, .08) !important;
   padding: 18px 0;
}

.footer-text {
   color: rgba(255, 255, 255, .55) !important;
   font-size: 14px;
   line-height: 1.8;
}

.footer-title .h5 {
   font-size: 15px !important;
   font-weight: 700 !important;
   color: var(--ssn-white) !important;
   margin-bottom: 16px;
}

.footer-link a,
.footer-links .footer-link a {
   font-size: 14px;
   color: rgba(255, 255, 255, .5) !important;
   text-decoration: none;
   line-height: 2.2;
   transition: color .15s;
}

.footer-link a:hover,
.footer-links .footer-link a:hover {
   color: var(--ssn-white) !important;
}

.footer-copyright {
   color: rgba(255, 255, 255, .35) !important;
   font-size: 13px !important;
}

.footer-counter-text {
   font-size: 1.3rem !important;
   font-weight: 900 !important;
   color: var(--ssn-white) !important;
}

.footer-counter-title {
   font-size: 12px !important;
   color: rgba(255, 255, 255, .45) !important;
}

.social-btn {
   width: 36px !important;
   height: 36px !important;
   border-radius: 9px !important;
   background: rgba(255, 255, 255, .07) !important;
   border: 1px solid rgba(255, 255, 255, .1) !important;
   color: rgba(255, 255, 255, .65) !important;
   transition: background .15s, border-color .15s, color .15s !important;
}

.social-btn:hover {
   background: var(--ssn-blue) !important;
   border-color: var(--ssn-blue) !important;
   color: var(--ssn-white) !important;
}

/* ════════════════════════════════════════════════════════════════
   GLOBAL BUTTON ALIASES (backward compat with home.blade.php)
════════════════════════════════════════════════════════════════ */
.es-btn-primary {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   background: var(--ssn-blue) !important;
   border: 2px solid var(--ssn-blue) !important;
   color: var(--ssn-white) !important;
   border-radius: 10px !important;
   padding: 12px 28px !important;
   font-size: 14.5px !important;
   font-weight: 700 !important;
   text-decoration: none !important;
   transition: background .2s, transform .2s, box-shadow .2s !important;
   cursor: pointer;
}

.es-btn-primary:hover {
   background: var(--ssn-blue-dark) !important;
   border-color: var(--ssn-blue-dark) !important;
   transform: translateY(-2px);
   box-shadow: 0 6px 20px rgba(37, 99, 235, .35) !important;
   color: var(--ssn-white) !important;
}

.es-btn-white {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   background: rgba(255, 255, 255, .12) !important;
   border: 1.5px solid rgba(255, 255, 255, .35) !important;
   color: var(--ssn-white) !important;
   border-radius: 10px !important;
   padding: 12px 28px !important;
   font-size: 14.5px !important;
   font-weight: 600 !important;
   text-decoration: none !important;
   transition: background .2s, transform .2s !important;
}

.es-btn-white:hover {
   background: rgba(255, 255, 255, .2) !important;
   transform: translateY(-2px);
   color: var(--ssn-white) !important;
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
════════════════════════════════════════════════════════════════ */
@media (max-width: 1199px) {
   .ssn-hero-inner {
      gap: 32px;
   }

   .ssn-about-row {
      gap: 48px;
   }
}

@media (max-width: 991px) {
   .ssn-hero-inner {
      grid-template-columns: 1fr;
      text-align: center;
      padding-bottom: 48px;
   }

   .ssn-hero-right {
      order: -1;
   }

   .ssn-hero-sub {
      margin: 0 auto 28px;
   }

   .ssn-hero-btns {
      justify-content: center;
   }

   .ssn-hero-stats {
      justify-content: center;
   }

   .ssn-hero-badge {
      justify-content: center;
   }

   .ssn-floatcard {
      display: none !important;
   }

   .ssn-about-row {
      grid-template-columns: 1fr;
      gap: 36px;
   }

   .ssn-about-badge1 {
      right: 12px;
   }

   .ssn-about-badge2 {
      left: 12px;
   }

   .ssn-cta-row {
      grid-template-columns: 1fr;
      gap: 36px;
      text-align: center;
   }

   .ssn-cta-row .d-flex {
      justify-content: center !important;
   }

   .ssn-offer-box {
      flex-direction: column;
   }

   .ssn-offer-img {
      display: none;
   }

   .ssn-offer-content {
      padding: 30px 28px;
      text-align: center;
   }

   .ssn-countdown {
      justify-content: center;
   }
}

@media (max-width: 767px) {
   .ssn-hero {
      padding-top: 40px;
   }

   .ssn-hero-inner {
      padding-bottom: 40px;
   }

   .ssn-hero-title {
      font-size: 1.9rem;
   }

   .ssn-offer-section {
      padding: 40px 0;
   }

   .ssn-section {
      padding: 52px 0;
   }

   .section {
      padding: 52px 0;
   }

   .ssn-cd-n {
      font-size: 1.5rem;
   }

   .ssn-cta-section {
      padding: 56px 0;
   }

   .ssn-about-imgwrap {
      max-height: 340px;
   }
}

@media (max-width: 575px) {
   .ssn-cat-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
   }

   .ssn-about-row {
      gap: 24px;
   }

   .ssn-cta-row {
      gap: 24px;
   }

   .ssn-hero-stats {
      gap: 14px;
   }

   .ssn-hero-btns {
      flex-direction: column;
      align-items: center;
   }

   .ssn-offer-content {
      padding: 24px 20px;
   }

   .ssn-brand-row {
      gap: 14px;
   }
}

/* Homepage and navigation refinement (loaded after the theme and app styles). */
.es-navbar {
   background: rgba(255, 255, 255, .96) !important;
   border-bottom: 1px solid #e8eef7 !important;
   box-shadow: 0 4px 18px rgba(23, 59, 112, .06) !important;
   backdrop-filter: blur(14px);
}

.es-nav-wrap {
   min-height: 74px;
   height: auto !important;
   gap: clamp(12px, 1.6vw, 24px) !important;
}

.es-logo img { max-height: 42px; }
.es-logo {
   display: inline-flex;
   flex: 0 0 auto;
   align-items: center;
   min-width: 0;
}
.es-logo { gap: 8px; white-space: nowrap; text-decoration: none; }
.es-nav-wrap .es-logo img.es-logo-symbol { display: block; width: 46px !important; height: 46px !important; max-width: none !important; max-height: none !important; flex: 0 0 46px; object-fit: contain; }
.es-logo-wordmark { display: flex; flex-direction: column; align-items: flex-start; color: #173b70; font-size: 14px; font-weight: 800; letter-spacing: .055em; line-height: 1.12; }
.es-logo-wordmark span:last-child { margin-top: 3px; color: #2563eb; font-size: 10px; font-weight: 700; letter-spacing: .2em; }
.es-nav-search { flex: 1 1 250px; max-width: 320px; }
.es-nav-search-inner { min-height: 42px; background: #f8fafc; border-color: #e2e8f0; }
.es-nav-search-inner:focus-within { background: #fff; }
.es-nav-links { gap: 4px; }
.es-nav-link { border-radius: 10px; }
.es-nav-link-active { background: rgba(37, 99, 235, .07); }
.es-cart-btn { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #e2e8f0; background: #fff; }
.es-cart-count { background: #f5b942; color: #173b70; border: 2px solid #fff; }
.es-btn-register { border-color: #dbe4f0; }
.es-btn-login { border-radius: 10px; box-shadow: 0 5px 14px rgba(37, 99, 235, .18); }
.nav-bar-menu-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px !important; color: #173b70; background: #f8fafc !important; }
.nav-bar-menu-btn:hover { color: #2563eb; background: #eff6ff !important; }
.offcanvas#navDrawer { border: 0; border-start-start-radius: 20px; border-end-start-radius: 20px; box-shadow: -16px 0 48px rgba(15, 23, 42, .14); }
.offcanvas#navDrawer .offcanvas-header { min-height: 58px; }
.offcanvas#navDrawer .nav-bar-links { display: grid; gap: 6px; padding: 8px 16px; }
.offcanvas#navDrawer .nav-bar-links > .link,
.offcanvas#navDrawer .nav-bar-links > .drop-down { min-height: 46px; display: flex; align-items: center; padding: 0 12px; border: 1px solid #e8eef7; border-radius: 12px; color: #1e293b; text-decoration: none; }
.offcanvas#navDrawer .nav-bar-links > .link:hover,
.offcanvas#navDrawer .nav-bar-links > .drop-down:focus-within { border-color: rgba(37, 99, 235, .35); background: #f8fbff; color: #2563eb; }

.ssn-hero {
   padding: clamp(42px, 6vw, 76px) 0 0;
   background: linear-gradient(116deg, #f8fbff 0%, #fff 57%, #fffaf0 100%);
}
.ssn-hero-inner {
   grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
   gap: clamp(24px, 5vw, 68px);
   align-items: center;
   padding-bottom: clamp(42px, 6vw, 76px);
}
.ssn-hero-title { max-width: 700px; font-size: clamp(2.5rem, 5vw, 4.35rem); line-height: 1.08; letter-spacing: -.045em; }
.ssn-hero-title br { display: block; }
.ssn-hero-sub { max-width: 560px; font-size: clamp(1rem, 1.35vw, 1.12rem); line-height: 1.75; }
.ssn-hero-btns { gap: 14px; margin-bottom: 24px; }
.ssn-hero-btns .ssn-btn-blue { min-height: 48px; padding-inline: 22px; border-radius: 12px; }
.ssn-btn-play { min-height: 48px; gap: 10px; padding: 0 14px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; }
.ssn-btn-play .fa-book-open { color: #2563eb; }
.ssn-hero-benefits { display: flex; flex-wrap: wrap; gap: 10px 20px; color: #52627a; font-size: .88rem; font-weight: 600; }
.ssn-hero-benefits span { display: inline-flex; align-items: center; gap: 8px; }
.ssn-hero-benefits i { color: #2563eb; }
.ssn-hero-imgbox { min-height: 390px; max-width: 530px; margin-inline: auto; }
.ssn-hero-blob { inset: 8% 4% 0; width: auto; height: auto; border-radius: 48% 52% 36% 64% / 48% 42% 58% 52%; background: linear-gradient(145deg, #dbeafe 0%, #eff6ff 52%, #fff0c2 100%); }
.ssn-hero-img { width: 100%; max-height: 460px; object-position: center bottom; }
.ssn-hero-imgph { min-height: 360px; width: 100%; align-items: center; }
.ssn-study-stack { position: relative; width: min(100%, 390px); height: 320px; }
.ssn-study-book { position: absolute; display: flex; align-items: center; gap: 14px; width: 72%; height: 94px; padding: 18px 22px; border: 1px solid rgba(255,255,255,.55); border-radius: 12px 18px 18px 12px; box-shadow: 0 18px 32px rgba(23, 59, 112, .17); color: #fff; font-size: 1rem; font-weight: 700; }
.ssn-study-book i { font-size: 1.6rem; }
.ssn-study-book-blue { top: 65px; left: 12px; transform: rotate(-7deg); background: linear-gradient(125deg, #2563eb, #173b70); }
.ssn-study-book-gold { top: 157px; right: 0; transform: rotate(5deg); background: linear-gradient(125deg, #f5b942, #e99a18); color: #173b70; }
.ssn-study-sheet { position: absolute; top: 100px; right: 48px; z-index: -1; width: 170px; height: 190px; padding: 24px; border-radius: 14px; background: #fff; color: #2563eb; box-shadow: 0 16px 36px rgba(23, 59, 112, .12); transform: rotate(9deg); }
.ssn-study-sheet i { display: block; margin-bottom: 18px; font-size: 1.7rem; }
.ssn-study-sheet span { display: block; height: 7px; margin-top: 11px; border-radius: 10px; background: #e8eef7; }
.ssn-study-sheet span:last-child { width: 62%; background: #fde7b1; }
.ssn-study-spark { position: absolute; z-index: 2; display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: #fff; box-shadow: 0 10px 25px rgba(23,59,112,.12); }
.ssn-study-spark-one { top: 22px; right: 36px; color: #f5b942; }
.ssn-study-spark-two { bottom: 8px; left: 38px; color: #2563eb; }
.ssn-floatcard { padding: 12px 16px; border: 1px solid #eef2f8; border-radius: 14px; box-shadow: 0 14px 34px rgba(23, 59, 112, .13); }
.ssn-fc1 { top: 17%; right: -12px; }
.ssn-fc2 { bottom: 14%; left: -12px; }
.ssn-brand-strip { margin-top: 0; padding: 18px 0; border-top: 1px solid #e9eff7; background: rgba(255,255,255,.88); }
.ssn-brand-row { gap: 12px; justify-content: space-between; }
.ssn-brand-label { margin-inline-end: 12px; }
.ssn-brand-item { min-height: 44px; padding: 8px 14px; border: 1px solid #edf1f7; border-radius: 12px; background: #fff; transition: border-color .2s, transform .2s; }
.ssn-brand-item:hover { transform: translateY(-2px); border-color: #bfdbfe; }
.ssn-offer-section { padding-block: clamp(32px, 5vw, 64px); }
.ssn-offer-box { min-height: 280px; border: 1px solid rgba(255,255,255,.14); border-radius: 24px; background: linear-gradient(115deg, #173b70 0%, #1e4f9b 70%, #2563eb 100%); box-shadow: 0 20px 50px rgba(23,59,112,.15); }
.ssn-offer-box::after { content: ''; position: absolute; inset: 0 0 0 auto; width: 35%; background: radial-gradient(circle at 50% 50%, rgba(245,185,66,.26), transparent 62%); pointer-events: none; }
.ssn-offer-content { max-width: 560px; padding-block: 12px; }
.ssn-offer-title { line-height: 1.16; }
.ssn-offer-copy { max-width: 450px; margin: 0 0 22px; color: rgba(255,255,255,.78); line-height: 1.7; }
.ssn-offer-content .ssn-btn-blue { background: #f5b942; border-color: #f5b942; color: #173b70 !important; }
.ssn-offer-content .ssn-btn-blue:hover { background: #ffd475; border-color: #ffd475; }
.ssn-about-badge1 { background: #2563eb; }
.ssn-about-badge1 strong { font-size: 1.1rem; }
.ssn-about-badge2 { border: 1px solid #e8eef7; }
.announcement { color: #fff; }
.announcement-text { color: #fff; }
.announcement-text .btn { color: #173b70 !important; border: 0; border-radius: 999px; font-weight: 700; }
.announcement-close { z-index: 2; display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; }
.ssn-hero-title { font-size: clamp(2.25rem, 3.6vw, 3.25rem); }
.ssn-hero-left { position: relative; z-index: 3; }
.ssn-hero-right { position: relative; z-index: 1; }
.ssn-hero-imgph { font-size: 1rem; }
.ssn-study-stack { z-index: 1; }
.ssn-study-spark i { font-size: 1rem; }
.ssn-study-book i { font-size: 1.45rem; }
.ssn-study-sheet i { font-size: 1.5rem; }
.ssn-offer-img { flex: 0 0 38%; min-width: 0; max-width: 38%; }
.ssn-offer-img img { display: block; width: 100%; max-width: 100%; height: 220px; object-fit: contain; }
.ssn-btn-play { width: auto !important; height: auto !important; min-width: 0 !important; min-height: 48px; white-space: nowrap; }

@media (max-width: 1199.98px) {
   .es-nav-wrap { gap: 12px !important; }
   .ssn-hero-inner { gap: 30px; }
   .ssn-hero-title { font-size: clamp(2.4rem, 5vw, 3.6rem); }
}
@media (max-width: 991.98px) {
   .ssn-hero-inner { grid-template-columns: minmax(0, 1fr); text-align: center; gap: 18px; padding-bottom: 40px; }
   .ssn-hero-left { order: 1; }
   .ssn-hero-right { order: 2; }
   .ssn-hero-title, .ssn-hero-sub { margin-inline: auto; }
   .ssn-hero-btns, .ssn-hero-benefits { justify-content: center; }
   .ssn-hero-imgbox { min-height: 310px; }
   .ssn-hero-img { max-height: 370px; }
   .ssn-study-stack { transform: scale(.84); transform-origin: center; }
   .ssn-floatcard { display: none; }
   .ssn-brand-row { justify-content: center; }
}
@media (max-width: 767.98px) {
   .es-nav-wrap { min-height: 66px; }
   .es-logo img { max-height: 38px; }
   .ssn-hero-inner { grid-template-columns: 1fr; gap: 14px; text-align: center; padding-bottom: 32px; }
   .ssn-hero-left { order: 1; }
   .ssn-hero-right { order: 2; }
   .ssn-hero-title { max-width: 620px; margin-inline: auto; font-size: clamp(2.2rem, 8vw, 3.25rem); }
   .ssn-hero-sub { margin-inline: auto; }
   .ssn-hero-btns, .ssn-hero-benefits { justify-content: center; }
   .ssn-hero-imgbox { min-height: 270px; }
   .ssn-hero-img { max-height: 320px; }
   .ssn-hero-imgph { min-height: 260px; }
   .ssn-study-stack { transform: scale(.72); transform-origin: center; }
   .ssn-brand-label { width: 100%; margin: 0; text-align: center; }
   .ssn-brand-item { padding-inline: 10px; font-size: .85rem; }
   .ssn-offer-box { min-height: 0; padding: 24px; }
   .ssn-offer-content { text-align: start; }
}
@media (max-width: 420px) {
   .es-nav-wrap { gap: 8px !important; }
   .es-logo img { max-width: 148px; }
   .es-mobile-actions { gap: 6px; }
   .es-nav-wrap .es-logo img.es-logo-symbol { width: 38px !important; height: 38px !important; flex-basis: 38px; }
   .es-logo { gap: 7px; }
   .es-logo-wordmark { font-size: 12px; letter-spacing: .04em; }
   .es-logo-wordmark span:last-child { font-size: 9px; }
   .ssn-hero-btns { align-items: stretch; flex-direction: column; }
   .ssn-hero-btns > a { justify-content: center; }
   .ssn-hero-benefits { flex-direction: column; align-items: center; }
   .ssn-study-stack { transform: scale(.62); }
}

/* Small-screen overflow and navigation corrections. */
html, body { max-width: 100%; overflow-x: clip; }
.announcement { width: 100%; max-width: 100%; overflow: hidden; }
.announcement > .container-custom { width: 100%; min-width: 0; justify-content: center; padding: 8px 44px 8px 12px; }
.announcement-text { display: flex; min-width: 0; flex: 1 1 auto; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; text-align: center; }
.announcement-text span { min-width: 0; max-width: 100%; overflow-wrap: anywhere; line-height: 1.35; }
.announcement-text .btn { margin: 0 !important; white-space: nowrap; }
.announcement-close { position: absolute; inset-inline-end: 8px; top: 50%; transform: translateY(-50%); }
.ssn-hero-left, .ssn-hero-right { width: 100%; max-width: 100%; min-width: 0; }
.ssn-hero-title { max-width: 100%; overflow-wrap: anywhere; }
.ssn-title-blue { display: inline; white-space: normal; }

@media (min-width: 1200px) {
   .es-logo { flex: 0 0 auto; }
   .es-logo img { max-width: 200px; }
   .es-nav-search { flex: 0 1 240px; min-width: 210px; max-width: 240px; }
   .es-nav-links { flex: 1 1 auto; justify-content: center; min-width: 0; gap: 0; }
   .es-nav-link { padding-inline: 7px; font-size: 13px; }
   .es-nav-actions { flex: 0 0 auto; gap: 6px; }
   .es-btn-register { padding-inline: 14px; }
}
@media (max-width: 767.98px) {
   .announcement > .container-custom { padding-inline: 12px 40px; }
   .announcement-text { font-size: 12px; }
   .es-navbar { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
   .es-nav-wrap { position: relative; display: grid !important; grid-template-columns: minmax(0, 1fr) auto; width: 100%; max-width: 100%; min-height: 66px; height: auto !important; gap: 12px !important; padding-inline: 0 !important; }
   .es-logo { grid-column: 1; min-width: 0; justify-self: start; }
   .es-logo img { display: block; width: auto !important; max-width: min(148px, 42vw) !important; height: auto !important; max-height: 38px !important; }
   .es-mobile-actions { position: static; grid-column: 2; justify-self: end; display: flex !important; flex: 0 0 auto; align-items: center; width: auto !important; min-width: 0; margin: 0 !important; gap: 8px; }
   .es-mobile-cart { position: relative; display: inline-flex; flex: 0 0 42px; width: 42px !important; height: 42px !important; min-width: 42px; margin: 0; padding: 0 !important; }
   .es-mobile-cart .es-cart-count { top: -5px; right: auto; inset-inline-end: -5px; z-index: 2; }
   .es-mobile-menu-btn { display: inline-grid !important; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; padding: 0; border: 1px solid #dbe4f0 !important; border-radius: 12px !important; background: #fff !important; color: #173b70 !important; font-size: 20px; line-height: 1; }
   .es-mobile-menu-btn:hover, .es-mobile-menu-btn:focus-visible { border-color: #93b4ec !important; background: #eff6ff !important; color: #2563eb !important; }
   .es-mobile-menu-btn i { font-size: 20px; line-height: 1; }
   .offcanvas#navDrawer { z-index: 1060; width: min(88vw, 360px); max-width: 360px; }
   .ssn-hero-title { font-size: clamp(1.9rem, 7.6vw, 2.45rem); line-height: 1.12; }
   .ssn-hero-title br { display: block; }
   .ssn-title-blue { display: block; margin-top: 4px; }
   .ssn-hero-imgbox { width: 100%; max-width: 420px; min-height: 270px; overflow: hidden; }
   .ssn-study-stack { width: 330px; max-width: 100%; }
   .ssn-brand-row { max-width: 100%; }
}
@media (max-width: 420px) {
   .announcement > .container-custom { width: 100% !important; max-width: 100% !important; padding-inline: 10px 40px !important; }
   .announcement-text { width: 100%; flex-basis: 100%; flex-direction: column; white-space: normal !important; }
   .announcement-text span { white-space: normal !important; overflow-wrap: anywhere; }
   .ssn-hero-title br { display: block !important; }
   .ssn-hero-benefits { flex-direction: column !important; align-items: center !important; }
   .ssn-hero-title { font-size: clamp(1.7rem, 7vw, 2rem); }
   .ssn-hero-sub { max-width: 34ch; font-size: .98rem; }
   .ssn-study-stack { transform: scale(.78); }
   .ssn-offer-img { display: none !important; }
}

/* Mobile drawer: compact header, evenly spaced links, and anchored account actions. */
.offcanvas#navDrawer {
   --bs-offcanvas-width: min(88vw, 360px);
   width: var(--bs-offcanvas-width);
   display: flex;
   flex-direction: column;
   overflow: hidden;
   border: 0;
   border-start-start-radius: 20px;
   border-end-start-radius: 20px;
   background: #fff;
   box-shadow: -16px 0 48px rgba(15, 23, 42, .16);
}
.offcanvas#navDrawer .es-drawer-body {
   display: flex;
   height: 100%;
   min-height: 0;
   flex-direction: column;
   padding: 0 !important;
}
.es-drawer-header {
   display: flex;
   min-height: 68px;
   align-items: center;
   justify-content: space-between;
   padding: 12px 20px;
   border-bottom: 1px solid #e8eef7;
}
.es-drawer-title { color: #173b70; font-size: 1.05rem; font-weight: 700; }
.es-drawer-close {
   width: 28px;
   height: 28px;
   padding: 8px;
   border: 1px solid #e2e8f0;
   border-radius: 8px;
   background-size: 9px;
   opacity: .72;
}
.es-drawer-links {
   display: grid;
   flex: 1 1 auto;
   align-content: start;
   gap: 10px;
   overflow-y: auto;
   padding: 18px 16px 22px;
}
.es-drawer-links > .es-drawer-link,
.es-drawer-group > .es-drawer-link {
   display: flex;
   width: 100%;
   min-height: 52px;
   align-items: center;
   justify-content: space-between;
   padding: 0 15px;
   border: 1px solid #e6edf6;
   border-radius: 13px;
   background: #fff;
   color: #1e293b;
   font-size: .97rem;
   font-weight: 600;
   line-height: 1.35;
   text-align: start;
   text-decoration: none;
   transition: border-color .16s ease, background .16s ease, color .16s ease;
}
.es-drawer-links > .es-drawer-link:hover,
.es-drawer-links > .es-drawer-link.active,
.es-drawer-group:focus-within > .es-drawer-link {
   border-color: #b9d2f7;
   background: #f4f8ff;
   color: #2563eb;
}
.es-drawer-group { min-width: 0; padding: 0 !important; border: 0 !important; background: transparent !important; }
.es-drawer-dropdown { font-family: inherit; cursor: pointer; }
.es-drawer-dropdown .bi { color: #718096; transition: transform .16s ease; }
.es-drawer-dropdown[aria-expanded="true"] .bi { transform: rotate(180deg); }
.es-drawer-group .dropdown-menu {
   position: static;
   width: 100%;
   margin: 7px 0 0;
   padding: 6px;
   border: 0;
   border-radius: 12px;
   background: #f8fafc;
   box-shadow: none;
   transform: none !important;
}
.es-drawer-sub-link {
   display: flex;
   min-height: 44px;
   align-items: center;
   padding: 9px 12px;
   border-radius: 9px;
   color: #475569;
   white-space: normal;
}
.es-drawer-sub-link:hover { background: #eaf2ff; color: #2563eb; }
.es-drawer-actions {
   display: grid;
   gap: 10px;
   padding: 16px 20px max(20px, env(safe-area-inset-bottom));
   border-top: 1px solid #e8eef7;
   background: #fff;
}
.es-drawer-actions .btn { min-height: 48px; justify-content: center; margin: 0 !important; }

/* Compact mobile actions and expandable navbar search. */
.es-mobile-search { padding: 0 0 12px; }
.es-mobile-search .es-nav-search-inner { width: 100%; min-height: 42px; }
.es-mobile-search .es-nav-search-inner input { min-width: 0; }
.es-mobile-search-btn {
   display: inline-grid !important;
   width: 38px;
   height: 38px;
   flex: 0 0 38px;
   place-items: center;
   padding: 0;
   border: 1px solid #dbe4f0 !important;
   border-radius: 11px !important;
   background: #fff !important;
   color: #173b70 !important;
}
.es-mobile-search-btn:hover, .es-mobile-search-btn:focus-visible {
   border-color: #93b4ec !important;
   background: #eff6ff !important;
   color: #2563eb !important;
}
.es-drawer-actions .btn { min-height: 44px; }

@media (max-width: 420px) {
   .offcanvas#navDrawer { --bs-offcanvas-width: min(90vw, 360px); }
   .es-nav-wrap .es-logo img.es-logo-symbol { width: 34px !important; height: 34px !important; flex-basis: 34px; }
   .es-logo { gap: 6px; }
   .es-logo-wordmark { font-size: 11px; }
   .es-logo-wordmark span:last-child { font-size: 8px; }
   .es-drawer-header { min-height: 64px; padding-inline: 16px; }
   .es-drawer-links { gap: 9px; padding: 15px 14px 18px; }
   .es-drawer-actions { padding-inline: 16px; }
}

@media (max-width: 767.98px) {
   .es-mobile-actions { gap: 6px; }
   .es-mobile-cart { width: 38px !important; height: 38px !important; min-width: 38px; flex-basis: 38px; }
   .es-mobile-menu-btn { width: 40px; height: 40px; flex-basis: 40px; border-radius: 11px !important; }
}

/* Premium hero polish with a Bengali-first tagline and restrained motion. */
.ssn-hero { isolation: isolate; background: linear-gradient(125deg, #f6f9ff 0%, #fff 53%, #fff9ed 100%); }
.ssn-hero::before {
   position: absolute;
   z-index: -1;
   top: -210px;
   right: -120px;
   width: min(620px, 65vw);
   aspect-ratio: 1;
   border: 1px solid rgba(37, 99, 235, .08);
   border-radius: 50%;
   background: radial-gradient(circle, rgba(219, 234, 254, .62), rgba(255, 255, 255, 0) 68%);
   content: '';
   pointer-events: none;
}
.ssn-hero > .container, .ssn-hero > .ssn-brand-strip { position: relative; z-index: 1; }
.ssn-hero-badge { border-color: rgba(37, 99, 235, .16); background: rgba(255, 255, 255, .82); box-shadow: 0 8px 24px rgba(23, 59, 112, .07); }
.ssn-hero-title, .ssn-hero-sub, .ssn-hero-badge, .ssn-hero-benefits, .ssn-hero-btns,
.ssn-study-book, .ssn-brand-label { font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif; }
.ssn-hero-title { line-height: 1.2; }
.ssn-hero-btns .ssn-btn-blue, .ssn-hero-btns .ssn-btn-play { min-height: 48px; font-weight: 700; }
.ssn-hero-btns .ssn-btn-play > i { color: #2563eb; }
.ssn-hero-bangla-tagline {
   width: fit-content;
   max-width: 100%;
   margin: -2px 0 16px;
   padding: 9px 13px;
   border-inline-start: 3px solid #f5b942;
   border-radius: 0 10px 10px 0;
   background: linear-gradient(90deg, rgba(245, 185, 66, .13), rgba(245, 185, 66, 0));
   color: #173b70;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   font-size: clamp(.98rem, 1.35vw, 1.12rem);
   font-weight: 700;
   line-height: 1.65;
}
.ssn-study-book-blue { animation: ssn-book-drift 5.5s ease-in-out infinite; }
.ssn-study-book-gold { animation: ssn-book-drift 6.5s ease-in-out -2s infinite; }
.ssn-study-sheet { animation: ssn-sheet-drift 7s ease-in-out -1s infinite; }
.ssn-study-spark-one { animation: ssn-spark-drift 3.8s ease-in-out infinite; }
.ssn-study-spark-two { animation: ssn-spark-drift 4.6s ease-in-out -1.5s infinite; }
@keyframes ssn-book-drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes ssn-sheet-drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 6px; } }
@keyframes ssn-spark-drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@media (max-width: 991.98px) {
   .ssn-hero-bangla-tagline { margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
   .ssn-study-book-blue, .ssn-study-book-gold, .ssn-study-sheet,
   .ssn-study-spark-one, .ssn-study-spark-two { animation: none !important; }
}

/* Reference-style student portrait with a compact study callout. */
.ssn-hero-imgbox { min-height: 0; }
.ssn-hero .ssn-title-blue::after { display: none; }
.ssn-student-visual {
   position: relative;
   display: flex;
   width: 100%;
   min-height: 0 !important;
   align-items: flex-end;
   justify-content: center;
   overflow: visible;
   font-size: initial;
}
.ssn-hero-student {
   position: relative;
   z-index: 1;
   display: block;
   width: min(100%, 510px);
   height: auto;
   max-height: 510px;
   object-fit: contain;
   object-position: center bottom;
   filter: drop-shadow(0 16px 24px rgba(23, 59, 112, .13));
   animation: none;
}
.ssn-student-note {
   position: absolute;
   z-index: 2;
   bottom: 23%;
   left: -12px;
   display: flex;
   max-width: min(270px, 62%);
   align-items: center;
   gap: 11px;
   padding: 12px 16px;
   border: 1px solid rgba(226, 232, 240, .9);
   border-radius: 15px;
   background: rgba(255, 255, 255, .96);
   box-shadow: 0 14px 34px rgba(23, 59, 112, .16);
   color: #173b70;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   animation: none;
}
.ssn-student-note-icon { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 11px; background: #eff6ff; color: #2563eb; font-size: 17px; }
.ssn-student-note > span:last-child { display: grid; gap: 2px; }
.ssn-student-note strong { font-size: .82rem; line-height: 1.35; }
.ssn-student-note small { color: #64748b; font-size: .72rem; }
@media (max-width: 991.98px) {
   .ssn-hero-imgbox { width: min(100%, 500px); min-height: 0; }
   .ssn-student-visual { max-height: 470px; }
   .ssn-hero-student { max-height: 470px; }
   .ssn-student-note { left: 2px; bottom: 18%; }
}
@media (max-width: 575.98px) {
   .ssn-hero-imgbox { width: min(100%, 390px); }
   .ssn-student-visual { max-height: 390px; }
   .ssn-hero-student { max-height: 390px; }
   .ssn-student-note { bottom: 15%; left: 0; max-width: 66%; padding: 9px 11px; }
   .ssn-student-note-icon { width: 32px; height: 32px; flex-basis: 32px; font-size: 14px; }
   .ssn-student-note strong { font-size: .72rem; }
   .ssn-student-note small { font-size: .64rem; }
}
@media (prefers-reduced-motion: reduce) {
   .ssn-hero [data-aos], .ssn-offer-section [data-aos] {
      opacity: 1 !important;
      transform: none !important;
      transition: none !important;
   }
}

/* Smooth desktop navbar dropdown opening and closing. */
@media (min-width: 1200px) {
   .es-nav-links .es-drop > .dropdown-menu {
      animation: ssn-nav-dropdown-fade .18s ease both;
   }
   .es-nav-links .es-drop .dropdown-item { transition: color .16s ease, background-color .16s ease; }
   .es-nav-links .es-drop > .es-nav-link .bi { transition: transform .2s ease; }
   .es-nav-links .es-drop > .es-nav-link[aria-expanded="true"] .bi { transform: rotate(180deg); }
}
@keyframes ssn-nav-dropdown-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
   .es-nav-links .es-drop > .dropdown-menu { animation: none !important; }
}

/* Dynamic offer banner and responsive countdown. */
.ssn-offer-box {
   position: relative;
   display: grid;
   grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
   align-items: center;
   gap: clamp(24px, 4vw, 54px);
   min-height: 310px;
   padding: clamp(26px, 4vw, 52px);
}
.ssn-offer-visual {
   position: relative;
   display: grid;
   min-height: 230px;
   place-items: center;
   isolation: isolate;
}
.ssn-offer-orbit { position: absolute; z-index: -1; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.ssn-offer-orbit-one { width: 220px; height: 220px; }
.ssn-offer-orbit-two { width: 170px; height: 170px; border-color: rgba(245,185,66,.35); }
.ssn-offer-book {
   position: absolute;
   display: grid;
   width: 124px;
   height: 150px;
   place-items: center;
   border: 1px solid rgba(255,255,255,.35);
   border-radius: 15px 20px 20px 15px;
   box-shadow: 0 20px 36px rgba(8, 24, 57, .24);
   font-size: 42px;
}
.ssn-offer-book-back { transform: translate(-30px, -7px) rotate(-12deg); background: linear-gradient(145deg, #3979e8, #18458f); color: #fff; }
.ssn-offer-book-front { transform: translate(28px, 10px) rotate(10deg); background: linear-gradient(145deg, #ffd36d, #f3a91f); color: #173b70; }
.ssn-offer-visual-tag {
   position: absolute;
   right: 2%;
   bottom: 9%;
   padding: 9px 14px;
   border: 1px solid rgba(255,255,255,.72);
   border-radius: 999px;
   background: #fff;
   box-shadow: 0 10px 24px rgba(8, 24, 57, .2);
   color: #173b70;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   font-size: .85rem;
   font-weight: 800;
}
.ssn-offer-content { position: relative; z-index: 1; max-width: none; padding: 0; }
.ssn-offer-eyebrow, .ssn-offer-countdown-label, .ssn-offer-ended {
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
}
.ssn-offer-eyebrow { margin-bottom: 10px; color: #ffd36d; font-size: .85rem; font-weight: 800; letter-spacing: .02em; }
.ssn-offer-title { margin-bottom: 12px; font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif; font-size: clamp(1.55rem, 2.5vw, 2.1rem); line-height: 1.45; }
.ssn-offer-title br { display: block; }
.ssn-offer-copy { margin-bottom: 18px; font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif; font-size: .98rem; line-height: 1.8; }
.ssn-offer-countdown-label { margin: 0 0 8px; color: rgba(255,255,255,.88); font-size: .85rem; font-weight: 700; }
.ssn-countdown.ssn-offer-countdown { justify-content: flex-start; gap: 7px; margin-bottom: 18px; }
.ssn-offer-countdown .ssn-cd-unit { min-width: 58px; padding: 9px 10px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.1); }
.ssn-offer-countdown .ssn-cd-n { font-size: 1.45rem; }
.ssn-offer-countdown .ssn-cd-unit small { color: rgba(255,255,255,.76); font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif; font-size: .68rem; letter-spacing: 0; text-transform: none; }
.ssn-offer-countdown .ssn-cd-sep { margin: 0 1px 12px; color: rgba(255,255,255,.65); font-size: 1.2rem; }
.ssn-offer-ended { margin: 0 0 18px; color: #ffe6aa; font-size: .9rem; font-weight: 700; }
.ssn-offer-content .ssn-btn-blue { min-height: 44px; padding: 11px 18px; border-radius: 11px; font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif; font-weight: 800; }
@media (max-width: 991.98px) {
   .ssn-offer-box { grid-template-columns: minmax(150px, .62fr) minmax(0, 1.38fr); gap: 22px; }
   .ssn-offer-visual { min-height: 190px; }
   .ssn-offer-orbit-one { width: 185px; height: 185px; }
   .ssn-offer-orbit-two { width: 140px; height: 140px; }
   .ssn-offer-book { width: 100px; height: 125px; font-size: 34px; }
}
@media (max-width: 767.98px) {
   .ssn-offer-box { grid-template-columns: 1fr; gap: 8px; padding: 24px; }
   .ssn-offer-visual { min-height: 175px; }
   .ssn-offer-orbit-one { width: 165px; height: 165px; }
   .ssn-offer-orbit-two { width: 125px; height: 125px; }
   .ssn-offer-book { width: 88px; height: 112px; font-size: 30px; }
   .ssn-offer-visual-tag { right: calc(50% - 110px); bottom: 2%; }
   .ssn-offer-content { text-align: center; }
   .ssn-offer-countdown { justify-content: center !important; }
}
@media (max-width: 420px) {
   .ssn-offer-box { padding: 20px 16px; }
   .ssn-countdown.ssn-offer-countdown { gap: 4px; }
   .ssn-offer-countdown .ssn-cd-unit { min-width: 48px; padding: 8px 6px; }
   .ssn-offer-countdown .ssn-cd-n { font-size: 1.2rem; }
   .ssn-offer-countdown .ssn-cd-sep { margin-inline: 0; }
}

/* Subject chooser section. */
.ssn-category-section { background: #f7f9fc !important; }
.ssn-category-head {
   display: flex;
   align-items: flex-end;
   justify-content: space-between;
   gap: 24px;
   margin-bottom: 30px;
}
.ssn-category-heading { max-width: 680px; }
.ssn-category-heading .ssn-section-pill { margin-bottom: 10px; }
.ssn-category-heading .ssn-section-title {
   margin: 0 0 8px;
   color: #16283f;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   font-size: clamp(1.55rem, 2.5vw, 2rem);
   font-weight: 800;
   line-height: 1.4;
}
.ssn-category-heading .ssn-section-sub {
   margin: 0;
   color: #66758a;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   font-size: .98rem;
   line-height: 1.7;
}
.ssn-category-all { flex: 0 0 auto; min-height: 44px; align-items: center; }
.ssn-cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ssn-cat-card {
   min-width: 0;
   min-height: 82px;
   padding: 15px 16px;
   border: 1px solid #e3eaf4;
   border-radius: 15px;
   background: #fff;
   box-shadow: 0 4px 14px rgba(23, 59, 112, .035);
}
.ssn-cat-card:focus-visible { outline: 3px solid rgba(37, 99, 235, .3); outline-offset: 2px; }
.ssn-cat-icon { width: 46px; height: 46px; border-radius: 13px; background: #f0f5ff; }
.ssn-cat-name { min-width: 0; overflow-wrap: anywhere; font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif; line-height: 1.45; }
@media (max-width: 991.98px) {
   .ssn-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
   .ssn-category-head { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 22px; }
   .ssn-category-all { min-height: 42px; }
   .ssn-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
   .ssn-cat-card { min-height: 74px; gap: 9px; padding: 12px 10px; border-radius: 13px; }
   .ssn-cat-icon { width: 38px; height: 38px; flex-basis: 38px; border-radius: 11px; }
   .ssn-cat-icon img { width: 23px; height: 23px; }
   .ssn-cat-name { font-size: 13px !important; }
}

/* About page image/text balance. */
.ssn-about-page .ssn-about-row {
   grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
   align-items: center;
   gap: clamp(22px, 3vw, 38px);
}
.ssn-about-page .ssn-about-left { width: 100%; max-width: 440px; justify-self: center; }
.ssn-about-page .ssn-about-imgwrap {
   width: 100%;
   aspect-ratio: 1 / 1.08;
   max-height: 450px;
   border: 1px solid #e1eaf6;
   border-radius: 22px;
   box-shadow: 0 18px 44px rgba(23, 59, 112, .14);
}
.ssn-about-page .ssn-about-imgbg { border-radius: inherit; background: linear-gradient(145deg, #e7f0ff 0%, #cfe1ff 58%, #f8e7bd 100%); }
.ssn-about-page .ssn-about-badge1 { right: -12px; }
.ssn-about-page .ssn-about-badge2 { left: -12px; }
@media (max-width: 991.98px) {
   .ssn-about-page .ssn-about-row { grid-template-columns: minmax(0, 1fr); gap: 30px; }
   .ssn-about-page .ssn-about-left { max-width: 420px; }
}
@media (max-width: 575.98px) {
   .ssn-about-page .ssn-about-row { gap: 24px; }
   .ssn-about-page .ssn-about-left { max-width: 340px; }
   .ssn-about-page .ssn-about-imgwrap { max-height: 370px; }
   .ssn-about-page .ssn-about-badge1 { top: 12px; right: 8px; }
   .ssn-about-page .ssn-about-badge2 { bottom: 12px; left: 8px; }
}

/* Study materials: clear hierarchy and touch-friendly category filters. */
.ssn-latest-section { background: #fff !important; }
.ssn-latest-head {
   width: 100%;
   display: flex;
   align-items: flex-end;
   justify-content: space-between;
   gap: 24px;
   margin: 0 0 24px;
}
.ssn-latest-heading { max-width: 720px; }
.ssn-latest-heading .ssn-section-pill { margin-bottom: 10px; }
.ssn-latest-heading .ssn-section-title {
   margin: 0 0 8px;
   color: #16283f;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   font-size: clamp(1.55rem, 2.5vw, 2rem);
   font-weight: 800;
   line-height: 1.45;
}
.ssn-latest-heading .ssn-section-sub {
   max-width: 600px;
   margin: 0;
   color: #66758a;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   font-size: .98rem;
   line-height: 1.75;
}
.ssn-latest-all { flex: 0 0 auto; min-height: 44px; align-items: center; margin-left: auto; }
.ssn-latest-section .ssn-tabs-wrap {
   justify-content: flex-start;
   overflow-x: auto;
   overscroll-behavior-inline: contain;
   scrollbar-width: thin;
   padding: 2px 0 10px;
   margin-bottom: 18px !important;
}
.ssn-latest-section .ssn-tabs-wrap > .row {
   flex-wrap: nowrap;
   width: max-content;
   max-width: none;
   margin-inline: 0;
   --bs-gutter-x: 8px;
}
.ssn-latest-section .ssn-tab-btn { min-height: 42px; padding-inline: 16px; }
.ssn-latest-section .tab-content .box { border-radius: 16px; }
@media (max-width: 575.98px) {
   .ssn-latest-head { margin-bottom: 20px; }
   .ssn-latest-section .ssn-tabs-wrap { margin-inline: -2px; }
   .ssn-latest-section .ssn-tab-btn { min-height: 40px; padding-inline: 14px; font-size: 12.5px; }
}
@media (max-width: 767.98px) {
   .ssn-latest-head { align-items: flex-start; flex-direction: column; gap: 16px; }
   .ssn-latest-all { align-self: flex-end; }
}

/* Featured notes: focused section header and balanced responsive grid. */
.ssn-featured-section { background: #f7f9fc !important; }
.ssn-featured-head {
   display: flex;
   align-items: flex-end;
   justify-content: space-between;
   gap: 24px;
   margin-bottom: 26px;
}
.ssn-featured-heading { max-width: 700px; }
.ssn-featured-heading .ssn-section-pill { margin-bottom: 10px; }
.ssn-featured-heading .ssn-section-title {
   margin: 0 0 8px;
   color: #16283f;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   font-size: clamp(1.55rem, 2.5vw, 2rem);
   font-weight: 800;
   line-height: 1.45;
}
.ssn-featured-heading .ssn-section-sub {
   max-width: 600px;
   margin: 0;
   color: #66758a;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   font-size: .98rem;
   line-height: 1.75;
}
.ssn-featured-all { flex: 0 0 auto; min-height: 44px; align-items: center; }
.ssn-featured-grid > .col { display: flex; }
.ssn-featured-grid > .col > * { width: 100%; }
@media (max-width: 767.98px) {
   .ssn-featured-head { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 20px; }
}

/* FAQ: readable two-column accordion with comfortable touch targets. */
.ssn-faq-section { background: #fff !important; }
.ssn-faq-heading { max-width: 720px; margin: 0 0 28px; }
.ssn-faq-heading .ssn-section-pill { margin-bottom: 10px; }
.ssn-faq-heading .ssn-section-title {
   margin: 0 0 8px;
   color: #16283f;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   font-size: clamp(1.55rem, 2.5vw, 2rem);
   font-weight: 800;
   line-height: 1.45;
}
.ssn-faq-heading .ssn-section-sub {
   max-width: 600px;
   margin: 0;
   color: #66758a;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   font-size: .98rem;
   line-height: 1.75;
}
.ssn-faq-accordion .accordion-item {
   height: 100%;
   overflow: hidden;
   border: 1px solid #e3eaf4;
   border-radius: 14px;
   background: #fff;
   box-shadow: 0 5px 16px rgba(23, 59, 112, .045);
   transition: border-color .2s ease, box-shadow .2s ease;
}
.ssn-faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
   border-color: rgba(37, 99, 235, .38);
   box-shadow: 0 8px 22px rgba(23, 59, 112, .09);
}
.ssn-faq-accordion .accordion-button {
   display: flex;
   min-height: 68px;
   align-items: center;
   justify-content: space-between;
   gap: 14px;
   padding: 16px 18px;
   border: 0;
   background: #fff;
   box-shadow: none;
   color: #1c2d45;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   font-size: .98rem;
   font-weight: 700;
   line-height: 1.6;
   text-align: left;
}
.ssn-faq-accordion .accordion-button::after { display: none; }
.ssn-faq-accordion .accordion-button:not(.collapsed) { color: #1d4ed8; }
.ssn-faq-accordion .accordion-button:focus-visible { outline: 3px solid rgba(37, 99, 235, .28); outline-offset: -3px; }
.ssn-faq-icon {
   display: grid;
   width: 30px;
   height: 30px;
   flex: 0 0 30px;
   place-items: center;
   border-radius: 50%;
   background: #edf4ff;
   color: #2563eb;
   font-size: 12px;
   transition: color .2s ease, background .2s ease, transform .2s ease;
}
.ssn-faq-accordion .accordion-button:not(.collapsed) .ssn-faq-icon { transform: rotate(45deg); background: #2563eb; color: #fff; }
.ssn-faq-accordion .accordion-body {
   padding: 0 18px 18px;
   color: #65748a;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   font-size: .95rem;
   line-height: 1.8;
}
.ssn-faq-accordion .accordion-body > :last-child { margin-bottom: 0; }
@media (max-width: 575.98px) {
   .ssn-faq-heading { margin-bottom: 20px; }
   .ssn-faq-accordion .accordion-button { min-height: 62px; padding: 14px; font-size: .94rem; }
   .ssn-faq-accordion .accordion-body { padding: 0 14px 15px; }
}

/* Testimonials: make the review carousel feel like a distinct section. */
.ssn-testimonials-section { background: #f7f9fc !important; }
.ssn-testimonials-head {
   display: flex;
   align-items: flex-end;
   justify-content: space-between;
   gap: 24px;
   margin-bottom: 26px;
}
.ssn-testimonials-heading { max-width: 700px; }
.ssn-testimonials-heading .ssn-section-pill { margin-bottom: 10px; }
.ssn-testimonials-heading .ssn-section-title {
   margin: 0 0 8px;
   color: #16283f;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   font-size: clamp(1.55rem, 2.5vw, 2rem);
   font-weight: 800;
   line-height: 1.45;
}
.ssn-testimonials-heading .ssn-section-sub {
   max-width: 600px;
   margin: 0;
   color: #66758a;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   font-size: .98rem;
   line-height: 1.75;
}
.ssn-testimonials-nav { display: flex; flex: 0 0 auto; gap: 10px; }
.ssn-testimonials-nav .ssn-swiper-btn { position: static; margin: 0; cursor: pointer; }
.ssn-testimonials-nav .ssn-swiper-btn:focus-visible { outline: 3px solid rgba(37, 99, 235, .3); outline-offset: 3px; }
.ssn-testimonials-section .section-body { overflow: hidden; }
.ssn-testimonials-section .testimonials-swiper { overflow: visible; }
.ssn-testimonials-section .swiper-wrapper { align-items: stretch; }
.ssn-testimonials-section .swiper-slide { display: flex; height: auto; }
.ssn-testimonials-section .ssn-testimonial {
   width: 100%;
   min-height: 270px;
   padding: clamp(20px, 2.3vw, 28px);
   border-color: #e3eaf4;
   border-radius: 18px;
   background: #fff;
   box-shadow: 0 6px 20px rgba(23, 59, 112, .055);
}
.ssn-testimonials-section .ssn-testimonial:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(23, 59, 112, .1); }
.ssn-testimonials-section .ssn-testimonial-message {
   color: #52647b;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   font-size: .96rem;
   font-style: normal;
   line-height: 1.8;
}
.ssn-testimonial-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.ssn-testimonial-person-copy { min-width: 0; }
.ssn-testimonials-section .ssn-testimonial-name { overflow-wrap: anywhere; }
.ssn-testimonials-section .ssn-testimonial-avatar {
   display: grid;
   width: 58px !important;
   height: 58px !important;
   flex: 0 0 58px;
   place-items: center;
   border-radius: 14px !important;
   background: #eef4ff;
}
.ssn-testimonials-section .ssn-testimonial-avatar img {
   display: block;
   width: 100%;
   height: 100%;
   padding: 3px;
   object-fit: contain;
   object-position: center;
}
@media (max-width: 767.98px) {
   .ssn-testimonials-head { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 20px; }
   .ssn-testimonials-nav { align-self: flex-end; }
   .ssn-testimonials-section .ssn-testimonial { min-height: 250px; }
}
@media (max-width: 420px) {
   .ssn-testimonials-nav .ssn-swiper-btn { width: 40px !important; height: 40px !important; }
}

/* Blog articles: consistent thumbnails, card heights, and compact metadata. */
.ssn-blog-section { background: #fff !important; }
.ssn-blog-head {
   display: flex;
   align-items: flex-end;
   justify-content: space-between;
   gap: 24px;
   margin-bottom: 26px;
}
.ssn-blog-heading { max-width: 700px; }
.ssn-blog-heading .ssn-section-pill { margin-bottom: 10px; }
.ssn-blog-heading .ssn-section-title {
   margin: 0 0 8px;
   color: #16283f;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   font-size: clamp(1.55rem, 2.5vw, 2rem);
   font-weight: 800;
   line-height: 1.45;
}
.ssn-blog-heading .ssn-section-sub {
   max-width: 600px;
   margin: 0;
   color: #66758a;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   font-size: .98rem;
   line-height: 1.75;
}
.ssn-blog-all { min-height: 44px; flex: 0 0 auto; align-items: center; }
.ssn-blog-card {
   display: flex;
   min-width: 0;
   height: 100%;
   flex-direction: column;
   overflow: hidden;
   padding: 9px;
   border: 1px solid #e3eaf4;
   border-radius: 18px;
   background: #fff;
   box-shadow: 0 6px 20px rgba(23, 59, 112, .055);
   transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.ssn-blog-card:hover { transform: translateY(-3px); border-color: #cbdcf5; box-shadow: 0 12px 28px rgba(23, 59, 112, .1); }
.ssn-blog-card .blog-post-header {
   position: relative;
   display: grid;
   width: 100%;
   height: auto;
   flex: 0 0 auto;
   aspect-ratio: 16 / 9;
   place-items: center;
   overflow: hidden;
   padding: 10px;
   border-radius: 12px;
   background: radial-gradient(ellipse at center, #fff 0%, #f5f8fc 66%, #edf2f8 100%);
}
.ssn-blog-card .ssn-blog-image-link {
   display: grid;
   width: 100%;
   height: 100%;
   place-items: center;
   overflow: hidden;
}
.ssn-blog-card .blog-post-img {
   display: block;
   width: 100%;
   height: 100%;
   max-width: 150px;
   max-height: 150px;
   object-fit: contain;
   object-position: center;
   filter: drop-shadow(0 7px 10px rgba(23, 59, 112, .12));
   transition: filter .25s ease, transform .25s ease;
}
.ssn-blog-card:hover .blog-post-img { transform: translateY(-2px); filter: drop-shadow(0 10px 13px rgba(23, 59, 112, .17)); }
.ssn-blog-card .blog-post-body > .blog-post-category {
   position: static;
   align-self: flex-start;
   margin: 0 0 12px;
   padding: 6px 10px;
   border: 1px solid #d9e7fb;
   border-radius: 999px;
   background: #f2f7ff;
   color: #2563eb;
   font-size: 11.5px;
   line-height: 1.35;
}
.ssn-blog-card .blog-post-body { min-width: 0; flex: 1 1 auto; padding: 18px 12px 12px; }
.ssn-blog-card .blog-post-title {
   display: -webkit-box;
   overflow: hidden;
   -webkit-box-orient: vertical;
   -webkit-line-clamp: 2;
   min-height: 3em;
   font-size: 1.08rem;
   font-weight: 750;
   line-height: 1.5;
}
.ssn-blog-card .blog-post-text {
   display: -webkit-box;
   overflow: hidden;
   -webkit-box-orient: vertical;
   -webkit-line-clamp: 3;
   margin-bottom: 14px;
   font-size: .92rem;
   line-height: 1.75;
}
.ssn-blog-card .ssn-blog-readmore {
   display: inline-flex;
   align-items: center;
   align-self: flex-start;
   gap: 7px;
   color: #2563eb;
   font-size: .9rem;
   font-weight: 700;
   text-decoration: none;
}
.ssn-blog-card .ssn-blog-readmore:hover { color: #173b70; }
@media (max-width: 767.98px) {
   .ssn-blog-head { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 20px; }
}
@media (max-width: 575.98px) {
   .ssn-blog-card .blog-post-img { max-width: 132px; max-height: 132px; }
   .ssn-blog-card .blog-post-body { padding: 16px 10px 10px; }
}

/* Footer: better grouped navigation and a compact, responsive newsletter panel. */
.ssn-site-footer { background: #10233d !important; }
.ssn-site-footer .footer-upper { padding: 52px 0 42px; }
.ssn-site-footer .footer-upper > .container > .row { --bs-gutter-y: 2.5rem; }
.ssn-site-footer .es-logo { gap: 8px; white-space: nowrap; text-decoration: none; }
.ssn-site-footer .es-logo img.es-logo-symbol {
   display: block;
   width: 46px !important;
   height: 46px !important;
   max-width: none !important;
   max-height: none !important;
   flex: 0 0 46px;
   object-fit: contain;
}
.ssn-site-footer .es-logo-wordmark { color: #fff; }
.ssn-site-footer .es-logo-wordmark span:last-child { color: #8db5ff; }
.ssn-site-footer .footer-text {
   max-width: 520px;
   color: rgba(255, 255, 255, .68) !important;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   line-height: 1.85;
}
.ssn-site-footer .footer-title { margin-bottom: 13px; }
.ssn-site-footer .footer-title .h5 {
   display: inline-block;
   margin: 0;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   font-size: 1rem !important;
}
.ssn-footer-links { --bs-gutter-y: 1.5rem; }
.ssn-site-footer .footer-links { display: grid; gap: 7px; }
.ssn-site-footer .footer-links .footer-link a,
.ssn-site-footer > .footer-upper .footer-link {
   display: inline-flex;
   align-items: center;
   min-height: 32px;
   color: rgba(255, 255, 255, .66) !important;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   line-height: 1.6;
   text-decoration: none;
   transition: color .18s ease, transform .18s ease;
}
.ssn-site-footer .footer-links .footer-link a:hover,
.ssn-site-footer > .footer-upper .footer-link:hover { color: #fff !important; transform: translateX(2px); }
.ssn-site-footer .socials-footer { display: flex; flex-wrap: wrap; gap: 9px; }
.ssn-site-footer .socials-footer .social-btn { display: grid; width: 40px !important; height: 40px !important; place-items: center; }
.ssn-site-footer .footer-counter-title { font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif; }
.ssn-site-footer .footer-counter { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ssn-site-footer .footer-counter-text,
.ssn-site-footer .footer-counter-title { margin: 0; }
.ssn-site-footer .footer-lower { background: #0b1b30 !important; border-color: rgba(255, 255, 255, .1) !important; }
.ssn-site-footer .footer-lower .row { justify-content: center !important; text-align: center; }
.ssn-site-footer .footer-lower .row > .col { flex: 0 0 100%; width: 100%; }
.ssn-site-footer .footer-copyright { font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif; line-height: 1.7; }
.ssn-site-footer .footer-payment img { display: block; max-width: min(100%, 320px); max-height: 40px; object-fit: contain; }
.ssn-footer-subscribe {
   margin-bottom: 42px;
   padding: clamp(20px, 3vw, 30px);
   border: 1px solid rgba(255, 255, 255, .13);
   border-radius: 18px;
   background: rgba(255, 255, 255, .065);
}
.ssn-footer-subscribe h3 {
   color: #fff;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   font-size: clamp(1.15rem, 2vw, 1.4rem);
   font-weight: 800;
   line-height: 1.5;
}
.ssn-footer-subscribe p {
   color: rgba(255, 255, 255, .7);
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   line-height: 1.75;
}
.ssn-footer-subscribe .input-group { flex-wrap: nowrap; }
.ssn-footer-subscribe .form-control { min-width: 0; min-height: 48px; border: 0; }
.ssn-footer-subscribe .btn { min-height: 48px; padding-inline: 20px; font-weight: 700; white-space: nowrap; }
@media (max-width: 767.98px) {
   .ssn-site-footer .footer-upper { padding: 40px 0 32px; }
   .ssn-footer-subscribe { margin-bottom: 32px; }
   .ssn-site-footer .footer-payment img { margin-inline: auto; }
}
@media (max-width: 575.98px) {
   .ssn-site-footer .es-logo img.es-logo-symbol { width: 38px !important; height: 38px !important; flex-basis: 38px; }
   .ssn-site-footer .es-logo { gap: 7px; }
   .ssn-site-footer .es-logo-wordmark { font-size: 12px; letter-spacing: .04em; }
   .ssn-site-footer .es-logo-wordmark span:last-child { font-size: 9px; }
}
@media (max-width: 420px) {
   .ssn-site-footer .es-logo img.es-logo-symbol { width: 34px !important; height: 34px !important; flex-basis: 34px; }
   .ssn-site-footer .es-logo { gap: 6px; }
   .ssn-site-footer .es-logo-wordmark { font-size: 11px; }
   .ssn-site-footer .es-logo-wordmark span:last-child { font-size: 8px; }
}
@media (max-width: 420px) {
   .ssn-footer-subscribe .input-group { flex-wrap: wrap; gap: 8px; }
   .ssn-footer-subscribe .input-group > .form-control { width: 100%; border-radius: 8px !important; }
   .ssn-footer-subscribe .input-group > .btn { width: 100%; border-radius: 8px !important; }
}

/* Homepage card polish: shared restraint, spacing, and interaction feedback. */
.ssn-latest-section .ssn-item,
.ssn-featured-section .ssn-item {
   border: 1px solid #e4eaf2;
   border-radius: 18px;
   background: #fff;
   box-shadow: 0 5px 18px rgba(19, 44, 79, .055);
   transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.ssn-latest-section .ssn-item:hover,
.ssn-featured-section .ssn-item:hover {
   transform: translateY(-4px);
   border-color: #cbd9ec;
   box-shadow: 0 14px 30px rgba(19, 44, 79, .11);
}
.ssn-latest-section .ssn-item-accent,
.ssn-featured-section .ssn-item-accent { display: none; }
.ssn-latest-section .ssn-item-header,
.ssn-featured-section .ssn-item-header { background: #f3f6fa; }
.ssn-latest-section .ssn-item-img,
.ssn-featured-section .ssn-item-img { overflow: hidden; }
.ssn-latest-section .ssn-item-img img,
.ssn-featured-section .ssn-item-img img { transition: transform .35s ease; }
.ssn-latest-section .ssn-item:hover .ssn-item-img img,
.ssn-featured-section .ssn-item:hover .ssn-item-img img { transform: scale(1.035); }
.ssn-latest-section .ssn-item-body,
.ssn-featured-section .ssn-item-body {
   display: flex;
   min-width: 0;
   flex: 1 1 auto;
   flex-direction: column;
   gap: 10px;
   padding: 16px;
}
.ssn-latest-section .ssn-item-category .breadcrumb,
.ssn-featured-section .ssn-item-category .breadcrumb { flex-wrap: nowrap; overflow: hidden; }
.ssn-latest-section .ssn-item-category .breadcrumb-item,
.ssn-featured-section .ssn-item-category .breadcrumb-item { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ssn-latest-section .ssn-item-title,
.ssn-featured-section .ssn-item-title {
   min-height: 2.8em;
   margin: 0;
   font-size: .96rem !important;
   font-weight: 750 !important;
   line-height: 1.45 !important;
}
.ssn-latest-section .ssn-item-title a,
.ssn-featured-section .ssn-item-title a { color: #172b46 !important; }
.ssn-latest-section .ssn-item-title a:hover,
.ssn-featured-section .ssn-item-title a:hover { color: #2563eb !important; }
.ssn-latest-section .ssn-item-footer,
.ssn-featured-section .ssn-item-footer {
   align-items: flex-end;
   gap: 10px;
   padding-top: 12px;
   border-top-color: #edf1f6;
}
.ssn-latest-section .ssn-item-price-block,
.ssn-featured-section .ssn-item-price-block { min-width: 0; }
.ssn-latest-section .ssn-item-price,
.ssn-featured-section .ssn-item-price { color: #173b70; font-size: 1.02rem; font-weight: 800; line-height: 1.3; }
.ssn-latest-section .ssn-item-price-original,
.ssn-featured-section .ssn-item-price-original { color: #929daf; font-size: .78rem; text-decoration: line-through; }
.ssn-latest-section .ssn-item-actions,
.ssn-featured-section .ssn-item-actions { gap: 7px; }
.ssn-latest-section .ssn-item-actions .ssn-btn-buy,
.ssn-featured-section .ssn-item-actions .ssn-btn-buy { min-height: 36px; padding: 8px 12px; border-radius: 9px; font-size: .82rem; }
.ssn-latest-section .ssn-item-actions .ssn-btn-preview,
.ssn-featured-section .ssn-item-actions .ssn-btn-preview { width: 36px; height: 36px; border-radius: 9px; }
.ssn-category-section .ssn-cat-card {
   border-color: #e4eaf2;
   border-radius: 16px;
   box-shadow: 0 4px 14px rgba(19, 44, 79, .045);
   transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.ssn-category-section .ssn-cat-card:hover {
   transform: translateY(-3px);
   border-color: #bfd1eb;
   background: #fff;
   box-shadow: 0 11px 24px rgba(19, 44, 79, .1);
}
.ssn-testimonials-section .ssn-testimonial,
.ssn-faq-accordion .accordion-item,
.ssn-blog-card { box-shadow: 0 5px 18px rgba(19, 44, 79, .055); }
@media (max-width: 575.98px) {
   .ssn-latest-section .ssn-item-body,
   .ssn-featured-section .ssn-item-body { gap: 8px; padding: 14px; }
}
.ssn-latest-section .ssn-item,
.ssn-featured-section .ssn-item,
.ssn-category-section .ssn-cat-card,
.ssn-blog-card,
.ssn-testimonials-section .ssn-testimonial,
.ssn-faq-accordion .accordion-item { box-sizing: border-box; }
.ssn-latest-section .ssn-item-rating .ratings.row,
.ssn-featured-section .ssn-item-rating .ratings.row {
   margin-inline: 0;
   column-gap: 4px;
}
.ssn-latest-section .ssn-item-rating .ratings.row > .col,
.ssn-featured-section .ssn-item-rating .ratings.row > .col { padding-inline: 0; }
.ssn-blog-card .blog-post-meta .row { margin-inline: 0; --bs-gutter-x: 0; }
.ssn-blog-card .blog-post-meta .row > .col { padding-inline: 0; }
.ssn-category-section .ssn-cat-icon { flex: 0 0 auto; }
.ssn-category-section .ssn-cat-name { flex: 1 1 auto; }
.es-nav-links .es-nav-link { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.es-menu-icon { width: 18px; flex: 0 0 18px; color: #4973aa; font-size: 14px; text-align: center; }
.es-menu-icon.fa-youtube { color: #e33b36; }
.es-submenu-icon { width: 14px; margin-right: 8px; color: #8aa0bc; text-align: center; }
.es-drawer-links > .es-drawer-link,
.es-drawer-group > .es-drawer-link { justify-content: flex-start; gap: 12px; }
.es-drawer-link > span { flex: 1 1 auto; text-align: left; }
.es-drawer-dropdown .bi { margin-left: auto !important; }
.es-drawer-sub-link { display: flex; align-items: center; gap: 8px; }
.es-nav-links .es-nav-link { font-size: clamp(13.5px, 1vw, 15.5px); }
.es-nav-links .es-menu-icon { font-size: 15px; }
.es-nav-wrap .es-logo img.es-logo-symbol,
.ssn-site-footer .es-logo img.es-logo-symbol { width: 50px !important; height: 50px !important; flex-basis: 50px; }
.es-logo-wordmark { font-size: 15px; }
.es-logo-wordmark span:last-child { font-size: 11px; }
.es-drawer-links > .es-drawer-link,
.es-drawer-group > .es-drawer-link { font-size: 1rem; }
.ssn-site-footer .es-logo-wordmark { font-size: 15px; }
.ssn-site-footer .es-logo-wordmark span:last-child { font-size: 11px; }
@media (max-width: 575.98px) {
   .es-nav-wrap .es-logo img.es-logo-symbol,
   .ssn-site-footer .es-logo img.es-logo-symbol { width: 42px !important; height: 42px !important; flex-basis: 42px; }
   .es-logo-wordmark,
   .ssn-site-footer .es-logo-wordmark { font-size: 13px; }
   .es-logo-wordmark span:last-child,
   .ssn-site-footer .es-logo-wordmark span:last-child { font-size: 10px; }
}
@media (max-width: 420px) {
   .es-nav-wrap .es-logo img.es-logo-symbol,
   .ssn-site-footer .es-logo img.es-logo-symbol { width: 38px !important; height: 38px !important; flex-basis: 38px; }
   .es-logo-wordmark,
   .ssn-site-footer .es-logo-wordmark { font-size: 12px; }
   .es-logo-wordmark span:last-child,
   .ssn-site-footer .es-logo-wordmark span:last-child { font-size: 9px; }
}

/* Item discovery pages: calm heading, usable filters, and consistent note cards. */
.ssn-listing-section { padding-block: 38px 72px; background: #f7f9fc !important; }
.ssn-listing-page { min-width: 0; }
.ssn-listing-toolbar {
   display: flex;
   align-items: flex-end;
   justify-content: space-between;
   gap: 24px;
   margin-bottom: 26px;
}
.ssn-listing-heading { min-width: 0; }
.ssn-listing-heading .ssn-section-pill { margin-bottom: 10px; }
.ssn-listing-title {
   margin: 0 0 7px;
   color: #16283f;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   font-size: clamp(1.45rem, 2.4vw, 1.9rem);
   font-weight: 800;
   line-height: 1.45;
}
.ssn-listing-description {
   margin: 0;
   color: #66758a;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   font-size: .96rem;
   line-height: 1.7;
}
.ssn-listing-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; }
.ssn-listing-count {
   color: #718096;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   font-size: .88rem;
   white-space: nowrap;
}
.ssn-filter-toggle {
   display: inline-flex;
   min-height: 42px;
   align-items: center;
   justify-content: center;
   gap: 8px;
   padding: 8px 14px;
   border: 1px solid #d9e4f2;
   border-radius: 10px;
   background: #fff;
   color: #173b70;
   font-weight: 700;
}
.ssn-filter-toggle:hover { border-color: #b7cceb; background: #f4f8ff; color: #1d4ed8; }
.ssn-view-toggle { padding: 3px; border: 1px solid #e2e9f2; border-radius: 11px; background: #fff; }
.ssn-view-toggle .view-toggle-btn {
   display: inline-grid;
   width: 36px;
   height: 36px;
   place-items: center;
   padding: 0;
   border: 0;
   border-radius: 8px;
   background: transparent;
   color: #728198;
}
.ssn-view-toggle .view-toggle-btn:not([disabled]):hover { background: #f2f6fc; color: #2563eb; }
.ssn-view-toggle .view-toggle-btn[disabled] { background: #eaf1fc; color: #2563eb; opacity: 1; }
.ssn-listing-sidebar { min-width: 0; }
.ssn-listing-page .ssn-filter-panel > .box {
   margin-bottom: 14px !important;
   padding: 18px !important;
   border: 1px solid #e3eaf4;
   border-radius: 15px;
   background: #fff !important;
   box-shadow: 0 4px 14px rgba(19, 44, 79, .04);
}
.ssn-listing-page .ssn-filter-panel > .box h5 { margin-bottom: 14px !important; color: #1b2f4b; font-size: .98rem; font-weight: 750; }
.ssn-listing-page .ssn-filter-panel .filter-item { padding-block: 5px; color: #52647b; }
.ssn-listing-page .ssn-filter-panel .form-check { display: flex; min-height: 24px; align-items: center; gap: 8px; }
.ssn-listing-page .ssn-filter-panel .form-check-input { flex: 0 0 auto; margin: 0; }
.ssn-listing-page .ssn-filter-panel .form-check-label { color: #52647b; line-height: 1.5; }
.ssn-listing-page .ssn-filter-panel .form-control { min-width: 0; border-color: #dfe7f1; border-radius: 9px; }
.ssn-listing-page .ssn-item {
   border: 1px solid #e4eaf2;
   border-radius: 18px;
   background: #fff;
   box-shadow: 0 5px 18px rgba(19, 44, 79, .055);
   transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.ssn-listing-page .ssn-item:hover { transform: translateY(-4px); border-color: #cbd9ec; box-shadow: 0 14px 30px rgba(19, 44, 79, .11); }
.ssn-listing-page .ssn-item-accent { display: none; }
.ssn-listing-page .ssn-item-body { display: flex; min-width: 0; flex: 1 1 auto; flex-direction: column; gap: 10px; padding: 16px; }
.ssn-listing-page .ssn-item-category .breadcrumb { flex-wrap: nowrap; overflow: hidden; }
.ssn-listing-page .ssn-item-category .breadcrumb-item { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ssn-listing-page .ssn-item-title { min-height: 2.8em; margin: 0; font-size: .96rem !important; font-weight: 750 !important; line-height: 1.45 !important; }
.ssn-listing-page .ssn-item-title a { color: #172b46 !important; }
.ssn-listing-page .ssn-item-footer { align-items: flex-end; gap: 10px; padding-top: 12px; border-top-color: #edf1f6; }
.ssn-listing-page .ssn-item-price { color: #173b70; font-size: 1.02rem; font-weight: 800; }
.ssn-listing-page .ssn-item-actions { gap: 7px; }
.ssn-listing-page .ssn-item-actions .ssn-btn-buy { min-height: 36px; padding: 8px 12px; border-radius: 9px; font-size: .82rem; }
.ssn-listing-page .ssn-item-actions .ssn-btn-preview { width: 36px; height: 36px; border-radius: 9px; }
.ssn-listing-page .ssn-empty-state { padding: clamp(24px, 5vw, 56px); border: 1px solid #e3eaf4; border-radius: 20px; background: #fff; box-shadow: 0 8px 24px rgba(19, 44, 79, .055); }
.ssn-listing-page .ssn-empty-state h3 { color: #172b46; font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif; font-size: 1.35rem; font-weight: 800; }
.ssn-listing-page .ssn-empty-state p { color: #66758a; font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif; }
.ssn-listing-page .ssn-filter-offcanvas .offcanvas-header { border-bottom: 1px solid #e3eaf4; }
.ssn-listing-page .ssn-filter-offcanvas .offcanvas-title { color: #172b46; font-weight: 800; }
.ssn-listing-page .ssn-filter-offcanvas .offcanvas-body { padding: 16px; background: #f7f9fc; }
.ssn-subject-listing .ssn-listing-sidebar,
.ssn-subject-listing .ssn-filter-offcanvas,
.ssn-subject-listing .ssn-filter-offcanvas .offcanvas-body,
.ssn-subject-listing .ssn-filter-panel { width: 100%; max-width: 100%; min-width: 0; }
.ssn-subject-listing .ssn-filter-panel { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.ssn-subject-listing .ssn-filter-panel > .box {
   width: 100%;
   min-width: 0;
   margin: 0 !important;
   padding: 17px 18px !important;
   border: 0 !important;
   border-bottom: 1px solid #e8edf4 !important;
   border-radius: 0 !important;
   background: transparent !important;
   box-shadow: none !important;
}
.ssn-subject-listing .ssn-filter-panel > .box:first-child { padding-top: 0 !important; }
.ssn-subject-listing .ssn-filter-panel > .box:last-child { padding-bottom: 0 !important; border-bottom: 0 !important; }
.ssn-subject-listing .ssn-filter-panel > .box h5 { margin-bottom: 12px !important; }
.ssn-subject-listing .ssn-filter-panel .filter-item { min-width: 0; }
.ssn-subject-listing .ssn-filter-panel .filter-item > .d-flex { flex-wrap: wrap; }
.ssn-subject-listing .ssn-filter-panel .filter-item > .d-flex .form-control { flex: 1 1 70px; }
.ssn-subject-listing .ssn-filter-offcanvas .offcanvas-body {
   padding: 20px !important;
   border: 1px solid #e3eaf3;
   border-radius: 16px;
   background: #fff !important;
   box-shadow: 0 6px 20px rgba(19, 44, 79, .05);
}
.ssn-subject-listing .ssn-listing-toolbar {
   padding: 20px 22px;
   border: 1px solid #e4eaf2;
   border-radius: 16px;
   background: #fff;
   box-shadow: 0 5px 18px rgba(19, 44, 79, .045);
}
.ssn-subject-listing .ssn-listing-heading { max-width: 720px; }
.ssn-subject-listing .ssn-listing-title { font-size: clamp(1.28rem, 2vw, 1.65rem); }
.ssn-subject-listing .ssn-listing-layout { align-items: flex-start; }
.ssn-subject-listing .ssn-listing-results { min-width: 0; }
.ssn-subject-page-header .header-inner { padding-block: 42px 46px !important; }
@media (min-width: 1200px) {
   .ssn-listing-sidebar { align-self: start; }
   .ssn-listing-page .ssn-filter-offcanvas {
      position: sticky !important;
      inset-block: 96px auto !important;
      inset-inline: auto !important;
      display: block !important;
      width: 100% !important;
      max-width: 100% !important;
      height: auto !important;
      max-height: none !important;
      visibility: visible !important;
      transform: none !important;
      z-index: auto !important;
      border: 0 !important;
      background: transparent !important;
   }
   .ssn-listing-page .ssn-filter-offcanvas .offcanvas-header { display: none; }
   .ssn-listing-page .ssn-filter-offcanvas .offcanvas-body {
      display: block;
      width: 100%;
      height: auto;
      max-height: none;
      flex: none;
      overflow: visible;
      padding: 0;
      background: transparent;
   }
   .ssn-subject-listing .ssn-filter-offcanvas .offcanvas-body {
      padding: 20px !important;
      border: 1px solid #e3eaf3;
      border-radius: 16px;
      background: #fff !important;
   }
}
@media (max-width: 767.98px) {
   .ssn-listing-section { padding-block: 28px 52px; }
   .ssn-listing-toolbar { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 20px; }
   .ssn-listing-actions { width: 100%; justify-content: space-between; }
   .ssn-listing-page .ssn-item-body { gap: 8px; padding: 14px; }
   .ssn-subject-listing .ssn-listing-toolbar { gap: 14px; padding: 16px; }
}
@media (max-width: 1199.98px) {
   .ssn-subject-listing .ssn-filter-offcanvas .offcanvas-body { padding: 16px !important; }
}

/* Shared premium page header and categories directory page. */
.ssn-page-header {
   position: relative;
   overflow: hidden;
   isolation: isolate;
   background: linear-gradient(112deg, #102643 0%, #173b70 58%, #24548c 100%) !important;
}
.ssn-page-header:not(.ssn-category-page-header)::before,
.ssn-page-header:not(.ssn-category-page-header)::after {
   position: absolute;
   z-index: -1;
   border: 1px solid rgba(255,255,255,.09);
   border-radius: 50%;
   content: "";
   pointer-events: none;
}
.ssn-page-header:not(.ssn-category-page-header)::before { width: 380px; height: 380px; inset-block-start: -275px; inset-inline-end: 8%; }
.ssn-page-header:not(.ssn-category-page-header)::after { width: 230px; height: 230px; inset-block-start: -165px; inset-inline-end: calc(8% + 75px); border-color: rgba(255,255,255,.065); }
.ssn-page-header:not(.ssn-category-page-header) .header-bg-img {
   background-image: radial-gradient(circle at 78% 10%, rgba(92, 148, 220, .18), transparent 34%), linear-gradient(125deg, transparent 45%, rgba(255,255,255,.02));
   opacity: 1;
}
.ssn-page-header:not(.ssn-category-page-header) .header-inner {
   position: relative;
   z-index: 1;
   align-items: flex-start;
   padding-block: 46px 50px;
   text-align: left !important;
}
.ssn-page-header:not(.ssn-category-page-header) .ssn-breadcrumbs { margin-bottom: 14px !important; }
.ssn-page-header:not(.ssn-category-page-header) .ssn-breadcrumbs .breadcrumb {
   display: inline-flex;
   align-items: center;
   gap: 3px;
   margin: 0;
   padding: 7px 12px;
   border: 1px solid rgba(255,255,255,.15);
   border-radius: 999px;
   background: rgba(255,255,255,.075);
   backdrop-filter: blur(8px);
}
.ssn-page-header:not(.ssn-category-page-header) .ssn-breadcrumbs .breadcrumb-item,
.ssn-page-header:not(.ssn-category-page-header) .ssn-breadcrumbs .breadcrumb-item.active { color: rgba(255,255,255,.78); font-size: .79rem; }
.ssn-page-header:not(.ssn-category-page-header) .ssn-breadcrumbs .breadcrumb-item + .breadcrumb-item::before { color: #b8d2f7; content: "›"; font-size: 1.05rem; font-weight: 700; line-height: 1; opacity: 1; vertical-align: -1px; }
.ssn-page-header:not(.ssn-category-page-header) .ssn-breadcrumbs .breadcrumb-item a { color: #fff; text-decoration: none; }
.ssn-page-header:not(.ssn-category-page-header) .ssn-breadcrumbs .breadcrumb-item a:hover { color: #cbdfff; }
.ssn-page-header:not(.ssn-category-page-header) .header-title {
   margin: 0;
   color: #fff;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   font-size: clamp(1.55rem, 2.8vw, 2.35rem);
   font-weight: 800;
   letter-spacing: 0;
   line-height: 1.4;
}
.ssn-page-header:not(.ssn-category-page-header) .header-inner::after {
   width: 48px;
   height: 3px;
   margin-top: 15px;
   border-radius: 4px;
   background: linear-gradient(90deg, #8db5ff, rgba(141,181,255,0));
   content: "";
}
.ssn-page-header:not(.ssn-category-page-header):has(.ssn-breadcrumbs) .header-inner::before {
   position: absolute;
   z-index: -1;
   inset-block-start: 18px;
   inset-inline-end: 11%;
   color: rgba(217,232,255,.13);
   content: "\f02d";
   font-family: "Font Awesome 6 Free";
   font-size: 90px;
   font-weight: 900;
   transform: rotate(-12deg);
}
@media (max-width: 767.98px) {
   .ssn-page-header:not(.ssn-category-page-header) .header-inner { align-items: center; padding-block: 34px 38px; text-align: center !important; }
   .ssn-page-header:not(.ssn-category-page-header) .header-inner::after { margin-inline: auto; }
   .ssn-page-header:not(.ssn-category-page-header) .ssn-breadcrumbs .breadcrumb { max-width: calc(100vw - 36px); overflow: auto; white-space: nowrap; }
}
.ssn-page-header:not(.ssn-category-page-header) .header-title:only-child { margin-bottom: 0; }
.ssn-category-directory-section { background: #f5f7fb !important; }
.ssn-category-page-header {
   position: relative;
   min-height: 0;
   overflow: hidden;
   isolation: isolate;
   background: linear-gradient(112deg, #102643 0%, #173b70 58%, #24548c 100%) !important;
}
.ssn-category-page-header::before,
.ssn-category-page-header::after {
   position: absolute;
   z-index: -1;
   border: 1px solid rgba(255,255,255,.1);
   border-radius: 50%;
   content: "";
   pointer-events: none;
}
.ssn-category-page-header::before { width: 430px; height: 430px; inset-block-start: -280px; inset-inline-end: 7%; }
.ssn-category-page-header::after { width: 270px; height: 270px; inset-block-start: -175px; inset-inline-end: calc(7% + 80px); border-color: rgba(255,255,255,.075); }
.ssn-category-study-art {
   position: absolute;
   z-index: 0;
   inset: 0;
   pointer-events: none;
}
.ssn-category-study-art > span {
   position: absolute;
   display: grid;
   place-items: center;
   border: 1px solid rgba(255,255,255,.34);
   box-shadow: 0 18px 42px rgba(5,18,39,.2), inset 0 1px 0 rgba(255,255,255,.45);
   animation: ssn-category-study-float 8s ease-in-out infinite;
}
.ssn-category-study-art .ssn-study-art-book {
   inset-block-start: 35px;
   inset-inline-end: 13%;
   width: 86px;
   height: 96px;
   border-radius: 21px;
   background: linear-gradient(145deg, #ffd778, #f3a92b);
   color: #7c4c0a;
   font-size: 35px;
   transform: rotate(-10deg);
}
.ssn-category-study-art .ssn-study-art-note {
   inset-block-start: 120px;
   inset-inline-end: 5.8%;
   width: 74px;
   height: 84px;
   border-radius: 18px;
   background: linear-gradient(145deg, #8ce0d0, #42b9a6);
   color: #145d5c;
   font-size: 31px;
   animation-delay: -2.7s;
   transform: rotate(9deg);
}
.ssn-category-study-art .ssn-study-art-open {
   inset-block-start: 122px;
   inset-inline-end: 17%;
   width: 116px;
   height: 86px;
   border-radius: 22px;
   background: linear-gradient(145deg, #ffad9e, #f17b83);
   color: #853d55;
   font-size: 46px;
   animation-delay: -5s;
   transform: rotate(-5deg);
}
@keyframes ssn-category-study-float {
   0%, 100% { translate: 0 0; }
   50% { translate: 0 -9px; }
}
.ssn-category-page-header .header-bg-img {
   background-image: radial-gradient(circle at 78% 10%, rgba(92, 148, 220, .2), transparent 32%), linear-gradient(125deg, transparent 45%, rgba(255,255,255,.025));
   opacity: 1;
}
.ssn-category-page-header .header-inner {
   position: relative;
   z-index: 1;
   align-items: flex-start;
   padding-block: 52px 56px;
   text-align: left !important;
}
.ssn-category-page-header .ssn-breadcrumbs { margin-bottom: 16px !important; }
.ssn-category-page-header .ssn-breadcrumbs .breadcrumb {
   display: inline-flex;
   align-items: center;
   gap: 3px;
   margin: 0;
   padding: 7px 12px;
   border: 1px solid rgba(255,255,255,.15);
   border-radius: 999px;
   background: rgba(255,255,255,.075);
   backdrop-filter: blur(8px);
}
.ssn-category-page-header .ssn-breadcrumbs .breadcrumb-item,
.ssn-category-page-header .ssn-breadcrumbs .breadcrumb-item.active { color: rgba(255,255,255,.78); font-size: .79rem; }
.ssn-category-page-header .ssn-breadcrumbs .breadcrumb-item + .breadcrumb-item::before {
   color: #b8d2f7;
   content: "›";
   font-size: 1.05rem;
   font-weight: 700;
   line-height: 1;
   opacity: 1;
   vertical-align: -1px;
}
.ssn-category-page-header .ssn-breadcrumbs .breadcrumb-item a { color: #fff; text-decoration: none; }
.ssn-category-page-header .ssn-breadcrumbs .breadcrumb-item a:hover { color: #cbdfff; }
.ssn-category-page-header .header-title {
   margin: 0;
   color: #fff;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   font-size: clamp(1.65rem, 3vw, 2.4rem);
   font-weight: 800;
   letter-spacing: 0;
   line-height: 1.35;
}
.ssn-category-page-header .header-inner::after {
   width: 54px;
   height: 3px;
   margin-top: 17px;
   border-radius: 4px;
   background: linear-gradient(90deg, #8db5ff, rgba(141,181,255,0));
   content: "";
}
@media (max-width: 767.98px) {
   .ssn-category-page-header .header-inner { align-items: center; padding-block: 38px 42px; text-align: center !important; }
   .ssn-category-page-header .header-inner::after { margin-inline: auto; }
   .ssn-category-page-header .ssn-breadcrumbs .breadcrumb { max-width: calc(100vw - 36px); overflow: auto; white-space: nowrap; }
   .ssn-category-study-art { opacity: .45; }
   .ssn-category-study-art .ssn-study-art-book { inset-inline-end: 5%; transform: scale(.75) rotate(-10deg); }
   .ssn-category-study-art .ssn-study-art-note { inset-inline-end: -4%; transform: scale(.72) rotate(9deg); }
   .ssn-category-study-art .ssn-study-art-open { inset-inline-end: 13%; transform: scale(.72) rotate(-5deg); }
}
@media (prefers-reduced-motion: reduce) {
   .ssn-category-study-art > span { animation: none; }
}
.ssn-directory-head { max-width: 760px; margin-bottom: 32px; }
.ssn-directory-head .ssn-section-pill { margin-bottom: 10px; }
.ssn-directory-title {
   margin: 0 0 7px;
   color: #16283f;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   font-size: clamp(1.35rem, 2.15vw, 1.72rem);
   font-weight: 800;
   line-height: 1.45;
}
.ssn-directory-description {
   margin: 0;
   color: #66758a;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   font-size: .96rem;
   line-height: 1.75;
}
.ssn-category-directory-card {
   position: relative;
   overflow: hidden;
   border: 1px solid #e5eaf2 !important;
   border-radius: 20px !important;
   background: linear-gradient(145deg, #fff 0%, #fff 72%, #f8faff 100%) !important;
   box-shadow: 0 8px 26px rgba(25, 48, 82, .055), 0 1px 2px rgba(25, 48, 82, .035);
   transition: transform .26s ease, border-color .26s ease, box-shadow .26s ease;
}
.ssn-category-directory-card:hover {
   transform: translateY(-4px);
   border-color: #ccdaec !important;
   box-shadow: 0 18px 38px rgba(25, 48, 82, .105), 0 3px 8px rgba(25, 48, 82, .035);
}
.ssn-category-directory-inner { height: 100%; padding: 22px; }
.ssn-category-directory-inner .category-header {
   display: flex;
   min-width: 0;
   align-items: center;
   gap: 15px;
   padding: 0 0 19px;
   border-bottom: 1px solid #edf1f6;
   text-decoration: none;
}
.ssn-category-directory-inner .category-icon {
   display: grid;
   width: 54px;
   height: 54px;
   flex: 0 0 54px;
   place-items: center;
   border: 1px solid #e4ebf5;
   border-radius: 16px;
   background: linear-gradient(145deg, #f5f8fd, #edf3fb);
   color: #315f9b;
   font-size: 20px;
   box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}
.ssn-category-directory-copy { min-width: 0; }
.ssn-category-directory-copy h3 { margin-bottom: 5px !important; color: #172b46; font-size: 1.08rem; font-weight: 800; line-height: 1.45; overflow-wrap: anywhere; letter-spacing: -.01em; }
.ssn-category-directory-count { color: #8794a7 !important; font-size: .8rem; }
.ssn-category-directory-inner .category-body { padding: 16px 0 0; }
.ssn-category-directory-inner .category-links { display: grid; gap: 5px; }
.ssn-category-directory-inner .category-link {
   display: flex;
   min-width: 0;
   align-items: flex-start;
   gap: 2px;
   padding: 9px 10px;
   border-radius: 10px;
   color: #52647b;
   font-size: .85rem;
   line-height: 1.55;
   overflow-wrap: anywhere;
   text-decoration: none;
   transition: background .18s ease, color .18s ease, padding .18s ease;
}
.ssn-category-directory-inner .category-link:hover { padding-inline-start: 13px; background: #f3f7fd; color: #245b9f; }
.ssn-category-directory-inner .category-link i { flex: 0 0 auto; margin-top: 3px; color: #9aabc1; font-size: .75rem; }
.ssn-category-directory-empty { border: 1px solid #e3eaf3; border-radius: 20px; background: #fff; box-shadow: 0 8px 26px rgba(25, 48, 82, .05); }
@media (max-width: 575.98px) {
   .ssn-directory-head { margin-bottom: 22px; }
   .ssn-category-directory-inner { padding: 17px; }
   .ssn-category-directory-inner .category-icon { width: 46px; height: 46px; flex-basis: 46px; border-radius: 14px; }
}

/* Subcategory listing: full-width results with filters in a dedicated drawer. */
.ssn-subcategory-section { padding-block: 42px 72px; background: #f6f8fc !important; }
.ssn-subcategory-section .section-inner,
.ssn-subcategory-section .section-body,
.ssn-subcategory-page,
.ssn-subcategory-layout,
.ssn-subcategory-sidebar,
.ssn-subcategory-results { width: 100%; min-width: 0; }
.ssn-subcategory-results > .items { display: block; width: 100%; }
.ssn-subcategory-results > .items > .row { width: 100%; }
.ssn-subcategory-results .pagination { justify-content: center; margin-top: 28px; }
.ssn-subcategory-toolbar {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 24px;
   margin-bottom: 24px;
   padding: 20px 22px;
   border: 1px solid #e3eaf3;
   border-radius: 17px;
   background: #fff;
   box-shadow: 0 5px 18px rgba(19, 44, 79, .045);
}
.ssn-subcategory-copy { min-width: 0; }
.ssn-subcategory-kicker {
   display: inline-flex;
   margin-bottom: 7px;
   color: #54739c;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   font-size: .82rem;
   font-weight: 700;
}
.ssn-subcategory-title {
   margin: 0 0 5px;
   color: #172b46;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   font-size: clamp(1.3rem, 2.1vw, 1.7rem);
   font-weight: 800;
   line-height: 1.45;
   overflow-wrap: anywhere;
}
.ssn-subcategory-description {
   margin: 0;
   color: #718096;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   font-size: .92rem;
   line-height: 1.65;
}
.ssn-subcategory-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 11px; }
.ssn-subcategory-count {
   color: #718096;
   font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
   font-size: .86rem;
   white-space: nowrap;
}
.ssn-subcategory-actions .ssn-filter-toggle { min-height: 40px; }
.ssn-subcategory-actions .ssn-view-toggle { flex: 0 0 auto; }
.ssn-subcategory-results { min-width: 0; }
.ssn-subcategory-results > .items { min-width: 0; }
.ssn-subcategory-page .ssn-item {
   border: 1px solid #e4eaf2;
   border-radius: 17px;
   background: #fff;
   box-shadow: 0 5px 18px rgba(19, 44, 79, .05);
   transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.ssn-subcategory-page .ssn-item:hover { transform: translateY(-3px); border-color: #cbd9ec; box-shadow: 0 13px 28px rgba(19, 44, 79, .1); }
.ssn-subcategory-page .ssn-item-accent { display: none; }
.ssn-subcategory-page .ssn-item-body { display: flex; min-width: 0; flex: 1 1 auto; flex-direction: column; gap: 9px; padding: 15px; }
.ssn-subcategory-page .ssn-item-category .breadcrumb { flex-wrap: nowrap; overflow: hidden; }
.ssn-subcategory-page .ssn-item-category .breadcrumb-item { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ssn-subcategory-page .ssn-item-title { min-height: 2.8em; margin: 0; font-size: .94rem !important; font-weight: 750 !important; line-height: 1.45 !important; }
.ssn-subcategory-page .ssn-item-footer { gap: 9px; padding-top: 11px; border-top-color: #edf1f6; }
.ssn-subcategory-results .ssn-empty-state { border: 1px solid #e3eaf3; border-radius: 18px; background: #fff; }
.ssn-subcategory-sidebar .ssn-filter-offcanvas { --bs-offcanvas-width: min(420px, 92vw); z-index: 1065; }
.ssn-subcategory-sidebar .ssn-filter-offcanvas .offcanvas-header { min-height: 64px; border-bottom: 1px solid #e6ecf4; }
.ssn-subcategory-sidebar .ssn-filter-offcanvas .offcanvas-title { color: #172b46; font-weight: 800; }
.ssn-subcategory-sidebar .ssn-filter-offcanvas .offcanvas-body { padding: 18px; background: #f7f9fc; }
.ssn-subcategory-sidebar .ssn-filter-panel > .box { padding: 18px !important; border: 1px solid #e3eaf3; border-radius: 14px; background: #fff !important; }

@media (min-width: 1200px) {
   .ssn-subcategory-sidebar { align-self: start; }
   .ssn-subcategory-sidebar .ssn-filter-offcanvas {
      position: sticky !important;
      inset: 96px auto auto !important;
      display: block !important;
      width: 100% !important;
      max-width: 100% !important;
      height: auto !important;
      max-height: none !important;
      overflow: visible !important;
      visibility: visible !important;
      transform: none !important;
      border: 0 !important;
      background: transparent !important;
   }
   .ssn-subcategory-sidebar .ssn-filter-offcanvas .offcanvas-header { display: none; }
   .ssn-subcategory-sidebar .ssn-filter-offcanvas .offcanvas-body {
      display: block;
      width: 100%;
      height: auto;
      max-height: none;
      flex: none;
      overflow: visible;
      padding: 18px !important;
      border: 1px solid #e3eaf3;
      border-radius: 16px;
      background: #fff;
      box-shadow: 0 6px 20px rgba(19, 44, 79, .05);
   }
   .ssn-subcategory-sidebar .ssn-filter-panel > .box {
      margin: 0 !important;
      padding: 15px 0 !important;
      border: 0 !important;
      border-bottom: 1px solid #e8edf4 !important;
      border-radius: 0 !important;
      background: transparent !important;
      box-shadow: none !important;
   }
   .ssn-subcategory-sidebar .ssn-filter-panel > .box:first-child { padding-top: 0 !important; }
   .ssn-subcategory-sidebar .ssn-filter-panel > .box:last-child { padding-bottom: 0 !important; border-bottom: 0 !important; }
}
@media (max-width: 767.98px) {
   .ssn-subcategory-section { padding-block: 28px 52px; }
   .ssn-subcategory-toolbar { align-items: flex-start; flex-direction: column; gap: 15px; margin-bottom: 19px; padding: 17px; }
   .ssn-subcategory-actions { width: 100%; justify-content: flex-end; gap: 8px; }
   .ssn-subcategory-count { margin-right: auto; }
}
@media (max-width: 420px) {
   .ssn-subcategory-actions { flex-wrap: wrap; }
   .ssn-subcategory-actions .ssn-view-toggle { margin-left: auto; }
   .ssn-subcategory-page .ssn-item-body { padding: 13px; }
}

/* Stable subject results layout: a real sidebar beside the item grid. */
.ssn-category-products-layout {
   display: grid;
   grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
   align-items: start;
   gap: 24px;
   width: 100%;
   min-width: 0;
}

.ssn-category-products-sidebar,
.ssn-category-products-results { min-width: 0; width: 100%; }
.ssn-category-products-results { overflow: hidden; }
.ssn-category-products-sidebar .ssn-filter-offcanvas {
   --bs-offcanvas-width: min(420px, 92vw);
   z-index: 1065;
}
@media (min-width: 1200px) {
   .ssn-category-products-layout {
      display: flex !important;
      align-items: start !important;
      gap: 24px !important;
   }
   .ssn-category-products-layout > .ssn-category-products-sidebar { flex: 0 0 290px !important; width: 290px !important; }
   .ssn-category-products-layout > .ssn-category-products-results { flex: 1 1 0 !important; width: 0 !important; min-width: 0 !important; }
   .ssn-category-products-sidebar .ssn-filter-offcanvas {
      position: static !important;
      inset: auto !important;
      display: block !important;
      width: 100% !important;
      max-width: 100% !important;
      height: auto !important;
      max-height: none !important;
      overflow: visible !important;
      visibility: visible !important;
      transform: none !important;
      border: 0 !important;
      background: transparent !important;
   }
   .ssn-category-products-sidebar .ssn-filter-offcanvas .offcanvas-header { display: none !important; }
   .ssn-category-products-sidebar .ssn-filter-offcanvas .offcanvas-body {
      display: block !important;
      width: 100% !important;
      height: auto !important;
      max-height: none !important;
      flex: none !important;
      overflow: visible !important;
   }
}
@media (max-width: 1199.98px) {
   .ssn-category-products-layout { display: flex; flex-direction: column; }
   .ssn-category-products-layout > .ssn-category-products-sidebar,
   .ssn-category-products-layout > .ssn-category-products-results { flex: 0 0 auto; width: 100%; }
   .ssn-category-products-sidebar { display: block; }
}

/* Category detail page: one responsive layout definition. */
.ssn-category-detail-page { padding-block: 38px 68px; background: #f6f8fc !important; }
.ssn-category-detail { width: 100%; min-width: 0; }
.ssn-category-detail-toolbar {
   position: relative;
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 24px;
   overflow: hidden;
   margin-bottom: 22px;
   padding: clamp(20px, 3vw, 30px);
   border: 1px solid #dce6f2;
   border-radius: 20px;
   background: linear-gradient(115deg, #fff 0%, #fff 68%, #f0f6ff 100%);
   box-shadow: 0 9px 28px rgba(25, 52, 85, .06);
}
.ssn-category-detail-toolbar::before {
   position: absolute;
   inset: 0 auto 0 0;
   width: 4px;
   background: linear-gradient(180deg, #4385d5, #75b6f4);
   content: "";
}
.ssn-category-detail-heading { min-width: 0; }
.ssn-category-detail-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 6px; color: #3978bf; font-size: .84rem; font-weight: 700; }
.ssn-category-detail-eyebrow i { font-size: .8rem; }
.ssn-category-detail-title { max-width: 34ch; margin: 0 0 5px; color: #172b46; font-size: clamp(1.12rem, 1.7vw, 1.4rem); font-weight: 800; line-height: 1.45; }
.ssn-category-detail-description { max-width: 65ch; margin: 0; color: #718096; font-size: .92rem; line-height: 1.65; }
.ssn-category-detail-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.ssn-category-detail-count { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid #e1e9f3; border-radius: 999px; background: #f8fafd; color: #52647b; font-size: .86rem; font-weight: 700; white-space: nowrap; }
.ssn-category-detail-count i { color: #4781c3; }
.ssn-category-detail-clear { display: inline-flex; align-items: center; gap: 6px; color: #52647b; font-size: .86rem; font-weight: 700; text-decoration: none; }
.ssn-category-detail-clear:hover { color: #2563eb; }
.ssn-category-detail-layout { display: grid; grid-template-columns: minmax(210px, 270px) minmax(0, 1fr); align-items: start; gap: 20px; width: 100%; min-width: 0; }
.ssn-category-detail-sidebar { grid-column: 1; grid-row: 1; min-width: 0; }
.ssn-category-detail-results { grid-column: 2; grid-row: 1; min-width: 0; width: 100%; }
.ssn-category-detail-results > .items { width: 100%; min-width: 0; }
.ssn-category-detail-results > .items > .row { width: 100%; row-gap: 20px; }
.ssn-category-detail-results .pagination { justify-content: center; margin-top: 26px; }
@media (min-width: 768px) {
   .ssn-category-detail-sidebar .ssn-filter-offcanvas { position: static; display: block; width: 100%; max-width: 100%; height: auto; max-height: none; overflow: visible; visibility: visible; transform: none; border: 0; background: transparent; }
   .ssn-category-detail-sidebar .ssn-filter-offcanvas .offcanvas-header { display: none; }
   .ssn-category-detail-sidebar .ssn-filter-offcanvas .offcanvas-body { display: block; width: 100%; height: auto; max-height: none; overflow: visible; padding: 10px; border: 1px solid #e3eaf3; border-radius: 15px; background: #fff; box-shadow: 0 6px 20px rgba(19,44,79,.05); }
}
.ssn-category-detail-filter-trigger { display: none; }
.ssn-category-detail-sidebar .ssn-filter-offcanvas .offcanvas-body > .box { margin: 0 !important; padding: 13px 2px !important; border: 0 !important; border-bottom: 1px solid #e8edf4 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.ssn-category-detail-sidebar .ssn-filter-offcanvas .offcanvas-body > .box > h5 { margin-bottom: 8px !important; color: #243b59; font-size: .9rem; font-weight: 750; line-height: 1.35; }
.ssn-category-detail-sidebar .ssn-filter-offcanvas .offcanvas-body .filter-item { padding-block: 4px; font-size: .84rem; line-height: 1.45; }
.ssn-category-detail-sidebar .ssn-filter-offcanvas .offcanvas-body .form-check { display: flex; min-height: 32px; align-items: center; gap: 8px; margin: 0; }
.ssn-category-detail-sidebar .ssn-filter-offcanvas .offcanvas-body .form-check-input { flex: 0 0 auto; margin: 0; }
.ssn-category-detail-sidebar .ssn-filter-offcanvas .offcanvas-body .form-check-label { color: #52647b; line-height: 1.4; }
.ssn-category-detail-sidebar .ssn-filter-offcanvas .ratings.row { display: inline-flex; flex-wrap: nowrap; gap: 2px; width: auto; margin: 0; vertical-align: middle; }
.ssn-category-detail-sidebar .ssn-filter-offcanvas .ratings.row > .rating.col { flex: 0 0 auto; width: auto; margin-top: 0 !important; padding: 0; color: #c5ceda; line-height: 1; }
.ssn-category-detail-sidebar .ssn-filter-offcanvas .ratings.row > .rating.col.rating-active { color: #f5a623; }
.ssn-category-detail-sidebar .ssn-filter-offcanvas .ratings.row .fa-star { display: block; font-size: 12px; }
.ssn-category-detail-sidebar .ssn-filter-offcanvas .form-check-label > .row { width: auto; margin: 0; }
.ssn-category-detail-sidebar .ssn-filter-offcanvas .form-check-label > .row > .col { margin-top: 0 !important; padding: 0; }
.ssn-category-detail-sidebar .ssn-rating-filter .form-check { position: relative; display: block !important; min-height: 32px; padding: 0 0 0 24px !important; }
.ssn-category-detail-sidebar .ssn-rating-filter .form-check-input { position: absolute !important; inset: 50% auto auto 0 !important; float: none !important; width: 16px; height: 16px; margin: 0 !important; transform: translateY(-50%); }
.ssn-category-detail-sidebar .ssn-rating-filter .form-check-label { display: flex; align-items: center; min-height: 32px; margin: 0; }
.ssn-category-detail-sidebar .ssn-rating-filter .form-check-label > .row { display: flex; align-items: center; gap: 8px; }
.ssn-category-detail-sidebar .ssn-rating-filter .form-check-label > .row > .col { display: flex; flex: 0 0 auto; align-items: center; }
.ssn-category-detail-sidebar .ssn-filter-offcanvas .offcanvas-body .form-control { min-width: 0; border-color: #dfe7f1; border-radius: 8px; }
.ssn-category-detail-sidebar .ssn-filter-offcanvas .offcanvas-body .btn { flex: 0 0 auto; min-height: 38px; }
.ssn-category-detail-sidebar .ssn-filter-offcanvas .offcanvas-body > .box:first-child { padding-top: 2px !important; }
.ssn-category-detail-sidebar .ssn-filter-offcanvas .offcanvas-body > .box:last-child { padding-bottom: 2px !important; border-bottom: 0 !important; }
.ssn-category-detail-page .ssn-item { border: 1px solid #e4eaf2; border-radius: 17px; background: #fff; box-shadow: 0 5px 18px rgba(19,44,79,.05); }
.ssn-category-detail-page .ssn-item-accent { display: none; }
.ssn-category-detail-page .ssn-item-body { display: flex; min-width: 0; flex: 1 1 auto; flex-direction: column; gap: 9px; padding: 15px; }
.ssn-category-detail-page .ssn-item-category .breadcrumb { flex-wrap: nowrap; overflow: hidden; }
.ssn-category-detail-page .ssn-item-category .breadcrumb-item { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ssn-category-detail-page .ssn-item-title { min-height: 2.8em; margin: 0; font-size: .94rem !important; font-weight: 750 !important; line-height: 1.45 !important; }
.ssn-category-detail-page .ssn-item-footer { gap: 9px; padding-top: 11px; border-top-color: #edf1f6; }
@media (max-width: 767.98px) {
   .ssn-category-detail-page { padding-block: 28px 52px; }
   .ssn-category-detail-toolbar { align-items: flex-start; flex-direction: column; gap: 14px; padding: 17px; border-radius: 16px; }
   .ssn-category-detail-actions { width: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 8px; }
   .ssn-category-detail-count { margin-right: auto; }
   .ssn-category-detail-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
   .ssn-category-detail-sidebar,
   .ssn-category-detail-results { grid-column: 1; grid-row: auto; }
   .ssn-category-detail-filter-trigger { display: flex; width: 100%; min-height: 46px; align-items: center; justify-content: space-between; padding: 0 14px; border: 1px solid #dfe7f1; border-radius: 11px; background: #fff; color: #243b59; font-size: .92rem; font-weight: 700; }
   .ssn-category-detail-filter-trigger span { display: inline-flex; align-items: center; gap: 9px; }
   .ssn-category-detail-filter-trigger span i { color: #3978bf; }
   .ssn-category-detail-sidebar .ssn-filter-offcanvas { --bs-offcanvas-width: min(360px, 90vw); z-index: 1065; }
   .ssn-category-detail-sidebar .ssn-filter-offcanvas .offcanvas-header { display: flex; min-height: 60px; border-bottom: 1px solid #e3eaf4; }
   .ssn-category-detail-sidebar .ssn-filter-offcanvas .offcanvas-title { color: #172b46; font-weight: 800; }
   .ssn-category-detail-sidebar .ssn-filter-offcanvas .offcanvas-body { padding: 10px 14px; background: #fff; }
   .ssn-category-detail-page .ssn-item-body { padding: 13px; }
}
@media (max-width: 575.98px) {
   .ssn-category-detail-page { padding-block: 20px 36px; }
   .ssn-category-detail-toolbar { gap: 12px; margin-bottom: 16px; padding: 15px; }
   .ssn-category-detail-title { font-size: 1.08rem; line-height: 1.4; }
   .ssn-category-detail-description { font-size: .88rem; }
   .ssn-category-detail-actions { align-items: flex-start; }
   .ssn-category-detail-count { padding: 8px 10px; font-size: .82rem; }
   .ssn-category-detail-clear { min-height: 40px; }
   .ssn-category-detail-results > .items > .row { row-gap: 14px; }
   .ssn-category-detail-results .pagination { flex-wrap: wrap; gap: 4px; }
   .ssn-category-detail-page .ssn-item { border-radius: 14px; }
   .ssn-category-detail-page .ssn-item-body { padding: 12px; }
}

/* Item detail page */
.ssn-item-detail-page .header-item {
   isolation: isolate;
   min-height: 0;
   overflow: hidden;
   background: linear-gradient(118deg, #102643 0%, #173b70 62%, #24548c 100%);
   color: #fff;
}
.ssn-item-detail-page .header-item .header-bg-img {
   opacity: .13;
   background-position: center;
   background-size: cover;
}
.ssn-item-detail-page .header-item .header-inner { padding-block: 34px 30px; }
.ssn-item-detail-page .ssn-breadcrumbs { margin-bottom: 14px !important; }
.ssn-item-detail-page .ssn-breadcrumbs .breadcrumb { display: inline-flex; align-items: center; gap: 3px; margin: 0; padding: 7px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.08); }
.ssn-item-detail-page .ssn-breadcrumbs .breadcrumb-item,
.ssn-item-detail-page .ssn-breadcrumbs .breadcrumb-item.active { color: rgba(255,255,255,.76); font-size: .8rem; }
.ssn-item-detail-page .ssn-breadcrumbs .breadcrumb-item a { color: #fff; text-decoration: none; }
.ssn-item-detail-page .ssn-item-detail-title { max-width: 900px; margin-block: 14px 12px !important; color: #fff; font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif; font-size: clamp(1.45rem, 3vw, 2.25rem); font-weight: 800; line-height: 1.4; overflow-wrap: anywhere; }
.ssn-item-detail-page .header-item .text-muted { color: rgba(255,255,255,.76) !important; }
.ssn-item-detail-page .header-item .btn-outline-secondary { border-color: rgba(255,255,255,.4); color: #fff; }
.ssn-item-detail-page .header-item .btn-outline-secondary:hover { border-color: #fff; background: rgba(255,255,255,.12); }
.ssn-item-detail-page .ssn-item-tabs { position: relative; z-index: 1; width: 100%; margin-block: 18px 22px; padding: 8px; border: 1px solid #e2e9f2; border-radius: 13px; background: #fff; }
.ssn-item-detail-page .ssn-item-tabs-inner { width: 100%; min-width: 0; }
.ssn-item-detail-page .ssn-item-view-tabs .ssn-item-tabs-inner { display: flex; flex-wrap: wrap; gap: 8px; }
.ssn-item-detail-page .ssn-item-view-tabs .nav-link { cursor: pointer; font-family: inherit; }
.ssn-item-detail-page .ssn-item-view-panel[hidden] { display: none !important; }
.ssn-item-detail-page .ssn-item-view-panel:not([hidden]) { display: block; }
.ssn-item-detail-page .ssn-item-tabs .tabs-swiper { overflow: hidden; }
.ssn-item-detail-page .ssn-item-section-links { width: max-content; min-width: 100%; align-items: center; gap: 8px; }
.ssn-item-detail-page .ssn-item-section-links .swiper-slide { width: auto; }
.ssn-item-detail-page .ssn-item-tabs .nav-link { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 13px; border: 1px solid #e2e9f2; border-radius: 10px; background: #fff; color: #5b6e85; font-size: .88rem; font-weight: 700; white-space: nowrap; }
.ssn-item-detail-page .ssn-item-tabs .nav-link:hover { border-color: #b8d2f3; background: #f7faff; color: #2563eb; }
.ssn-item-detail-page .ssn-item-tabs .nav-link.active { border-color: #c9dcf5; background: #edf5ff; color: #2563eb; }
.ssn-item-detail-content { background: #f6f8fc; }
.ssn-item-detail-content .section-inner,
.ssn-item-detail-content .section-body,
.ssn-item-tab-panel,
.ssn-purchase-sidebar { min-width: 0; }
.ssn-item-detail-page .ssn-item-tab-panel > .box,
.ssn-item-detail-page .ssn-purchase-sidebar > .box:not(.border-premium) { overflow: hidden; border: 1px solid #e2e9f2; border-radius: 16px; background: #fff; box-shadow: 0 6px 20px rgba(19,44,79,.045); }
.ssn-item-detail-page .ssn-item-media-preview { padding: clamp(12px, 2vw, 22px) !important; }
.ssn-item-detail-page .ssn-item-media { position: relative; overflow: hidden; border-radius: 12px; background: #f1f4f8; }
.ssn-item-detail-page .item-single-img { display: grid; min-height: 220px; place-items: center; }
.ssn-item-detail-page .item-single-img img { display: block; width: 100%; max-height: min(68vh, 680px); object-fit: contain; }
.ssn-item-detail-page .item-single-video video { display: block; width: 100%; height: auto; max-height: min(68vh, 620px); background: #111827; }
.ssn-item-detail-page .ssn-item-tab-panel > .box:not(.ssn-item-media-preview) { padding: clamp(18px, 3vw, 30px) !important; }
.ssn-item-detail-page .ssn-item-description-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding-bottom: 17px; border-bottom: 1px solid #e8edf4; }
.ssn-item-detail-page .ssn-item-description-icon { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border-radius: 12px; background: #edf5ff; color: #3978bf; }
.ssn-item-detail-page .ssn-item-description-kicker { display: block; margin-bottom: 2px; color: #718096; font-size: .75rem; font-weight: 700; }
.ssn-item-detail-page .ssn-item-description-heading h2 { margin: 0; color: #172b46; font-size: 1.18rem; font-weight: 800; line-height: 1.4; }
.ssn-item-detail-page .item-single-paragraph { color: #40536d; font-size: 1rem; line-height: 1.85; overflow-wrap: anywhere; }
.ssn-item-detail-page .item-single-paragraph h2,
.ssn-item-detail-page .item-single-paragraph h3,
.ssn-item-detail-page .item-single-paragraph h4 { margin-top: 1.6em; color: #172b46; font-weight: 750; line-height: 1.45; }
.ssn-item-detail-page .item-single-paragraph img { height: auto; border-radius: 10px; }
.ssn-item-detail-page .ssn-purchase-sidebar > .box { margin-bottom: 18px !important; }
.ssn-item-detail-page .ssn-purchase-sidebar .box-header { background: #fbfcfe; }
.ssn-item-detail-page .ssn-purchase-sidebar .box-header h5 { color: #1d3554; font-weight: 750; }
.ssn-item-detail-page .ssn-purchase-sidebar .box-body { color: #586b83; }
.ssn-item-detail-page .ssn-purchase-sidebar .form-check-lg { padding: 12px 12px 12px 36px !important; border: 1px solid #e5ebf3; border-radius: 11px; background: #fff; }
.ssn-item-detail-page .ssn-purchase-sidebar .form-check-lg .form-check-label { gap: 12px; }
.ssn-item-detail-page .ssn-purchase-sidebar .form-check-lg h6 { color: #243b59; font-weight: 750; }
.ssn-item-detail-page .ssn-purchase-sidebar .btn-primary,
.ssn-item-detail-page .ssn-purchase-sidebar .btn-premium { min-height: 46px; border-radius: 10px; font-weight: 750; }
.ssn-item-detail-page .ssn-purchase-sidebar .item-price-amount { color: #173b70; font-size: 1.05rem; font-weight: 800; }
.ssn-item-detail-page .ssn-purchase-sidebar .list-item { color: #60738b; line-height: 1.5; }
.ssn-item-detail-page .ssn-purchase-sidebar .border-bottom { border-color: #e8edf4 !important; }
.ssn-item-detail-page .ssn-purchase-sidebar .breadcrumb { flex-wrap: wrap; }
.ssn-item-detail-page .ssn-item-preview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #e7edf5; }
.ssn-item-detail-page .ssn-item-preview-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.ssn-item-detail-page .ssn-item-preview-actions .btn { min-height: 38px; padding-inline: 13px; border: 1px solid #dce5f0; border-radius: 9px; background: #f8fafd; color: #294563; font-size: .86rem; font-weight: 650; }
.ssn-item-detail-page .ssn-item-preview-actions .btn:hover { border-color: #aac5e7; background: #f0f6ff; color: #1d5da8; }
.ssn-item-detail-page .ssn-item-share { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.ssn-item-detail-page .ssn-item-share-label { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; color: #52647b; font-size: .84rem; font-weight: 700; }
.ssn-item-detail-page .ssn-item-share-label i { color: #3978bf; }
.ssn-item-detail-page .ssn-item-share-socials { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin: 0; }
.ssn-item-detail-page .ssn-item-share-socials .social-btn { display: grid; width: 32px !important; height: 32px !important; flex: 0 0 32px; place-items: center; margin: 0 !important; border: 0 !important; border-radius: 8px !important; color: #fff !important; font-size: 12px; }
.ssn-item-detail-page .ssn-item-share-socials .social-facebook { background: #1877f2 !important; }
.ssn-item-detail-page .ssn-item-share-socials .social-x { background: #171717 !important; }
.ssn-item-detail-page .ssn-item-share-socials .social-linkedin { background: #0a66c2 !important; }
.ssn-item-detail-page .ssn-item-share-socials .social-whatsapp { background: #20b85a !important; }
.ssn-item-detail-page .ssn-item-share-socials .social-pinterest { background: #bd081c !important; }
.ssn-item-detail-page .ssn-item-share-socials .social-btn:hover { transform: translateY(-2px); filter: brightness(.92); }

.ssn-item-detail-page .ssn-similar-items-section { padding-block: clamp(40px, 5.5vw, 68px); background: #f6f8fc; }
.ssn-item-detail-page .ssn-similar-items-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.ssn-item-detail-page .ssn-similar-items-eyebrow { display: block; margin-bottom: 5px; color: #3978bf; font-size: .78rem; font-weight: 750; letter-spacing: .045em; }
.ssn-item-detail-page .ssn-similar-items-title { color: #172b46 !important; font-size: clamp(1.35rem, 2.2vw, 1.7rem) !important; font-weight: 800 !important; letter-spacing: -.02em !important; line-height: 1.35; }
.ssn-item-detail-page .ssn-similar-items-more { min-height: 42px; padding: 9px 15px; border-radius: 10px; font-size: .88rem; font-weight: 700 !important; white-space: nowrap; }
.ssn-item-detail-page .ssn-similar-items-grid > .col { min-width: 0; }
@media (min-width: 1200px) {
   .ssn-item-detail-page .ssn-similar-items-grid > .col { max-width: 400px; }
}
.ssn-item-detail-page .ssn-similar-item { width: 100%; border: 1px solid #e1e8f1; border-radius: 15px; background: #fff; box-shadow: 0 5px 18px rgba(19,44,79,.045); }
.ssn-item-detail-page .ssn-similar-item:hover { border-color: #cbd9ec; box-shadow: 0 12px 26px rgba(19,44,79,.09); }
.ssn-item-detail-page .ssn-similar-item .ssn-item-accent { display: none; }
.ssn-item-detail-page .ssn-similar-item .ssn-item-img { aspect-ratio: 16 / 9; }
.ssn-item-detail-page .ssn-similar-item .ssn-item-body { display: flex; min-width: 0; flex: 1 1 auto; flex-direction: column; gap: 8px; padding: 13px 14px; }
.ssn-item-detail-page .ssn-similar-item .ssn-item-category .breadcrumb { flex-wrap: nowrap; overflow: hidden; }
.ssn-item-detail-page .ssn-similar-item .ssn-item-category .breadcrumb-item { overflow: hidden; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.ssn-item-detail-page .ssn-similar-item .ssn-item-title { min-height: 2.7em; margin: 0; font-size: .94rem !important; font-weight: 750 !important; line-height: 1.4 !important; }
.ssn-item-detail-page .ssn-similar-item .ssn-item-footer { gap: 9px; padding-top: 10px; border-top-color: #e9eef5; }
.ssn-item-detail-page .ssn-similar-item .ssn-item-price { color: #1c4e8a; font-size: .96rem; font-weight: 800; }
.ssn-item-detail-page .ssn-similar-item .ssn-btn-buy { min-height: 36px; padding: 7px 11px; border-radius: 9px; font-size: .8rem; }

@media (max-width: 991.98px) {
   .ssn-item-detail-page .header-item .header-inner { padding-block: 28px 24px; }
   .ssn-item-detail-page .ssn-purchase-sidebar { margin-top: 8px; }
}
@media (max-width: 575.98px) {
   .ssn-item-detail-page .header-item .header-inner { padding-block: 22px 20px; }
   .ssn-item-detail-page .ssn-item-tabs { margin-block: 14px 18px; padding: 6px; }
   .ssn-item-detail-page .ssn-item-tabs .nav-link { min-height: 36px; padding: 7px 10px; font-size: .82rem; }
   .ssn-item-detail-page .ssn-item-tabs .nav-link i { margin-inline-end: 0 !important; }
   .ssn-item-detail-page .item-single-img { min-height: 160px; }
   .ssn-item-detail-page .item-single-video video { max-height: 52vh; }
   .ssn-item-detail-page .ssn-purchase-sidebar .box-body { padding: 16px !important; }
   .ssn-item-detail-page .ssn-item-preview-toolbar { align-items: flex-start; flex-direction: column; }
   .ssn-item-detail-page .ssn-item-share { width: 100%; justify-content: space-between; }
   .ssn-item-detail-page .ssn-item-share-socials { justify-content: flex-start; }
   .ssn-item-detail-page .ssn-similar-items-section { padding-block: 36px; }
   .ssn-item-detail-page .ssn-similar-items-header { align-items: flex-start; flex-wrap: wrap; margin-bottom: 18px; }
   .ssn-item-detail-page .ssn-similar-items-more { margin-left: auto; }
   .ssn-item-detail-page .ssn-similar-items-title { font-size: 1.35rem !important; }
   .ssn-item-detail-page .ssn-similar-items-more { min-height: 38px; padding: 7px 10px; font-size: .8rem; }
   .ssn-item-detail-page .ssn-similar-items-grid { row-gap: 16px; }
   .ssn-item-detail-page .ssn-similar-item .ssn-item-body { padding: 13px; }
}

/* Cart page */
.ssn-cart-section { background: #f6f8fc; }
.ssn-cart-page-header .header-title { font-size: clamp(1.2rem, 2vw, 1.6rem); }
.ssn-cart-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 18px; }
.ssn-cart-toolbar p { margin: 0; color: #64748b; font-size: .95rem; line-height: 1.6; }
.ssn-cart-count { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid #dfe7f1; border-radius: 999px; background: #fff; color: #344b68; font-size: .86rem; font-weight: 700; }
.ssn-cart-count i { color: #3978bf; }
.ssn-cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); align-items: start; gap: 22px; width: 100%; }
.ssn-cart-layout > [class*="col-"] { width: 100%; max-width: 100%; min-width: 0; padding-inline: 0; }
.ssn-cart-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ssn-cart-actions .btn { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; border-radius: 10px; font-size: .88rem; font-weight: 700; }
.ssn-cart-actions form { margin: 0; }
.ssn-cart-list > .box { border: 1px solid #e1e8f1; border-radius: 16px; background: #fff; box-shadow: 0 6px 20px rgba(19,44,79,.045); }
.ssn-cart-row { margin: 0; padding: 18px 4px; border: 0; border-bottom: 1px solid #e9eef5; border-radius: 0; background: transparent; box-shadow: none; }
.ssn-cart-row:first-child { padding-top: 4px; }
.ssn-cart-row:last-child { padding-bottom: 4px; border-bottom: 0; }
.ssn-cart-product { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: start; gap: 16px; }
.ssn-cart-thumb-link { display: block; overflow: hidden; border-radius: 10px; background: #f1f5f9; }
.ssn-cart-thumb { display: block; width: 96px; height: 68px; object-fit: cover; }
.ssn-cart-item-content { min-width: 0; }
.ssn-cart-item-content > .mb-2 { margin-bottom: 10px !important; }
.ssn-cart-item-content .cart-item-title { display: inline-block; color: #1d3554; font-size: 1rem; font-weight: 750; line-height: 1.45; text-decoration: none; }
.ssn-cart-item-content .cart-item-title:hover { color: #2563eb; }
.ssn-cart-remove { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #e7edf4; border-radius: 9px; background: #fff; color: #74849a; }
.ssn-cart-remove:hover { border-color: #f4c7c7; background: #fff5f5; color: #d14343; }
.ssn-cart-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 14px; }
.ssn-cart-control { display: flex; min-width: 130px; flex-direction: column; gap: 5px; }
.ssn-cart-control label { color: #718096; font-size: .75rem; font-weight: 700; }
.ssn-cart-control .form-select,
.ssn-cart-control .form-control { min-height: 40px; border-color: #dfe7f1; border-radius: 8px; font-size: .86rem; }
.ssn-cart-quantity { min-width: 92px; max-width: 100px; }
.ssn-cart-update { min-height: 40px; padding: 8px 4px; color: #2563eb; font-size: .85rem; font-weight: 700; text-decoration: none; }
.ssn-cart-item-price { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed #e4eaf2; }
.ssn-cart-price-label { color: #718096; font-size: .78rem; }
.ssn-cart-item-price .item-price { display: flex; align-items: baseline; gap: 8px; }
.ssn-cart-item-price .item-price-amount { color: #1c4e8a; font-size: .98rem; font-weight: 800; }
.ssn-order-summary { position: sticky; top: 92px; padding: 22px !important; border: 1px solid #dce6f2; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(19,44,79,.06); text-align: start !important; }
.ssn-order-summary-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 17px; border-bottom: 1px solid #e8edf4; }
.ssn-order-summary-heading span { display: block; margin-bottom: 4px; color: #718096; font-size: .78rem; font-weight: 650; }
.ssn-order-summary-heading h4 { margin: 0; color: #1d3554; font-size: 1.05rem; font-weight: 750; }
.ssn-order-summary-heading > i { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 11px; background: #edf5ff; color: #3978bf; }
.ssn-order-summary-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; }
.ssn-order-summary-total span { color: #52647b; font-size: .9rem; font-weight: 650; }
.ssn-order-summary-total strong { color: #173b70; font-size: 1.35rem; font-weight: 850; }
.ssn-cart-checkout { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 12px; padding-inline: 16px; border-radius: 10px; font-weight: 750; }
.ssn-cart-empty { max-width: 760px; margin: 0 auto; overflow: hidden; border: 1px solid #e1e8f1; border-radius: 20px; background: #fff; box-shadow: 0 8px 28px rgba(19,44,79,.05); }
.ssn-cart-empty > .p-5 { padding: clamp(24px, 5vw, 52px) !important; }
.ssn-cart-empty .py-5 { padding-block: 10px !important; }
.ssn-cart-empty .ssn-empty-state-icon { width: 112px; height: auto; margin-bottom: 20px; }
.ssn-cart-empty h4 { color: #1d3554; font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 800; }
.ssn-cart-empty p { max-width: 48ch; margin-inline: auto; color: #718096; line-height: 1.7; }
@media (max-width: 1199.98px) {
   .ssn-cart-layout { grid-template-columns: minmax(0, 1fr) minmax(270px, 330px); gap: 18px; }
}
@media (max-width: 991.98px) {
   .ssn-cart-layout { grid-template-columns: minmax(0, 1fr); }
   .ssn-order-summary { position: static; }
}
@media (max-width: 575.98px) {
   .ssn-cart-section { padding-block: 28px 42px; }
   .ssn-cart-toolbar { align-items: flex-start; flex-direction: column; gap: 10px; }
   .ssn-cart-count { padding: 8px 11px; }
   .ssn-cart-actions { align-items: stretch; }
   .ssn-cart-actions .btn { min-height: 40px; padding-inline: 10px; font-size: .78rem; }
   .ssn-cart-list > .box { padding: 12px !important; }
   .ssn-cart-row { padding-block: 14px; }
   .ssn-cart-product { grid-template-columns: 68px minmax(0, 1fr); gap: 11px; }
   .ssn-cart-thumb { width: 68px; height: 56px; }
   .ssn-cart-item-content .cart-item-title { font-size: .9rem; }
   .ssn-cart-controls { gap: 9px; }
   .ssn-cart-control { min-width: 0; flex: 1 1 130px; }
   .ssn-cart-quantity { flex: 0 0 88px; }
   .ssn-cart-item-price .item-price-amount { font-size: .9rem; }
   .ssn-order-summary { padding: 17px !important; }
}

/* Checkout page */
.ssn-checkout-page { padding-block: 28px 56px; background: #f5f8fc; }
.ssn-checkout-page > .row { max-width: 1180px; margin-inline: auto; }
.ssn-checkout-page .ssn-checkout-panel { padding: clamp(18px, 2.2vw, 28px) !important; border: 1px solid #e1e8f1 !important; border-radius: 16px; background: #fff !important; box-shadow: 0 8px 24px rgba(19,44,79,.045) !important; }
.ssn-checkout-page .ssn-checkout-panel-title { margin: 0 0 20px !important; color: #1d3554; font-size: 1.08rem; font-weight: 800; line-height: 1.4; }
.ssn-checkout-page .ssn-checkout-payment-panel .row { --bs-gutter-x: 12px; --bs-gutter-y: 12px; }
.ssn-checkout-page .ssn-payment-option { position: relative; display: flex; min-height: 76px; align-items: center; justify-content: center; overflow: hidden; padding: 12px 34px 12px 12px; border: 1px solid #e0e7f0; border-radius: 12px; background: #fff; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.ssn-checkout-page .ssn-payment-option:hover { border-color: #a9c5f4; background: #f9fbff; }
.ssn-checkout-page .ssn-payment-option:has(input:checked) { border-color: #3978e8; background: #f4f8ff; box-shadow: 0 0 0 2px rgba(57,120,232,.1); }
.ssn-checkout-page .ssn-payment-option .payment-img { display: flex; width: 100%; min-height: 38px; align-items: center; justify-content: center; }
.ssn-checkout-page .ssn-payment-option .payment-img img { display: block; max-width: 100%; max-height: 38px; object-fit: contain; }
.ssn-checkout-page .ssn-payment-option > span { margin-inline-start: 8px; color: #1d3554; font-size: .82rem; font-weight: 750; white-space: nowrap; }
.ssn-checkout-page .ssn-payment-option input.form-check-input { position: absolute; inset-block-start: 50%; inset-inline-end: 11px; float: none; margin: 0; transform: translateY(-50%); cursor: pointer; }
.ssn-checkout-page .ssn-payment-option .form-check-label { position: absolute; inset: 0; cursor: pointer; }
.ssn-checkout-page .ssn-checkout-billing-panel .form-label { margin-bottom: 7px; color: #465a73; font-size: .84rem; font-weight: 700; }
.ssn-checkout-page .ssn-checkout-billing-panel .form-control,
.ssn-checkout-page .ssn-checkout-billing-panel .form-select { min-height: 44px; border-color: #dce5ef; border-radius: 9px; background-color: #fff; font-size: .9rem; }
.ssn-checkout-page .ssn-checkout-billing-panel .form-control:focus,
.ssn-checkout-page .ssn-checkout-billing-panel .form-select:focus { border-color: #7ba5ef; box-shadow: 0 0 0 3px rgba(57,120,232,.12); }
.ssn-checkout-page .ssn-checkout-summary { position: static; }
.ssn-checkout-page .ssn-checkout-summary .ssn-checkout-panel-title { padding-bottom: 16px; border-bottom: 1px solid #e8edf4; }
.ssn-checkout-page .ssn-checkout-summary .item-img-sm { overflow: hidden; border-radius: 9px; background: #f1f5f9; }
.ssn-checkout-page .ssn-checkout-summary .item-img-sm img { border-radius: inherit; }
.ssn-checkout-page .ssn-checkout-summary .text-dark { color: #1d3554 !important; font-size: .9rem; font-weight: 750; line-height: 1.45; }
.ssn-checkout-page .ssn-checkout-summary .small { color: #66778d; font-size: .77rem; line-height: 1.5; }
.ssn-checkout-page .ssn-checkout-summary h6 { color: #1d3554; font-size: .9rem; font-weight: 750; }
.ssn-checkout-page .ssn-checkout-summary > .d-flex:last-child { margin-top: 2px; color: #173b70; }
.ssn-checkout-page .ssn-checkout-summary > .d-flex:last-child strong,
.ssn-checkout-page .ssn-checkout-summary > .d-flex:last-child h6 { font-size: 1.15rem !important; }
.ssn-checkout-page .ssn-checkout-security { background: #f9fbff !important; }
.ssn-checkout-page .ssn-checkout-security .fa-shield-alt { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 13px; background: #eaf7ef; font-size: 1.3rem; }
.ssn-checkout-page .ssn-checkout-security .h6 { color: #294565; font-size: .78rem; font-weight: 800; letter-spacing: .035em; }
.ssn-checkout-page .ssn-checkout-security p { font-size: .84rem; line-height: 1.55; }
.ssn-checkout-page .checkout-button { min-height: 48px; border-radius: 10px; font-size: .96rem; font-weight: 750; box-shadow: 0 6px 14px rgba(37,99,235,.16); }
@media (min-width: 1200px) {
   .ssn-checkout-page .ssn-checkout-summary { position: static; }
}
@media (max-width: 1199.98px) {
   .ssn-checkout-page > .row { max-width: 920px; }
   .ssn-checkout-page .ssn-checkout-summary { position: static; }
}
@media (max-width: 575.98px) {
   .ssn-checkout-page { padding-block: 18px 36px; }
   .ssn-checkout-page > .row { margin-inline: 0; }
   .ssn-checkout-page .ssn-checkout-panel { padding: 17px !important; border-radius: 13px; }
   .ssn-checkout-page .ssn-checkout-panel-title { margin-bottom: 16px !important; font-size: 1rem; }
   .ssn-checkout-page .ssn-payment-option { min-height: 68px; padding-inline: 8px 30px; }
   .ssn-checkout-page .ssn-payment-option .payment-img img { max-height: 32px; }
   .ssn-checkout-page .ssn-checkout-summary .row.g-3 { --bs-gutter-x: 10px; }
}

/* Keep the signed-in account menu out of the navbar's document flow. */
.es-navbar .user-menu { position: relative; flex: 0 0 auto; margin-inline: 0 !important; }
.es-navbar .user-menu > .drop-down-btn { display: flex; min-height: 42px; align-items: center; gap: 8px; padding: 4px 8px; border: 1px solid #e2e8f0; border-radius: 999px; background: #fff; color: #294565; font-size: .88rem; font-weight: 650; white-space: nowrap; }
.es-navbar .user-menu > .drop-down-btn:hover { border-color: #bfd2ee; background: #f8fbff; }
.es-navbar .user-menu > .drop-down-btn > .user-img { display: block; width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; object-fit: cover; }
.es-navbar .user-menu > .drop-down-menu { position: absolute; z-index: 1080; inset-block-start: calc(100% + 8px) !important; inset-inline-end: 0; inset-inline-start: auto; display: none; width: 248px; max-width: min(88vw, 320px); max-height: min(70vh, 560px); overflow-y: auto; padding: 8px; border: 1px solid #e1e8f1; border-radius: 14px; background: #fff; box-shadow: 0 16px 38px rgba(19,44,79,.16); }
.es-navbar .user-menu.active > .drop-down-menu { display: block; }
.es-navbar .user-menu .user-menu-balance { gap: 11px !important; padding: 10px !important; border-bottom-color: #e8edf4 !important; white-space: normal !important; }
.es-navbar .user-menu .user-img-md { display: block; width: 48px; height: 48px; flex: 0 0 48px; border-radius: 11px; object-fit: cover; }
.es-navbar .user-menu .user-menu-balance-name { color: #294565; font-size: .92rem; font-weight: 700 !important; }
.es-navbar .user-menu .drop-down-item { display: flex; min-height: 40px; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 9px; color: #334b67; font-size: .86rem; line-height: 1.35; text-decoration: none; white-space: nowrap; }
.es-navbar .user-menu .drop-down-item:hover { background: #f1f6ff; color: #2563eb; }
.es-navbar .user-menu .drop-down-item i { width: 17px; flex: 0 0 17px; text-align: center; }
.es-navbar .user-menu #logout-form { display: none; }
@media (max-width: 1199.98px) {
   .es-mobile-actions .user-menu { margin: 0 !important; }
   .es-mobile-actions .user-menu > .drop-down-btn { width: 40px; min-height: 40px; justify-content: center; padding: 3px; border-radius: 12px; }
   .es-mobile-actions .user-menu > .drop-down-btn > .user-img { width: 30px; height: 30px; flex-basis: 30px; }
   .es-mobile-actions .user-menu > .drop-down-menu { inset-inline-end: 0; width: 260px; }
}

/* A shorter, calmer checkout header with less vertical weight. */
.ssn-page-header.ssn-checkout-page-header .header-inner { align-items: flex-start; padding-block: 28px 32px !important; text-align: left !important; }
.ssn-checkout-page-header .ssn-breadcrumbs { margin-bottom: 9px !important; }
.ssn-checkout-page-header .header-title { font-size: clamp(1.35rem, 2.2vw, 1.85rem) !important; line-height: 1.35 !important; }
.ssn-page-header.ssn-checkout-page-header .header-inner::after { margin-inline-start: 0; }
@media (max-width: 767.98px) {
   .ssn-page-header.ssn-checkout-page-header .header-inner { align-items: flex-start; padding-block: 22px 26px !important; text-align: left !important; }
   .ssn-checkout-page-header .header-title { font-size: clamp(1.25rem, 6vw, 1.6rem) !important; }
}

/* Purchases area in the user dashboard */
.ssn-user-purchases-page { padding-top: 28px !important; }
.ssn-user-purchases-page > .mb-4:first-child { margin-bottom: 22px !important; }
.ssn-user-purchases-page > .mb-4:first-child h3 { margin: 0 0 8px; color: #183656; font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 800; }
.ssn-user-purchases-page .ssn-breadcrumbs { margin: 0; }
.ssn-purchases-table { overflow: hidden; border: 1px solid #e1e8f1; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(19,44,79,.05); }
.ssn-purchases-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; border-bottom: 1px solid #e8edf4; background: linear-gradient(180deg, #fff, #fbfcfe); }
.ssn-purchases-toolbar-copy { display: flex; min-width: 0; align-items: center; gap: 12px; }
.ssn-purchases-toolbar-icon { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 12px; background: #edf5ff; color: #3978bf; font-size: 1.1rem; }
.ssn-purchases-toolbar-copy strong { display: block; color: #1d3554; font-size: .96rem; font-weight: 800; }
.ssn-purchases-toolbar-copy p { margin: 3px 0 0; color: #718096; font-size: .8rem; line-height: 1.45; }
.ssn-purchases-table .table-search { width: min(100%, 300px); margin: 0; padding: 0; border: 0; background: transparent; }
.ssn-purchases-table .table-search form,
.ssn-purchases-table .table-search .form-search { width: 100%; margin: 0; }
.ssn-purchases-table .table-search .form-search { min-height: 42px; border: 1px solid #dfe7f1; border-radius: 10px; background: #fff; }
.ssn-purchases-table .table-search .form-control { min-height: 40px; border: 0; background: transparent; box-shadow: none; font-size: .86rem; }
.ssn-purchases-table .table-search .icon { color: #718096; }
.ssn-purchases-table .table-container { overflow-x: auto; }
.ssn-purchases-table-grid { min-width: 920px; margin: 0 !important; }
.ssn-purchases-table-grid thead th { padding: 13px 14px; border-bottom: 1px solid #e4eaf2; background: #f8fafd; color: #6b7c91; font-size: .72rem; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; white-space: nowrap; }
.ssn-purchases-table-grid tbody td { padding: 15px 14px; border-color: #edf1f6; color: #475a72; font-size: .85rem; vertical-align: middle; }
.ssn-purchases-table-grid tbody tr:last-child td { border-bottom: 0; }
.ssn-purchases-table-grid .ssn-purchase-id { color: #7a899c; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.ssn-purchases-table-grid .ssn-purchase-product { min-width: 250px; gap: 12px; }
.ssn-purchases-table-grid .item-img-sm { width: 68px; height: 52px; flex: 0 0 68px; overflow: hidden; border-radius: 9px; background: #f1f5f9; }
.ssn-purchases-table-grid .item-img-sm img { width: 100%; height: 100%; object-fit: cover; }
.ssn-purchases-table-grid .table-name { max-width: 300px; color: #1d3554 !important; font-size: .88rem; font-weight: 750; line-height: 1.45; }
.ssn-purchases-table-grid .badge { border: 1px solid #e2e8f0; font-size: .75rem; font-weight: 700 !important; }
.ssn-purchases-table-grid .ssn-purchase-actions .dropdown-toggle { display: inline-grid; width: 36px; height: 36px; place-items: center; border: 1px solid #e1e8f1; border-radius: 9px; background: #fff; color: #53677f; text-decoration: none; }
.ssn-purchases-table-grid .ssn-purchase-actions .dropdown-toggle:hover { border-color: #bfd2ee; background: #f4f8ff; color: #2563eb; }
.ssn-purchases-table-grid td[data-label]::before { display: none; }
.ssn-user-purchases-page > .pagination { justify-content: center; margin-top: 20px; }
.ssn-purchases-empty { padding: clamp(22px, 4vw, 42px) !important; border: 1px solid #e1e8f1; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(19,44,79,.05); text-align: center; }
.ssn-purchases-empty > div:first-child { margin-bottom: 18px !important; }
.ssn-purchases-empty svg { width: min(150px, 38vw); height: auto; }
.ssn-purchases-empty h4 { color: #1d3554; font-size: 1.15rem; font-weight: 800; }
.ssn-purchases-empty p { color: #718096; font-size: .9rem; line-height: 1.6; }
@media (max-width: 767.98px) {
   .ssn-user-purchases-page { padding: 20px 14px 32px !important; }
   .ssn-user-purchases-page > .mb-4:first-child { margin-bottom: 16px !important; }
   .ssn-user-purchases-page > .mb-4:first-child h3 { font-size: 1.35rem; }
   .ssn-purchases-table { overflow: visible; border: 0; background: transparent; box-shadow: none; }
   .ssn-purchases-toolbar { align-items: stretch; flex-direction: column; gap: 14px; padding: 0 0 14px; border-bottom: 0; background: transparent; }
   .ssn-purchases-toolbar-icon { width: 38px; height: 38px; flex-basis: 38px; }
   .ssn-purchases-table .table-search { width: 100%; max-width: none; }
   .ssn-purchases-table .table-container { overflow: visible; }
   .ssn-purchases-table-grid { display: block; min-width: 0; }
   .ssn-purchases-table-grid thead { display: none; }
   .ssn-purchases-table-grid tbody { display: grid; gap: 12px; }
   .ssn-purchases-table-grid tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; margin: 0; padding: 9px 13px; border: 1px solid #e1e8f1; border-radius: 14px; background: #fff; box-shadow: 0 5px 16px rgba(19,44,79,.045); }
   .ssn-purchases-table-grid tbody td { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 0; border: 0; color: #344b68; font-size: .8rem; text-align: end !important; }
   .ssn-purchases-table-grid tbody td[data-label]::before { display: block; flex: 0 0 auto; color: #8290a2; font-size: .69rem; font-weight: 750; line-height: 1.35; text-align: start; }
   .ssn-purchases-table-grid tbody td.ssn-purchase-details { grid-column: 1 / -1; display: block; padding: 8px 0 12px; border-bottom: 1px solid #edf1f6; text-align: start !important; }
   .ssn-purchases-table-grid .ssn-purchase-details::before { margin-bottom: 8px; }
   .ssn-purchases-table-grid .ssn-purchase-product { min-width: 0; gap: 10px; }
   .ssn-purchases-table-grid .item-img-sm { width: 62px; height: 48px; flex-basis: 62px; margin-inline-end: 0 !important; }
   .ssn-purchases-table-grid .table-name { font-size: .84rem; }
   .ssn-purchases-table-grid .ssn-purchase-actions { grid-column: 1 / -1; border-top: 1px solid #edf1f6; }
   .ssn-purchases-table-grid .ssn-purchase-actions .dropdown { display: flex; width: 100%; align-items: center; justify-content: space-between; }
   .ssn-purchases-table-grid td[colspan] { display: block; grid-column: 1 / -1; text-align: center !important; }
   .ssn-purchases-table-grid td[colspan]::before { display: none !important; }
   .ssn-user-purchases-page > .pagination { flex-wrap: wrap; }
}
@media (max-width: 420px) {
   .ssn-user-purchases-page { padding-inline: 10px !important; }
   .ssn-purchases-table-grid tbody tr { padding-inline: 10px; gap: 0 8px; }
   .ssn-purchases-table-grid tbody td { font-size: .75rem; }
   .ssn-purchases-table-grid tbody td[data-label]::before { font-size: .65rem; }
}

/* User dashboard shell: constrain branding and keep the account dropdown floating. */
.dashboard .dashboard-topbar { position: relative; z-index: 1050; display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 24px; border-bottom: 1px solid #e5ebf3; background: #fff; }
.dashboard .dashboard-topbar > .logo { display: inline-flex; max-width: 220px; flex: 0 1 auto; align-items: center; margin-inline-start: 0 !important; }
.dashboard .dashboard-topbar > .logo img,
.dashboard .dashboard-sidebar-header .logo img { display: block; width: auto !important; max-width: 220px !important; height: auto !important; max-height: 42px !important; object-fit: contain; }
.dashboard .dashboard-topbar > .d-flex { min-width: 0; gap: 12px; }
.dashboard .dashboard-sidebar-header { display: flex; min-height: 72px; align-items: center; justify-content: center; padding: 12px 16px; border-bottom: 1px solid #e5ebf3; }
.dashboard .dashboard-sidebar-header .logo { display: inline-flex; max-width: 100%; align-items: center; justify-content: center; }
.dashboard .dashboard-sidebar-header .logo img { max-width: 220px !important; max-height: 40px !important; }
.dashboard .dashboard-topbar .user-menu { position: relative; flex: 0 0 auto; margin: 0 !important; }
.dashboard .dashboard-topbar .user-menu > .drop-down-btn { display: flex; min-height: 42px; align-items: center; gap: 8px; padding: 4px 9px 4px 5px; border: 1px solid #e2e8f0; border-radius: 999px; background: #fff; color: #294565; font-size: .86rem; font-weight: 650; white-space: nowrap; }
.dashboard .dashboard-topbar .user-menu > .drop-down-btn:hover { border-color: #bfd2ee; background: #f8fbff; }
.dashboard .dashboard-topbar .user-menu > .drop-down-btn > .user-img { display: block; width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; object-fit: cover; }
.dashboard .dashboard-topbar .user-menu > .drop-down-menu { position: absolute; z-index: 1080; inset-block-start: calc(100% + 8px) !important; inset-inline-end: 0; inset-inline-start: auto; display: none; width: 256px; max-width: min(88vw, 320px); max-height: min(70vh, 560px); overflow-y: auto; padding: 8px; border: 1px solid #e1e8f1; border-radius: 14px; background: #fff; box-shadow: 0 16px 38px rgba(19,44,79,.16); }
.dashboard .dashboard-topbar .user-menu.active > .drop-down-menu { display: block; }
.dashboard .dashboard-topbar .user-menu .user-menu-balance { gap: 11px !important; padding: 10px !important; border-bottom-color: #e8edf4 !important; white-space: normal !important; }
.dashboard .dashboard-topbar .user-menu .user-img-md { display: block; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 10px; object-fit: cover; }
.dashboard .dashboard-topbar .user-menu .drop-down-item { display: flex; min-height: 40px; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 9px; color: #334b67; font-size: .85rem; line-height: 1.35; text-decoration: none; }
.dashboard .dashboard-topbar .user-menu .drop-down-item:hover { background: #f1f6ff; color: #2563eb; }
.dashboard .dashboard-topbar .user-menu .drop-down-item i { width: 17px; flex: 0 0 17px; text-align: center; }
.dashboard .dashboard-topbar .user-menu #logout-form { display: none; }
.dashboard .dashboard-sidebar .dashboard-balance { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px; border: 1px solid #e3eaf3 !important; border-radius: 13px; background: #f8fafd; }
.dashboard .dashboard-sidebar .dashboard-balance-title { color: #718096; font-size: .78rem; font-weight: 650; }
.dashboard .dashboard-sidebar .dashboard-balance-number { margin: 0; color: #173b70; font-size: 1.15rem; font-weight: 800; }
.dashboard .dashboard-sidebar .dashboard-balance-icon a { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: #eaf2ff; color: #2563eb; }
@media (max-width: 767.98px) {
   .dashboard .dashboard-topbar { min-height: 64px; gap: 10px; padding: 8px 14px; }
   .dashboard .dashboard-topbar > .logo { max-width: 170px; }
   .dashboard .dashboard-topbar > .logo img { max-width: 170px !important; max-height: 36px !important; }
   .dashboard .dashboard-sidebar-header { min-height: 64px; }
   .dashboard .dashboard-sidebar-header .logo img { max-width: 200px !important; max-height: 36px !important; }
}

/* Complete user dashboard shell */
.dashboard { display: flex; width: 100%; max-width: none; min-height: 100vh; align-items: stretch; background: #f4f7fb; }
.dashboard .dashboard-sidebar { position: sticky; inset-block-start: 0; display: block; width: 272px; height: 100vh; flex: 0 0 272px; overflow: hidden; border-inline-end: 1px solid #e3eaf3; background: #fff; box-shadow: 4px 0 20px rgba(19,44,79,.035); }
.dashboard .dashboard-sidebar-container { display: flex; width: 100%; height: 100%; flex-direction: column; background: #fff; }
.dashboard .dashboard-sidebar-body { min-height: 0; flex: 1 1 auto; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.dashboard .dashboard-sidebar-content { padding: 22px 16px 26px; }
.dashboard .sidebar-user { position: sticky; inset-block-start: 0; z-index: 5; margin: 0 -16px 18px !important; padding: 18px 16px 16px; border-bottom: 1px solid #edf1f6; background: #fff; box-shadow: 0 5px 12px rgba(19,44,79,.025); }
.dashboard .sidebar-user .user-avatar-xl { display: inline-grid; width: 68px; height: 68px; place-items: center; overflow: hidden; border: 3px solid #eef4ff; border-radius: 50%; background: #f1f5f9; }
.dashboard .sidebar-user .user-avatar-xl img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dashboard .sidebar-user h5 { margin-top: 0 !important; font-size: .98rem; font-weight: 750; }
.dashboard .sidebar-user h5 a { text-decoration: none; }
.dashboard .sidebar-user h5 .small { color: #1d3554 !important; font-size: .92rem; font-weight: 750; }
.dashboard .sidebar-user p { overflow-wrap: anywhere; font-size: .8rem !important; }
.dashboard .dashboard-sidebar .dashboard-balance { margin-block: 18px 20px !important; }
.dashboard .dashboard-sidebar-links { display: grid; gap: 5px; }
.dashboard .dashboard-sidebar-link { min-width: 0; }
.dashboard .dashboard-sidebar-link-title { display: flex; min-height: 44px; align-items: center; gap: 11px; padding: 9px 12px; border-inline-start: 3px solid transparent; border-radius: 10px; color: #52647b; font-size: .87rem; font-weight: 600; line-height: 1.35; text-decoration: none; transition: background .16s ease, color .16s ease, border-color .16s ease; }
.dashboard .dashboard-sidebar-link-title > i { width: 18px; flex: 0 0 18px; color: #71839a; font-size: 1rem; text-align: center; }
.dashboard .dashboard-sidebar-link-title:hover { background: #f5f8fd; color: #2563eb; }
.dashboard .dashboard-sidebar-link-title:hover > i { color: #2563eb; }
.dashboard .dashboard-sidebar-link-title.active { border-inline-start-color: #f5b942; background: #f3f7fd; color: #2563eb; font-weight: 750; }
.dashboard .dashboard-sidebar-link-title.active > i { color: #2563eb; }
.dashboard .dashboard-body { display: flex; width: calc(100% - 272px); max-width: none; min-width: 0; min-height: 100vh; flex: 1 1 0%; flex-direction: column; background: #f4f7fb; }
.dashboard .dashboard-topbar { position: sticky; inset-block-start: 0; z-index: 1020; min-height: 72px; flex: 0 0 auto; }
.dashboard .dashboard-nav-btn { display: inline-grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; padding: 0; border: 1px solid #e1e8f1; border-radius: 10px; background: #fff; color: #294565; cursor: pointer; }
.dashboard .dashboard-nav-btn:hover { border-color: #bfd2ee; background: #f4f8ff; color: #2563eb; }
.dashboard .dashboard-topbar .btn-outline-premium { min-height: 40px; border-radius: 10px; font-size: .84rem; font-weight: 700; }
.dashboard .dashboard-container { width: 100%; max-width: 1560px; flex: 1 0 auto; margin-inline: auto; padding: 28px clamp(18px, 3vw, 42px) 42px !important; }
.dashboard .dashboard-container > .mb-4:first-child { margin-bottom: 24px !important; }
.dashboard .dashboard-container > .mb-4:first-child h3 { margin: 0 0 7px; color: #183656; font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 800; }
.dashboard .dashboard-container .ssn-breadcrumbs .breadcrumb { margin: 0; color: #78889c; font-size: .82rem; }
.dashboard .dashboard-container .page-content { min-width: 0; }
.dashboard .dashboard-footer { position: static !important; inset: auto !important; display: flex; width: 100%; min-height: 54px; flex: 0 0 auto; align-items: center; align-self: stretch; margin-block-start: auto; padding: 12px clamp(18px, 3vw, 42px); border-top: 1px solid #e3eaf3; background: #fff; color: #74849a; font-size: .78rem; }
.dashboard .dashboard-footer .row { margin-inline: 0; }
.dashboard .dashboard-sidebar .overlay { display: none; }
.dashboard .dashboard-container { flex: 1 0 auto; }
.dashboard .dashboard-sidebar { overflow: hidden !important; }
@media (min-width: 1200px) {
   .dashboard .dashboard-sidebar { transition: width .2s ease, flex-basis .2s ease, border-color .2s ease; }
   .dashboard.toggle .dashboard-sidebar { width: 0; flex-basis: 0; border-inline-end: 0; }
   .dashboard.toggle .dashboard-sidebar-container { visibility: hidden; }
   .dashboard.toggle .dashboard-body { width: 100%; }
}
@media (max-width: 1199.98px) {
   .dashboard .dashboard-body { width: 100%; flex-basis: 100%; }
   .dashboard .dashboard-sidebar { position: fixed; inset-block: 0; inset-inline-start: -280px; z-index: 1040; width: 280px; height: 100vh; overflow: visible !important; border: 0; background: transparent; box-shadow: none; transition: inset-inline-start .22s ease; }
   .dashboard .dashboard-sidebar-container { position: relative; z-index: 1; width: 280px; border-inline-end: 1px solid #e3eaf3; box-shadow: 12px 0 34px rgba(19,44,79,.13); }
   .dashboard .dashboard-sidebar .overlay { position: fixed; z-index: 0; inset: 0; display: none; background: rgba(17,34,58,.38); }
   .dashboard.toggle .dashboard-sidebar { inset-inline-start: 0; }
   .dashboard.toggle .dashboard-sidebar .overlay { display: block; }
}
@media (max-width: 767.98px) {
   .dashboard .dashboard-topbar { min-height: 64px; }
   .dashboard .dashboard-container { padding: 20px 14px 32px !important; }
   .dashboard .dashboard-container > .mb-4:first-child { margin-bottom: 17px !important; }
}
@media (max-width: 420px) {
   .dashboard .dashboard-topbar { padding-inline: 10px; }
   .dashboard .dashboard-topbar > .logo { max-width: 142px; }
   .dashboard .dashboard-topbar > .logo img { max-width: 142px !important; }
   .dashboard .dashboard-topbar > .d-flex { gap: 7px; }
}

/* Settings tabs and forms */
.dashboard .ssn-user-settings-page .page-content { width: 100%; max-width: 1120px; }
.dashboard .ssn-settings-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px !important; padding: 0 0 8px; border-bottom: 1px solid #dfe7f1; }
.dashboard .ssn-settings-tabs .nav-item { flex: 0 0 auto; }
.dashboard .ssn-settings-tabs .nav-link { min-height: 42px; padding: 9px 15px; border: 1px solid transparent; border-radius: 10px 10px 7px 7px; background: transparent; color: #5a6e86; font-size: .88rem; font-weight: 650; }
.dashboard .ssn-settings-tabs .nav-link:hover { border-color: #e2eaf4; background: #f8fafd; color: #2563eb; }
.dashboard .ssn-settings-tabs .nav-link.active { border-color: #dfe7f1; border-bottom-color: #fff; background: #fff; color: #1d4e89; box-shadow: 0 3px 10px rgba(19,44,79,.04); }
.dashboard .ssn-user-settings-page .tab-content { width: 100%; }
.dashboard .ssn-user-settings-page .tab-pane > .box { padding: clamp(18px, 2.5vw, 28px) !important; border: 1px solid #e1e8f1; border-radius: 15px; background: #fff; box-shadow: 0 7px 22px rgba(19,44,79,.045); }
.dashboard .ssn-user-settings-page .form-section { margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid #e9eef5; }
.dashboard .ssn-user-settings-page .form-section h5 { color: #1d3554; font-size: 1.02rem; font-weight: 800; }
.dashboard .ssn-user-settings-page .user-avatar-lg { width: 72px; height: 72px; overflow: hidden; border-radius: 14px; background: #f1f5f9; }
.dashboard .ssn-user-settings-page .user-avatar-lg img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.dashboard .ssn-user-settings-page .form-label { margin-bottom: 7px; color: #465a73; font-size: .82rem; font-weight: 700; }
.dashboard .ssn-user-settings-page .form-control,
.dashboard .ssn-user-settings-page .form-select { min-height: 44px; border-color: #dce5ef; border-radius: 9px; font-size: .9rem; }
.dashboard .ssn-user-settings-page .form-control:focus,
.dashboard .ssn-user-settings-page .form-select:focus { border-color: #7ba5ef; box-shadow: 0 0 0 3px rgba(57,120,232,.12); }
.dashboard .ssn-user-settings-page .tab-pane > .box > form > .btn { min-height: 42px; border-radius: 9px; font-weight: 700; }
@media (max-width: 575.98px) {
   .dashboard .ssn-settings-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
   .dashboard .ssn-settings-tabs .nav-link { min-height: 40px; padding-inline: 12px; white-space: nowrap; }
   .dashboard .ssn-user-settings-page .tab-pane > .box { padding: 17px !important; }
}

/* Final dashboard sizing: one page scroll, full-width content, fixed footer. */
.dashboard { display: grid !important; grid-template-columns: 272px minmax(0, 1fr); width: 100%; min-width: 0; }
.dashboard .dashboard-sidebar { grid-column: 1; position: sticky; inset-block-start: 0; align-self: start; height: auto; min-height: 100vh; overflow: visible !important; }
.dashboard .dashboard-sidebar-container { height: auto; min-height: 100vh; }
.dashboard .dashboard-sidebar-body { min-height: 0; flex: 1 0 auto; overflow: visible !important; scrollbar-gutter: auto; }
.dashboard .dashboard-body { grid-column: 2; width: 100%; min-width: 0; max-width: none; min-height: 100vh; padding-bottom: 54px; }
.dashboard .dashboard-container { width: 100%; max-width: none; }
.dashboard > .dashboard-body > .dashboard-footer { position: fixed !important; z-index: 1025; top: auto !important; bottom: 0 !important; left: 272px !important; right: 0 !important; width: auto; min-height: 52px; margin: 0; transform: none !important; }
.dashboard.toggle { grid-template-columns: 0 minmax(0, 1fr); }
.dashboard.toggle .dashboard-sidebar { width: 0; min-height: 100vh; flex-basis: 0; overflow: hidden !important; border: 0; box-shadow: none; }
.dashboard.toggle .dashboard-sidebar-container { visibility: hidden; }
.dashboard.toggle > .dashboard-body > .dashboard-footer { left: 0 !important; right: 0 !important; }
.dashboard .ssn-user-settings-page .page-content { width: 100%; max-width: 1120px; }
@media (max-width: 1199.98px) {
   .dashboard { display: block !important; width: 100%; }
   .dashboard .dashboard-sidebar { position: fixed; inset-block: 0; inset-inline-start: -280px; width: 280px; height: 100vh; min-height: 0; overflow: visible !important; }
   .dashboard .dashboard-sidebar-container { height: 100vh; min-height: 0; }
   .dashboard .dashboard-sidebar-body { min-height: 0; flex: 1 1 auto; overflow-x: hidden !important; overflow-y: auto !important; overscroll-behavior: contain; }
   .dashboard .dashboard-body { width: 100%; min-height: 100vh; padding-bottom: 54px; }
   .dashboard > .dashboard-body > .dashboard-footer { left: 0 !important; right: 0 !important; }
   .dashboard.toggle .dashboard-sidebar { inset-inline-start: 0; width: 280px; }
   .dashboard.toggle .dashboard-sidebar-container { visibility: visible; }
}
@media (max-width: 767.98px) {
   .dashboard .dashboard-footer { min-height: 48px; padding: 10px 14px; font-size: .72rem; }
   .dashboard .dashboard-body,
   .dashboard .dashboard-container { min-width: 0; }
}
/* Keep the footer in the content flow: bottom-aligned on short pages and
   immediately after content on longer dashboard pages. */
.dashboard > .dashboard-body > footer.dashboard-footer { position: static !important; inset: auto !important; z-index: auto !important; display: flex !important; width: 100%; min-height: 52px; flex: 0 0 auto; align-items: center; align-self: stretch; margin-block-start: auto !important; padding: 12px clamp(18px, 3vw, 42px); transform: none !important; visibility: visible !important; opacity: 1 !important; }
.dashboard .dashboard-body { padding-bottom: 0 !important; }
/* Keep the sidebar profile pinned while the remaining sidebar items scroll. */
@media (min-width: 1200px) {
   .dashboard .dashboard-sidebar { position: fixed; inset-block: 0; inset-inline-start: 0; width: 272px; height: 100vh; min-height: 0; overflow: hidden !important; }
   .dashboard .dashboard-sidebar-container { height: 100vh; min-height: 0; }
   .dashboard .dashboard-sidebar-body { height: 100%; min-height: 0; overflow-x: hidden !important; overflow-y: auto !important; overscroll-behavior: contain; }
   .dashboard .dashboard-sidebar-content { padding: 0 16px 24px; }
   .dashboard .sidebar-user { inset-block-start: 0; margin: 0 -16px 18px !important; padding: 18px 16px 16px; }
   .dashboard.toggle .dashboard-sidebar { width: 0; }
}
@media (max-width: 1199.98px) {
   .dashboard .dashboard-sidebar-content { padding: 0 16px 24px; }
   .dashboard .sidebar-user { inset-block-start: 0; margin: 0 -16px 18px !important; padding: 18px 16px 16px; }
}
.dashboard .dashboard-sidebar-body::-webkit-scrollbar { width: 5px; }
.dashboard .dashboard-sidebar-body::-webkit-scrollbar-thumb { border-radius: 999px; background: #cbd5e1; }
.dashboard .dashboard-sidebar-body::-webkit-scrollbar-track { background: transparent; }

/* Center empty-state illustrations consistently across dashboard pages. */
.dashboard .page-content .box-empty { display: flex; flex-direction: column; align-items: center; text-align: center; }
.dashboard .page-content .box-empty > div:first-child { display: flex; width: 100%; justify-content: center; }
.dashboard .page-content .box-empty > div:first-child svg { display: block; max-width: min(100%, 200px); height: auto; margin-inline: auto; }
.dashboard .page-content .box-empty > h4,
.dashboard .page-content .box-empty > p { width: 100%; text-align: center; }

/* Transactions: compact filters and readable rows at every dashboard width. */
.dashboard .ssn-user-transactions-page { width: 100%; min-width: 0; }
.dashboard .ssn-transactions-table { overflow: hidden; border: 1px solid #e2e9f2; border-radius: 14px; background: #fff; box-shadow: 0 5px 18px rgba(19,44,79,.04); }
.dashboard .ssn-transactions-table > .table-search { width: 100%; margin: 0; padding: 16px; border: 0; border-bottom: 1px solid #e8edf4; background: #f9fbfe; }
.dashboard .ssn-transactions-filters { display: grid; grid-template-columns: minmax(220px, 1.5fr) minmax(150px, .8fr) minmax(150px, .8fr) auto auto; gap: 10px; align-items: center; }
.dashboard .ssn-transactions-search { display: flex; min-width: 0; min-height: 42px; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid #dfe7f1; border-radius: 9px; background: #fff; color: #718096; }
.dashboard .ssn-transactions-search .form-control { min-width: 0; height: 40px; padding: 0; border: 0; background: transparent; box-shadow: none; font-size: .87rem; }
.dashboard .ssn-transactions-filter .bootstrap-select { width: 100% !important; }
.dashboard .ssn-transactions-filter .bootstrap-select > .dropdown-toggle { min-height: 42px; border: 1px solid #dfe7f1; border-radius: 9px; background: #fff; box-shadow: none; font-size: .86rem; }
.dashboard .ssn-transactions-submit,
.dashboard .ssn-transactions-reset { min-height: 42px; border-radius: 9px; white-space: nowrap; }
.dashboard .ssn-transactions-reset { display: inline-flex; width: 42px; align-items: center; justify-content: center; padding: 0; }
.dashboard .ssn-transactions-table .table-container { overflow-x: auto; }
.dashboard .ssn-transactions-table table { min-width: 940px; margin: 0; }
.dashboard .ssn-transactions-table thead th { padding: 14px 12px; border-bottom: 1px solid #e5ebf3; background: #fff; color: #61738b; font-size: .75rem; font-weight: 700; letter-spacing: .025em; white-space: nowrap; }
.dashboard .ssn-transactions-table tbody td { padding: 14px 12px; border-color: #edf1f6; color: #40536b; font-size: .84rem; vertical-align: middle; white-space: nowrap; }
.dashboard .ssn-transactions-table tbody tr:last-child td { border-bottom: 0; }
.dashboard .ssn-transactions-table .ssn-transaction-id a { color: #2563eb; font-weight: 700; }
.dashboard .ssn-transactions-table .ssn-transaction-total { color: #183b67 !important; font-weight: 700; }
.dashboard .ssn-transactions-table .ssn-transaction-actions .row { flex-wrap: nowrap; }
.dashboard .ssn-transactions-table .ssn-transaction-actions .btn { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; padding: 0; border-radius: 8px; }
.dashboard .ssn-transactions-table + .pagination,
.dashboard .ssn-user-transactions-page > .pagination { justify-content: flex-end; margin-top: 18px; }
@media (max-width: 767.98px) {
   .dashboard .ssn-transactions-table { overflow: visible; border: 0; background: transparent; box-shadow: none; }
   .dashboard .ssn-transactions-table > .table-search { margin-bottom: 14px; padding: 13px; border: 1px solid #e2e9f2; border-radius: 12px; background: #fff; }
   .dashboard .ssn-transactions-filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 9px; }
   .dashboard .ssn-transactions-search { grid-column: 1 / -1; }
   .dashboard .ssn-transactions-submit { grid-column: 1 / 3; }
   .dashboard .ssn-transactions-reset { grid-column: 3; grid-row: 2; }
   .dashboard .ssn-transactions-table .table-container { overflow: visible; }
   .dashboard .ssn-transactions-table table { display: block; min-width: 0; border: 0; }
   .dashboard .ssn-transactions-table thead { display: none; }
   .dashboard .ssn-transactions-table tbody { display: grid; gap: 12px; }
   .dashboard .ssn-transactions-table tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; padding: 12px 14px; border: 1px solid #e2e9f2; border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(19,44,79,.035); }
   .dashboard .ssn-transactions-table tbody td { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 0; border-bottom: 1px solid #eff3f7; text-align: right !important; white-space: normal; }
   .dashboard .ssn-transactions-table tbody td::before { content: attr(data-label); flex: 0 0 auto; color: #718096; font-size: .72rem; font-weight: 600; text-align: left; }
   .dashboard .ssn-transactions-table tbody td:nth-child(1),
   .dashboard .ssn-transactions-table tbody td:nth-child(5),
   .dashboard .ssn-transactions-table tbody td:nth-child(9) { grid-column: 1 / -1; }
   .dashboard .ssn-transactions-table tbody td:nth-child(1) { padding-top: 1px; }
   .dashboard .ssn-transactions-table tbody td:nth-child(5) { color: #183b67 !important; }
   .dashboard .ssn-transactions-table tbody td:nth-child(9) { justify-content: space-between; border-bottom: 0; }
   .dashboard .ssn-transactions-table tbody td[colspan] { grid-column: 1 / -1; justify-content: center; border: 0; }
   .dashboard .ssn-transactions-table tbody td[colspan]::before { content: none; }
   .dashboard .ssn-transactions-table .ssn-transaction-actions .row { justify-content: flex-end; }
   .dashboard .ssn-user-transactions-page > .pagination { justify-content: center; }
}

/* Support tickets list: status overview, focused filters, and mobile ticket cards. */
.dashboard .ssn-user-tickets-page { width: 100%; min-width: 0; }
.dashboard .ssn-ticket-summary { margin-bottom: 16px; }
.dashboard .ssn-ticket-stat { min-height: 104px; display: flex; align-items: center; overflow: hidden; border: 1px solid #e2e9f2; border-radius: 14px; background: linear-gradient(115deg, #fff 58%, #f7fbff); box-shadow: 0 5px 18px rgba(19,44,79,.04); }
.dashboard .ssn-ticket-stat .counter { width: 100%; }
.dashboard .ssn-ticket-stat-open { border-inline-start: 3px solid #16a36a; }
.dashboard .ssn-ticket-stat-closed { border-inline-start: 3px solid #e45b62; }
.dashboard .ssn-ticket-stat .counter-title { margin-bottom: 5px; color: #667991; font-size: .82rem; font-weight: 650; }
.dashboard .ssn-ticket-stat .counter-text { margin: 0; color: #173b67; font-size: 1.45rem; font-weight: 800; line-height: 1.2; }
.dashboard .ssn-tickets-table { overflow: hidden; border: 1px solid #e2e9f2; border-radius: 14px; background: #fff; box-shadow: 0 5px 18px rgba(19,44,79,.04); }
.dashboard .ssn-tickets-table > .table-search { width: 100%; margin: 0; padding: 15px; border: 0; border-bottom: 1px solid #e8edf4; background: #f9fbfe; }
.dashboard .ssn-ticket-filters { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(180px, .65fr) auto auto; gap: 10px; align-items: center; }
.dashboard .ssn-ticket-search { display: flex; min-width: 0; min-height: 42px; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid #dfe7f1; border-radius: 9px; background: #fff; color: #718096; }
.dashboard .ssn-ticket-search .form-control { min-width: 0; height: 40px; padding: 0; border: 0; background: transparent; box-shadow: none; font-size: .87rem; }
.dashboard .ssn-ticket-status-filter .bootstrap-select { width: 100% !important; }
.dashboard .ssn-ticket-status-filter .dropdown-toggle { min-height: 42px; border: 1px solid #dfe7f1; border-radius: 9px; background: #fff; box-shadow: none; font-size: .86rem; }
.dashboard .ssn-ticket-apply,
.dashboard .ssn-ticket-reset { min-height: 42px; border-radius: 9px; white-space: nowrap; }
.dashboard .ssn-ticket-reset { display: inline-flex; width: 42px; align-items: center; justify-content: center; padding: 0; }
.dashboard .ssn-tickets-table .table-container { overflow-x: auto; }
.dashboard .ssn-tickets-table table { min-width: 720px; margin: 0; }
.dashboard .ssn-tickets-table thead th { padding: 14px 13px; border-bottom: 1px solid #e5ebf3; background: #fff; color: #61738b; font-size: .75rem; font-weight: 700; letter-spacing: .025em; white-space: nowrap; }
.dashboard .ssn-tickets-table tbody td { padding: 15px 13px; border-color: #edf1f6; color: #40536b; font-size: .85rem; vertical-align: middle; }
.dashboard .ssn-tickets-table tbody tr:last-child td { border-bottom: 0; }
.dashboard .ssn-tickets-table .ssn-ticket-id { white-space: nowrap; }
.dashboard .ssn-tickets-table .ssn-ticket-id a { color: #2563eb; font-weight: 700; }
.dashboard .ssn-tickets-table .ssn-ticket-subject a { display: inline-block; max-width: 360px; overflow: hidden; font-weight: 650; text-overflow: ellipsis; vertical-align: bottom; white-space: nowrap; }
.dashboard .ssn-tickets-table .ssn-ticket-actions .btn { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; padding: 0; border-radius: 8px; }
.dashboard .ssn-user-tickets-page > .pagination { justify-content: flex-end; margin-top: 18px; }
@media (max-width: 767.98px) {
   .dashboard .ssn-ticket-stat { min-height: 88px; padding: 14px !important; }
   .dashboard .ssn-ticket-stat .counter-icon { width: 42px; height: 42px; }
   .dashboard .ssn-ticket-stat .counter-text { font-size: 1.25rem; }
   .dashboard .ssn-tickets-table { overflow: visible; border: 0; background: transparent; box-shadow: none; }
   .dashboard .ssn-tickets-table > .table-search { margin-bottom: 13px; padding: 12px; border: 1px solid #e2e9f2; border-radius: 12px; background: #fff; }
   .dashboard .ssn-ticket-filters { grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; }
   .dashboard .ssn-ticket-search { grid-column: 1 / -1; }
   .dashboard .ssn-ticket-apply { min-width: 0; padding-inline: 10px; }
   .dashboard .ssn-tickets-table .table-container { overflow: visible; }
   .dashboard .ssn-tickets-table table { display: block; min-width: 0; border: 0; }
   .dashboard .ssn-tickets-table thead { display: none; }
   .dashboard .ssn-tickets-table tbody { display: grid; gap: 11px; }
   .dashboard .ssn-tickets-table tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; padding: 12px 14px; border: 1px solid #e2e9f2; border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(19,44,79,.035); }
   .dashboard .ssn-tickets-table tbody td { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 0; border-bottom: 1px solid #eff3f7; font-size: .82rem; text-align: right !important; }
   .dashboard .ssn-tickets-table tbody td::before { content: attr(data-label); flex: 0 0 auto; color: #718096; font-size: .7rem; font-weight: 600; text-align: left; }
   .dashboard .ssn-tickets-table tbody .ssn-ticket-id,
   .dashboard .ssn-tickets-table tbody .ssn-ticket-subject,
   .dashboard .ssn-tickets-table tbody .ssn-ticket-actions { grid-column: 1 / -1; }
   .dashboard .ssn-tickets-table tbody .ssn-ticket-subject a { max-width: min(62vw, 300px); }
   .dashboard .ssn-tickets-table tbody .ssn-ticket-actions { justify-content: space-between; border-bottom: 0; }
   .dashboard .ssn-tickets-table tbody td[colspan] { grid-column: 1 / -1; justify-content: center; border: 0; }
   .dashboard .ssn-tickets-table tbody td[colspan]::before { content: none; }
   .dashboard .ssn-user-tickets-page > .pagination { justify-content: center; }
}

/* KYC verification: clear submission steps and balanced document previews. */
.dashboard .ssn-user-kyc-page { width: 100%; min-width: 0; }
.dashboard .ssn-user-kyc-page .ssn-kyc-alert,
.dashboard .ssn-user-kyc-page .ssn-kyc-form { width: min(100%, 1040px); }
.dashboard .ssn-kyc-alert { margin-bottom: 16px; border: 1px solid #cfe2f6; border-radius: 11px; font-size: .88rem; }
.dashboard .ssn-kyc-form .ssn-kyc-panel { margin-bottom: 16px !important; padding: clamp(18px, 2.6vw, 30px) !important; border: 1px solid #e1e8f1; border-radius: 15px; background: #fff; box-shadow: 0 7px 22px rgba(19,44,79,.045); }
.dashboard .ssn-kyc-section-heading { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 19px; padding-bottom: 16px; border-bottom: 1px solid #e9eef5; }
.dashboard .ssn-kyc-section-heading h4 { color: #1d3554; font-size: 1.05rem; font-weight: 800; }
.dashboard .ssn-kyc-section-heading p { color: #718096; font-size: .82rem; line-height: 1.55; }
.dashboard .ssn-kyc-step { display: inline-flex; width: 36px; height: 36px; flex: 0 0 36px; align-items: center; justify-content: center; border-radius: 10px; background: #edf4ff; color: #2563eb; font-size: .75rem; font-weight: 800; }
.dashboard .ssn-kyc-form .form-label { margin-bottom: 7px; color: #465a73; font-size: .82rem; font-weight: 700; }
.dashboard .ssn-kyc-form .form-control,
.dashboard .ssn-kyc-form .form-select { min-height: 44px; border-color: #dce5ef; border-radius: 9px; font-size: .88rem; }
.dashboard .ssn-kyc-form .form-control:focus,
.dashboard .ssn-kyc-form .form-select:focus { border-color: #7ba5ef; box-shadow: 0 0 0 3px rgba(57,120,232,.12); }
.dashboard .ssn-kyc-upload-card { height: 100%; border-color: #e2e9f2 !important; border-radius: 12px !important; background: #fbfcfe; }
.dashboard .ssn-kyc-upload-card h6 { color: #334b68; font-size: .85rem; font-weight: 750; }
.dashboard .ssn-kyc-upload-card .image-preview-box { display: flex; min-height: 190px; align-items: center; justify-content: center; overflow: hidden; border: 1px dashed #d7e1ed; border-radius: 9px; background: #f5f8fc; }
.dashboard .ssn-kyc-upload-card .image-preview-box img { display: block; width: auto; max-width: 100%; height: auto !important; max-height: 230px; object-fit: contain; }
.dashboard .ssn-kyc-upload-card input[type="file"] { padding: 8px; background: #fff; font-size: .78rem; }
.dashboard .ssn-kyc-form .form-section > .row.g-3 { margin-top: 0; }
.dashboard .ssn-kyc-form #nationalId,
.dashboard .ssn-kyc-form #passport { margin-top: 20px; }
.dashboard .ssn-kyc-form #nationalIDNumber,
.dashboard .ssn-kyc-form #passportNumber { display: flex; flex-direction: column; gap: 0; }
.dashboard .ssn-kyc-form #nationalIDNumber .form-label,
.dashboard .ssn-kyc-form #passportNumber .form-label { margin-bottom: 7px; }
.dashboard .ssn-kyc-submit-panel { display: flex; justify-content: flex-end; padding: 15px 18px !important; border: 1px solid #e1e8f1; border-radius: 13px; background: #fff; }
.dashboard .ssn-kyc-submit-panel .btn { min-height: 44px; border-radius: 9px; font-weight: 700; }
.dashboard .page-content .ssn-kyc-pending { display: grid; grid-template-columns: minmax(160px, 230px) minmax(0, 1fr); align-items: center; gap: 8px 24px; max-width: 900px; margin-inline: auto; padding: clamp(22px, 4vw, 42px) !important; border: 1px solid #e1e8f1; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(19,44,79,.05); text-align: left !important; }
.dashboard .page-content .ssn-kyc-pending > div:first-child { grid-column: 1; grid-row: 1 / span 2; width: 100%; margin: 0 !important; }
.dashboard .page-content .ssn-kyc-pending > div:first-child svg { width: 100%; max-width: 220px; height: auto; }
.dashboard .page-content .ssn-kyc-pending > h4 { grid-column: 2; align-self: end; margin: 0; color: #1d3554; font-size: 1.2rem; font-weight: 800; text-align: left; }
.dashboard .page-content .ssn-kyc-pending > div:last-child { grid-column: 2; width: 100%; margin: 0; color: #667991; font-size: .9rem; line-height: 1.7; text-align: left; }
@media (max-width: 767.98px) {
   .dashboard .ssn-kyc-form .ssn-kyc-panel { padding: 18px !important; }
   .dashboard .ssn-kyc-upload-card .image-preview-box { min-height: 155px; }
   .dashboard .ssn-kyc-upload-card .image-preview-box img { max-height: 185px; }
   .dashboard .page-content .ssn-kyc-pending { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 13px; padding: 22px !important; text-align: center !important; }
   .dashboard .page-content .ssn-kyc-pending > div:first-child,
   .dashboard .page-content .ssn-kyc-pending > h4,
   .dashboard .page-content .ssn-kyc-pending > div:last-child { grid-column: 1; grid-row: auto; text-align: center; }
   .dashboard .page-content .ssn-kyc-pending > div:first-child svg { max-width: 165px; }
   .dashboard .page-content .ssn-kyc-pending > h4 { font-size: 1.05rem; }
   .dashboard .page-content .ssn-kyc-pending > div:last-child { max-width: 480px; font-size: .84rem; }
}
