@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  /* Core Theme: Premium Indigo */
  --core-primary: #5b4df6; /* Indigo */
  --core-primary-hover: #4737e8;
  --core-primary-light: #f3f2ff;
  --core-secondary: #111827; /* Rich Charcoal */
  --core-text: #4b5563;
  --core-text-muted: #6b7280;
  --core-bg: #f7f8fc;
  --core-bg-alt: #ffffff;
  --core-border: #e5e7eb;

  /* Elegant Shadows */
  --shadow-sm: 0 2px 4px rgba(17, 24, 39, 0.05);

  --shadow-md:
    0 8px 18px rgba(17, 24, 39, 0.08), 0 2px 6px rgba(17, 24, 39, 0.04);

  --shadow-lg:
    0 20px 40px rgba(17, 24, 39, 0.1), 0 10px 20px rgba(17, 24, 39, 0.05);

  /* Bento Grid Variables */
  --bento-bg: var(--core-bg-alt);
  --bento-text: var(--core-secondary);
  --bento-text-muted: var(--core-text-muted);
  --bento-primary: var(--core-primary);
  --bento-primary-light: var(--core-primary-light);
  --bento-accent: #f97316; /* Orange */
  --bento-accent-light: #fff7ed;
  --bento-radius: 20px;
  --bento-shadow: var(--shadow-sm);
  --bento-shadow-hover: var(--shadow-lg);

  /* Feature Section */
  --feat-bg: var(--core-bg-alt);
  --feat-text: var(--core-secondary);
  --feat-text-muted: var(--core-text-muted);

  --feat-card-1: #eef2ff;
  --feat-icon-1: #4f46e5;

  --feat-card-2: #fff7ed;
  --feat-icon-2: #ea580c;

  --feat-card-3: #f0fdf4;
  --feat-icon-3: #16a34a;

  --feat-card-4: #fff1f2;
  --feat-icon-4: #e11d48;

  --feat-radius: 16px;
  --feat-shadow: var(--shadow-sm);
  --feat-shadow-hover: var(--shadow-md);

  /* Global Animation */
  --transition-standard: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);

  /* Dark Theme */
  --uui-dark-bg: #0f172a;
  --uui-dark-surface: #1e293b;
  --uui-dark-border: #334155;

  --uui-text-white: #ffffff;
  --uui-text-muted: #94a3b8;
  --uui-text-placeholder: #64748b;

  --uui-accent: #7c3aed;
  --uui-focus-ring:
    0 0 0 2px var(--uui-dark-bg), 0 0 0 5px rgba(124, 58, 237, 0.25);

  /* Bright UI Palette */
  --uui-bg-pure: #ffffff;
  --uui-slate-900: #111827;
  --uui-slate-600: #6b7280;

  --uui-vibrant-main: #2563eb;
  --uui-vibrant-hover: #1d4ed8;
  --uui-vibrant-light: #eff6ff;
  --uui-cyan-accent: #06b6d4;

  --uui-border-soft: #e5e7eb;
}

/* Base CSS Resets & Best Practices */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  background-color: var(--core-bg);
  color: var(--core-text);
  /* Robust font stack falling back to system defaults if Inter fails */
  font-family:
    "Forma DJR Micro",
    "Forma DJR",
    "HP Simplified",
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Optional standard link styling */
a {
  color: var(--core-primary);
  text-decoration: none;
  transition: var(--transition-standard);
}

a:hover {
  color: var(--core-primary-hover);
}

/* =========================================
   Component Styles
========================================= */
.uui-page-header {
  background-color: var(--uui-bg-primary);
  border-bottom: 1px solid var(--uui-border-subtle);
  padding: var(--uui-spacing-3xl) 0;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Container limits width and centers content */
.uui-container {
  max-width: 1216px; /* Standard UUI max-width */
  margin: 0 auto;
  padding: 0 var(--uui-spacing-md);
}

/*=========================================================
PAGE BANNER
=========================================================*/

.page-banner {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
}

.page-banner::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  background: #bfdbfe;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  top: -180px;
  right: -120px;
}

.page-banner::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  background: #ddd6fe;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  bottom: -140px;
  left: -120px;
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

/*=========================================================
GRID
=========================================================*/

.page-banner-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 60px;
  align-items: center;
}

/*=========================================================
LEFT
=========================================================*/

.page-path {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.page-path a {
  text-decoration: none;
  color: #2563eb;
  font-weight: 700;
}

.page-path span {
  color: #64748b;
  font-size: 14px;
}

.page-label {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 50px;
  background: #dbeafe;
  color: #2563eb;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.page-banner-content h1 {
  font-size: 60px;
  line-height: 1.12;
  font-weight: 800;
  color: #111827;
  margin-bottom: 25px;
}

.page-banner-content h1 span {
  display: block;
  color: #2563eb;
}

.page-banner-content p {
  max-width: 650px;
  font-size: 18px;
  line-height: 1.9;
  color: #6b7280;
}

/*=========================================================
RIGHT CARD
=========================================================*/

.page-card {
  background: #fff;
  border-radius: 28px;
  padding: 40px;
  border: 1px solid #edf2f7;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  transition: 0.35s;
}

.page-card:hover {
  transform: translateY(-8px);
}

.page-card small {
  display: inline-block;
  padding: 8px 16px;
  background: #eff6ff;
  color: #2563eb;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.page-card h3 {
  font-size: 30px;
  color: #111827;
  margin-bottom: 18px;
  line-height: 1.3;
  font-weight: 800;
}

.page-card p {
  color: #6b7280;
  line-height: 1.8;
  margin-bottom: 30px;
  font-size: 15px;
}

.page-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 15px 28px;
  background: #2563eb;
  color: #fff;
  border-radius: 14px;
  font-weight: 700;
  transition: 0.35s;
}

.page-card a:hover {
  background: #1d4ed8;
  transform: translateY(-3px);
}

/*=========================================================
TABLET
=========================================================*/

@media (max-width: 992px) {
  .page-banner {
    padding: 70px 0;
  }

  .page-banner-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .page-banner-content {
    text-align: center;
  }

  .page-path {
    justify-content: center;
  }

  .page-banner-content p {
    margin: auto;
  }
}

/*=========================================================
MOBILE
=========================================================*/

@media (max-width: 768px) {
  .page-banner {
    padding: 60px 0;
  }

  .page-label {
    font-size: 12px;
    padding: 8px 18px;
  }

  .page-banner-content h1 {
    font-size: 38px;
  }

  .page-banner-content p {
    font-size: 15px;
  }

  .page-card {
    padding: 30px;
    border-radius: 22px;
  }

  .page-card h3 {
    font-size: 24px;
  }

  .page-card a {
    width: 100%;
  }
}

/*=========================================================
SMALL MOBILE
=========================================================*/

@media (max-width: 480px) {
  .page-banner-content h1 {
    font-size: 32px;
  }

  .page-path {
    gap: 8px;
    font-size: 13px;
  }

  .page-card {
    padding: 25px;
  }

  .page-card h3 {
    font-size: 22px;
  }
}

/*==================================================
  PREMIUM HEADER
==================================================*/

.uui-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;

  padding: 18px 0;

  transition: 0.35s ease;
}

.uui-header.scrolled {
  padding: 10px 0;
}

.uui-header-wrap {
  width: min(1620px, 94%);
  margin: auto;

  height: 78px;

  background: #fff;

  border: 1px solid rgba(0, 0, 0, 0.06);

  border-radius: 22px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 28px;

  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);

  backdrop-filter: blur(16px);

  transition: 0.35s;
}

/*==========================
LOGO
==========================*/

.uui-logo {
  display: flex;
  align-items: center;
  text-decoration: none;

  flex-shrink: 0;
}

.uui-logo img {
  height: 46px;
  width: auto;
  display: block;
}

/*==========================
DESKTOP NAV
==========================*/

.uui-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.uui-nav a {
  position: relative;

  text-decoration: none;

  color: #334155;

  font-size: 15px;

  font-weight: 600;

  padding: 12px 18px;

  border-radius: 999px;

  transition: 0.3s;
}

.uui-nav a:hover {
  color: #2563eb;

  background: #eff6ff;
}

.uui-nav a::after {
  content: "";

  position: absolute;

  left: 50%;

  bottom: 8px;

  width: 0;

  height: 2px;

  background: #2563eb;

  transition: 0.3s;

  transform: translateX(-50%);
}

.uui-nav a:hover::after {
  width: 28px;
}

/*==========================
RIGHT SIDE
==========================*/

.uui-right {
  display: flex;

  align-items: center;

  gap: 14px;
}

/*==========================
SEARCH
==========================*/

.uui-search {
  width: 270px;

  height: 48px;

  border-radius: 999px;

  border: 1px solid #e5e7eb;

  display: flex;

  align-items: center;

  padding: 0 18px;

  gap: 12px;

  background: #fafafa;

  transition: 0.3s;
}

.uui-search:hover {
  background: #fff;

  border-color: #dbeafe;
}

.uui-search:focus-within {
  border-color: #2563eb;

  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.uui-search svg {
  color: #64748b;

  flex-shrink: 0;
}

.uui-search input {
  flex: 1;

  border: none;

  outline: none;

  background: transparent;

  color: #1f2937;

  font-size: 14px;

  font-family: inherit;
}

.uui-search input::placeholder {
  color: #94a3b8;
}

/*==========================
ICON BUTTONS
==========================*/

.uui-icon {
  width: 48px;

  height: 48px;

  border-radius: 16px;

  border: 1px solid #e5e7eb;

  display: flex;

  align-items: center;

  justify-content: center;

  text-decoration: none;

  color: #334155;

  background: #fff;

  position: relative;

  transition: 0.3s;
}

.uui-icon:hover {
  background: #2563eb;

  border-color: #2563eb;

  color: #fff;

  transform: translateY(-2px);

  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
}

.uui-icon svg {
  transition: 0.3s;
}

/*==========================
CART BADGE
==========================*/

.uui-cart span {
  position: absolute;

  top: -5px;

  right: -5px;

  width: 22px;

  height: 22px;

  border-radius: 50%;

  background: #ef4444;

  color: #fff;

  font-size: 11px;

  font-weight: 700;

  display: flex;

  align-items: center;

  justify-content: center;

  border: 2px solid #fff;
}

/*==========================
MENU BUTTON
==========================*/

.uui-menu-btn {
  width: 48px;

  height: 48px;

  border: none;

  display: none;

  align-items: center;

  justify-content: center;

  border-radius: 16px;

  background: #2563eb;

  color: #fff;

  cursor: pointer;

  transition: 0.3s;
}

.uui-menu-btn:hover {
  transform: scale(1.05);
}

.uui-menu-btn svg {
  display: block;
}

/*==========================
OVERLAY
==========================*/

.uui-overlay {
  position: fixed;

  inset: 0;

  background: rgba(15, 23, 42, 0.45);

  opacity: 0;

  visibility: hidden;

  transition: 0.35s;

  z-index: 9998;
}

.uui-overlay.active {
  opacity: 1;

  visibility: visible;
}

/*==========================
MOBILE DRAWER
==========================*/

.uui-mobile-menu {
  position: fixed;

  top: 0;

  right: -450px;

  width: 360px;

  max-width: 100%;

  height: 100vh;

  background: #fff;

  z-index: 9999;

  transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);

  display: flex;

  flex-direction: column;

  box-shadow: -20px 0 60px rgba(15, 23, 42, 0.18);
}

.uui-mobile-menu.active {
  right: 0;
}

/*==========================
DRAWER TOP
==========================*/

.uui-mobile-top {
  height: 82px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 0 24px;

  border-bottom: 1px solid #eee;
}

.uui-mobile-top img {
  height: 40px;
}

.uui-mobile-top button {
  width: 42px;

  height: 42px;

  border: none;

  border-radius: 12px;

  background: #f4f4f4;

  cursor: pointer;

  font-size: 20px;
}

/*==========================
MOBILE SEARCH
==========================*/

.uui-mobile-search {
  padding: 20px;
}

.uui-mobile-search input {
  width: 100%;

  height: 52px;

  border-radius: 14px;

  border: 1px solid #ddd;

  padding: 0 18px;

  outline: none;

  font-size: 15px;
}

.uui-mobile-search input:focus {
  border-color: #2563eb;
}

/*==========================
DRAWER NAV
==========================*/

.uui-mobile-menu nav {
  display: flex;

  flex-direction: column;

  padding: 10px 20px;

  gap: 6px;
}

.uui-mobile-menu nav a {
  text-decoration: none;

  color: #374151;

  font-weight: 600;

  padding: 14px 18px;

  border-radius: 14px;

  transition: 0.3s;
}

.uui-mobile-menu nav a:hover {
  background: #eff6ff;

  color: #2563eb;
}

/*==========================
FOOTER
==========================*/

.uui-mobile-footer {
  margin-top: auto;

  padding: 24px;

  border-top: 1px solid #eee;

  font-weight: 700;

  color: #2563eb;
}

/* Header Scroll Effect */
.uui-header.scrolled .uui-header-wrap {
  height: 70px;
  border-color: rgba(37, 99, 235, 0.08);
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.08),
    0 4px 12px rgba(15, 23, 42, 0.05);
}

/* Floating Animation */
@keyframes uuiFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
  100% {
    transform: translateY(0);
  }
}

.uui-header-wrap {
  animation: uuiFloat 5s ease-in-out infinite;
}

/* Disable float on hover */
.uui-header-wrap:hover {
  animation-play-state: paused;
}

/* ==========================
   Logo
========================== */

.uui-logo {
  transition: 0.35s;
}

.uui-logo:hover {
  transform: scale(1.04);
}

.uui-logo img {
  transition: 0.35s;
}

.uui-logo:hover img {
  filter: brightness(1.08);
}

/* ==========================
   Navigation
========================== */

.uui-nav a {
  overflow: hidden;
}

.uui-nav a::before {
  content: "";

  position: absolute;

  inset: 0;

  border-radius: 999px;

  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.08),
    rgba(37, 99, 235, 0.02)
  );

  opacity: 0;

  transition: 0.35s;
}

.uui-nav a:hover::before {
  opacity: 1;
}

.uui-nav a:hover {
  transform: translateY(-2px);
}

.uui-nav a:active {
  transform: scale(0.96);
}

/* Active Link */

.uui-nav a.active {
  background: #2563eb;

  color: #fff;
}

.uui-nav a.active::after {
  display: none;
}

/* ==========================
   Search
========================== */

.uui-search {
  position: relative;

  overflow: hidden;
}

.uui-search::before {
  content: "";

  position: absolute;

  top: 0;

  left: -100%;

  width: 100%;

  height: 100%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );

  transition: 0.8s;
}

.uui-search:hover::before {
  left: 100%;
}

.uui-search input {
  transition: 0.25s;
}

.uui-search input:focus {
  letter-spacing: 0.2px;
}

/* ==========================
   Icon Buttons
========================== */

.uui-icon {
  overflow: hidden;
}

.uui-icon::before {
  content: "";

  position: absolute;

  width: 0;

  height: 0;

  left: 50%;

  top: 50%;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.18);

  transform: translate(-50%, -50%);

  transition: 0.45s;
}

.uui-icon:hover::before {
  width: 120px;

  height: 120px;
}

.uui-icon:active {
  transform: scale(0.92);
}

.uui-icon svg {
  position: relative;

  z-index: 2;
}

.uui-icon:hover svg {
  transform: scale(1.08);
}

/* ==========================
   Cart Badge
========================== */

@keyframes cartPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.18);
  }

  100% {
    transform: scale(1);
  }
}

.uui-cart span {
  animation: cartPulse 2.5s infinite;
}

/* ==========================
   Hamburger
========================== */

.uui-menu-btn {
  overflow: hidden;

  position: relative;
}

.uui-menu-btn::after {
  content: "";

  position: absolute;

  inset: 0;

  background: rgba(255, 255, 255, 0.08);

  opacity: 0;

  transition: 0.3s;
}

.uui-menu-btn:hover::after {
  opacity: 1;
}

.uui-menu-btn:active {
  transform: scale(0.94);
}

/* ==========================
   Overlay
========================== */

.uui-overlay {
  backdrop-filter: blur(6px);
}

.uui-overlay.active {
  animation: fadeOverlay 0.35s;
}

@keyframes fadeOverlay {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ==========================
   Drawer
========================== */

.uui-mobile-menu {
  overflow-y: auto;
}

.uui-mobile-menu.active {
  animation: drawerShow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes drawerShow {
  from {
    transform: translateX(40px);

    opacity: 0.5;
  }

  to {
    transform: translateX(0);

    opacity: 1;
  }
}

/* ==========================
   Drawer Search
========================== */

.uui-mobile-search input {
  transition: 0.3s;
}

.uui-mobile-search input:hover {
  border-color: #cbd5e1;
}

.uui-mobile-search input:focus {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

/* ==========================
   Drawer Links
========================== */

.uui-mobile-menu nav a {
  position: relative;

  overflow: hidden;
}

.uui-mobile-menu nav a::before {
  content: "";

  position: absolute;

  left: 0;

  top: 0;

  width: 4px;

  height: 100%;

  background: #2563eb;

  transform: scaleY(0);

  transition: 0.3s;

  border-radius: 20px;
}

.uui-mobile-menu nav a:hover::before {
  transform: scaleY(1);
}

.uui-mobile-menu nav a:hover {
  padding-left: 28px;
}

/* Active Mobile Link */

.uui-mobile-menu nav a.active {
  background: #2563eb;

  color: #fff;
}

/* ==========================
   Close Button
========================== */

.uui-mobile-top button {
  transition: 0.3s;
}

.uui-mobile-top button:hover {
  background: #2563eb;

  color: #fff;

  transform: rotate(90deg);
}

/* ==========================
   Footer
========================== */

.uui-mobile-footer {
  background: #fafafa;
}

/* ==========================
   Scrollbar
========================== */

.uui-mobile-menu::-webkit-scrollbar {
  width: 8px;
}

.uui-mobile-menu::-webkit-scrollbar-thumb {
  background: #d1d5db;

  border-radius: 20px;
}

.uui-mobile-menu::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.uui-mobile-menu::-webkit-scrollbar-track {
  background: transparent;
}

/*==================================================
  PART 3
  Responsive Media Queries
==================================================*/

/* ---------- Large Desktop ---------- */
@media (max-width: 1400px) {
  .uui-header-wrap {
    width: 96%;
    padding: 0 22px;
  }

  .uui-search {
    width: 240px;
  }
}

/* ---------- Laptop ---------- */
@media (max-width: 1200px) {
  .uui-nav {
    gap: 4px;
  }

  .uui-nav a {
    padding: 11px 14px;
    font-size: 14px;
  }

  .uui-search {
    width: 210px;
  }

  .uui-logo img {
    height: 42px;
  }
}

/* ---------- Small Laptop ---------- */
@media (max-width: 1024px) {
  .uui-header {
    padding: 14px 0;
  }

  .uui-header-wrap {
    height: 72px;

    padding: 0 18px;
  }

  .uui-search {
    width: 180px;
  }

  .uui-icon {
    width: 44px;
    height: 44px;
  }
}

/* ---------- Tablet ---------- */
@media (max-width: 991px) {
  .uui-nav {
    display: none;
  }

  .uui-search {
    display: none;
  }

  .uui-menu-btn {
    display: flex;
  }

  .uui-right {
    gap: 10px;
  }

  .uui-header-wrap {
    justify-content: space-between;
  }
}

/* ---------- Large Mobile ---------- */
@media (max-width: 768px) {
  .uui-header {
    padding: 10px 0;
  }

  .uui-header-wrap {
    height: 68px;

    border-radius: 18px;

    padding: 0 16px;
  }

  .uui-logo img {
    height: 38px;
  }

  .uui-icon {
    width: 42px;
    height: 42px;

    border-radius: 12px;
  }

  .uui-cart span {
    width: 20px;
    height: 20px;

    font-size: 10px;
  }

  .uui-mobile-menu {
    width: 340px;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 576px) {
  .uui-header-wrap {
    width: 94%;

    padding: 0 14px;

    height: 64px;
  }

  .uui-logo img {
    height: 34px;
  }

  .uui-icon {
    width: 40px;
    height: 40px;
  }

  .uui-icon svg {
    width: 18px;
    height: 18px;
  }

  .uui-menu-btn {
    width: 40px;
    height: 40px;

    border-radius: 12px;
  }

  .uui-menu-btn svg {
    width: 20px;
    height: 20px;
  }

  .uui-mobile-menu {
    width: 100%;
  }

  .uui-mobile-top {
    height: 70px;

    padding: 0 18px;
  }

  .uui-mobile-top img {
    height: 34px;
  }

  .uui-mobile-search {
    padding: 16px;
  }

  .uui-mobile-search input {
    height: 48px;

    font-size: 14px;
  }

  .uui-mobile-menu nav {
    padding: 8px 16px;
  }

  .uui-mobile-menu nav a {
    padding: 14px 16px;

    font-size: 15px;
  }

  .uui-mobile-footer {
    padding: 18px;

    font-size: 15px;
  }
}

/* ---------- Small Mobile ---------- */
@media (max-width: 420px) {
  .uui-header-wrap {
    width: 96%;

    padding: 0 12px;
  }

  .uui-logo img {
    height: 30px;
  }

  .uui-right {
    gap: 8px;
  }

  .uui-icon {
    width: 38px;
    height: 38px;
  }

  .uui-cart span {
    width: 18px;
    height: 18px;

    font-size: 9px;
  }

  .uui-menu-btn {
    width: 38px;
    height: 38px;
  }

  .uui-mobile-search {
    padding: 14px;
  }
}

/* ---------- Sticky Animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .uui-header {
    animation: headerFade 0.45s ease;
  }

  @keyframes headerFade {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ---------- Disable Heavy Effects on Touch Devices ---------- */
@media (hover: none) {
  .uui-icon:hover,
  .uui-nav a:hover,
  .uui-logo:hover,
  .uui-menu-btn:hover {
    transform: none;
  }

  .uui-header-wrap {
    animation: none;
  }
}

/*==============================
Hero Section
==============================*/

.hero-pro {
  position: relative;

  overflow: hidden;

  padding: 160px 0;
  margin-top: -120px;

  background-image: url(../images/banner-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-pro .container {
  max-width: 1280px;

  margin: auto;

  position: relative;

  z-index: 5;
}

.hero-content {
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;

  align-items: center;

  gap: 12px;

  padding: 10px 18px;

  border-radius: 999px;

  background: #fff;

  border: 1px solid #dbeafe;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);

  margin-bottom: 28px;

  font-weight: 600;

  color: #2563eb;
}

.hero-badge span {
  width: 10px;

  height: 10px;

  border-radius: 50%;

  background: #22c55e;

  animation: pulseHero 1.8s infinite;
}

.hero-content h1 {
  font-size: 72px;

  line-height: 1.05;

  font-weight: 800;

  color: #111827;

  margin-bottom: 30px;
}

.hero-content h1 strong {
  color: #2563eb;
}

.hero-content p {
  font-size: 19px;

  line-height: 1.9;

  color: #64748b;

  max-width: 650px;
}

.hero-features {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 18px;

  margin: 45px 0;
}

.hero-features div {
  background: #fff;

  border: 1px solid #e5e7eb;

  border-radius: 16px;

  padding: 18px 22px;

  font-weight: 600;

  color: #374151;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);

  transition: 0.35s;
}

.hero-features div:hover {
  transform: translateY(-5px);

  border-color: #2563eb;
}

.hero-buttons {
  display: flex;

  gap: 18px;

  flex-wrap: wrap;
}

.hero-btn-primary {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 18px 34px;

  background: #2563eb;

  color: #fff;

  border-radius: 16px;

  text-decoration: none;

  font-weight: 700;

  transition: 0.35s;
}

.hero-btn-primary:hover {
  background: #1d4ed8;

  transform: translateY(-3px);
}

.hero-btn-secondary {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 18px 34px;

  border: 2px solid #2563eb;

  border-radius: 16px;

  text-decoration: none;

  color: #2563eb;

  font-weight: 700;

  transition: 0.35s;
}

.hero-btn-secondary:hover {
  background: #2563eb;

  color: #fff;
}

/*==============================
Background Shapes
==============================*/

.hero-shape {
  position: absolute;

  border-radius: 50%;

  filter: blur(70px);

  opacity: 0.35;

  animation: floatHero 8s ease-in-out infinite;
}

.hero-shape-1 {
  width: 320px;

  height: 320px;

  background: #60a5fa;

  top: -80px;

  left: -120px;
}

.hero-shape-2 {
  width: 260px;

  height: 260px;

  background: #818cf8;

  right: 10%;

  top: 80px;
}

.hero-shape-3 {
  width: 240px;

  height: 240px;

  background: #38bdf8;

  bottom: -80px;

  right: -60px;
}

/*==============================
Animations
==============================*/

@keyframes floatHero {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-35px);
  }
}

@keyframes pulseHero {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  }

  100% {
    box-shadow: 0 0 0 14px transparent;
  }
}

/*==============================
Responsive
==============================*/

@media (max-width: 992px) {
  .hero-pro {
    padding: 100px 0;
  }

  .hero-content h1 {
    font-size: 52px;
  }

  .hero-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-content {
    text-align: center;

    margin: auto;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-content p {
    font-size: 17px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-badge {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-pro {
    padding: 80px 0;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
  }
}

/*==========================================
 COLLECTION SECTION
==========================================*/

.collection-section {
  padding: 100px 0;
  background: #f8faff;
  position: relative;
}

.collection-header {
  max-width: 760px;
  margin: 0 auto 70px;
  text-align: center;
}

.collection-badge {
  display: inline-block;
  padding: 10px 20px;
  background: #eaf2ff;
  color: #2563eb;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.collection-header h2 {
  font-size: 52px;
  line-height: 1.15;
  font-weight: 800;
  color: #111827;
  margin-bottom: 22px;
}

.collection-header h2 span {
  display: block;
  color: #2563eb;
}

.collection-header p {
  font-size: 17px;
  line-height: 1.8;
  color: #6b7280;
}

/*==========================================
 GRID
==========================================*/

.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/*==========================================
 CARD
==========================================*/

.collection-card {
  display: flex;
  align-items: center;
  gap: 35px;
  padding: 35px;
  background: #fff;
  border-radius: 26px;
  border: 1px solid #edf0f5;
  text-decoration: none;
  overflow: hidden;
  transition: 0.35s;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
}

.collection-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 55px rgba(15, 23, 42, 0.12);
  border-color: #dbeafe;
}

/*==========================================
 IMAGE
==========================================*/

.collection-image {
  flex: 0 0 180px;
}

.collection-image img {
  width: 100%;
  display: block;
  transition: 0.45s;
}

.collection-card:hover .collection-image img {
  transform: scale(1.08) rotate(-2deg);
}

/*==========================================
 CONTENT
==========================================*/

.collection-content {
  flex: 1;
}

.collection-tag {
  display: inline-block;
  background: #eff6ff;
  color: #2563eb;
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.collection-content h3 {
  font-size: 28px;
  color: #111827;
  margin-bottom: 14px;
  font-weight: 800;
}

.collection-content p {
  color: #6b7280;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.collection-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2563eb;
  font-weight: 700;
  transition: 0.3s;
}

.collection-card:hover .collection-link {
  transform: translateX(8px);
}

/*==========================================
 BUTTON
==========================================*/

.collection-footer {
  text-align: center;
  margin-top: 70px;
}

.collection-btn {
  display: inline-block;
  padding: 18px 38px;
  border-radius: 16px;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: 0.35s;
  box-shadow: 0 18px 35px rgba(37, 99, 235, 0.22);
}

.collection-btn:hover {
  background: #1d4ed8;
  transform: translateY(-3px);
}

/*==========================================
 TABLET
==========================================*/

@media (max-width: 992px) {
  .collection-grid {
    grid-template-columns: 1fr;
  }

  .collection-header h2 {
    font-size: 42px;
  }
}

/*==========================================
 MOBILE
==========================================*/

@media (max-width: 768px) {
  .collection-section {
    padding: 70px 0;
  }

  .collection-card {
    flex-direction: column;
    text-align: center;
    padding: 28px;
    gap: 25px;
  }

  .collection-image {
    flex: 0 0 auto;
    width: 180px;
  }

  .collection-header {
    margin-bottom: 50px;
  }

  .collection-header h2 {
    font-size: 34px;
  }

  .collection-header p {
    font-size: 15px;
  }

  .collection-content h3 {
    font-size: 24px;
  }

  .collection-link {
    justify-content: center;
  }

  .collection-footer {
    margin-top: 50px;
  }
}

/*==========================================
 SMALL MOBILE
==========================================*/

@media (max-width: 480px) {
  .collection-card {
    padding: 22px;
    border-radius: 20px;
  }

  .collection-image {
    width: 150px;
  }

  .collection-header h2 {
    font-size: 30px;
  }

  .collection-btn {
    width: 100%;
    padding: 16px;
  }
}

/* =========================================
   Storefront Specific Variables
========================================= */
.store-catalog-sec {
  --store-bg: #ffffff;
  --store-surface: #f8fafc; /* Soft gray for image backgrounds */
  --store-border: #e2e8f0;
  --store-text-main: #0f172a;
  --store-text-muted: #64748b;
  --store-accent: #2563eb;
  --store-accent-hover: #1d4ed8;

  background-color: var(--store-bg);
  padding: 6rem 0;
  font-family: "Inter", sans-serif;
}

.store-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =========================================
   Header & Tabs
========================================= */
.store-head-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.store-title-group {
  max-width: 500px;
}

.store-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--store-accent);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.store-main-heading {
  font-size: 2.5rem;
  color: var(--store-text-main);
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.store-hl-text {
  color: var(--store-text-muted);
}

/* Filter Tabs */
.store-filters {
  display: flex;
  background-color: var(--store-surface);
  padding: 0.375rem;
  border-radius: 99px;
  border: 1px solid var(--store-border);
}

.store-filter-btn {
  background: transparent;
  border: none;
  padding: 0.625rem 1.25rem;
  border-radius: 99px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--store-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.store-filter-btn:hover {
  color: var(--store-text-main);
}

.store-filter-btn.is-active {
  background-color: #ffffff;
  color: var(--store-text-main);
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.05);
}

/* =========================================
   Product Grid
========================================= */
.store-grid-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

/* Product Card Base */
.store-item-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid var(--store-border);
  border-radius: 16px;
  text-decoration: none;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.store-item-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.06);
}

/* Media Area (Image & Background) */
.store-item-media {
  position: relative;
  background-color: var(--store-surface);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
}

.store-pic {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
  mix-blend-mode: darken;
}

.store-item-card:hover .store-pic {
  transform: scale(1.08);
}

/* Badges */
.store-badge-cluster {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

.store-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.625rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.store-tag-sold {
  background-color: #fef2f2;
  color: #dc2626;
  border: 1px solid #fca5a5;
  text-transform: uppercase;
}

.store-tag-rate {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  color: var(--store-text-main);
  border: 1px solid var(--store-border);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  z-index: 2;
}

/* Product Info Area */
.store-item-data {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.store-cat-label {
  font-size: 0.75rem;
  color: var(--store-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.store-item-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--store-text-main);
  margin: 0 0 1.5rem 0;
  line-height: 1.4;
  /* Ensure titles don't break the grid height */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.store-item-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--store-border);
  padding-top: 1.25rem;
}

.store-item-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--store-text-main);
}

.store-action-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--store-surface);
  color: var(--store-text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.store-item-card:hover .store-action-circle {
  background-color: var(--store-accent);
  color: #ffffff;
}

/* =========================================
   Responsive Adjustments
========================================= */
@media (max-width: 768px) {
  .store-head-layout {
    flex-direction: column;
    align-items: flex-start;
  }

  .store-main-heading {
    font-size: 2rem;
  }

  .store-filters {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem; /* Room for scrollbar if it shows */
  }

  .store-grid-matrix {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

/*=========================================================
    BRAND SECTION
=========================================================*/

.brand-section {
  padding: 110px 0;
  background: #f8faff;
  overflow: hidden;
  position: relative;
}

.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

/*=========================================================
LEFT CONTENT
=========================================================*/

.brand-label {
  display: inline-block;

  padding: 10px 20px;

  background: #eaf2ff;

  color: #2563eb;

  font-size: 13px;

  font-weight: 700;

  border-radius: 50px;

  letter-spacing: 1px;

  text-transform: uppercase;

  margin-bottom: 22px;
}

.brand-content h2 {
  font-size: 54px;

  line-height: 1.12;

  font-weight: 800;

  color: #111827;

  margin-bottom: 28px;
}

.brand-content h2 span {
  color: #2563eb;
}

.brand-text {
  color: #6b7280;

  font-size: 17px;

  line-height: 1.9;

  margin-bottom: 22px;
}

.brand-buttons {
  display: flex;

  gap: 18px;

  margin-top: 38px;

  flex-wrap: wrap;
}

.brand-btn-primary {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 17px 34px;

  background: #2563eb;

  color: #fff;

  border-radius: 16px;

  text-decoration: none;

  font-weight: 700;

  transition: 0.35s;

  box-shadow: 0 18px 35px rgba(37, 99, 235, 0.22);
}

.brand-btn-primary:hover {
  transform: translateY(-4px);

  background: #1d4ed8;
}

.brand-btn-outline {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 17px 34px;

  border: 2px solid #2563eb;

  color: #2563eb;

  border-radius: 16px;

  text-decoration: none;

  font-weight: 700;

  transition: 0.35s;
}

.brand-btn-outline:hover {
  background: #2563eb;

  color: #fff;
}

/*=========================================================
RIGHT IMAGE
=========================================================*/

.brand-visual {
  position: relative;
}

.brand-visual img {
  width: 100%;

  display: block;

  border-radius: 28px;

  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
}

/*=========================================================
FLOATING CARDS
=========================================================*/

.brand-card {
  position: absolute;

  width: 260px;

  background: #fff;

  padding: 22px;

  border-radius: 22px;

  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);

  transition: 0.35s;
}

.brand-card:hover {
  transform: translateY(-8px);
}

.brand-card h4 {
  font-size: 20px;

  color: #111827;

  margin-bottom: 10px;

  font-weight: 800;
}

.brand-card p {
  color: #6b7280;

  line-height: 1.7;

  font-size: 14px;
}

.card-one {
  top: 40px;

  left: -70px;
}

.card-two {
  bottom: 40px;

  right: -60px;
}

/*=========================================================
BOTTOM FEATURES
=========================================================*/

.brand-features {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 28px;

  margin-top: 90px;
}

.brand-feature {
  background: #fff;

  padding: 35px;

  border-radius: 24px;

  border: 1px solid #edf1f6;

  transition: 0.35s;

  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
}

.brand-feature:hover {
  transform: translateY(-8px);

  border-color: #dbeafe;
}

.brand-number {
  width: 58px;

  height: 58px;

  border-radius: 50%;

  background: #2563eb;

  color: #fff;

  display: flex;

  align-items: center;

  justify-content: center;

  font-weight: 800;

  margin-bottom: 22px;

  font-size: 18px;
}

.brand-feature h3 {
  font-size: 22px;

  color: #111827;

  margin-bottom: 14px;

  font-weight: 800;
}

.brand-feature p {
  color: #6b7280;

  font-size: 15px;

  line-height: 1.8;
}

/*=========================================================
TABLET
=========================================================*/

@media (max-width: 992px) {
  .brand-grid {
    grid-template-columns: 1fr;

    gap: 60px;
  }

  .brand-content {
    text-align: center;
  }

  .brand-buttons {
    justify-content: center;
  }

  .brand-content h2 {
    font-size: 42px;
  }

  .brand-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-one {
    left: 20px;

    top: 20px;
  }

  .card-two {
    right: 20px;

    bottom: 20px;
  }
}

/*=========================================================
MOBILE
=========================================================*/

@media (max-width: 768px) {
  .brand-section {
    padding: 80px 0;
  }

  .brand-content h2 {
    font-size: 34px;
  }

  .brand-text {
    font-size: 15px;
  }

  .brand-buttons {
    flex-direction: column;
  }

  .brand-btn-primary,
  .brand-btn-outline {
    width: 100%;
  }

  .brand-card {
    position: relative;

    width: 100%;

    left: 0;

    right: 0;

    top: 0;

    bottom: 0;

    margin-top: 20px;
  }

  .brand-features {
    grid-template-columns: 1fr;

    gap: 20px;

    margin-top: 60px;
  }

  .brand-feature {
    padding: 28px;
  }
}

/*=========================================================
SMALL MOBILE
=========================================================*/

@media (max-width: 480px) {
  .brand-content h2 {
    font-size: 30px;
  }

  .brand-label {
    font-size: 12px;

    padding: 8px 16px;
  }

  .brand-number {
    width: 50px;

    height: 50px;

    font-size: 16px;
  }

  .brand-feature h3 {
    font-size: 20px;
  }

  .brand-card {
    padding: 20px;

    border-radius: 18px;
  }
}

/*=========================================
  ADVANTAGE SECTION
=========================================*/

.advantage-section {
  padding: 110px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  position: relative;
  overflow: hidden;
}

.advantage-section::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  background: #dbeafe;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.45;
  top: -180px;
  right: -120px;
}

.advantage-section::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  background: #ede9fe;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  bottom: -150px;
  left: -100px;
}

.advantage-section .container {
  position: relative;
  z-index: 2;
}

/*=========================================
HEADER
=========================================*/

.advantage-header {
  max-width: 760px;
  margin: 0 auto 70px;
  text-align: center;
}

.advantage-badge {
  display: inline-block;
  padding: 10px 22px;
  background: #eef4ff;
  color: #2563eb;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.advantage-header h2 {
  font-size: 56px;
  line-height: 1.15;
  font-weight: 800;
  color: #111827;
  margin-bottom: 24px;
}

.advantage-header h2 span {
  color: #2563eb;
}

.advantage-header p {
  font-size: 17px;
  line-height: 1.9;
  color: #6b7280;
}

/*=========================================
STATS
=========================================*/

.advantage-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 70px;
}

.advantage-stat {
  background: #fff;
  border: 1px solid #edf2f7;
  border-radius: 24px;
  padding: 35px;
  text-align: center;
  transition: 0.35s;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
}

.advantage-stat:hover {
  transform: translateY(-8px);
  border-color: #bfdbfe;
}

.advantage-stat h3 {
  font-size: 42px;
  color: #2563eb;
  margin-bottom: 8px;
  font-weight: 800;
}

.advantage-stat span {
  color: #6b7280;
  font-weight: 600;
  font-size: 15px;
}

/*=========================================
FEATURE GRID
=========================================*/

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.advantage-card {
  background: #fff;
  padding: 40px;
  border-radius: 28px;
  border: 1px solid #edf2f7;
  transition: 0.35s;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
}

.advantage-card:hover {
  transform: translateY(-10px);
  border-color: #dbeafe;
  box-shadow: 0 28px 55px rgba(15, 23, 42, 0.1);
}

.advantage-number {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2563eb;
  color: #fff;
  border-radius: 18px;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 24px;
}

.advantage-card h3 {
  font-size: 24px;
  color: #111827;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}

.advantage-card p {
  color: #6b7280;
  font-size: 15px;
  line-height: 1.9;
}

/*=========================================
BOTTOM CTA
=========================================*/

.advantage-footer {
  margin-top: 80px;
  text-align: center;
  background: #2563eb;
  color: #fff;
  padding: 70px 40px;
  border-radius: 30px;
}

.advantage-footer h3 {
  font-size: 38px;
  margin-bottom: 18px;
  font-weight: 800;
}

.advantage-footer p {
  max-width: 650px;
  margin: 0 auto 35px;
  font-size: 17px;
  line-height: 1.8;
  opacity: 0.92;
}

.advantage-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 40px;
  background: #fff;
  color: #2563eb;
  text-decoration: none;
  font-weight: 700;
  border-radius: 16px;
  transition: 0.35s;
}

.advantage-btn:hover {
  transform: translateY(-4px);
  background: #eff6ff;
}

/*=========================================
TABLET
=========================================*/

@media (max-width: 992px) {
  .advantage-header h2 {
    font-size: 44px;
  }

  .advantage-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*=========================================
MOBILE
=========================================*/

@media (max-width: 768px) {
  .advantage-section {
    padding: 80px 0;
  }

  .advantage-header {
    margin-bottom: 50px;
  }

  .advantage-header h2 {
    font-size: 34px;
  }

  .advantage-header p {
    font-size: 15px;
  }

  .advantage-stats {
    grid-template-columns: 1fr;
    margin-bottom: 50px;
  }

  .advantage-grid {
    grid-template-columns: 1fr;
  }

  .advantage-card {
    padding: 30px;
  }

  .advantage-number {
    width: 56px;
    height: 56px;
    font-size: 18px;
    border-radius: 16px;
  }

  .advantage-card h3 {
    font-size: 22px;
  }

  .advantage-footer {
    margin-top: 60px;
    padding: 50px 25px;
    border-radius: 24px;
  }

  .advantage-footer h3 {
    font-size: 28px;
  }

  .advantage-footer p {
    font-size: 15px;
  }

  .advantage-btn {
    width: 100%;
    padding: 16px;
  }
}

/*=========================================
SMALL MOBILE
=========================================*/

@media (max-width: 480px) {
  .advantage-header h2 {
    font-size: 30px;
  }

  .advantage-badge {
    font-size: 12px;
    padding: 8px 18px;
  }

  .advantage-stat {
    padding: 28px;
  }

  .advantage-stat h3 {
    font-size: 34px;
  }

  .advantage-card {
    padding: 25px;
    border-radius: 22px;
  }

  .advantage-card h3 {
    font-size: 20px;
  }

  .advantage-number {
    width: 50px;
    height: 50px;
    font-size: 16px;
  }
}

/*=========================================================
    PERFORMANCE SECTION
=========================================================*/

.performance-section {
  padding: 110px 0;
  background: #0f172a;
  position: relative;
  overflow: hidden;
}

.performance-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: #2563eb;
  opacity: 0.08;
  border-radius: 50%;
  filter: blur(120px);
  top: -220px;
  right: -150px;
}

.performance-section::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  background: #7c3aed;
  opacity: 0.08;
  border-radius: 50%;
  filter: blur(120px);
  bottom: -180px;
  left: -120px;
}

.performance-section .container {
  position: relative;
  z-index: 2;
}

/*=========================================================
HEADER
=========================================================*/

.performance-header {
  max-width: 760px;
  margin: 0 auto 70px;
  text-align: center;
}

.performance-badge {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  color: #60a5fa;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.performance-header h2 {
  font-size: 56px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 22px;
}

.performance-header h2 span {
  color: #60a5fa;
}

.performance-header p {
  color: #94a3b8;
  font-size: 17px;
  line-height: 1.9;
}

/*=========================================================
DASHBOARD
=========================================================*/

.performance-dashboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 70px;
}

.dashboard-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 35px;
  text-align: center;
  backdrop-filter: blur(15px);
  transition: 0.35s;
}

.dashboard-card:hover {
  transform: translateY(-8px);
  border-color: #3b82f6;
}

.dashboard-card h3 {
  font-size: 38px;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 800;
}

.dashboard-card span {
  color: #94a3b8;
  font-size: 15px;
  font-weight: 600;
}

/*=========================================================
PROCESS
=========================================================*/

.performance-process {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.process-item {
  display: flex;
  gap: 24px;
  padding: 35px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.35s;
}

.process-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.07);
}

.process-number {
  min-width: 64px;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #2563eb;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
}

.process-item h3 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 14px;
  font-weight: 700;
}

.process-item p {
  color: #94a3b8;
  line-height: 1.8;
  font-size: 15px;
}

/*=========================================================
BOTTOM CTA
=========================================================*/

.performance-banner {
  margin-top: 80px;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  border-radius: 28px;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.performance-banner h3 {
  color: #fff;
  font-size: 36px;
  margin-bottom: 12px;
  font-weight: 800;
}

.performance-banner p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  max-width: 600px;
}

.performance-banner a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  background: #fff;
  color: #2563eb;
  text-decoration: none;
  font-weight: 700;
  border-radius: 16px;
  transition: 0.35s;
  white-space: nowrap;
}

.performance-banner a:hover {
  transform: translateY(-4px);
  background: #eff6ff;
}

/*=========================================================
TABLET
=========================================================*/

@media (max-width: 992px) {
  .performance-header h2 {
    font-size: 44px;
  }

  .performance-dashboard {
    grid-template-columns: repeat(2, 1fr);
  }

  .performance-process {
    grid-template-columns: 1fr;
  }

  .performance-banner {
    flex-direction: column;
    text-align: center;
  }
}

/*=========================================================
MOBILE
=========================================================*/

@media (max-width: 768px) {
  .performance-section {
    padding: 80px 0;
  }

  .performance-header {
    margin-bottom: 50px;
  }

  .performance-header h2 {
    font-size: 34px;
  }

  .performance-header p {
    font-size: 15px;
  }

  .performance-dashboard {
    grid-template-columns: 1fr;
    margin-bottom: 50px;
  }

  .dashboard-card {
    padding: 28px;
  }

  .dashboard-card h3 {
    font-size: 32px;
  }

  .process-item {
    padding: 28px;
    gap: 18px;
  }

  .process-number {
    width: 54px;
    height: 54px;
    min-width: 54px;
    font-size: 17px;
    border-radius: 14px;
  }

  .process-item h3 {
    font-size: 20px;
  }

  .performance-banner {
    margin-top: 60px;
    padding: 35px 25px;
    border-radius: 22px;
  }

  .performance-banner h3 {
    font-size: 28px;
  }

  .performance-banner p {
    font-size: 15px;
  }

  .performance-banner a {
    width: 100%;
    padding: 16px;
  }
}

/*=========================================================
SMALL MOBILE
=========================================================*/

@media (max-width: 480px) {
  .performance-header h2 {
    font-size: 30px;
  }

  .performance-badge {
    font-size: 12px;
    padding: 8px 18px;
  }

  .dashboard-card {
    padding: 24px;
  }

  .process-item {
    flex-direction: column;
  }

  .process-number {
    margin-bottom: 5px;
  }
}

/* =========================================
   Smart Recall Section Variables
========================================= */
.recall-wrapper {
  --recall-bg: #ffffff;
  --recall-surface: #f1f5f9; /* Soft Slate for image backgrounds */
  --recall-border: #e2e8f0;
  --recall-text-dark: #0f172a;
  --recall-text-muted: #64748b;
  --recall-accent: #2563eb;

  background-color: var(--recall-bg);
  padding: 5rem 0;
  font-family: "Inter", sans-serif;
  border-top: 1px solid var(--recall-border);
}

.recall-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =========================================
   Header Layout
========================================= */
.recall-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.recall-title-group {
  max-width: 500px;
}

.recall-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background-color: var(--recall-surface);
  border-radius: 999px;
  color: var(--recall-text-dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.recall-headline {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--recall-text-dark);
  margin: 0;
  letter-spacing: -0.02em;
}

.recall-subtext {
  font-size: 1rem;
  color: var(--recall-text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 450px;
}

/* =========================================
   Product Track (Grid)
========================================= */
.recall-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Individual Product Cards */
.recall-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.recall-card:hover {
  transform: translateY(-4px);
}

/* Image Wrapper */
.recall-image-box {
  background-color: var(--recall-surface);
  border-radius: 16px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.recall-card:hover .recall-image-box {
  background-color: #ffffff;
  border-color: var(--recall-border);
  box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.05);
}

.recall-pic {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
  mix-blend-mode: darken;
}

.recall-card:hover .recall-pic {
  transform: scale(1.05);
}

/* Rating Overlay */
.recall-rating-pill {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--recall-text-dark);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.recall-rating-pill svg {
  width: 12px;
  height: 12px;
  fill: #eab308;
  stroke: #eab308;
}

/* Data Section */
.recall-details {
  display: flex;
  flex-direction: column;
  padding: 0 0.5rem;
}

.recall-item-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--recall-text-dark);
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}

.recall-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.recall-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--recall-text-dark);
}

.recall-action {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--recall-accent);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  opacity: 0; /* Hidden by default */
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.recall-card:hover .recall-action {
  opacity: 1;
  transform: translateX(0);
}

/* =========================================
   Responsive Adjustments
========================================= */
@media (max-width: 1024px) {
  .recall-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .recall-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .recall-track {
    grid-template-columns: 1fr; /* Stack vertically on phones */
  }

  .recall-action {
    opacity: 1; /* Always show action on touch devices */
    transform: translateX(0);
  }
}

/* =========================================
   Base Footer Variables (Obsidian Dark)
========================================= */
.base-footer-sec {
  --base-bg-color: #09090b; /* Zinc 950 */
  --base-surface: #18181b; /* Zinc 900 */
  --base-border: #27272a; /* Zinc 800 */

  --base-text-white: #fafafa;
  --base-text-muted: #a1a1aa; /* Zinc 400 */
  --base-text-dim: #71717a; /* Zinc 500 */

  --base-accent: #2563eb; /* Blue 500 */
  --base-accent-hover: #2563eb;

  background-color: var(--base-bg-color);
  color: var(--base-text-white);
  font-family: "Inter", sans-serif;
  padding-top: 4rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--base-border);
}

.base-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Accessibility utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* =========================================
   Integrated CTA Banner
========================================= */
.base-cta-banner {
  background: linear-gradient(145deg, var(--base-surface), #09090b);
  border: 1px solid var(--base-border);
  border-radius: 20px;
  padding: 3rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 5rem;
}

.base-cta-headline {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
}

.base-cta-sub {
  color: var(--base-text-muted);
  font-size: 1.125rem;
  margin: 0;
}

.base-btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--base-accent);
  color: #ffffff;
  padding: 1rem 2rem;
  border-radius: 99px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.base-btn-solid:hover {
  background-color: var(--base-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgb(246 59 76 / 40%);
  color: white;
}

/* =========================================
   Main Footer Grid Layout
========================================= */
.base-layout-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr; /* Left panel wider */
  gap: 5rem;
  margin-bottom: 4rem;
}

/* Left Panel: Brand & Newsletter */
.base-brand-panel {
  max-width: 480px;
}

.base-logo-img {
  width: 100%;
  display: block;
  margin-bottom: 1.5rem;
}

.base-brand-text {
  color: var(--base-text-muted);
  line-height: 1.6;
  font-size: 1rem;
  margin: 0 0 2.5rem 0;
}

/* Integrated Newsletter Input */
.base-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--base-surface);
  border: 1px solid var(--base-border);
  border-radius: 12px;
  padding: 0.375rem;
  transition: border-color 0.2s ease;
}

.base-input-wrapper:focus-within {
  border-color: var(--base-accent);
}

.base-mail-icon {
  position: absolute;
  left: 1rem;
  color: var(--base-text-dim);
}

.base-input-field {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.75rem 1rem 0.75rem 3rem;
  color: var(--base-text-white);
  font-size: 1rem;
  outline: none;
}

.base-input-field::placeholder {
  color: var(--base-text-dim);
}

.base-submit-btn {
  background-color: var(--base-text-white);
  color: var(--base-bg-color);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.base-submit-btn:hover {
  background-color: #e4e4e7;
}

.base-privacy-note {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--base-text-dim);
  font-size: 0.75rem;
  margin-top: 0.75rem;
}

/* Right Panel: Navigation */
.base-nav-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.base-nav-title {
  color: var(--base-text-white);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1.5rem 0;
  letter-spacing: 0.02em;
}

.base-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.base-link-list a {
  color: var(--base-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  display: inline-block;
}

.base-link-list a:hover {
  color: var(--base-text-white);
  transform: translateX(4px);
}

/* =========================================
   Bottom Bar
========================================= */
.base-divider {
  width: 100%;
  height: 1px;
  background-color: var(--base-border);
  margin-bottom: 2rem;
}

.base-footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Contact Pills */
.base-contact-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.base-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--base-surface);
  border: 1px solid var(--base-border);
  border-radius: 99px;
  color: var(--base-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.base-contact-pill:hover {
  background-color: var(--base-border);
  color: var(--base-text-white);
}

/* Meta Data */
.base-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.base-company-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.base-biz-name {
  color: var(--base-text-white);
  font-weight: 600;
  font-size: 0.875rem;
}

.base-biz-address {
  color: var(--base-text-dim);
  font-size: 0.875rem;
}

.base-copyright {
  color: var(--base-text-dim);
  font-size: 0.875rem;
}

/* =========================================
   Responsive Adjustments
========================================= */
@media (max-width: 1024px) {
  .base-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 3rem 2rem;
  }

  .base-layout-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .base-brand-panel {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .base-nav-columns {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .base-meta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .base-cta-headline {
    font-size: 1.5rem;
  }
  .base-logo-img {
    height: 60px !important;
  }
}

/* =====================================================
   CONTACT PAGE SECTION — VIBRANT BERRY UI
===================================================== */
/* --- Section Foundation --- */
.ui-contact-section {
  background-color: var(--core-bg);
  padding: 100px 24px;
}

/* --- The Split Card Layout --- */
.ui-contact-wrapper {
  display: flex;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
  background-color: var(--core-bg-alt);
}

/* --- Left Panel (Dark) --- */
.ui-contact-panel-dark {
  flex: 1;
  background-color: var(--core-secondary);
  color: #ffffff;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
}

.ui-panel-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}

.ui-panel-desc {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0 0 32px 0;
}

/* Checklist */
.ui-contact-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ui-contact-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: #cbd5e1;
}

.ui-contact-checklist svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.ui-panel-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 40px;
}

/* Detail Grid */
.ui-contact-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: auto; /* Pushes to bottom */
}

.ui-detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-icon svg {
  width: 20px;
  height: 20px;
}

.detail-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-text strong {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
}

.detail-text span {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
}

/* --- Right Panel (Light Form) --- */
.ui-contact-panel-light {
  flex: 1.2;
  background-color: var(--core-bg-alt);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ui-form-header {
  margin-bottom: 32px;
}

.ui-form-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--core-secondary);
  margin: 0 0 8px 0;
}

.ui-form-desc {
  font-size: 1rem;
  color: var(--core-text-muted);
  margin: 0;
}

/* Form Inputs */
.ui-contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ui-form-row {
  display: flex;
  gap: 24px;
}

.ui-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.ui-input-group label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--core-secondary);
}

.ui-input-group input,
.ui-input-group textarea {
  width: 100%;
  background-color: var(--core-bg);
  border: 1px solid var(--core-border);
  border-radius: 8px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--core-text);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.ui-input-group textarea {
  min-height: 140px;
  resize: vertical;
}

.ui-input-group input:focus,
.ui-input-group textarea:focus {
  outline: none;
  border-color: var(--core-primary);
  box-shadow: 0 0 0 3px var(--core-primary-light);
}

.ui-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--core-primary);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 16px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
  margin-top: 8px;
}

.ui-btn-submit:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.35);
}

/* --- Success State --- */
.ui-success-state {
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ui-success-icon {
  width: 64px;
  height: 64px;
  background-color: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.ui-success-icon svg {
  width: 32px;
  height: 32px;
}

.ui-success-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--core-secondary);
  margin: 0 0 16px 0;
}

.ui-success-desc {
  font-size: 1rem;
  color: var(--core-text-muted);
  line-height: 1.6;
  margin: 0 0 32px 0;
  max-width: 400px;
}

.ui-btn-outline-dark {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid var(--core-secondary);
  color: var(--core-secondary);
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ui-btn-outline-dark:hover {
  background-color: var(--core-secondary);
  color: #ffffff;
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
  .ui-contact-wrapper {
    flex-direction: column;
  }

  .ui-contact-panel-dark,
  .ui-contact-panel-light {
    padding: 40px 24px;
  }
}

@media (max-width: 640px) {
  .ui-form-row {
    flex-direction: column;
    gap: 24px;
  }

  .ui-contact-details-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* =====================================================
   FAQ PAGE SECTION — VIBRANT BERRY UI
===================================================== */
/* --- Section Foundation --- */
.ui-faq-section {
  background-color: var(--core-bg);
  padding: 80px 24px 120px 24px;
}

.ui-container {
  max-width: 1280px;
  margin: 0 auto;
}

/* --- Header --- */
.ui-faq-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ui-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--core-bg-alt);
  border: 1px solid var(--core-border);
  border-radius: 99px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--core-text-muted);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.ui-pill-badge svg {
  color: var(--core-primary);
}

.ui-section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--core-secondary);
  line-height: 1.1;
  margin: 0 0 20px 0;
  letter-spacing: -0.02em;
}

.ui-text-accent {
  color: var(--core-primary);
}

.ui-section-desc {
  font-size: 1.125rem;
  color: var(--core-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* --- Grid Layout --- */
.ui-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.ui-faq-column {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* --- FAQ Card --- */
.ui-faq-card {
  background-color: var(--core-bg-alt);
  border: 1px solid var(--core-border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.ui-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.ui-header-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ui-header-icon svg {
  width: 24px;
  height: 24px;
}

/* Tints */
.tint-indigo {
  background: #e0e7ff;
  color: #4f46e5;
}
.tint-green {
  background: #dcfce7;
  color: #16a34a;
}
.tint-pink {
  background: #fce7f3;
  color: #db2777;
}
.tint-orange {
  background: #ffedd5;
  color: #2563eb;
}

.ui-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--core-secondary);
  margin: 0;
}

/* --- Accordion Items --- */
.ui-faq-item {
  border-bottom: 1px solid var(--core-border);
}

.ui-faq-item:last-child {
  border-bottom: none;
}

.ui-faq-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--core-secondary);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s ease;
}

.ui-faq-btn:hover {
  color: var(--core-primary);
}

.ui-chevron {
  width: 20px;
  height: 20px;
  color: var(--core-text-muted);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  margin-left: 16px;
}

/* Modern CSS Grid Animation for Height */
.ui-faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ui-faq-inner {
  overflow: hidden;
  font-size: 0.9375rem;
  color: var(--core-text-muted);
  line-height: 1.6;
  padding-right: 24px;
}

/* Active State Styles */
.ui-faq-item.is-active .ui-faq-btn {
  color: var(--core-primary);
}

.ui-faq-item.is-active .ui-chevron {
  transform: rotate(180deg);
  color: var(--core-primary);
}

.ui-faq-item.is-active .ui-faq-content {
  grid-template-rows: 1fr;
}

.ui-faq-item.is-active .ui-faq-inner {
  padding-bottom: 20px; /* Space added only when open */
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
  .ui-faq-grid {
    grid-template-columns: 1fr; /* Stack columns on tablet/mobile */
  }
}

@media (max-width: 640px) {
  .ui-faq-card {
    padding: 24px;
  }
}

/* =====================================================
   AUTH HERO — SERENE EARTH
===================================================== */

.auth-x-hero {
  background: var(--bg); /* Warm off-white */
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--border); /* Clean, natural boundary */
  position: relative;
}

/* Removed the data grid overlay completely */
.auth-x-hero::before {
  display: none;
}

.auth-x-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 0 20px; /* Safety padding for mobile */
}

/* EYEBROW - Editorial Subtitle */

.auth-x-eyebrow {
  font-family: var(--font-body); /* Removed monospace */
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent); /* Soft terracotta */
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  /* Removed neon text-shadow */
}

/* Removed terminal brackets */
.auth-x-eyebrow::before,
.auth-x-eyebrow::after {
  display: none;
}

/* LEFT CONTENT */

.auth-x-hero-left h1 {
  font-family: var(--font-heading); /* Elegant serif */
  font-size: clamp(36px, 4.5vw, 52px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--text);
  /* Removed aggressive uppercase and heavy text-shadows */
}

.auth-x-hero-left h1 span {
  color: var(--primary-dark); /* Deep sage green */
  font-style: italic; /* Added editorial flair */
  /* Removed neon highlight and shadow */
}

.auth-x-hero-left p {
  max-width: 520px;
  font-size: 17px; /* Slightly larger for readability */
  line-height: 1.8;
  color: var(--text-muted);
  border-left: 2px solid var(--primary); /* Sage accent line */
  padding-left: 20px;
}

/* RIGHT PANEL — SOFT INFO CONTEXT */

.auth-x-hero-panel {
  background: transparent;
  border-left: 1px solid var(--border); /* Clean, solid line instead of dashed */
  padding-left: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.auth-x-panel-item {
  background: var(--surface); /* Solid white panel */
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); /* Soft rounded corners */
  padding: 24px 30px; /* More breathing room */
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02); /* Very soft shadow */
}

/* Removed hover laser line */
.auth-x-panel-item::before {
  display: none;
}

.auth-x-panel-item:hover {
  border-color: var(--primary); /* Sage green hover border */
  transform: translateY(-4px); /* Gentle lift */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.auth-x-panel-item strong {
  display: block;
  font-family: var(--font-body); /* Removed monospace/heavy heading */
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  color: var(--text);
}

.auth-x-panel-item span {
  font-family: var(--font-body); /* Removed monospace */
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .auth-x-hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .auth-x-hero-panel {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 40px;
  }
}

/* =====================================================
   AUTH / LOGIN SECTION — VIBRANT BERRY UI
===================================================== */

/* --- Section Foundation --- */
.ui-auth-section {
  background-color: var(--core-bg);
  padding: 80px 24px 120px 24px;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

/* --- The Split Card Layout --- */
.ui-auth-wrapper {
  display: flex;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
  background-color: var(--core-bg-alt);
}

/* --- Left Panel (Dark) --- */
.ui-auth-panel-dark {
  flex: 1;
  background-color: var(--core-secondary);
  color: #ffffff;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
}

.ui-panel-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}

.ui-panel-desc {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0 0 48px 0;
}

/* Benefits Checklist */
.ui-auth-checklist {
  list-style: none;
  padding: 0;
  margin: auto 0 0 0; /* Pushes to bottom */
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ui-auth-checklist li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.auth-list-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.auth-list-icon svg {
  width: 24px;
  height: 24px;
}

/* Tints from previous sections */
.tint-blue {
  background: rgba(2, 132, 199, 0.15);
  color: #38bdf8;
}
.tint-pink {
  background: rgba(219, 39, 119, 0.15);
  color: #f472b6;
}
.tint-orange {
  background: rgba(234, 88, 12, 0.15);
  color: #fb923c;
}

.auth-list-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.auth-list-text strong {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.auth-list-text span {
  font-size: 0.875rem;
  color: #94a3b8;
}

/* --- Right Panel (Light Form) --- */
.ui-auth-panel-light {
  flex: 1.1;
  background-color: var(--core-bg-alt);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ui-form-header {
  margin-bottom: 32px;
}

.ui-form-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--core-secondary);
  margin: 0 0 8px 0;
}

.ui-form-desc {
  font-size: 1rem;
  color: var(--core-text-muted);
  margin: 0;
}

/* Form Inputs */
.ui-auth-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ui-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ui-input-group label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--core-secondary);
}

.ui-required {
  color: #ef4444;
}

/* Wrapper for Inline Icon */
.ui-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.ui-input-icon {
  position: absolute;
  left: 26px;
  color: var(--core-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* Lets clicks pass through to input */
}

.ui-input-icon svg {
  width: 18px;
  height: 18px;
}

.ui-input-wrapper input {
  width: 100%;
  background-color: var(--core-bg);
  border: 1px solid var(--core-border);
  border-radius: 8px;
  padding: 14px 16px 14px 44px; /* Left padding makes room for icon */
  font-family: inherit;
  font-size: 1rem;
  color: var(--core-text);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.ui-input-wrapper input:focus {
  outline: none;
  border-color: var(--core-primary);
  box-shadow: 0 0 0 3px var(--core-primary-light);
}

.ui-input-wrapper input::placeholder {
  color: #94a3b8;
}

/* Submit Button */
.ui-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--core-primary);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 16px;
  font-size: 1.0625rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
  margin-top: 8px;
}

.ui-btn-submit:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.35);
}

/* Divider */
.ui-auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 32px 0;
  color: var(--core-text-muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.ui-auth-divider::before,
.ui-auth-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--core-border);
}

.ui-auth-divider span {
  padding: 0 16px;
}

/* Secondary Action (Register) */
.ui-auth-secondary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.ui-secondary-text {
  font-size: 0.9375rem;
  color: var(--core-text-muted);
  margin: 0;
}

.ui-btn-outline-dark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  border: 2px solid var(--core-border);
  background-color: transparent;
  color: var(--core-secondary);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.ui-btn-outline-dark:hover {
  border-color: var(--core-secondary);
  background-color: var(--core-secondary);
  color: #ffffff;
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
  .ui-auth-wrapper {
    flex-direction: column;
  }

  .ui-auth-panel-dark,
  .ui-auth-panel-light {
    padding: 40px 24px;
  }

  .ui-auth-checklist {
    margin-top: 32px;
  }
}

/* =====================================================
   USER DASHBOARD SECTION — VIBRANT BERRY UI
===================================================== */

/* --- Section Foundation --- */
.ui-dashboard-section {
  background-color: var(--core-bg);
  padding: 60px 24px 100px 24px;
  min-height: 70vh;
}

.ui-dashboard-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto;
  align-items: start;
}

/* --- Sidebar Layout --- */
.ui-dash-sidebar {
  position: sticky;
  top: 100px; /* Adjust based on your header height */
  background-color: var(--core-bg-alt);
  border: 1px solid var(--core-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

/* User Widget */
.ui-user-widget {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--core-border);
}

.ui-avatar-circle {
  width: 48px;
  height: 48px;
  background: linear-gradient(
    135deg,
    var(--core-primary),
    #db2777
  ); /* Sunset Gradient */
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
}

.ui-user-meta {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ui-user-name {
  font-size: 1rem;
  color: var(--core-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ui-user-email {
  font-size: 0.8125rem;
  color: var(--core-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Navigation */
.ui-dash-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ui-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--core-text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.ui-nav-link svg {
  width: 18px;
  height: 18px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.ui-nav-link:hover {
  background-color: var(--core-bg);
  color: var(--core-secondary);
}

.ui-nav-link:hover svg {
  opacity: 1;
}

.ui-nav-link.is-active {
  background-color: var(--core-primary-light);
  color: var(--core-primary);
}

.ui-nav-link.is-active svg {
  opacity: 1;
}

.ui-nav-divider {
  height: 1px;
  background-color: var(--core-border);
  margin: 12px 0;
}

.ui-nav-link.text-danger {
  color: #ef4444; /* Clean Red */
}

.ui-nav-link.text-danger:hover {
  background-color: #fef2f2;
  color: #dc2626;
}

/* --- Main Dashboard Area --- */
.ui-dash-main {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Header */
.ui-dash-header {
  display: flex;
  flex-direction: column;
}

.ui-dash-headline {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--core-secondary);
  line-height: 1.2;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.ui-text-accent {
  color: var(--core-primary);
}

.ui-dash-desc {
  font-size: 1.0625rem;
  color: var(--core-text-muted);
  max-width: 600px;
  margin: 0;
  line-height: 1.6;
}

/* Bento Grid */
.ui-dash-bento {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.ui-bento-card {
  background-color: var(--core-bg-alt);
  border: 1px solid var(--core-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.ui-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.ui-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ui-card-icon svg {
  width: 20px;
  height: 20px;
}

/* Tints from previous patterns */
.tint-blue {
  background: #e0f2fe;
  color: #0284c7;
}
.tint-orange {
  background: #ffedd5;
  color: #2563eb;
}
.tint-indigo {
  background: #e0e7ff;
  color: #4f46e5;
}
.tint-pink {
  background: #fce7f3;
  color: #db2777;
}

.ui-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--core-secondary);
  margin: 0;
}

/* Info List (Left Card) */
.ui-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ui-info-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--core-border);
}

.ui-info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ui-info-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--core-text-muted);
}

.ui-info-val {
  font-size: 1rem;
  color: var(--core-secondary);
}

/* Action List (Right Card) */
.ui-action-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ui-action-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background-color: var(--core-bg);
  border: 1px solid var(--core-border);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ui-action-item:hover {
  border-color: var(--core-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.ui-action-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ui-action-icon svg {
  width: 20px;
  height: 20px;
}

.ui-action-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.ui-action-text strong {
  font-size: 0.9375rem;
  color: var(--core-secondary);
}

.ui-action-text span {
  font-size: 0.8125rem;
  color: var(--core-text-muted);
}

.ui-action-arrow {
  color: var(--core-text-muted);
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.ui-action-arrow svg {
  width: 18px;
  height: 18px;
}

.ui-action-item:hover .ui-action-arrow {
  color: var(--core-primary);
  transform: translateX(4px);
}

/* Notice Banner */
.ui-notice-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: var(--core-bg-alt);
  border: 1px solid var(--core-border);
  border-left: 4px solid var(--core-primary);
  padding: 24px;
  border-radius: 12px;
}

.ui-notice-icon {
  color: var(--core-primary);
  margin-top: 2px;
}

.ui-notice-icon svg {
  width: 24px;
  height: 24px;
}

.ui-notice-content strong {
  display: block;
  font-size: 1rem;
  color: var(--core-secondary);
  margin-bottom: 6px;
}

.ui-notice-content p {
  font-size: 0.9375rem;
  color: var(--core-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
  .ui-dashboard-layout {
    grid-template-columns: 1fr; /* Stack sidebar on top */
    gap: 32px;
  }

  .ui-dash-sidebar {
    position: relative;
    top: 0;
  }

  .ui-dash-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .ui-nav-divider {
    display: none; /* Hide divider when wrapped */
  }
}

@media (max-width: 640px) {
  .ui-dash-bento {
    grid-template-columns: 1fr;
  }

  .ui-dash-headline {
    font-size: 1.75rem;
  }

  .ui-bento-card {
    padding: 24px;
  }
}

/* =====================================================
   ORDER TRACKING SECTION — VIBRANT BERRY UI
===================================================== */

/* --- Section Foundation --- */
.ui-track-section {
  background-color: var(--core-bg);
  padding: 80px 24px 120px 24px;
  min-height: 70vh;
  display: flex;
  justify-content: center;
}

.ui-track-container {
  width: 100%;
  max-width: 640px; /* Centered, focused utility container */
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* --- Main Tracking Card --- */
.ui-track-card {
  background-color: var(--core-bg-alt);
  border: 1px solid var(--core-border);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}

.ui-track-card:hover {
  box-shadow: var(--shadow-md);
}

.ui-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

.ui-header-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ui-header-icon svg {
  width: 24px;
  height: 24px;
}

.tint-indigo {
  background: #e0e7ff;
  color: #4f46e5;
}

.ui-header-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ui-card-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--core-secondary);
  margin: 0;
}

.ui-card-desc {
  font-size: 0.9375rem;
  color: var(--core-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* --- Form Layout --- */
.ui-track-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.ui-form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--core-secondary);
}

.ui-track-action-row {
  display: flex;
  gap: 16px;
}

/* Input Styles */
.ui-input-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.ui-input-icon {
  position: absolute;
  left: 16px;
  color: var(--core-text-muted);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.ui-input-icon svg {
  width: 18px;
  height: 18px;
}

.ui-input {
  width: 100%;
  background-color: var(--core-bg);
  border: 1px solid var(--core-border);
  border-radius: 8px;
  padding: 14px 16px 14px 44px; /* Space for icon */
  font-family: inherit;
  font-size: 1rem;
  color: var(--core-text);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.ui-input:focus {
  outline: none;
  border-color: var(--core-primary);
  box-shadow: 0 0 0 3px var(--core-primary-light);
}

.ui-input::placeholder {
  color: #94a3b8;
}

/* Button Styles */
.ui-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--core-primary);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0 24px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
}

.ui-btn-primary:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.35);
}

/* --- Error Alert --- */
.ui-alert-error {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 24px;
  animation: slideDown 0.3s ease-out;
}

.ui-alert-icon {
  color: #ef4444;
  margin-top: 2px;
}

.ui-alert-icon svg {
  width: 24px;
  height: 24px;
}

.ui-alert-content strong {
  display: block;
  color: #991b1b;
  font-size: 1rem;
  margin-bottom: 4px;
}

.ui-alert-content p {
  margin: 0;
  color: #b91c1c;
  font-size: 0.9375rem;
}

/* --- Results Card --- */
.ui-result-card {
  padding: 32px;
  animation: slideUp 0.4s ease-out;
}

.ui-status-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1px solid transparent;
}

/* Status: Processing (Orange/Yellow Tint) */
.status-processing {
  background-color: #fffbeb;
  border-color: #fde68a;
}
.status-processing .ui-status-icon-blob {
  background-color: #fef3c7;
  color: #d97706;
}

/* Status: Dispatched (Green/Teal Tint) */
.status-dispatched {
  background-color: #ecfdf5;
  border-color: #a7f3d0;
}
.status-dispatched .ui-status-icon-blob {
  background-color: #d1fae5;
  color: #059669;
}

.ui-status-icon-blob {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ui-status-icon-blob svg {
  width: 28px;
  height: 28px;
}

.ui-status-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ui-status-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--core-secondary);
}

.ui-status-desc {
  font-size: 0.9375rem;
  color: var(--core-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Summary Details */
.ui-track-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background-color: var(--core-bg);
  border: 1px solid var(--core-border);
  padding: 24px;
  border-radius: 12px;
}

.ui-summary-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ui-summary-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--core-text-muted);
}

.ui-summary-val {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--core-secondary);
}

/* --- Animations & Responsive --- */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .ui-track-card {
    padding: 24px;
  }

  .ui-track-action-row {
    flex-direction: column;
  }

  .ui-btn-primary {
    width: 100%;
    padding: 14px;
  }

  .ui-status-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px 16px;
  }

  .ui-track-summary {
    grid-template-columns: 1fr; /* Stack summary on mobile */
  }
}

/* =====================================================
   RETURN ORDER SECTION — VIBRANT BERRY UI
===================================================== */

/* --- Section Foundation --- */
.ui-return-section {
  background-color: var(--core-bg);
  padding: 80px 24px 120px 24px;
  min-height: 75vh;
  display: flex;
  justify-content: center;
}

.ui-return-container {
  width: 100%;
  max-width: 600px; /* Centered utility container */
}

/* --- Card Base --- */
.ui-return-card {
  background-color: var(--core-bg-alt);
  border: 1px solid var(--core-border);
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
  animation: fadeUp 0.4s ease-out forwards;
}

.ui-return-card:hover {
  box-shadow: var(--shadow-md);
}

/* --- Header Area --- */
.ui-card-header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
}

.ui-header-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.ui-header-icon svg {
  width: 28px;
  height: 28px;
}
.tint-blue {
  background: #e0f2fe;
  color: #0284c7;
}

.ui-return-headline {
  font-size: 2rem;
  font-weight: 800;
  color: var(--core-secondary);
  margin: 0 0 12px 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.ui-text-accent {
  color: var(--core-primary);
}

.ui-return-desc {
  font-size: 1rem;
  color: var(--core-text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 400px;
}

/* --- Form Layout --- */
.ui-return-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ui-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ui-input-group label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--core-secondary);
}

.ui-required {
  color: #ef4444;
}
.ui-optional {
  color: #94a3b8;
  font-weight: 400;
  font-size: 0.8125rem;
}

/* Input Wrapper & Icons */
.ui-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.ui-input-icon {
  position: absolute;
  left: 16px;
  color: var(--core-text-muted);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.ui-input-icon svg {
  width: 18px;
  height: 18px;
}

/* Inputs, Textareas, and Selects */
.ui-input-wrapper input,
.ui-input-wrapper select,
.ui-input-group textarea {
  width: 100%;
  background-color: var(--core-bg);
  border: 1px solid var(--core-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--core-text);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

/* Specific padding for icon fields */
.ui-input-wrapper input,
.ui-input-wrapper select {
  padding: 14px 16px 14px 44px; /* Room for left icon */
}

.ui-input-group textarea {
  padding: 14px 16px;
  resize: vertical;
  min-height: 100px;
}

.ui-input-wrapper input:focus,
.ui-input-wrapper select:focus,
.ui-input-group textarea:focus {
  outline: none;
  border-color: var(--core-primary);
  box-shadow: 0 0 0 3px var(--core-primary-light);
}

.ui-input-wrapper input::placeholder,
.ui-input-group textarea::placeholder {
  color: #94a3b8;
}

/* Custom Select Styling */
.ui-custom-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.ui-select-arrow {
  position: absolute;
  right: 16px;
  color: var(--core-text-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.ui-select-arrow svg {
  width: 16px;
  height: 16px;
}

/* --- Error Alert --- */
.ui-alert-error {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background-color: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 10px;
  padding: 16px;
  margin-top: 8px;
}

.ui-alert-icon {
  color: #ef4444;
  margin-top: 2px;
}

.ui-alert-icon svg {
  width: 20px;
  height: 20px;
}

.ui-alert-content strong {
  display: block;
  color: #991b1b;
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.ui-alert-content p {
  margin: 0;
  color: #b91c1c;
  font-size: 0.875rem;
}

/* --- Policy Note --- */
.ui-policy-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background-color: var(--core-bg);
  padding: 16px;
  border-radius: 8px;
  border: 1px dashed var(--core-border);
  margin-top: 8px;
}

.ui-policy-note svg {
  width: 16px;
  height: 16px;
  color: var(--core-text-muted);
  flex-shrink: 0;
  margin-top: 2px;
}

.ui-policy-note span {
  font-size: 0.8125rem;
  color: var(--core-text-muted);
  line-height: 1.5;
}

/* --- Success State --- */
.ui-success-mode {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ui-success-icon-blob {
  width: 72px;
  height: 72px;
  background-color: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 0 0 8px rgba(22, 163, 74, 0.1);
}

.ui-success-icon-blob svg {
  width: 32px;
  height: 32px;
}

.ui-text-success {
  color: #16a34a;
}

.ui-return-summary {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background-color: var(--core-bg);
  border: 1px solid var(--core-border);
  padding: 20px;
  border-radius: 12px;
  width: 100%;
  margin: 32px 0;
  box-sizing: border-box;
}

.ui-summary-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--core-text-muted);
}

.ui-summary-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--core-secondary);
}

/* --- Button --- */
.ui-btn-primary-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--core-primary);
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
  box-sizing: border-box;
}

.ui-btn-primary-lg:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.35);
}

/* --- Animations & Responsive --- */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .ui-return-card {
    padding: 32px 24px;
  }
}

/* =====================================================
   CART PAGE SECTION — VIBRANT BERRY UI
===================================================== */

/* --- Section Foundation --- */
.ui-cart-section {
  background-color: var(--core-bg);
  padding: 80px 24px 120px 24px;
  min-height: 60vh;
}

/* --- Empty State --- */
.ui-empty-state {
  max-width: 500px;
  margin: 60px auto;
  text-align: center;
  padding: 60px 40px;
  background-color: var(--core-bg-alt);
  border: 1px solid var(--core-border);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ui-empty-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(249, 115, 22, 0.1);
  color: var(--core-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.ui-empty-icon svg {
  width: 40px;
  height: 40px;
}

.ui-empty-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--core-secondary);
  margin: 0 0 16px 0;
}

.ui-empty-desc {
  font-size: 1.0625rem;
  color: var(--core-text-muted);
  line-height: 1.6;
  margin: 0 0 32px 0;
}

/* --- Filled Cart Layout --- */
.ui-cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

/* --- Cart Items List --- */
.ui-cart-header {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--core-secondary);
  margin: 0 0 24px 0;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--core-border);
}

.ui-cart-list {
  display: flex;
  flex-direction: column;
}

/* Individual Cart Row */
.ui-cart-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--core-border);
}

.ui-row-visual {
  width: 100px;
  height: 100px;
  background-color: var(--core-bg-alt);
  border: 1px solid var(--core-border);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ui-row-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: darken;
}

.ui-row-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ui-row-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--core-secondary);
  margin: 0;
  line-height: 1.3;
}

.ui-row-unit {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--core-text);
}

.ui-unit-label {
  font-weight: 400;
  color: var(--core-text-muted);
}

/* Quantity Control UI */
.ui-qty-form {
  margin: 0;
}

.ui-qty-control {
  display: flex;
  align-items: center;
  background-color: var(--core-bg-alt);
  border: 1px solid var(--core-border);
  border-radius: 8px;
  overflow: hidden;
  height: 40px;
}

.ui-qty-control input {
  width: 50px;
  height: 100%;
  border: none;
  background: transparent;
  text-align: center;
  font-weight: 700;
  font-family: inherit;
  color: var(--core-secondary);
  outline: none;
  -moz-appearance: textfield;
}

.ui-qty-control input::-webkit-outer-spin-button,
.ui-qty-control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ui-qty-control button {
  width: 40px;
  height: 100%;
  background: transparent;
  border: none;
  border-left: 1px solid var(--core-border);
  color: var(--core-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ui-qty-control button:hover {
  background-color: var(--core-primary-light);
  color: var(--core-primary);
}

.ui-qty-control button svg {
  width: 16px;
  height: 16px;
}

/* Totals & Remove */
.ui-row-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 120px;
}

.ui-row-total {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--core-secondary);
}

.ui-btn-remove {
  background: transparent;
  border: none;
  color: #ef4444; /* Clean Red */
  font-size: 0.8125rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.ui-btn-remove:hover {
  background-color: #fef2f2;
}

.ui-btn-remove svg {
  width: 14px;
  height: 14px;
}

/* --- Sticky Sidebar Summary --- */
.ui-cart-sidebar {
  position: sticky;
  top: 100px; /* Assumes a sticky header above */
}

.ui-summary-card {
  background-color: var(--core-bg-alt);
  border: 1px solid var(--core-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.ui-summary-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--core-secondary);
  margin: 0 0 24px 0;
}

.ui-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 1rem;
}

.ui-summary-label {
  color: var(--core-text-muted);
  font-weight: 500;
}

.ui-summary-val {
  font-weight: 700;
  color: var(--core-secondary);
}

.ui-summary-val.calc-note {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--core-text-muted);
}

.ui-summary-divider {
  height: 1px;
  background-color: var(--core-border);
  margin: 24px 0;
}

.ui-summary-row.is-total {
  font-size: 1.25rem;
}

.ui-summary-row.is-total .ui-summary-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--core-primary);
}

.ui-summary-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #10b981; /* Trust Green */
  margin-top: 16px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
  .ui-cart-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ui-cart-sidebar {
    position: static;
  }
}

@media (max-width: 600px) {
  .ui-cart-row {
    flex-direction: column;
    align-items: flex-start;
    position: relative;
  }

  .ui-row-actions {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed var(--core-border);
    padding-top: 16px;
    margin-top: 8px;
  }

  .ui-row-qty {
    position: absolute;
    top: 24px;
    right: 0;
  }
}

/* =====================================================
   CHECKOUT PAGE SECTION — VIBRANT BERRY UI
===================================================== */

/* --- Section Foundation --- */
.ui-checkout-section {
  background-color: var(--core-bg);
  padding: 60px 24px 120px 24px;
}

/* --- Error Alert --- */
.ui-alert-error {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 0 auto 32px auto;
  max-width: 1280px;
}

.ui-alert-icon {
  color: #ef4444;
  margin-top: 2px;
}

.ui-alert-icon svg {
  width: 24px;
  height: 24px;
}

.ui-alert-content strong {
  display: block;
  color: #991b1b;
  font-size: 1rem;
  margin-bottom: 4px;
}

.ui-alert-content p {
  margin: 0;
  color: #b91c1c;
  font-size: 0.9375rem;
}

/* --- Layout --- */
.ui-checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto;
  align-items: start;
}

/* --- Left Column: Forms --- */
.ui-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.ui-checkout-card {
  background-color: var(--core-bg-alt);
  border: 1px solid var(--core-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.ui-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--core-border);
}

.ui-header-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ui-header-icon svg {
  width: 20px;
  height: 20px;
}

/* Tints matching previous sections */
.tint-blue {
  background: #e0f2fe;
  color: #0284c7;
}
.tint-pink {
  background: #fce7f3;
  color: #db2777;
}

.ui-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--core-secondary);
  margin: 0;
}

/* Form Inputs */
.ui-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.ui-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ui-input-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--core-secondary);
}

.ui-required {
  color: #ef4444;
}

.ui-input-group input,
.ui-input-group textarea {
  width: 100%;
  background-color: var(--core-bg);
  border: 1px solid var(--core-border);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--core-text);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.ui-input-group textarea {
  resize: vertical;
}

.ui-input-group input:focus,
.ui-input-group textarea:focus {
  outline: none;
  border-color: var(--core-primary);
  box-shadow: 0 0 0 3px var(--core-primary-light);
}

/* --- Payment Method Cards --- */
.ui-payment-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ui-payment-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background-color: var(--core-bg);
  border: 2px solid var(--core-border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ui-payment-card:hover {
  border-color: #cbd5e1;
}

.ui-payment-card.is-active {
  border-color: var(--core-primary);
  background-color: var(--core-primary-light);
}

.ui-pay-icon {
  width: 48px;
  height: 48px;
  background-color: var(--core-bg-alt);
  border: 1px solid var(--core-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--core-secondary);
  transition: all 0.2s;
}

.ui-payment-card.is-active .ui-pay-icon {
  background-color: #ffffff;
  color: var(--core-primary);
  border-color: var(--core-primary);
}

.ui-pay-icon svg {
  width: 24px;
  height: 24px;
}

.ui-pay-details {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ui-pay-details strong {
  font-size: 1rem;
  color: var(--core-secondary);
  margin-bottom: 2px;
}

.ui-pay-details span {
  font-size: 0.875rem;
  color: var(--core-text-muted);
}

.ui-pay-check {
  color: var(--core-primary);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.2s ease;
}

.ui-pay-check svg {
  width: 24px;
  height: 24px;
}

.ui-payment-card.is-active .ui-pay-check {
  opacity: 1;
  transform: scale(1);
}

/* --- Right Column: Sticky Summary --- */
.ui-checkout-sidebar {
  position: sticky;
  top: 100px;
}

.ui-summary-box {
  background-color: var(--core-bg-alt);
  border: 1px solid var(--core-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.ui-summary-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--core-secondary);
  margin: 0 0 24px 0;
}

.ui-summary-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--core-border);
}

.ui-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ui-item-context {
  display: flex;
  flex-direction: column;
}

.ui-item-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--core-secondary);
}

.ui-item-qty {
  font-size: 0.8125rem;
  color: var(--core-text-muted);
}

.ui-item-price {
  font-size: 0.9375rem;
  color: var(--core-secondary);
}

.ui-summary-calc {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.ui-calc-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9375rem;
  color: var(--core-text-muted);
}

.ui-text-success {
  color: #10b981;
  font-weight: 600;
}

.ui-calc-divider {
  height: 1px;
  background-color: var(--core-border);
  margin: 8px 0;
}

.ui-calc-row.is-total {
  font-size: 1.25rem;
  color: var(--core-secondary);
  font-weight: 700;
  align-items: center;
}

.ui-total-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--core-primary);
}

/* Shared Button Logic applied to form button */
.ui-btn-primary-lg {
  width: 100%;
  justify-content: center;
  border: none;
  cursor: pointer;
  margin-bottom: 16px;
}

.ui-summary-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #10b981;
}

.ui-summary-trust svg {
  width: 14px;
  height: 14px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
  .ui-checkout-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ui-checkout-sidebar {
    position: static;
  }
}

@media (max-width: 600px) {
  .ui-form-grid {
    grid-template-columns: 1fr;
  }

  .ui-checkout-card {
    padding: 24px;
  }
}

/* =====================================================
   ORDER SUCCESS SECTION — VIBRANT BERRY UI
===================================================== */

/* --- Section Foundation --- */
.ui-success-section {
  background-color: var(--core-bg);
  padding: 80px 24px 120px 24px;
}

/* --- Header --- */
.ui-success-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeUp 0.6s ease-out forwards;
}

.ui-success-icon-blob {
  width: 88px;
  height: 88px;
  background-color: #dcfce7;
  color: #16a34a; /* Vibrant Green */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 0 0 12px rgba(22, 163, 74, 0.1); /* Subtle glowing ring */
}

.ui-success-icon-blob svg {
  width: 40px;
  height: 40px;
}

.ui-success-headline {
  font-size: 3rem;
  font-weight: 800;
  color: var(--core-secondary);
  margin: 0 0 16px 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.ui-text-accent {
  color: var(--core-primary);
}

.ui-success-desc {
  font-size: 1.125rem;
  color: var(--core-text-muted);
  line-height: 1.6;
  margin: 0;
}

.ui-order-number {
  color: var(--core-secondary);
  font-weight: 800;
  background-color: var(--core-bg-alt);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--core-border);
}

/* --- Layout --- */
.ui-success-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

/* --- Left Column: Main Cards --- */
.ui-success-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.ui-success-card {
  background-color: var(--core-bg-alt);
  border: 1px solid var(--core-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.ui-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.ui-header-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ui-header-icon svg {
  width: 22px;
  height: 22px;
}

/* Tints */
.tint-indigo {
  background: #e0e7ff;
  color: #4f46e5;
}
.tint-pink {
  background: #fce7f3;
  color: #db2777;
}
.tint-blue {
  background: #e0f2fe;
  color: #0284c7;
}
.tint-orange {
  background: #ffedd5;
  color: #2563eb;
}

.ui-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--core-secondary);
  margin: 0;
}

/* Payment Status Block */
.ui-payment-status {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: var(--core-bg);
  border: 1px solid var(--core-border);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 24px;
}

.ui-status-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ui-status-icon svg {
  width: 20px;
  height: 20px;
}

.ui-status-text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--core-text-muted);
  margin: 0;
}

.ui-status-text strong {
  color: var(--core-secondary);
}

/* Stats Bento Grid */
.ui-stats-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ui-stat-box {
  background-color: var(--core-bg);
  border: 1px solid var(--core-border);
  padding: 16px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ui-stat-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--core-text-muted);
}

.ui-stat-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--core-secondary);
}

.text-success {
  color: #16a34a;
}

/* Next Steps List */
.ui-next-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ui-next-steps-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background-color: var(--core-bg);
  border: 1px solid var(--core-border);
  border-radius: 10px;
}

.ui-next-steps-list li svg {
  width: 24px;
  height: 24px;
  color: var(--core-primary);
  flex-shrink: 0;
}

.ui-next-steps-list li span {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--core-secondary);
}

/* Actions */
.ui-success-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.ui-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--core-primary);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
}

.ui-btn-primary:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
}

.ui-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  color: var(--core-secondary);
  border: 2px solid var(--core-border);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ui-btn-outline:hover {
  border-color: var(--core-secondary);
  background-color: var(--core-secondary);
  color: #ffffff;
}

/* --- Right Column: Sidebar --- */
.ui-success-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Timeline */
.ui-timeline-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-left: 8px;
}

/* The vertical connecting line */
.ui-timeline-rail::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 23px; /* Centers under the 30px circles */
  width: 2px;
  background-color: var(--core-border);
  z-index: 0;
}

.ui-timeline-step {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.ui-step-indicator {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  flex-shrink: 0;
  background-color: var(--core-bg);
  border: 2px solid var(--core-border);
  color: var(--core-text-muted);
  transition: all 0.3s ease;
}

.ui-step-indicator svg {
  width: 16px;
  height: 16px;
}

.ui-step-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

.ui-step-content strong {
  font-size: 1rem;
  color: var(--core-secondary);
}

.ui-step-content span {
  font-size: 0.875rem;
  color: var(--core-text-muted);
}

/* Active State for Timeline */
.ui-timeline-step.is-active .ui-step-indicator {
  background-color: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.1);
}

/* Help Snippet */
.ui-help-snippet {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: var(--core-bg-alt);
  border: 1px dashed var(--core-border);
  padding: 24px;
  border-radius: 12px;
}

.ui-help-icon {
  width: 40px;
  height: 40px;
  background-color: var(--core-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--core-primary);
  flex-shrink: 0;
}

.ui-help-icon svg {
  width: 20px;
  height: 20px;
}

.ui-help-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ui-help-content strong {
  font-size: 1rem;
  color: var(--core-secondary);
}

.ui-help-content p {
  font-size: 0.875rem;
  color: var(--core-text-muted);
  margin: 0 0 8px 0;
}

.ui-help-content a,
.ui-help-content span {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--core-primary);
  text-decoration: none;
}

/* Animations */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
  .ui-success-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ui-stats-bento {
    grid-template-columns: 1fr;
  }

  .ui-success-actions {
    flex-direction: column;
  }

  .ui-btn-primary,
  .ui-btn-outline {
    width: 100%;
    justify-content: center;
  }
}

/* Policy Pages */
.policy-page {
  padding: 50px;
}

/* =====================================================
   SHOP PAGE — SERENE EARTH
===================================================== */

/* --- Section Foundation --- */
.ui-browser-section {
  background-color: var(--core-bg);
  padding: 80px 24px 120px 24px;
  min-height: 60vh;
}

/* --- Elegant Empty State --- */
.ui-empty-state {
  max-width: 540px;
  margin: 60px auto;
  text-align: center;
  padding: 64px 40px;
  background-color: var(--core-bg-alt);
  border: 1px solid var(--core-border);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeUp 0.4s ease-out forwards;
}

.ui-empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.ui-empty-icon.tint-indigo {
  background-color: #e0e7ff;
  color: #4f46e5;
}

.ui-empty-icon svg {
  width: 36px;
  height: 36px;
}

.ui-empty-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--core-secondary);
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}

.ui-text-accent {
  color: var(--core-primary);
}

.ui-empty-desc {
  font-size: 1.0625rem;
  color: var(--core-text-muted);
  line-height: 1.6;
  margin: 0 0 32px 0;
}

/* Shared large primary button */
.ui-btn-primary-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--core-primary);
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
}

.ui-btn-primary-lg:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.35);
}

/* --- Product Grid Layout --- */
.ui-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
}

/* --- Semantic Item Card --- */
.ui-item-card {
  display: flex;
  flex-direction: column;
  background-color: var(--core-bg-alt);
  border: 1px solid var(--core-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.ui-item-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--core-text-muted);
}

/* Visual Top Half */
.ui-item-visual {
  position: relative;
  height: 240px;
  background-color: #f8fafc; /* Crisp, light grey to pop the product */
  border-bottom: 1px solid var(--core-border);
  overflow: hidden;
}

.ui-visual-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 24px;
  box-sizing: border-box;
}

.ui-item-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: darken; /* Seamless white-background removal */
  transition: transform 0.4s ease;
}

.ui-item-card:hover .ui-item-img {
  transform: scale(1.06);
}

/* Badges Overlay */
.ui-badge-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ui-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ui-badge-success {
  background-color: #dcfce7;
  color: #16a34a;
  border: 1px solid #86efac;
}

.ui-badge-error {
  background-color: #fef2f2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

/* Details Middle Half */
.ui-item-details {
  padding: 24px 24px 16px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ui-item-title-link {
  text-decoration: none;
  margin-bottom: 8px;
}

.ui-item-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--core-secondary);
  margin: 0;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.ui-item-title-link:hover .ui-item-title {
  color: var(--core-primary);
}

.ui-item-desc {
  font-size: 0.9375rem;
  color: var(--core-text-muted);
  line-height: 1.5;
  margin: 0 0 16px 0;
  flex: 1; /* Pushes price to bottom if descriptions vary in length */
  /* Truncate visually to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ui-item-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--core-secondary);
}

/* Action Footer */
.ui-item-footer {
  padding: 0 24px 24px 24px;
}

.ui-add-form {
  margin: 0;
}

.ui-btn-add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background-color: var(--core-bg);
  border: 2px solid var(--core-primary);
  color: var(--core-primary);
  padding: 12px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ui-btn-add:hover {
  background-color: var(--core-primary);
  color: #ffffff;
}

.ui-btn-disabled {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background-color: #f1f5f9;
  border: 2px solid #e2e8f0;
  color: #94a3b8;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: not-allowed;
}

/* --- Animations & Responsive --- */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .ui-empty-state {
    padding: 40px 24px;
  }

  .ui-product-grid {
    grid-template-columns: 1fr; /* Stack cards on mobile */
  }

  .ui-item-visual {
    height: 280px; /* Slightly taller on mobile for better view */
  }
}

/* =====================================================
   SINGLE PRODUCT PAGE — SHARP & ARCHITECTURAL UI
===================================================== */

/* --- Section Foundation --- */
.ui-single-product-section {
  background-color: var(--core-bg);
  padding: 60px 24px 100px 24px;
}

.ui-container {
  max-width: 1280px;
  margin: 0 auto;
}

/* --- Top: Hero Grid --- */
.ui-product-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 80px;
}

/* --- Left: Image Gallery --- */
.ui-product-gallery {
  position: sticky;
  top: 100px;
}

.ui-gallery-main {
  background-color: var(--core-bg-alt);
  border: 1px solid var(--core-border);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 500px;
  box-shadow: var(--shadow-sm);
}

.ui-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: darken;
  transition: transform 0.4s ease;
}

.ui-gallery-main:hover .ui-main-img {
  transform: scale(1.05);
}

/* --- Right: Product Info --- */
.ui-product-info {
  display: flex;
  flex-direction: column;
}

/* Meta Data */
.ui-product-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ui-meta-brand {
  color: var(--core-primary);
}
.ui-meta-dot {
  color: var(--core-border);
}
.ui-meta-category {
  color: var(--core-text-muted);
}

/* Title & Rating */
.ui-product-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--core-secondary);
  line-height: 1.2;
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}

.ui-product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
}

.ui-stars {
  display: flex;
  gap: 2px;
  color: #9b0bf5; /* Yellow/Gold */
}

.ui-stars svg {
  width: 18px;
  height: 18px;
}

.ui-rating-score {
  font-size: 1rem;
  font-weight: 800;
  color: var(--core-secondary);
}

.ui-rating-text {
  font-size: 0.9375rem;
  color: var(--core-text-muted);
}

/* Pricing */
.ui-product-pricing {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--core-border);
}

.ui-price-large {
  font-size: 3rem;
  font-weight: 800;
  color: var(--core-secondary);
  line-height: 1;
  margin-bottom: 8px;
}

.ui-tax-note {
  font-size: 0.875rem;
  color: var(--core-text-muted);
}

/* Description */
.ui-product-desc {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--core-text-muted);
  margin: 0 0 40px 0;
}

/* Actions */
.ui-product-actions {
  margin-bottom: 40px;
}

.ui-action-group {
  display: flex;
  gap: 16px;
}

.ui-add-form {
  flex: 1;
  margin: 0;
}

.ui-btn-primary-lg,
.ui-btn-outline-lg,
.ui-btn-disabled-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 24px;
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ui-btn-primary-lg {
  background-color: var(--core-primary);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
}

.ui-btn-primary-lg:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.35);
}

.ui-btn-outline-lg {
  background-color: transparent;
  color: var(--core-secondary);
  border: 2px solid var(--core-border);
}

.ui-btn-outline-lg:hover {
  border-color: var(--core-secondary);
  background-color: var(--core-secondary);
  color: #ffffff;
}

.ui-btn-disabled-lg {
  background-color: #f1f5f9;
  color: #94a3b8;
  border: 2px solid #e2e8f0;
  cursor: not-allowed;
}

/* Trust Signals */
.ui-trust-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.ui-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--core-text-muted);
}

.ui-trust-item svg {
  width: 18px;
  height: 18px;
}

.tint-green {
  color: #10b981;
}
.tint-blue {
  color: #2563eb;
}
.tint-orange {
  color: #9b0bf5;
}

/* --- Bottom: CSS-Only Tabs --- */
.ui-product-tabs {
  background-color: var(--core-bg-alt);
  border: 1px solid var(--core-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* Hide Radio Buttons */
.ui-tab-radio {
  display: none;
}

/* Tab Headers */
.ui-tab-labels {
  display: flex;
  border-bottom: 1px solid var(--core-border);
  background-color: var(--core-bg);
  overflow-x: auto; /* Allow scrolling on small screens */
  scrollbar-width: none; /* Hide scrollbar Firefox */
}
.ui-tab-labels::-webkit-scrollbar {
  display: none;
} /* Hide scrollbar Webkit */

.ui-tab-label {
  padding: 20px 32px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--core-text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ui-tab-label:hover {
  color: var(--core-secondary);
}

/* CSS Tab Logic: When Radio is checked, highlight corresponding Label */
#tab_overview:checked ~ .ui-tab-labels label[for="tab_overview"],
#tab_specs:checked ~ .ui-tab-labels label[for="tab_specs"],
#tab_compat:checked ~ .ui-tab-labels label[for="tab_compat"],
#tab_delivery:checked ~ .ui-tab-labels label[for="tab_delivery"] {
  color: var(--core-primary);
  border-bottom-color: var(--core-primary);
}

/* Tab Content Areas */
.ui-tab-panels {
  padding: 40px;
}

.ui-panel {
  display: none; /* Hide all by default */
  animation: fadeIn 0.4s ease-out;
}

/* CSS Tab Logic: When Radio is checked, show corresponding Panel */
#tab_overview:checked ~ .ui-tab-panels .ui-panel-overview,
#tab_specs:checked ~ .ui-tab-panels .ui-panel-specs,
#tab_compat:checked ~ .ui-tab-panels .ui-panel-compat,
#tab_delivery:checked ~ .ui-tab-panels .ui-panel-delivery {
  display: block;
}

/* Panel Content Styling */
.ui-panel-inner {
  max-width: 800px;
}

.ui-panel-heading {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--core-secondary);
  margin: 0 0 20px 0;
}

.ui-panel-text {
  font-size: 1.0625rem;
  color: var(--core-text-muted);
  line-height: 1.6;
  margin: 0 0 24px 0;
}

.ui-panel-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ui-panel-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--core-secondary);
}

.ui-panel-bullets li svg {
  width: 20px;
  height: 20px;
  color: var(--core-primary);
  flex-shrink: 0;
}

/* Tech Spec Tables */
.ui-spec-table {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--core-border);
}

.ui-spec-row {
  display: flex;
  padding: 16px 0;
  border-bottom: 1px solid var(--core-border);
}

.ui-spec-key {
  width: 200px;
  font-weight: 700;
  color: var(--core-secondary);
  flex-shrink: 0;
}

.ui-spec-val {
  color: var(--core-text-muted);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .ui-product-hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ui-product-gallery {
    position: relative;
    top: 0;
  }

  .ui-gallery-main {
    height: 400px;
  }
}

@media (max-width: 640px) {
  .ui-single-product-section {
    padding: 40px 16px 80px 16px;
  }

  .ui-product-title {
    font-size: 2rem;
  }

  .ui-action-group {
    flex-direction: column;
  }

  .ui-tab-label {
    padding: 16px 20px;
    font-size: 1rem;
  }

  .ui-tab-panels {
    padding: 24px 20px;
  }

  .ui-spec-row {
    flex-direction: column;
    gap: 8px;
  }
}

.text-black {
  color: black !important;
}
