 /* =============================================
   M-Classes - Main Stylesheet
   ============================================= */

 :root {
   --primary: #3b82f6;
   --primary-dark: #1d4ed8;
   --secondary: #10b981;
   --accent: #f59e0b;
   --dark: #0f172a;
   --text: #334155;
   --text-light: #64748b;
   --bg-light: #f8f9ff;
   --white: #ffffff;
   --border: #e2e8f0;
   --shadow: 0 4px 24px rgba(59, 130, 246, 0.10);
   --shadow-hover: 0 8px 32px rgba(59, 130, 246, 0.18);
   --radius: 16px;
   --radius-sm: 10px;
 }

 * {
   box-sizing: border-box;
 }

 body {
   font-family: 'Poppins', sans-serif;
   color: var(--text);
   background: var(--white);
   margin: 0;
   scroll-behavior: smooth;
 }

 /* ---- TOP BAR ---- */
 .top-bar {
   background: var(--dark);
   color: #cbd5e1;
   font-size: 0.82rem;
   padding: 7px 0;
   z-index: 1100;
 }

 .top-bar-info span {
   display: inline-flex;
   align-items: center;
 }

 .top-social {
   color: #94a3b8;
   margin-left: 10px;
   font-size: 0.85rem;
   transition: color 0.2s;
 }

 .top-social:hover {
   color: var(--accent);
   text-decoration: none;
 }

 /* ---- NAVBAR ---- */
 .main-nav {
   background: var(--white);
   box-shadow: 0 2px 16px rgba(15, 23, 42, 0.08);
   padding: 0.6rem 0;
   z-index: 1050;
 }

 .logo-icon {
   width: 44px;
   height: 44px;
   background: linear-gradient(135deg, var(--primary), var(--primary-dark));
   color: white;
   font-size: 0.95rem;
   font-weight: 800;
   border-radius: 12px;
   display: flex;
   align-items: center;
   justify-content: center;
   box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
   flex-shrink: 0;
 }

 .brand-name {
   font-size: 1.2rem;
   font-weight: 700;
   color: var(--dark);
   line-height: 1.1;
 }

 .brand-sub {
   font-size: 0.72rem;
   color: var(--text-light);
   font-weight: 400;
   letter-spacing: 0.5px;
 }

 .main-nav .nav-link {
   color: var(--text) !important;
   font-weight: 500;
   font-size: 0.92rem;
   padding: 0.5rem 0.85rem !important;
   border-radius: 8px;
   transition: all 0.2s;
 }

 .main-nav .nav-link:hover {
   color: var(--primary) !important;
   background: #eff6ff;
 }

 .btn-demo {
   background: linear-gradient(135deg, var(--primary-dark), #173eeb);
   color: white !important;
   border: none;
   border-radius: 25px;
   padding: 0.45rem 1.3rem !important;
   font-weight: 600;
   font-size: 0.88rem;
   transition: all 0.25s;
   box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
 }

 .btn-demo:hover {
   transform: translateY(-2px);
   box-shadow: 0 6px 18px rgba(245, 158, 11, 0.4);
   color: white !important;
   text-decoration: none;
 }

 /* ---- HERO SECTION ---- */
 .hero-section {
   background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1d4ed8 100%);
   position: relative;
   overflow: hidden;
   padding: 80px 0 40px;
 }

 .hero-section--compact {
   padding: 48px 0 36px;
 }

 .hero-section--compact .hero-visual-icons {
   height: 220px;
   max-width: 280px;
 }

 .hero-section--compact .hero-visual-ring {
   width: 170px;
   height: 170px;
 }

 .hero-section--compact .hero-visual-main {
   font-size: 3.25rem;
 }

 .min-vh-hero {
   min-height: calc(100vh - 110px);
 }

 .hero-bg-shapes {
   position: absolute;
   inset: 0;
   overflow: hidden;
   pointer-events: none;
 }

 .shape {
   position: absolute;
   border-radius: 50%;
   opacity: 0.07;
 }

 .shape-1 {
   width: 500px;
   height: 500px;
   background: var(--primary);
   top: -150px;
   right: -100px;
 }

 .shape-2 {
   width: 300px;
   height: 300px;
   background: var(--accent);
   bottom: -80px;
   left: -80px;
 }

 .shape-3 {
   width: 200px;
   height: 200px;
   background: var(--secondary);
   top: 40%;
   left: 45%;
 }

 .hero-badge {
   display: inline-flex;
   align-items: center;
   background: rgba(255, 255, 255, 0.12);
   color: #e2e8f0;
   border: 1px solid rgba(255, 255, 255, 0.2);
   padding: 6px 16px;
   border-radius: 20px;
   font-size: 0.85rem;
   font-weight: 500;
   backdrop-filter: blur(6px);
 }

 .live-dot {
   color: #4ade80;
   font-size: 0.55rem;
   animation: pulse 1.5s infinite;
 }

 a {
   text-decoration: none !important;
 }

 @keyframes pulse {

   0%,
   100% {
     opacity: 1;
   }

   50% {
     opacity: 0.3;
   }
 }

 .hero-title {
   font-size: clamp(2rem, 4.5vw, 3.2rem);
   font-weight: 800;
   color: var(--white);
   line-height: 1.2;
 }

 .highlight {
   background: linear-gradient(135deg, #60a5fa, #34d399);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
 }

 .hero-desc {
   color: #cbd5e1;
   font-size: 1.05rem;
   line-height: 1.7;
   max-width: 520px;
 }

 .feature-pill {
   display: inline-flex;
   align-items: center;
   background: rgba(255, 255, 255, 0.1);
   color: #e2e8f0;
   border: 1px solid rgba(255, 255, 255, 0.15);
   border-radius: 20px;
   padding: 5px 14px;
   font-size: 0.82rem;
   margin: 4px 6px 4px 0;
 }

 .btn-primary-custom {
   background: linear-gradient(135deg, var(--primary), var(--primary-dark));
   color: white !important;
   border: none;
   border-radius: 25px;
   padding: 0.7rem 1.8rem;
   font-weight: 600;
   font-size: 0.95rem;
   box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
   transition: all 0.25s;
 }

 .btn-primary-custom:hover {
   transform: translateY(-3px);
   box-shadow: 0 8px 24px rgba(59, 130, 246, 0.5);
   text-decoration: none;
 }

 .btn-outline-custom {
   background: transparent;
   color: white !important;
   border: 2px solid rgba(255, 255, 255, 0.5);
   border-radius: 25px;
   padding: 0.7rem 1.8rem;
   font-weight: 600;
   font-size: 0.95rem;
   transition: all 0.25s;
 }

 .btn-outline-custom:hover {
   background: rgba(255, 255, 255, 0.1);
   border-color: white;
   transform: translateY(-3px);
   text-decoration: none;
 }

 .hero-stats {
   display: inline-flex;
   align-items: center;
   background: rgba(255, 255, 255, 0.08);
   border: 1px solid rgba(255, 255, 255, 0.15);
   border-radius: 16px;
   padding: 14px 24px;
   backdrop-filter: blur(8px);
   gap: 20px;
 }

 .stat-item {
   text-align: center;
 }

 .stat-num {
   display: block;
   font-size: 1.8rem;
   font-weight: 800;
   color: white;
   line-height: 1;
 }

 .stat-label {
   font-size: 0.78rem;
   color: #94a3b8;
   text-transform: uppercase;
   letter-spacing: 0.5px;
 }

 .stat-divider {
   width: 1px;
   height: 40px;
   background: rgba(255, 255, 255, 0.2);
 }

 /* Hero Illustration */
 .hero-card-wrap {
   position: relative;
   display: inline-block;
 }

 .hero-illustration {
   position: relative;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 280px;
   height: 280px;
   margin: 0 auto 20px;
 }

 .illus-circle {
   width: 220px;
   height: 220px;
   background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(16, 185, 129, 0.2));
   border: 2px solid rgba(255, 255, 255, 0.15);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   backdrop-filter: blur(8px);
 }

 .illus-icon {
   font-size: 5rem;
   color: rgba(255, 255, 255, 0.7);
 }

 .floating-badge {
   position: absolute;
   background: white;
   border-radius: 12px;
   padding: 8px 14px;
   font-size: 0.82rem;
   font-weight: 600;
   color: var(--dark);
   box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
   animation: floatBadge 3s ease-in-out infinite;
 }

 .badge-math {
   top: 10px;
   left: -10px;
   animation-delay: 0s;
 }

 .badge-sci {
   top: 10px;
   right: -10px;
   animation-delay: 0.7s;
 }

 .badge-eng {
   bottom: 20px;
   left: -10px;
   animation-delay: 1.4s;
 }

 .badge-live {
   bottom: 20px;
   right: -10px;
   animation-delay: 2.1s;
   color: #ef4444;
 }

 @keyframes floatBadge {

   0%,
   100% {
     transform: translateY(0px);
   }

   50% {
     transform: translateY(-8px);
   }
 }

 /* Hero: icon strip + floating visual */
 .hero-mini-icon {
   background: rgba(255, 255, 255, 0.1);
   border: 1px solid rgba(255, 255, 255, 0.2);
   border-radius: 14px;
   padding: 14px 8px;
   backdrop-filter: blur(6px);
 }

 .hero-mini-icon i {
   font-size: 1.45rem;
   color: #93c5fd;
   display: block;
   margin-bottom: 8px;
 }

 .hero-mini-icon span {
   font-size: 0.76rem;
   color: #e2e8f0;
   font-weight: 500;
   line-height: 1.25;
   display: block;
 }

 .hero-visual-icons {
   position: relative;
   max-width: 320px;
   height: 260px;
   margin-left: auto;
   margin-right: auto;
 }

 .hero-visual-ring {
   position: absolute;
   left: 50%;
   top: 50%;
   transform: translate(-50%, -50%);
   width: 200px;
   height: 200px;
   border-radius: 50%;
   background: linear-gradient(135deg, rgba(59, 130, 246, 0.28), rgba(16, 185, 129, 0.22));
   border: 2px solid rgba(255, 255, 255, 0.18);
   display: flex;
   align-items: center;
   justify-content: center;
 }

 .hero-visual-main {
   font-size: 4.25rem;
   color: rgba(255, 255, 255, 0.9);
 }

 .hero-float-icon {
   position: absolute;
   width: 46px;
   height: 46px;
   border-radius: 12px;
   background: white;
   color: var(--primary);
   display: flex;
   align-items: center;
   justify-content: center;
   box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
   font-size: 1.15rem;
   animation: floatBadge 3.2s ease-in-out infinite;
 }

 .hero-float-1 {
   top: 6%;
   right: 10%;
   animation-delay: 0s;
 }

 .hero-float-2 {
   top: 38%;
   right: 0;
   animation-delay: 0.6s;
 }

 .hero-float-3 {
   bottom: 16%;
   left: 6%;
   color: #10b981;
   animation-delay: 1.1s;
 }

 .hero-float-4 {
   top: 10%;
   left: 4%;
   animation-delay: 1.6s;
 }

 .demo-card {
   background: white;
   border-radius: var(--radius);
   box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
   overflow: hidden;
   max-width: 280px;
   margin: 0 auto;
 }

 .demo-card-inner {
   padding: 24px;
   text-align: center;
 }

 .demo-tag {
   background: #fef3cd;
   color: #92400e;
   font-size: 0.75rem;
   font-weight: 600;
   padding: 3px 12px;
   border-radius: 20px;
   text-transform: uppercase;
   letter-spacing: 0.5px;
 }

 .demo-card h5 {
   font-weight: 700;
   color: var(--dark);
   margin: 10px 0 6px;
 }

 .demo-card p {
   color: var(--text-light);
   font-size: 0.88rem;
 }

 .demo-price {
   font-size: 1.1rem;
   font-weight: 600;
   color: var(--text);
   margin-bottom: 14px;
 }

 .demo-price span {
   font-size: 2rem;
   font-weight: 800;
   color: var(--primary);
 }

 .btn-demo-card {
   background: linear-gradient(135deg, var(--primary), var(--primary-dark));
   color: white !important;
   border: none;
   border-radius: 25px;
   padding: 0.5rem 1.6rem;
   font-weight: 600;
   font-size: 0.9rem;
   transition: all 0.25s;
   display: inline-block;
 }

 .btn-demo-card:hover {
   transform: translateY(-2px);
   box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
   text-decoration: none;
 }

 .wave-bottom {
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   height: 80px;
   overflow: hidden;
   line-height: 0;
 }

 .wave-bottom svg {
   width: 100%;
   height: 80px;
   display: block;
 }

 /* ---- SECTIONS ---- */
 .section-pad {
   padding: 80px 0;
 }

 .bg-light-custom {
   background: var(--bg-light);
 }

 .section-tag {
   display: inline-block;
   background: linear-gradient(135deg, #eff6ff, #dbeafe);
   color: var(--primary);
   font-size: 0.82rem;
   font-weight: 600;
   padding: 5px 16px;
   border-radius: 20px;
   letter-spacing: 0.5px;
   text-transform: uppercase;
   margin-bottom: 12px;
 }

 .section-title {
   font-size: clamp(1.6rem, 3vw, 2.2rem);
   font-weight: 800;
   color: var(--dark);
   margin-bottom: 10px;
 }

 .section-sub {
   color: var(--text-light);
   font-size: 1rem;
   max-width: 520px;
   margin: 0 auto;
 }

 /* ---- FEATURE CARDS ---- */
 .feature-card {
   background: var(--white);
   border-radius: var(--radius);
   padding: 28px 24px;
   text-align: center;
   box-shadow: var(--shadow);
   border: 1px solid var(--border);
   transition: all 0.3s ease;
   height: 100%;
 }

 .feature-card:hover {
   transform: translateY(-6px);
   box-shadow: var(--shadow-hover);
 }

 .feature-icon-wrap {
   width: 64px;
   height: 64px;
   border-radius: 18px;
   display: flex;
   align-items: center;
   justify-content: center;
   margin: 0 auto 16px;
   font-size: 1.6rem;
 }

 .feature-card h5 {
   font-weight: 700;
   color: var(--dark);
   margin-bottom: 8px;
 }

 .feature-card p {
   color: var(--text-light);
   font-size: 0.9rem;
   margin: 0;
 }

 /* Demo Banner */
 .demo-banner {
   background: linear-gradient(135deg, var(--primary), var(--primary-dark));
   color: white;
   border-radius: var(--radius);
   padding: 28px 36px;
   box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
 }

 .demo-banner h4 {
   font-weight: 700;
 }

 .demo-banner p {
   opacity: 0.85;
 }

 .btn-white-demo {
   background: white;
   color: var(--primary) !important;
   border: none;
   border-radius: 25px;
   padding: 0.6rem 1.6rem;
   font-weight: 700;
   font-size: 0.95rem;
   transition: all 0.25s;
 }

 .btn-white-demo:hover {
   transform: translateY(-2px);
   box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
   text-decoration: none;
 }

 /* ---- PRICING CARDS ---- */
 .price-card {
   background: var(--white);
   border-radius: var(--radius);
   box-shadow: var(--shadow);
   border: 1px solid var(--border);
   overflow: hidden;
   transition: all 0.3s ease;
   position: relative;
   height: 100%;
 }

 .price-card:hover {
   transform: translateY(-8px);
   box-shadow: var(--shadow-hover);
 }

 .price-card.popular {
   border: 2px solid var(--secondary);
   transform: translateY(-8px);
   box-shadow: 0 12px 40px rgba(16, 185, 129, 0.2);
 }

 .price-card.popular:hover {
   transform: translateY(-14px);
 }

 .popular-badge {
   position: absolute;
   top: 14px;
   right: 14px;
   background: white;
   color: var(--secondary);
   font-size: 0.72rem;
   font-weight: 700;
   padding: 4px 12px;
   border-radius: 20px;
   text-transform: uppercase;
   letter-spacing: 0.5px;
   z-index: 2;
 }

 .price-card-header {
   padding: 28px 24px 24px;
   text-align: center;
   color: white;
 }

 .price-icon {
   width: 56px;
   height: 56px;
   background: rgba(255, 255, 255, 0.2);
   border-radius: 16px;
   display: flex;
   align-items: center;
   justify-content: center;
   margin: 0 auto;
   font-size: 1.5rem;
 }

 .price-card-header h5 {
   font-weight: 700;
   margin-bottom: 4px;
 }

 .price-card-header p {
   opacity: 0.85;
   font-size: 0.9rem;
 }

 .price-card-body {
   padding: 24px;
 }

 .price-amount {
   font-size: 2.4rem;
   font-weight: 800;
   color: var(--dark);
   margin-bottom: 18px;
   text-align: center;
 }

 .price-amount span {
   font-size: 1rem;
   font-weight: 500;
   color: var(--text-light);
 }

 .price-features {
   list-style: none;
   padding: 0;
   margin-bottom: 24px;
 }

 .price-features li {
   display: flex;
   align-items: center;
   gap: 10px;
   padding: 7px 0;
   color: var(--text);
   font-size: 0.9rem;
   border-bottom: 1px solid #f1f5f9;
 }

 .price-features li:last-child {
   border-bottom: none;
 }

 .price-features li i {
   color: var(--secondary);
   font-size: 0.9rem;
   flex-shrink: 0;
 }

 .btn-plan {
   display: block;
   width: 100%;
   border: none;
   border-radius: 25px;
   padding: 0.65rem;
   font-weight: 700;
   font-size: 0.95rem;
   text-align: center;
   transition: all 0.25s;
 }

 .btn-plan:hover {
   transform: translateY(-2px);
   text-decoration: none;
 }

 .btn-plan-blue {
   background: linear-gradient(135deg, #3b82f6, #1d4ed8);
   color: white !important;
   box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
 }

 .btn-plan-green {
   background: linear-gradient(135deg, #10b981, #065f46);
   color: white !important;
   box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
 }

 .btn-plan-orange {
   background: linear-gradient(135deg, #f59e0b, #b45309);
   color: white !important;
   box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
 }

 /* Demo Plan Card */
 .demo-plan-card {
   background: linear-gradient(135deg, #fffbeb, #fef3cd);
   border: 2px solid #fde68a;
   border-radius: var(--radius);
   padding: 24px 28px;
   box-shadow: 0 4px 20px rgba(245, 158, 11, 0.15);
 }

 .demo-plan-icon {
   width: 52px;
   height: 52px;
   background: linear-gradient(135deg, #f59e0b, #d97706);
   color: white;
   border-radius: 14px;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.4rem;
   margin: 0 auto;
 }

 .demo-plan-price {
   font-size: 1.8rem;
   font-weight: 800;
   color: var(--dark);
 }

 .btn-demo-sm {
   background: linear-gradient(135deg, #f59e0b, #d97706);
   color: white !important;
   border: none;
   border-radius: 20px;
   padding: 0.4rem 1.2rem;
   font-weight: 600;
   transition: all 0.2s;
 }

 .btn-demo-sm:hover {
   transform: translateY(-2px);
   text-decoration: none;
 }

 /* ---- BOARDS SECTION ---- */
 .boards-section {
   background: var(--white);
 }

 .board-card {
   background: var(--white);
   border-radius: var(--radius);
   padding: 28px 20px;
   text-align: center;
   box-shadow: var(--shadow);
   border: 1px solid var(--border);
   transition: all 0.3s;
   height: 100%;
 }

 .board-card:hover {
   transform: translateY(-6px);
   box-shadow: var(--shadow-hover);
 }

 .board-icon {
   width: 64px;
   height: 64px;
   border-radius: 18px;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.6rem;
   margin: 0 auto 14px;
 }

 .board-card h6 {
   font-weight: 700;
   color: var(--dark);
   margin-bottom: 8px;
 }

 .board-tag {
   background: var(--bg-light);
   color: var(--primary);
   font-size: 0.78rem;
   font-weight: 700;
   padding: 3px 14px;
   border-radius: 20px;
   letter-spacing: 0.5px;
 }

 .medium-card {
   background: linear-gradient(135deg, #eff6ff, #dbeafe);
   border-radius: var(--radius);
   padding: 28px 36px;
   text-align: center;
   border: 1px solid #bfdbfe;
 }

 .medium-card h5 {
   font-weight: 700;
   color: var(--dark);
 }

 .medium-badge {
   display: inline-flex;
   align-items: center;
   background: white;
   border-radius: 25px;
   padding: 8px 22px;
   font-size: 0.95rem;
   font-weight: 600;
   color: var(--dark);
   margin: 6px 10px;
   box-shadow: 0 2px 8px rgba(59, 130, 246, 0.12);
 }

 /* ---- CLASS GRID ---- */
 .class-grid {
   display: flex;
   justify-content: center;
   flex-wrap: wrap;
   gap: 14px;
 }

 .class-item {
   width: 90px;
   height: 90px;
   background: white;
   border-radius: 18px;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.35rem;
   font-weight: 800;
   color: var(--primary);
   border: 2px solid #dbeafe;
   box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
   transition: all 0.3s;
   cursor: default;
 }

 .class-item:hover {
   transform: translateY(-4px) scale(1.05);
   box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
   border-color: var(--primary);
 }

 .class-item.primary-class {
   background: linear-gradient(135deg, var(--primary), var(--primary-dark));
   color: white;
   border-color: transparent;
   box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
 }

 .class-item sup {
   font-size: 0.65rem;
 }

 /* ---- FLOW STEPS (How it works) ---- */
 .flow-step-card {
   background: #fff;
   border: 2px solid #dbeafe;
   border-radius: 16px;
   padding: 22px 12px 18px;
   text-align: center;
   height: 100%;
   min-height: 170px;
   position: relative;
   box-shadow: 0 4px 14px rgba(59, 130, 246, 0.08);
   transition: transform 0.2s ease, box-shadow 0.2s ease;
 }

 .flow-step-card:hover {
   transform: translateY(-3px);
   box-shadow: 0 10px 24px rgba(59, 130, 246, 0.14);
 }

 .flow-step-card--accent {
   background: linear-gradient(135deg, var(--primary), var(--primary-dark));
   border-color: transparent;
   color: #fff;
 }

 .flow-step-card--accent .flow-step-icon {
   color: rgba(255, 255, 255, 0.95);
 }

 .flow-step-card--accent .flow-step-title {
   color: #fff;
 }

 .flow-step-card--accent .flow-step-text {
   color: rgba(255, 255, 255, 0.88);
 }

 .flow-step-card--accent .flow-step-num {
   background: rgba(255, 255, 255, 0.22);
   color: #fff;
 }

 .flow-step-num {
   position: absolute;
   top: 10px;
   left: 10px;
   font-size: 0.68rem;
   font-weight: 800;
   color: var(--primary);
   background: #eff6ff;
   width: 22px;
   height: 22px;
   line-height: 22px;
   border-radius: 50%;
 }

 .flow-step-icon {
   font-size: 1.7rem;
   color: var(--primary);
   margin: 10px 0 10px;
 }

 .flow-step-title {
   font-size: 0.94rem;
   font-weight: 700;
   margin-bottom: 4px;
   color: var(--dark);
   line-height: 1.3;
 }

 .flow-step-text {
   font-size: 0.8rem;
   color: var(--text-light);
   margin: 0;
   line-height: 1.4;
 }

 /* ---- CONTACT SECTION ---- */
 .contact-info-wrap {
   background: linear-gradient(135deg, var(--dark), #1e3a5f);
   color: white;
   border-radius: var(--radius);
   padding: 36px 32px;
   height: 100%;
 }

 .contact-info-wrap h4 {
   font-weight: 700;
 }

 .contact-item {
   display: flex;
   gap: 16px;
   margin-bottom: 22px;
   align-items: flex-start;
 }

 .contact-icon-wrap {
   width: 44px;
   height: 44px;
   background: rgba(255, 255, 255, 0.1);
   border-radius: 12px;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1rem;
   color: #60a5fa;
   flex-shrink: 0;
 }

 .contact-item strong {
   display: block;
   font-weight: 600;
   margin-bottom: 4px;
   font-size: 0.85rem;
   color: #94a3b8;
   letter-spacing: 0.5px;
   text-transform: uppercase;
 }

 .contact-item p,
 .contact-item a {
   color: #e2e8f0;
   font-size: 0.92rem;
   text-decoration: none;
 }

 .contact-item a:hover {
   color: #60a5fa;
 }

 .social-links {
   display: flex;
   gap: 10px;
 }

 .social-btn {
   width: 40px;
   height: 40px;
   border-radius: 10px;
   display: flex;
   align-items: center;
   justify-content: center;
   color: white;
   font-size: 0.95rem;
   transition: all 0.25s;
   text-decoration: none;
 }

 .social-btn.facebook {
   background: #1877f2;
 }

 .social-btn.youtube {
   background: #ff0000;
 }

 .social-btn.whatsapp {
   background: #25d366;
 }

 .social-btn.instagram {
   background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
 }

 .social-btn:hover {
   transform: translateY(-3px);
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
 }

 .contact-form-wrap {
   background: white;
   border-radius: var(--radius);
   padding: 36px 32px;
   box-shadow: var(--shadow);
   border: 1px solid var(--border);
 }

 .contact-form-wrap h4 {
   font-weight: 700;
   color: var(--dark);
 }

 label {
   font-size: 0.85rem;
   font-weight: 600;
   color: var(--text);
   margin-bottom: 6px;
 }

 .custom-input {
   border: 1.5px solid var(--border) !important;
   border-radius: var(--radius-sm) !important;
   padding: 0.65rem 1rem !important;
   font-family: 'Poppins', sans-serif !important;
   font-size: 0.9rem !important;
   color: var(--text) !important;
   transition: border-color 0.2s, box-shadow 0.2s !important;
 }

 .custom-input:focus {
   border-color: var(--primary) !important;
   box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12) !important;
   outline: none !important;
 }

 .btn-submit-form {
   background: linear-gradient(135deg, var(--primary), var(--primary-dark));
   color: white !important;
   border: none;
   border-radius: 25px;
   padding: 0.75rem;
   font-weight: 700;
   font-size: 1rem;
   box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
   transition: all 0.25s;
 }

 .btn-submit-form:hover {
   transform: translateY(-2px);
   box-shadow: 0 8px 24px rgba(59, 130, 246, 0.45);
 }

 /* ---- FOOTER ---- */
 .main-footer {
   background: var(--dark);
   color: #94a3b8;
   padding: 56px 0 28px;
 }

 .footer-desc {
   font-size: 0.88rem;
   line-height: 1.7;
   color: #64748b;
 }

 .footer-heading {
   color: white;
   font-weight: 700;
   font-size: 0.95rem;
   text-transform: uppercase;
   letter-spacing: 0.5px;
   margin-bottom: 16px;
 }

 .footer-links {
   list-style: none;
   padding: 0;
 }

 .footer-links li {
   margin-bottom: 8px;
 }

 .footer-links a {
   color: #64748b;
   font-size: 0.88rem;
   text-decoration: none;
   transition: color 0.2s;
 }

 .footer-links a:hover {
   color: #60a5fa;
 }

 .footer-contact-item {
   display: flex;
   gap: 12px;
   align-items: flex-start;
   margin-bottom: 12px;
   font-size: 0.88rem;
   color: #64748b;
 }

 .footer-contact-item i {
   color: #3b82f6;
   margin-top: 3px;
   flex-shrink: 0;
 }

 .footer-divider {
   border-color: #1e293b;
   margin: 28px 0 20px;
 }

 .footer-copy {
   color: #475569;
   font-size: 0.85rem;
 }

 .footer-social {
   width: 34px;
   height: 34px;
   background: #1e293b;
   color: #64748b;
   border-radius: 8px;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   font-size: 0.85rem;
   margin-left: 8px;
   text-decoration: none;
   transition: all 0.2s;
 }

 .footer-social:hover {
   background: var(--primary);
   color: white;
   transform: translateY(-2px);
 }

 /* ---- BACK TO TOP ---- */
 .back-to-top {
   position: fixed;
   bottom: 90px;
   right: 24px;
   width: 44px;
   height: 44px;
   background: var(--primary);
   color: white;
   border: none;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
   transition: all 0.3s;
   opacity: 0;
   visibility: hidden;
   z-index: 999;
   font-size: 1rem;
 }

 .back-to-top.show {
   opacity: 1;
   visibility: visible;
 }

 .back-to-top:hover {
   transform: translateY(-3px);
   box-shadow: 0 8px 24px rgba(59, 130, 246, 0.5);
 }

 /* ════════════════════════════════════════════════════════════
   HOMEPAGE BANNER CAROUSEL
   ════════════════════════════════════════════════════════════ */
 .banner-carousel-section {
   width: 100%;
   background: #0f172a;
   overflow: hidden;
 }

 .banner-slide-img {
   width: 100%;
   height: 420px;
   background-size: cover;
   background-position: center center;
   background-repeat: no-repeat;
   position: relative;
 }

 .banner-slide-img::after {
   content: '';
   position: absolute;
   inset: 0;
   background: linear-gradient(to right, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .18) 60%, transparent 100%);
 }

 .banner-caption {
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   top: 0;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: flex-start;
   padding: 2rem 4rem;
   text-align: left;
   z-index: 2;
 }

 .banner-caption-title {
   font-size: clamp(1.4rem, 4vw, 2.6rem);
   font-weight: 800;
   color: #fff;
   text-shadow: 0 2px 8px rgba(0, 0, 0, .4);
   margin-bottom: .4rem;
   line-height: 1.2;
 }

 .banner-caption-sub {
   font-size: clamp(.9rem, 2vw, 1.2rem);
   color: rgba(255, 255, 255, .88);
   margin-bottom: 1.2rem;
   text-shadow: 0 1px 4px rgba(0, 0, 0, .3);
 }

 .banner-cta-btn {
   background: #ef4444;
   color: #fff;
   font-weight: 700;
   padding: .55rem 1.6rem;
   border-radius: 50px;
   font-size: .95rem;
   border: none;
   transition: background .2s, transform .15s;
   box-shadow: 0 4px 16px rgba(239, 68, 68, .45);
 }

 .banner-cta-btn:hover {
   background: #dc2626;
   color: #fff;
   transform: translateY(-2px);
 }

 /* Carousel indicators — slightly customised */
 .banner-carousel-section .carousel-indicators li {
   width: 10px;
   height: 10px;
   border-radius: 50%;
   background: rgba(255, 255, 255, .5);
   border: none;
   margin: 0 4px;
 }

 .banner-carousel-section .carousel-indicators .active {
   background: #ef4444;
   transform: scale(1.25);
 }

 .banner-carousel-section .carousel-control-prev,
 .banner-carousel-section .carousel-control-next {
   width: 48px;
   height: 48px;
   top: 50%;
   transform: translateY(-50%);
   bottom: auto;
   background: rgba(0, 0, 0, .35);
   border-radius: 50%;
   margin: 0 12px;
   transition: background .2s;
 }

 .banner-carousel-section .carousel-control-prev:hover,
 .banner-carousel-section .carousel-control-next:hover {
   background: rgba(0, 0, 0, .65);
 }

 @media (max-width: 767px) {
   .banner-slide-img {
     height: 220px;
   }

   .banner-caption {
     padding: 1.2rem 1.4rem;
   }

   .banner-caption-title {
     font-size: 1.15rem;
   }

   .banner-caption-sub {
     font-size: .8rem;
     margin-bottom: .8rem;
   }

   .banner-cta-btn {
     padding: .4rem 1rem;
     font-size: .8rem;
   }
 }

 @media (max-width: 480px) {
   .banner-slide-img {
     height: 175px;
   }
 }

 /* ════════════════════════════════════════════════════════════
   WHATSAPP CHAT WIDGET
   ════════════════════════════════════════════════════════════ */
 /* Widget anchors to bottom-right; bubble stays at true bottom */
 .wa-widget {
   position: fixed;
   bottom: max(12px, env(safe-area-inset-bottom, 0px));
   right: max(12px, env(safe-area-inset-right, 0px));
   z-index: 1100;
   width: auto;
   height: auto;
   display: block;
   padding: 0;
   margin: 0;
 }

 /* Cart page: fixed bar has WhatsApp — hide duplicate bubble */
 body.page-my-cart .wa-widget {
   display: none !important;
 }

 /* Bubble button */
 .wa-bubble {
   width: 58px;
   height: 58px;
   border-radius: 50%;
   background: #25d366;
   border: none;
   color: #fff;
   font-size: 1.65rem;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5);
   transition: transform 0.25s, box-shadow 0.25s;
   position: relative;
   animation: waPop 2.4s ease-in-out infinite;
   flex-shrink: 0;
 }

 .wa-bubble:hover {
   transform: scale(1.1);
   box-shadow: 0 10px 30px rgba(37, 211, 102, .6);
   animation: none;
 }

 .wa-bubble.active {
   animation: none;
   background: #128c7e;
 }

 .wa-bubble-icon {
   transition: opacity 0.2s, transform 0.2s;
 }

 .wa-bubble-close {
   position: absolute;
   opacity: 0;
   transform: scale(0.5) rotate(-90deg);
   transition: opacity 0.2s, transform 0.2s;
   font-size: 1.1rem;
 }

 .wa-bubble.active .wa-bubble-icon {
   opacity: 0;
   transform: scale(0.5);
 }

 .wa-bubble.active .wa-bubble-close {
   opacity: 1;
   transform: scale(1) rotate(0deg);
 }

 @keyframes waPop {

   0%,
   100% {
     transform: scale(1);
   }

   50% {
     transform: scale(1.08);
   }
 }

 /* Popup floats above bubble — does NOT push bubble up the screen */
 .wa-popup {
   position: absolute;
   right: 0;
   bottom: calc(100% + 12px);
   width: 320px;
   max-width: calc(100vw - 24px);
   background: #fff;
   border-radius: 18px;
   box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
   overflow: hidden;
   opacity: 0;
   transform: translateY(8px) scale(0.96);
   pointer-events: none;
   transition: opacity 0.28s ease, transform 0.28s ease;
   transform-origin: bottom right;
 }

 .wa-popup.is-open {
   opacity: 1;
   transform: translateY(0) scale(1);
   pointer-events: auto;
 }

 /* Header */
 .wa-popup-head {
   background: #075e54;
   color: #fff;
   padding: 14px 16px;
   display: flex;
   align-items: center;
   gap: 12px;
 }

 .wa-popup-avatar {
   width: 42px;
   height: 42px;
   background: #25d366;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.4rem;
   flex-shrink: 0;
 }

 .wa-popup-head-info {
   flex: 1;
 }

 .wa-popup-head-info strong {
   display: block;
   font-size: .95rem;
 }

 .wa-popup-head-info span {
   font-size: .75rem;
   opacity: .85;
 }

 .wa-popup-close {
   background: none;
   border: none;
   color: rgba(255, 255, 255, .8);
   font-size: 1rem;
   cursor: pointer;
   padding: 0 4px;
   line-height: 1;
   transition: color .2s;
 }

 .wa-popup-close:hover {
   color: #fff;
 }

 /* Body */
 .wa-popup-body {
   padding: 16px;
   background: #ece5dd;
 }

 .wa-chat-bubble {
   background: #fff;
   border-radius: 10px 10px 10px 0;
   padding: 10px 14px;
   margin-bottom: 14px;
   box-shadow: 0 1px 4px rgba(0, 0, 0, .1);
   font-size: .88rem;
   color: #111;
 }

 .wa-chat-time {
   font-size: .7rem;
   color: #888;
   display: block;
   margin-top: 4px;
 }

 /* Form */
 .wa-form-group {
   margin-bottom: 10px;
 }

 .wa-input {
   width: 100%;
   padding: 9px 12px;
   border: 1.5px solid #e0e0e0;
   border-radius: 10px;
   font-size: .875rem;
   background: #fff;
   outline: none;
   transition: border-color .2s;
   resize: none;
   font-family: inherit;
 }

 .wa-input:focus {
   border-color: #25d366;
 }

 .wa-textarea {
   min-height: 70px;
 }

 .wa-err {
   font-size: .8rem;
   color: #e53e3e;
   margin-bottom: 8px;
 }

 .wa-send-btn {
   width: 100%;
   padding: 10px;
   background: #25d366;
   color: #fff;
   border: none;
   border-radius: 10px;
   font-size: .9rem;
   font-weight: 600;
   cursor: pointer;
   transition: background .2s, transform .15s;
 }

 .wa-send-btn:hover {
   background: #1ebe5d;
   transform: translateY(-1px);
 }

 .wa-send-btn:disabled {
   opacity: .7;
   cursor: not-allowed;
   transform: none;
 }

 @media (max-width: 400px) {
   .wa-widget {
     bottom: 8px;
     right: 12px;
   }

   .wa-popup {
     width: calc(100vw - 28px);
   }
 }

 /* ── Cart page: sticky WhatsApp bar (bottom of screen) ── */
 .cart-wa-bar {
   position: fixed;
   left: 0;
   right: 0;
   bottom: 0;
   z-index: 1050;
   padding: 10px 0 calc(12px + env(safe-area-inset-bottom, 0px));
   background: linear-gradient(to top, #fff 70%, rgba(255, 255, 255, .92));
   border-top: 1px solid #e2e8f0;
   box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
 }

 .cart-wa-bar .btn-wa-order {
   margin-bottom: 0;
   box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
 }

 body.cart-drawer-open {
   overflow: hidden;
 }

 /* ---- QUICK COMMERCE SHOP (cart) ---- */
 .btn-cart {
   position: relative;
   width: 44px;
   height: 44px;
   border-radius: 12px;
   border: 2px solid #e2e8f0;
   background: #fff;
   color: var(--primary);
   display: inline-flex;
   align-items: center;
   justify-content: center;
   font-size: 1.1rem;
   cursor: pointer;
   transition: border-color 0.2s, box-shadow 0.2s, color 0.2s;
 }

 .btn-cart:hover {
   border-color: var(--primary);
   box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
   color: var(--primary-dark);
 }

 .cart-badge {
   position: absolute;
   top: -4px;
   right: -4px;
   min-width: 20px;
   height: 20px;
   padding: 0 5px;
   border-radius: 10px;
   background: #ef4444;
   color: #fff;
   font-size: 0.65rem;
   font-weight: 800;
   line-height: 20px;
   text-align: center;
 }

 .section-qc-shop {
   background: linear-gradient(180deg, #f8fafc 0%, #fff 12%);
 }

 .section-shop-top {
   padding-top: 48px !important;
 }

 html {
   scroll-behavior: smooth;
 }

 [id^="product-"] {
   scroll-margin-top: 88px;
 }

 /* Circular product rail (top of shop) */
 .product-circles-rail {
   display: flex;
   flex-wrap: nowrap;
   gap: 14px;
   overflow-x: auto;
   padding: 8px 4px 16px;
   margin: 0 -8px;
   -webkit-overflow-scrolling: touch;
   scrollbar-width: thin;
 }

 .product-circles-rail::-webkit-scrollbar {
   height: 6px;
 }

 .product-circles-rail::-webkit-scrollbar-thumb {
   background: #cbd5e1;
   border-radius: 4px;
 }

 .product-circle-link {
   flex: 0 0 auto;
   width: 96px;
   text-align: center;
   text-decoration: none !important;
   color: inherit;
   transition: transform 0.2s;
 }

 .product-circle-link:hover {
   transform: translateY(-4px);
   color: inherit;
 }

 .product-circle-link:hover .product-circle {
   box-shadow: 0 10px 28px rgba(59, 130, 246, 0.35);
 }

 .product-circle {
   width: 88px;
   height: 88px;
   margin: 0 auto 10px;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   box-shadow: 0 6px 20px rgba(15, 23, 42, 0.15);
   border: 3px solid rgba(255, 255, 255, 0.35);
 }

 .product-circle-icon {
   font-size: 2rem;
   color: rgba(255, 255, 255, 0.95);
 }

 .product-circle-label {
   display: block;
   font-size: 0.72rem;
   font-weight: 600;
   color: var(--dark);
   line-height: 1.25;
   max-height: 2.5em;
   overflow: hidden;
 }

 .shop-grid-heading {
   font-size: 1.15rem;
   font-weight: 700;
   color: var(--text-light);
 }

 /* Why Choose — 5 columns (wrap on small screens) */
 .why-choose-grid {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: 1.25rem;
 }

 .why-choose-item {
   flex: 1 1 160px;
   max-width: 220px;
   min-width: 140px;
 }

 .feature-card--circle {
   border-radius: 20px;
 }

 .feature-icon-wrap--round {
   width: 72px !important;
   height: 72px !important;
   border-radius: 50% !important;
   margin-left: auto;
   margin-right: auto;
 }

 @media (min-width: 992px) {
   .product-circles-rail {
     flex-wrap: wrap;
     justify-content: center;
     overflow: visible;
   }

   .product-circle-link {
     width: 108px;
   }

   .product-circle {
     width: 96px;
     height: 96px;
   }

   .product-circle-icon {
     font-size: 2.25rem;
   }
 }

 .qc-card {
   position: relative;
   background: #fff;
   border-radius: 18px;
   overflow: hidden;
   border: 1px solid var(--border);
   box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
   height: 100%;
   display: flex;
   flex-direction: column;
   transition: box-shadow 0.25s, transform 0.25s;
 }

 .qc-card:hover {
   box-shadow: 0 14px 40px rgba(59, 130, 246, 0.12);
   transform: translateY(-2px);
 }

 .qc-tag {
   position: absolute;
   top: 12px;
   right: 12px;
   z-index: 2;
   background: rgba(255, 255, 255, 0.95);
   color: var(--dark);
   font-size: 0.7rem;
   font-weight: 700;
   padding: 4px 10px;
   border-radius: 20px;
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
 }

 .qc-card-top {
   height: 120px;
   display: flex;
   align-items: center;
   justify-content: center;
 }

 .qc-card-icon {
   font-size: 3rem;
   color: rgba(255, 255, 255, 0.95);
 }

 .qc-card-img {
   width: 100%;
   height: 120px;
   object-fit: cover;
   display: block;
 }

 .qc-card-body {
   padding: 18px 18px 20px;
   flex: 1;
   display: flex;
   flex-direction: column;
 }

 .qc-card-title {
   font-size: 1.05rem;
   font-weight: 700;
   color: var(--dark);
   margin-bottom: 6px;
   line-height: 1.3;
 }

 .qc-desc {
   font-size: 0.82rem;
   color: var(--text-light);
   margin-bottom: 12px;
   flex: 1;
   line-height: 1.45;
 }

 .qc-price-row {
   margin-bottom: 12px;
 }

 .qc-price {
   font-size: 1.5rem;
   font-weight: 800;
   color: var(--dark);
 }

 .qc-unit {
   font-size: 0.88rem;
   color: var(--text-light);
   font-weight: 500;
 }

 .qc-qty-row {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 0;
   margin-bottom: 12px;
   border: 1.5px solid #e2e8f0;
   border-radius: 12px;
   overflow: hidden;
   background: #f8fafc;
 }

 .qc-qty-row--sm {
   margin-bottom: 0;
   border-radius: 10px;
   display: inline-flex;
 }

 .qc-qty-btn {
   width: 40px;
   height: 40px;
   border: none;
   background: #fff;
   color: var(--primary);
   font-size: 1.25rem;
   font-weight: 700;
   cursor: pointer;
   line-height: 1;
   transition: background 0.15s;
 }

 .qc-qty-btn:hover {
   background: #eff6ff;
 }

 .qc-qty-input {
   width: 48px;
   border: none;
   background: transparent;
   text-align: center;
   font-weight: 700;
   font-size: 1rem;
   color: var(--dark);
   padding: 0;
   -moz-appearance: textfield;
 }

 .qc-qty-input::-webkit-outer-spin-button,
 .qc-qty-input::-webkit-inner-spin-button {
   -webkit-appearance: none;
   margin: 0;
 }

 .qc-qty-val {
   min-width: 28px;
   text-align: center;
   font-weight: 700;
   font-size: 0.95rem;
   padding: 0 6px;
 }

 .btn-qc-add {
   width: 100%;
   border: none;
   border-radius: 12px;
   padding: 0.65rem 1rem;
   font-weight: 700;
   font-size: 0.92rem;
   background: linear-gradient(135deg, #059669, #047857);
   color: #fff !important;
   box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
   transition: transform 0.2s, box-shadow 0.2s;
 }

 .btn-qc-add:hover {
   transform: translateY(-1px);
   box-shadow: 0 6px 18px rgba(5, 150, 105, 0.45);
   color: #fff !important;
 }

 .btn-qc-add:disabled {
   opacity: 0.65;
   cursor: not-allowed;
   transform: none;
 }

 /* Cart drawer */
 .cart-drawer {
   position: fixed;
   inset: 0;
   z-index: 2000;
   pointer-events: none;
   visibility: hidden;
 }

 .cart-drawer.is-open {
   pointer-events: auto;
   visibility: visible;
 }

 .cart-drawer-backdrop {
   position: absolute;
   inset: 0;
   background: rgba(15, 23, 42, 0.45);
   opacity: 0;
   transition: opacity 0.3s ease;
 }

 .cart-drawer.is-open .cart-drawer-backdrop {
   opacity: 1;
 }

 .cart-drawer-panel {
   position: absolute;
   top: 0;
   right: 0;
   width: 100%;
   max-width: 400px;
   height: 100%;
   background: #fff;
   box-shadow: -8px 0 32px rgba(15, 23, 42, 0.15);
   display: flex;
   flex-direction: column;
   transform: translateX(100%);
   transition: transform 0.3s ease;
 }

 .cart-drawer.is-open .cart-drawer-panel {
   transform: translateX(0);
 }

 .cart-drawer-header {
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 18px 20px;
   border-bottom: 1px solid var(--border);
   font-weight: 700;
   color: var(--dark);
 }

 .cart-drawer-close {
   border: none;
   background: #f1f5f9;
   width: 36px;
   height: 36px;
   border-radius: 10px;
   font-size: 1.5rem;
   line-height: 1;
   cursor: pointer;
   color: var(--dark);
 }

 .cart-drawer-body {
   flex: 1;
   overflow-y: auto;
   padding: 16px;
 }

 .cart-drawer-footer {
   padding: 16px 20px 24px;
   border-top: 1px solid var(--border);
   background: #fafafa;
 }

 .cart-line {
   padding: 14px 0;
   border-bottom: 1px solid var(--border);
 }

 .cart-line:last-child {
   border-bottom: none;
 }

 .cart-line-main {
   display: flex;
   flex-direction: column;
   gap: 2px;
   margin-bottom: 8px;
 }

 .cart-line-name {
   font-weight: 600;
   font-size: 0.92rem;
   color: var(--dark);
 }

 .cart-line-meta {
   font-size: 0.78rem;
   color: var(--text-light);
 }

 .cart-line-actions {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 8px;
   flex-wrap: wrap;
 }

 .cart-line-total {
   text-align: right;
   font-weight: 800;
   color: var(--dark);
   font-size: 0.95rem;
   margin-top: 6px;
 }

 .btn-qc-wa {
   background: #25d366 !important;
   color: #fff !important;
   border-radius: 12px;
   font-weight: 700;
   padding: 0.75rem;
   border: none;
 }

 .btn-qc-wa:hover {
   background: #1fb855 !important;
   color: #fff !important;
 }

 /* ---- FORM SUCCESS ---- */
 .form-success {
   background: #d1fae5;
   border: 1px solid #6ee7b7;
   color: #065f46;
   border-radius: var(--radius-sm);
   padding: 14px 20px;
   text-align: center;
   font-weight: 500;
   margin-top: 16px;
   display: none;
 }

 /* ---- RESPONSIVE ---- */
 @media (max-width: 991px) {
   .hero-section {
     padding: 60px 0 60px;
   }

   .min-vh-hero {
     min-height: auto;
   }

   .hero-stats {
     flex-wrap: wrap;
     gap: 16px;
   }

   .hero-illustration {
     width: 220px;
     height: 220px;
   }

   .illus-circle {
     width: 170px;
     height: 170px;
   }

   .illus-icon {
     font-size: 3.8rem;
   }

   .floating-badge {
     font-size: 0.75rem;
     padding: 6px 10px;
   }

   .price-card.popular {
     transform: none;
   }
 }

 @media (max-width: 767px) {
   .section-pad {
     padding: 56px 0;
   }

   .hero-section {
     padding: 56px 0 48px;
   }

   .hero-visual-icons {
     height: 220px;
     max-width: 280px;
   }

   .hero-visual-ring {
     width: 170px;
     height: 170px;
   }

   .hero-visual-main {
     font-size: 3.35rem;
   }

   .hero-float-icon {
     width: 40px;
     height: 40px;
     font-size: 1rem;
   }

   .hero-title {
     font-size: 1.9rem;
   }

   .demo-banner {
     padding: 22px 20px;
   }

   .contact-info-wrap,
   .contact-form-wrap {
     padding: 24px 20px;
   }

   .class-item {
     width: 76px;
     height: 76px;
     font-size: 1.1rem;
   }
 }

 @media (max-width: 575px) {
   .hero-stats .stat-divider {
     display: none;
   }

   .hero-stats {
     gap: 10px;
   }
 }

 /* ── Page hero (inner pages) ── */
 .page-hero {
   background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
   padding: 56px 0 48px;
   color: #fff;
   position: relative;
   overflow: hidden;
 }

 .page-hero::before {
   content: '';
   position: absolute;
   inset: 0;
   background: radial-gradient(ellipse at 70% 50%, rgba(59, 130, 246, .18) 0%, transparent 60%);
 }

 .page-hero .section-tag {
   color: #93c5fd;
 }

 .page-hero .section-title {
   color: #fff;
 }

 .page-hero .section-sub {
   color: #cbd5e1;
 }

 /* ── Navbar active link ── */
 .main-nav .nav-link.active {
   color: var(--primary) !important;
   font-weight: 600;
 }

 /* ── About page ── */
 .about-visual-ring {
   width: 220px;
   height: 220px;
   border-radius: 50%;
   background: linear-gradient(135deg, #3b82f6, #1d4ed8);
   display: flex;
   align-items: center;
   justify-content: center;
   position: relative;
   box-shadow: 0 12px 40px rgba(59, 130, 246, .35);
 }

 .about-visual-icon {
   font-size: 5rem;
   color: #fff;
 }

 .about-float {
   position: absolute;
   width: 44px;
   height: 44px;
   border-radius: 50%;
   background: #fff;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.2rem;
   box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
   color: var(--primary);
 }

 .about-float-1 {
   top: -10px;
   right: 20px;
 }

 .about-float-2 {
   bottom: 10px;
   right: -12px;
   color: #25d366;
 }

 .about-float-3 {
   bottom: 10px;
   left: -12px;
   color: #10b981;
 }

 .about-float-4 {
   top: -10px;
   left: 20px;
   color: #f59e0b;
 }

 .about-stat-pill {
   display: inline-flex;
   align-items: center;
   background: #f1f5f9;
   border-radius: 50px;
   padding: 6px 16px;
   font-size: .88rem;
   font-weight: 600;
 }

 /* ── Delivery page ── */
 .delivery-slot-card {
   background: #f8faff;
   border: 1.5px solid var(--border);
   border-radius: var(--radius);
   padding: 24px 16px;
 }

 .delivery-slot-icon {
   font-size: 2.4rem;
 }

 /* ── Map embed ── */
 .map-embed {
   border-radius: var(--radius);
   overflow: hidden;
   box-shadow: var(--shadow);
 }

 /* ── Page hero small variant ── */
 .page-hero--sm {
   padding: 32px 0 28px;
 }

 /* ── Cart page ── */
 .cart-page-section {
   background: var(--bg-light);
   min-height: 30vh;
   padding-top: 32px;
   padding-bottom: 40px;
 }

 /* Empty state */
 .cp-empty-state {
   text-align: center;
   padding: 80px 20px;
 }

 .cp-empty-icon {
   font-size: 4.5rem;
   color: #cbd5e1;
 }

 /* Items card */
 .cp-items-card {
   background: #fff;
   border-radius: var(--radius);
   box-shadow: var(--shadow);
   overflow: hidden;
 }

 .cp-items-header {
   padding: 16px 20px;
   border-bottom: 1px solid var(--border);
   background: #f8faff;
 }

 /* Single item row — flex layout (works everywhere) */
 .cp-item {
   display: flex;
   align-items: center;
   gap: 12px;
   padding: 14px 20px;
   border-bottom: 1px solid #f1f5f9;
   transition: background .15s;
   color: #1e293b;
 }

 .cp-item:last-child {
   border-bottom: none;
 }

 .cp-item:hover {
   background: #f8faff;
 }

 .cp-item-info {
   flex: 1 1 auto;
   min-width: 0;
 }

 .cp-item-name {
   font-weight: 600;
   font-size: .92rem;
   color: #1e293b;
   display: block;
   line-height: 1.3;
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
 }

 .cp-item-meta {
   font-size: .78rem;
   color: #64748b;
   margin-top: 2px;
   display: block;
 }

 .cp-item-controls {
   display: flex;
   align-items: center;
   gap: 8px;
   flex-shrink: 0;
 }

 .cp-item-total {
   font-weight: 700;
   font-size: .92rem;
   color: var(--primary);
   min-width: 52px;
   text-align: right;
   white-space: nowrap;
   flex-shrink: 0;
 }

 .cp-remove-btn {
   color: #ef4444 !important;
   font-size: .85rem;
   line-height: 1;
   flex-shrink: 0;
 }

 /* Delivery strip */
 .cp-delivery-strip {
   background: #f0fdf4;
   border: 1px solid #bbf7d0;
   border-radius: var(--radius-sm);
   padding: 11px 16px;
   font-size: .85rem;
   color: #166534;
 }

 /* Summary card – sticky on desktop, normal on mobile */
 .cp-summary-card {
   background: #fff;
   border-radius: var(--radius);
   box-shadow: var(--shadow);
   padding: 22px 20px;
 }

 @media (min-width: 992px) {
   .cp-summary-card {
     position: sticky;
     top: 82px;
   }
 }

 .cp-summary-row {
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 8px 0;
   border-bottom: 1px solid #f1f5f9;
   font-size: .9rem;
 }

 .cp-summary-row:last-of-type {
   border-bottom: none;
 }

 .cp-summary-total {
   padding: 12px 0 4px;
   font-size: 1.05rem;
 }

 /* ── Cart page – mobile (< 576px) ── */
 @media (max-width: 575px) {
   .cp-item {
     flex-wrap: wrap;
     gap: 8px;
     padding: 12px 14px;
   }

   .cp-item-info {
     flex: 1 1 100%;
     order: 1;
   }

   .cp-item-controls {
     order: 2;
     flex: 1 1 auto;
   }

   .cp-item-total {
     order: 3;
     min-width: 48px;
     font-size: .88rem;
   }

   .cp-items-header {
     padding: 13px 14px;
   }

   .page-hero--sm {
     padding: 22px 0 18px;
   }

   .page-hero--sm .section-title {
     font-size: 1.6rem;
   }

   .cp-summary-card {
     padding: 18px 14px;
   }
 }

 /* ── WhatsApp order button (cart page) ── */
 .btn-wa-order {
   background: #25d366;
   color: #fff;
   font-weight: 700;
   font-size: .95rem;
   border-radius: 12px;
   padding: 12px 20px;
   border: none;
   transition: background .2s, transform .15s;
   display: flex;
   align-items: center;
   justify-content: center;
 }

 .btn-wa-order:hover,
 .btn-wa-order:focus {
   background: #1ebe5d;
   color: #fff;
   transform: translateY(-1px);
   text-decoration: none;
 }

 /* ── Nav: inline cart icon (desktop) ── */
 .btn-cart-inline {
   display: inline-flex;
   align-items: center;
   font-size: 1rem;
 }

 .nav-cart-link {
   display: flex;
   align-items: center;
   gap: 4px;
 }

 /* Mobile navbar cart icon (shown outside collapse) */
 .btn-cart {
   position: relative;
 }

 .cart-badge {
   position: absolute;
   top: -4px;
   right: -6px;
   min-width: 18px;
   height: 18px;
   line-height: 18px;
   font-size: .68rem;
   font-weight: 700;
   background: #ef4444;
   color: #fff;
   border-radius: 50px;
   padding: 0 4px;
   text-align: center;
 }

 /* ── Payment method selector ── */
 .pay-method-group {
   display: flex;
   flex-direction: column;
   gap: 8px;
   margin-top: 4px;
 }

 .pay-method-option {
   display: flex;
   align-items: center;
   gap: 8px;
   padding: 10px 14px;
   border: 1.5px solid var(--border);
   border-radius: var(--radius-sm);
   cursor: pointer;
   margin: 0;
   font-weight: 500;
   font-size: .9rem;
   transition: border-color .2s, background .2s;
 }

 .pay-method-option input[type="radio"] {
   accent-color: var(--primary);
   width: 16px;
   height: 16px;
   flex-shrink: 0;
 }

 .pay-method-option.is-selected {
   border-color: var(--primary);
   background: #eff6ff;
 }

 /* ── Customer account pages ── */
 .account-page {
   min-height: 70vh;
   padding: 60px 0;
 }

 .account-card {
   background: #fff;
   border-radius: var(--radius);
   box-shadow: var(--shadow);
   padding: 2.5rem;
 }

 .account-card .section-tag {
   font-size: .75rem;
 }

 .order-history-table th {
   white-space: nowrap;
 }

 .status-badge {
   font-size: .72rem;
   padding: 3px 10px;
   border-radius: 50px;
   font-weight: 600;
   text-transform: uppercase;
 }

 .status-pending {
   background: #fef3c7;
   color: #92400e;
 }

 .status-confirmed {
   background: #dbeafe;
   color: #1e40af;
 }

 .status-processing {
   background: #ede9fe;
   color: #5b21b6;
 }

 .status-out_for_delivery {
   background: #d1fae5;
   color: #065f46;
 }

 .status-delivered {
   background: #d1fae5;
   color: #065f46;
 }

 .status-cancelled {
   background: #fee2e2;
   color: #991b1b;
 }

 .auth-divider {
   display: flex;
   align-items: center;
   gap: 12px;
   color: var(--text-light);
   font-size: .85rem;
   margin: 1.25rem 0;
 }

 .auth-divider::before,
 .auth-divider::after {
   content: '';
   flex: 1;
   height: 1px;
   background: var(--border);
 }

 /* -- Product Detail Page ------------------------------------------- */
 .pd-main-img-wrap {
   background: #f8f9fa;
   border-radius: 12px;
   overflow: hidden;
   min-height: 320px;
   display: flex;
   align-items: center;
   justify-content: center;
 }

 .pd-main-img-wrap img {
   transition: opacity .25s ease;
 }

 .pd-thumb {
   border-radius: 8px;
   overflow: hidden;
   border: 2px solid #ddd;
   flex-shrink: 0;
   transition: border-color .2s;
   cursor: pointer;
 }

 .pd-thumb:hover {
   border-color: #3b82f6;
 }

 .pd-thumb--active {
   border-color: #3b82f6 !important;
 }

 .pd-thumb img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   display: block;
 }

 /* ── Category anchor tabs (top of shop page) ───────────────────── */
 .cat-tabs-wrap {
   overflow-x: auto;
   -webkit-overflow-scrolling: touch;
   scrollbar-width: none;
 }

 .cat-tabs-wrap::-webkit-scrollbar {
   display: none;
 }

 .cat-tabs {
   display: flex;
   gap: 10px;
   padding-bottom: 4px;
   white-space: nowrap;
 }

 .cat-tab-btn {
   display: inline-flex;
   align-items: center;
   gap: 7px;
   padding: 8px 18px;
   border: 2px solid #e2e8f0;
   border-radius: 50px;
   background: #fff;
   cursor: pointer;
   font-size: 0.9rem;
   font-weight: 500;
   color: #64748b;
   transition: all 0.2s ease;
   white-space: nowrap;
   flex-shrink: 0;
 }

 .cat-tab-btn:hover {
   border-color: #3b82f6;
   color: #3b82f6;
 }

 .cat-tab-btn.active {
   background: #3b82f6;
   border-color: #3b82f6;
   color: #fff;
 }

 .cat-tab-img {
   width: 26px;
   height: 26px;
   border-radius: 50%;
   object-fit: cover;
 }

 .cat-tab-icon {
   font-size: 1rem;
 }

 .cat-tab-count {
   background: rgba(255, 255, 255, .25);
   border-radius: 20px;
   padding: 1px 7px;
   font-size: .75rem;
 }

 .cat-tab-btn:not(.active) .cat-tab-count {
   background: #f1f5f9;
   color: #94a3b8;
 }

 /* ── Category section – horizontal product rows ─────────────────── */
 .cat-section {
   margin-bottom: 2.8rem;
 }

 .cat-section-header {
   display: flex;
   align-items: center;
   justify-content: space-between;
   margin-bottom: 1rem;
   border-bottom: 2px solid #f1f5f9;
   padding-bottom: 10px;
 }

 .cat-section-title {
   font-size: 1.15rem;
   font-weight: 700;
   color: var(--dark);
   margin: 0;
   display: flex;
   align-items: center;
   gap: 8px;
 }

.cat-title-img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

/* ── Horizontal scroll product row ─────────────────────────────── */
.hscroll-outer {
  position: relative;
  padding: 0 36px;
}

.hscroll-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 2px 12px;
  touch-action: pan-x;
}

.hscroll-track::-webkit-scrollbar {
  display: none;
}

.hscroll-item {
  flex: 0 0 300px;
  width: 200px;
}

@media (max-width: 575px) {
  .hscroll-item {
    flex: 0 0 75vw;
    width: 72vw;
  }
  .hscroll-outer {
    padding: 0 28px;
  }
}

/* Arrow buttons */
.hscroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  z-index: 5;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #dee2e6;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #334155;
  font-size: .82rem;
  padding: 0;
  transition: background .15s, color .15s;
}

.hscroll-btn:hover {
  background: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
}

.hscroll-btn-prev { left: 0; }
.hscroll-btn-next { right: 0; }

/* ── Product card ───────────────────────────────────────────────── */
.pcard {
  border-radius: 12px;
  border: 1px solid #e8edf3;
  overflow: hidden;
  transition: box-shadow .22s ease, transform .22s ease;
  background: #fff;
}

.pcard:hover {
  box-shadow: 0 8px 26px rgba(13, 110, 253, .15);
  transform: translateY(-4px);
}

.pcard .card-img-top {
  transition: transform .3s ease;
}

.pcard:hover .card-img-top {
  transform: scale(1.05);
}

/* name — 2-line clamp */
.pcard .card-body .pcard-name {
  font-size: .85rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.35rem;
}

/* price row */
.pcard .pcard-price {
  font-size: 1rem;
  font-weight: 700;
  color: #0d6efd;
}

.pcard .pcard-price-del {
  font-size: .78rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.pcard .pcard-unit {
  font-size: .75rem;
  color: #64748b;
}

/* qty input-group tweak */
.pcard .input-group-sm .btn {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  padding: 2px 8px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.pcard .input-group-sm .form-control {
  font-weight: 600;
  font-size: .85rem;
}

.js-qc-add,
.js-qc-qty {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
