/* ==========================================================================
   PARTDO AUTO PARTS THEME - COMPLETE CLEAN STYLESHEET
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Krub:wght@300;400;500;600;700;800&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --partdo-red: #ef233c;
  --partdo-red-dark: #d81d33;
  --partdo-dark-hero: #1a232a;
  --partdo-text-main: #212529;
  --partdo-text-muted: #7e858e;
  --partdo-border-light: #eaeaea;
  --partdo-bg-light: #f8f9fa;
  --partdo-font: 'Krub', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ===== BASE RESET ===== */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--partdo-font);
  color: var(--partdo-text-main);
  background: #f4f6f8;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

a { color: inherit; }

/* ===== TOAST NOTIFICATIONS ===== */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: #1e293b;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  animation: slideIn 0.3s ease;
}
.toast.success { border-left: 4px solid #10b981; }
.toast.error   { border-left: 4px solid var(--partdo-red); }
@keyframes slideIn {
  from { opacity:0; transform: translateX(30px); }
  to   { opacity:1; transform: translateX(0); }
}

/* ==========================================================================
   1. TOP RED ACCENT STRIP
   ========================================================================== */
.top-red-line {
  height: 3px;
  background: var(--partdo-red);
  width: 100%;
}

/* ==========================================================================
   2. TOP ANNOUNCEMENT BAR
   ========================================================================== */
.partdo-topbar {
  background: #ffffff;
  border-bottom: 1px solid var(--partdo-border-light);
  padding: 8px 0;
  font-size: 13px;
  color: var(--partdo-text-muted);
}
.partdo-topbar a {
  color: var(--partdo-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.partdo-topbar a:hover { color: var(--partdo-red); }
.partdo-topbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-left-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar-right-info {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  color: var(--partdo-text-main);
  font-weight: 600;
}

/* ==========================================================================
   3. STICKY HEADER WRAPPER
   ========================================================================== */
.partdo-sticky-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1050;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease;
}
.partdo-sticky-header.header-scrolled {
  box-shadow: 0 4px 22px rgba(15, 23, 42, 0.12);
}

/* ==========================================================================
   4. MAIN HEADER (Desktop)
   ========================================================================== */
.partdo-header-main {
  background: #ffffff;
  padding: 14px 0;
  border-bottom: 1px solid var(--partdo-border-light);
  transition: padding 0.3s ease;
}
.partdo-sticky-header.header-scrolled .partdo-header-main {
  padding: 10px 0;
}
.partdo-header-flex {
  display: flex;
  align-items: center;
  gap: 20px;
}
.partdo-hamburger-btn {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--partdo-text-main);
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.partdo-hamburger-btn:hover {
  border-color: var(--partdo-red);
  color: var(--partdo-red);
}
.partdo-logo-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.partdo-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--partdo-red);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.partdo-logo-text {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.3px;
  line-height: 1.1;
  white-space: nowrap;
}
/* Actual site logo image */
.partdo-site-logo {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}
.partdo-garage-btn {
  background: var(--partdo-bg-light);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #64748b;
  cursor: pointer;
  flex-shrink: 0;
}
.partdo-header-search {
  flex: 1;
  max-width: 580px;
}
.partdo-search-input-wrap {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 50px;
  padding: 4px 6px 4px 20px;
  transition: border-color 0.2s;
}
.partdo-search-input-wrap:focus-within {
  border-color: var(--partdo-red);
  box-shadow: 0 0 0 3px rgba(239,35,60,0.08);
}
.partdo-search-field {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-family: inherit;
  font-size: 14px;
  color: var(--partdo-text-main);
}
.partdo-search-submit-btn {
  background: transparent;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #475569;
  cursor: pointer;
  transition: color 0.2s;
}
.partdo-search-submit-btn:hover { color: var(--partdo-red); }
.partdo-header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

/* My Account Dropdown Wrapper & Trigger */
.partdo-account-dropdown-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.partdo-user-account-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid transparent;
  padding: 4px 8px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  color: var(--partdo-text-main);
  font-family: inherit;
  transition: all 0.2s ease;
}

.partdo-user-account-btn:hover,
.partdo-account-dropdown-wrapper.open .partdo-user-account-btn {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.acct-trigger-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--partdo-red), #b91c1c);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(239, 35, 60, 0.25);
}

.acct-trigger-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: all 0.2s;
}

.partdo-user-account-btn:hover .acct-trigger-icon,
.partdo-account-dropdown-wrapper.open .acct-trigger-icon {
  background: #fee2e2;
  color: var(--partdo-red);
}

.partdo-user-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}

.partdo-user-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 5px;
}

.acct-chevron {
  font-size: 10px;
  color: #94a3b8;
  transition: transform 0.2s ease;
}

.partdo-account-dropdown-wrapper.open .acct-chevron,
.partdo-account-dropdown-wrapper:hover .acct-chevron {
  transform: rotate(180deg);
}

.partdo-user-sub {
  font-size: 11px;
  color: var(--partdo-text-muted);
  font-weight: 500;
}

/* Account Dropdown Panel */
.partdo-account-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 300px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 14px 35px -4px rgba(15, 23, 42, 0.16), 0 4px 12px -2px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
  padding: 16px;
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

.partdo-account-dropdown-wrapper.open .partdo-account-panel,
.partdo-account-dropdown-wrapper:hover .partdo-account-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Auth User State Inside Panel */
.acct-panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.acct-panel-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--partdo-red), #b91c1c);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(239, 35, 60, 0.28);
}

.acct-panel-info {
  min-width: 0;
  flex: 1;
}

.acct-panel-name {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.acct-panel-email {
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.acct-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 4px;
}

.acct-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0 8px;
}

.acct-stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 4px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  text-decoration: none;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.15s ease;
  position: relative;
}

.acct-stat-pill i {
  font-size: 13px;
  color: var(--partdo-red);
}

.acct-stat-pill:hover {
  background: #fff5f5;
  border-color: #fecdd3;
  color: var(--partdo-red);
}

.acct-stat-badge {
  position: absolute;
  top: 4px;
  right: 6px;
  background: var(--partdo-red);
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  font-style: normal;
  min-width: 15px;
  height: 15px;
  line-height: 15px;
  text-align: center;
  border-radius: 10px;
  padding: 0 4px;
}

/* Panel Navigation Links */
.acct-panel-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 0;
}

.acct-panel-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: #334155;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.15s ease;
}

.acct-panel-link:hover {
  background: #f8fafc;
  color: var(--partdo-red);
}

.acct-panel-link.active {
  background: #fff1f2;
  color: var(--partdo-red);
  font-weight: 600;
}

.acct-link-icon {
  width: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #64748b;
}

.acct-panel-link:hover .acct-link-icon,
.acct-panel-link.active .acct-link-icon {
  color: var(--partdo-red);
}

.acct-link-label {
  flex: 1;
}

.acct-link-arrow {
  font-size: 10px;
  color: #cbd5e1;
  transition: transform 0.15s ease;
}

.acct-panel-link:hover .acct-link-arrow {
  color: var(--partdo-red);
  transform: translateX(2px);
}

.acct-panel-footer {
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px solid #f1f5f9;
}

.acct-signout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  background: #fff1f2;
  border: 1px solid #ffe4e6;
  border-radius: 8px;
  color: var(--partdo-red);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.acct-signout-btn:hover {
  background: var(--partdo-red);
  color: #ffffff;
  border-color: var(--partdo-red);
}

/* Guest State Inside Panel */
.acct-panel-guest {
  text-align: center;
  padding: 4px 4px 14px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 8px;
}

.acct-guest-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #fee2e2;
  color: var(--partdo-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.acct-guest-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
}

.acct-guest-sub {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 12px;
  line-height: 1.4;
}

.acct-signin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 9px 16px;
  background: var(--partdo-red);
  color: #ffffff !important;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(239, 35, 60, 0.28);
  transition: all 0.2s ease;
}

.acct-signin-btn:hover {
  background: var(--partdo-red-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 35, 60, 0.35);
}

.acct-guest-register {
  font-size: 12px;
  color: #64748b;
  margin: 10px 0 0;
}

.acct-guest-register a {
  color: var(--partdo-red);
  font-weight: 700;
  text-decoration: none;
}

.acct-guest-register a:hover {
  text-decoration: underline;
}
.partdo-icon-badge-btn {
  position: relative;
  text-decoration: none;
  color: #1e293b;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partdo-count-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--partdo-red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partdo-cart-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--partdo-text-main);
}
.partdo-cart-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.partdo-cart-count-lbl { font-size: 11px; color: var(--partdo-text-muted); }
.partdo-cart-price-val { font-size: 14px; font-weight: 800; color: #0f172a; }

/* Mobile-only cart (hidden on desktop) */
.show-mobile-only { display: none; }

/* ==========================================================================
   5. NAVIGATION BAR
   ========================================================================== */
.partdo-nav-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--partdo-border-light);
}
.partdo-nav-container {
  display: flex;
  align-items: center;
}
.partdo-all-categories-btn {
  width: 260px;
  background: var(--partdo-red);
  color: #fff;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  box-sizing: border-box;
  flex-shrink: 0;
}
.partdo-nav-menu-list {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0 0 0 24px;
  padding: 0;
}
.partdo-nav-menu-list a {
  text-decoration: none;
  color: #1e293b;
  font-weight: 600;
  font-size: 14px;
  padding: 14px 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}
.partdo-nav-menu-list a:hover { color: var(--partdo-red); }

/* All Categories Hover Dropdown */
.partdo-all-categories-wrapper {
  position: relative;
}
.partdo-categories-hover-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 260px;
  background: #ffffff;
  border: 1px solid var(--partdo-border-light);
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 1000;
}
.partdo-all-categories-wrapper:hover .partdo-categories-hover-dropdown {
  display: block;
}

/* Nav Link Hover Submenus */
.partdo-nav-item-dropdown {
  position: relative;
}
.partdo-hover-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  display: none;
  z-index: 1000;
  border: 1px solid #f1f5f9;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.partdo-nav-item-dropdown:hover .partdo-hover-submenu {
  display: block;
}
.partdo-hover-submenu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  color: #334155;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s;
}
.partdo-hover-submenu a:hover {
  background: #fff5f5;
  color: var(--partdo-red);
}

/* Mega Menu for Shop */
.partdo-hover-submenu.mega-menu {
  display: none;
  min-width: 440px;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 18px;
}
.partdo-nav-item-dropdown:hover .partdo-hover-submenu.mega-menu {
  display: grid;
}
.mega-menu-column .mega-title {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--partdo-red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid #f1f5f9;
}

/* HERO SLIDER WRAPPER & CONTROLS */
.partdo-hero-slider-wrap {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}
.partdo-hero-slides-container {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}
.partdo-hero-slide {
  display: none !important;
  width: 100%;
}
.partdo-hero-slide.active {
  display: flex !important;
  animation: fadeIn 0.4s ease;
}
.partdo-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
  backdrop-filter: blur(4px);
}
.partdo-hero-arrow:hover {
  background: var(--partdo-red);
}
.partdo-hero-arrow.prev-arrow { left: 16px; }
.partdo-hero-arrow.next-arrow { right: 16px; }
.partdo-carousel-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}
.partdo-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s;
}
.partdo-dot.active {
  background: var(--partdo-red);
  width: 24px;
  border-radius: 10px;
}

.partdo-help-link {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--partdo-red);
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
}

/* ==========================================================================
   6. HERO LAYOUT
   ========================================================================== */
.partdo-hero-layout {
  display: flex;
  gap: 24px;
  margin: 15px 0 40px;
}

/* Left sidebar */
.partdo-sidebar-categories {
  width: 260px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid var(--partdo-border-light);
  border-top: none;
  border-radius: 0 0 8px 8px;
  max-height: 520px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #e2e8f0 #f8fafc;
}
.partdo-sidebar-categories::-webkit-scrollbar { width: 4px; }
.partdo-sidebar-categories::-webkit-scrollbar-track { background: #f8fafc; }
.partdo-sidebar-categories::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 4px; }
.partdo-sidebar-categories::-webkit-scrollbar-thumb:hover { background: var(--partdo-red); }
.partdo-sidebar-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.partdo-sidebar-cat-item {
  border-bottom: 1px solid #f1f5f9;
}
.partdo-sidebar-cat-item:last-child { border-bottom: none; }
.partdo-sidebar-cat-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  color: #334155;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.2s;
}
.partdo-sidebar-cat-item a:hover {
  color: var(--partdo-red);
  background: #fff5f5;
  padding-left: 22px;
}
.partdo-sidebar-cat-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.partdo-sidebar-cat-left i {
  color: #64748b;
  font-size: 15px;
  width: 20px;
  text-align: center;
}
.partdo-sidebar-cat-item a:hover .partdo-sidebar-cat-left i { color: var(--partdo-red); }

/* Product count badge in sidebar */
.cat-count-pill {
  background: #f1f5f9;
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 20px;
  min-width: 22px;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}
.partdo-sidebar-cat-item a:hover .cat-count-pill {
  background: var(--partdo-red);
  color: #fff;
}

/* Hero card */
.partdo-hero-card-dark {
  flex: 1;
  background: linear-gradient(135deg, #182026 0%, #0f172a 100%);
  border-radius: 16px;
  padding: 50px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 420px;
}
.partdo-hero-content {
  max-width: 480px;
  z-index: 2;
  position: relative;
}
.partdo-hero-subtitle {
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.partdo-hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 16px 0;
  color: #fff;
}
.partdo-hero-desc {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 24px;
}
.partdo-hero-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 28px;
}
.partdo-hero-old-price {
  font-size: 16px;
  color: #64748b;
  text-decoration: line-through;
}
.partdo-hero-cur-price {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
}
.partdo-hero-img-right {
  position: absolute;
  right: 0;
  bottom: 0;
  top: 0;
  width: 50%;
  object-fit: cover;
  object-position: center right;
  z-index: 1;
  mask-image: linear-gradient(to right, transparent, black 25%);
  -webkit-mask-image: linear-gradient(to right, transparent, black 25%);
}

/* Carousel dots (desktop: hidden, mobile: shown) */
.partdo-carousel-dots { display: none; }
.partdo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}
.partdo-dot.active { background: var(--partdo-red); }

/* ==========================================================================
   7. SHARED BUTTONS
   ========================================================================== */
.partdo-btn-red-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--partdo-red);
  color: #fff;
  padding: 13px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.partdo-btn-red-pill:hover {
  background: var(--partdo-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(239,35,60,0.35);
}

/* ==========================================================================
   8. SECTION TITLE ROW
   ========================================================================== */
.partdo-section-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}
.partdo-section-title h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  color: #0f172a;
}
.partdo-view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--partdo-red);
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  white-space: nowrap;
  margin-top: 6px;
}
.partdo-view-all-link:hover { text-decoration: underline; }

/* ==========================================================================
   9. PRODUCT CARDS
   ========================================================================== */
.partdo-products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.partdo-product-card {
  background: #ffffff;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s;
  position: relative;
}
.partdo-product-card:hover {
  border-color: var(--partdo-red);
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
  transform: translateY(-3px);
}
.partdo-product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.partdo-badge-discount {
  background: var(--partdo-red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 4px;
}
.partdo-badge-fit {
  background: #10b981;
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
}
.partdo-product-img-wrap {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: #f8fafc;
  padding: 0 !important;
}
.partdo-product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.partdo-product-card:hover .partdo-product-img-wrap img { transform: scale(1.06); }
.partdo-product-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.2s;
}
.partdo-product-card:hover .partdo-product-actions {
  opacity: 1;
  transform: translateX(0);
}
.partdo-action-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 12px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.partdo-action-btn:hover {
  background: var(--partdo-red);
  color: #fff;
  border-color: var(--partdo-red);
}
.partdo-product-brand {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #94a3b8;
  text-transform: uppercase;
  padding: 12px 12px 0;
}
.partdo-product-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
  line-height: 1.35;
  margin: 4px 12px 6px;
}
.partdo-product-title:hover { color: var(--partdo-red); }
.partdo-product-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  color: #f59e0b;
  margin: 0 12px 6px;
}
.partdo-product-rating-count { color: #94a3b8; font-size: 10px; margin-left: 4px; }
.partdo-product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 12px 10px;
}
.partdo-product-price { font-size: 15px; font-weight: 800; color: var(--partdo-red); }
.partdo-product-old-price { font-size: 12px; color: #94a3b8; text-decoration: line-through; }
.partdo-add-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: calc(100% - 24px);
  margin: 0 12px 12px;
  padding: 9px 14px;
  background: #0f172a;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
  box-sizing: border-box;
}
.partdo-add-cart-btn:hover { background: var(--partdo-red); }
.partdo-stock-info {
  font-size: 11.5px;
  color: #64748b;
  margin: 0 12px 8px;
}
.partdo-stock-bar-track {
  height: 6px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 4px;
}
.partdo-stock-bar-fill {
  height: 100%;
  background: var(--partdo-red);
  border-radius: 4px;
}

/* ==========================================================================
   10. TABS
   ========================================================================== */
.partdo-tabs-header {
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 24px;
  overflow-x: auto;
}
.partdo-tab-item {
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
  white-space: nowrap;
}
.partdo-tab-item:hover,
.partdo-tab-item.active {
  color: var(--partdo-red);
  border-bottom-color: var(--partdo-red);
}
/* Mobile: show simple header, hide tabs. Desktop: vice versa */
.partdo-featured-mobile-header { display: none; }

/* ==========================================================================
   11. PROMO TRIO BANNERS
   ========================================================================== */
.partdo-promo-trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}
.partdo-promo-trio-card {
  background: linear-gradient(135deg, #182026 0%, #0f172a 100%);
  color: #fff;
  border-radius: 12px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
}
.partdo-promo-trio-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--partdo-red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.partdo-promo-trio-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 16px 0;
}

/* ==========================================================================
   12. COUPON BOXES
   ========================================================================== */
.partdo-coupons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0;
}
.partdo-coupon-box {
  border: 2px dashed #fca5a5;
  background: #fff5f5;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.partdo-coupon-badge {
  background: var(--partdo-red);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
}
.partdo-coupon-code {
  background: #fff;
  border: 1px solid var(--partdo-red);
  color: var(--partdo-red);
  font-weight: 800;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 6px;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* ==========================================================================
   13. GOOD CATEGORIES GRID
   ========================================================================== */
.partdo-good-cats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin: 30px 0;
}
.partdo-good-cat-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: #0f172a;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.partdo-good-cat-card:hover {
  border-color: var(--partdo-red);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}
.partdo-good-cat-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--partdo-red);
  font-size: 22px;
}
.partdo-good-cat-count { font-size: 11px; color: #64748b; margin-top: 4px; }

/* ==========================================================================
   14. BLOG CARDS
   ========================================================================== */
.partdo-blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 30px 0;
}
.partdo-blog-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s;
}
.partdo-blog-card:hover {
  border-color: var(--partdo-red);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}
.partdo-blog-img-wrap {
  height: 170px;
  overflow: hidden;
  position: relative;
}
.partdo-blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.partdo-blog-card:hover .partdo-blog-img-wrap img { transform: scale(1.06); }
.partdo-blog-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--partdo-red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}
.partdo-blog-body { padding: 18px; }
.partdo-blog-date { font-size: 11px; color: #64748b; margin-bottom: 6px; }
.partdo-blog-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  line-height: 1.35;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.partdo-blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #94a3b8;
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
  margin-top: 10px;
}

/* ==========================================================================
   15. NEWSLETTER SECTION
   ========================================================================== */
.partdo-newsletter-section {
  background: var(--partdo-red);
  color: #fff;
  padding: 45px 0;
  margin-top: 60px;
  margin-bottom: 0;
}
.partdo-newsletter-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.partdo-newsletter-title { font-size: 24px; font-weight: 800; margin: 0 0 6px 0; }
.partdo-newsletter-sub { font-size: 14px; opacity: 0.9; margin: 0; }
.partdo-newsletter-input-group {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 480px;
}
.partdo-newsletter-field {
  flex: 1;
  padding: 14px 20px;
  border-radius: 50px;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 14px;
}
.partdo-newsletter-submit {
  background: #0f172a;
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
.partdo-newsletter-submit:hover { background: #1e293b; }

/* ==========================================================================
/* ==========================================================================
   16. FOOTER (High-Contrast & Top-Nav Matching Styling)
   ========================================================================== */
.partdo-footer {
  background: #ffffff !important;
  border-top: 2px solid #e2e8f0 !important;
  font-size: 13.5px !important;
  color: #334155 !important;
  margin-top: 40px !important;
}
.partdo-footer-columns {
  display: grid;
  grid-template-columns: 320px 1px 1.1fr 1fr 1fr;
  gap: 0;
  padding: 48px 0 40px;
  border-bottom: 1px solid #f1f5f9;
}
.partdo-footer-col { padding: 0 32px; }
.partdo-footer-col:first-child { padding-left: 0; }
.partdo-footer-col:last-child  { padding-right: 0; }
.partdo-footer-col--brand { padding-right: 36px; }
.partdo-footer-divider {
  width: 1px;
  background: #e2e8f0;
  align-self: stretch;
}
.partdo-footer-tagline {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #ef233c !important;
  margin: 0 0 10px 0 !important;
  line-height: 1.35 !important;
}
.partdo-footer-desc {
  font-size: 13px !important;
  color: #475569 !important;
  line-height: 1.65 !important;
  margin: 0 0 14px 0 !important;
}
.partdo-footer-email {
  color: #ef233c !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.partdo-footer-email:hover { text-decoration: underline !important; }
.partdo-footer-col-label { font-size: 13px !important; color: #475569 !important; margin: 0 0 6px 0 !important; }
.partdo-footer-phone {
  display: block !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  text-decoration: none !important;
  line-height: 1.15 !important;
  margin-bottom: 10px !important;
  transition: color 0.2s !important;
}
.partdo-footer-phone:hover { color: #ef233c !important; }
.partdo-footer-hours { font-size: 12.5px !important; color: #475569 !important; line-height: 1.7 !important; margin: 0 0 12px 0 !important; }
.partdo-footer-support-email { color: #ef233c !important; font-weight: 700 !important; font-size: 13px !important; text-decoration: none !important; }
.partdo-footer-support-email:hover { text-decoration: underline !important; }
.partdo-footer-col-heading {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 0 16px 0 !important;
}
.partdo-footer-link-list { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.partdo-footer-link-list li { margin-bottom: 9px !important; }
.partdo-footer-link-list a {
  color: #334155 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
  display: inline-block;
}
.partdo-footer-link-list a:hover {
  color: #ef233c !important;
  transform: translateX(3px);
}

/* Promo strip */
.partdo-footer-promo-strip {
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
  background: #f8fafc !important;
  padding: 14px 0 !important;
}
.partdo-footer-promo-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 28px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
}
.partdo-footer-promo-sep { color: #cbd5e1 !important; font-size: 16px !important; }

/* Bottom bar */
.partdo-footer-bottom-bar {
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  padding: 26px 0 30px !important;
}
.partdo-footer-bottom-inner {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 20px !important;
}
.partdo-footer-policy-links {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 8px 20px !important;
  margin-bottom: 6px !important;
}
.partdo-footer-policy-links a {
  color: #334155 !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: color 0.18s !important;
}
.partdo-footer-policy-links a:hover { color: #ef233c !important; }
.partdo-footer-copyright { font-size: 12px !important; color: #64748b !important; font-weight: 500 !important; margin: 0 !important; }
.partdo-footer-payment-icons { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.partdo-footer-payment-icons img {
  height: 24px;
  width: auto;
  object-fit: contain;
}

/* App strip */
.partdo-footer-app-strip {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 22px 0 !important;
}
.partdo-footer-app-inner { display: flex; align-items: center; gap: 22px; }
.partdo-footer-app-label { font-size: 13px !important; font-weight: 800 !important; color: #0f172a !important; white-space: nowrap; }
.partdo-footer-app-badges { display: flex; gap: 12px; }
.partdo-app-badge {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: #0f172a !important;
  color: #ffffff !important;
  padding: 8px 18px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  font-family: inherit !important;
  transition: all 0.2s ease !important;
}
.partdo-app-badge:hover {
  background: #ef233c !important;
  transform: translateY(-2px);
}
.partdo-app-apple { background: #0f172a !important; }
.partdo-app-google { background: #0f172a !important; }
.partdo-app-badge i { font-size: 22px !important; color: #ffffff !important; }
.partdo-app-badge div { display: flex; flex-direction: column; line-height: 1.2; }
.partdo-badge-top { font-size: 9px; text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.8; }
.partdo-badge-main { font-size: 15px; font-weight: 800; }

/* ==========================================================================
   17. PRO MOBILE BOTTOM NAV BAR
   ========================================================================== */
.mobile-bottom-nav-fixed {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 9999;
  padding: 8px 12px 10px;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: #64748b;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  position: relative;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 12px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 56px;
}
.mobile-bottom-item i {
  font-size: 19px;
  color: #64748b;
  transition: transform 0.2s ease, color 0.2s ease;
}
.mobile-bottom-item.active {
  color: var(--partdo-red, #ef4444);
}
.mobile-bottom-item.active i {
  color: var(--partdo-red, #ef4444);
  transform: translateY(-2px) scale(1.08);
}
.mobile-bottom-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 18px;
  height: 3px;
  background: var(--partdo-red, #ef4444);
  border-radius: 3px 3px 0 0;
}
.mobile-bottom-item:active {
  transform: scale(0.92);
}
.mobile-bottom-badge {
  position: absolute;
  top: 1px;
  right: 12px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 10px;
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
  border: 1.5px solid #ffffff;
}

/* ==========================================================================
   18. PRO MOBILE SLIDE-IN HAMBURGER DRAWER
   ========================================================================== */
.mobile-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-drawer-overlay.open {
  display: flex;
  opacity: 1;
}
.mobile-drawer-panel {
  width: 86%;
  max-width: 340px;
  height: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 0 20px 20px 0;
}
.mobile-drawer-overlay.open .mobile-drawer-panel {
  transform: translateX(0);
}
.mobile-drawer-user-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 24px 20px 18px;
  color: #ffffff;
  position: relative;
}
.mobile-drawer-user-flex {
  display: flex;
  align-items: center;
  gap: 14px;
}
.mobile-drawer-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}
.mobile-drawer-user-info {
  flex: 1;
  overflow: hidden;
}
.mobile-drawer-user-name {
  font-size: 16px;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-drawer-user-email {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-drawer-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  margin-top: 6px;
}
.mobile-drawer-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.mobile-drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}
.mobile-drawer-search {
  padding: 14px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
}
.mobile-drawer-search .partdo-search-input-wrap {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 2px 10px;
}
.mobile-drawer-search .partdo-search-field {
  border: none;
  background: transparent;
  padding: 8px 10px;
  font-size: 13.5px;
  width: 100%;
  outline: none;
}
.mobile-drawer-search .partdo-search-submit-btn {
  border: none;
  background: transparent;
  color: var(--partdo-red, #ef4444);
  font-size: 15px;
  cursor: pointer;
}
.mobile-drawer-section-lbl {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #94a3b8;
  padding: 14px 20px 6px;
  margin: 0;
  background: #ffffff;
}
.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 4px 0;
}
.mobile-drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  color: #1e293b;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid #f8fafc;
  transition: all 0.18s ease;
}
.mobile-drawer-nav a:hover,
.mobile-drawer-nav a.active {
  background: #fef2f2;
  color: var(--partdo-red, #ef4444);
  padding-left: 24px;
}
.mobile-drawer-nav a-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mobile-drawer-nav a i {
  width: 22px;
  font-size: 16px;
  color: #64748b;
  text-align: center;
  transition: color 0.18s ease;
}
.mobile-drawer-nav a:hover i,
.mobile-drawer-nav a.active i {
  color: var(--partdo-red, #ef4444);
}
.mobile-drawer-arrow {
  font-size: 11px;
  opacity: 0.4;
  color: #94a3b8;
}
.mobile-drawer-footer {
  margin-top: auto;
  padding: 16px 18px 24px;
  border-top: 1px solid #f1f5f9;
  background: #f8fafc;
}

/* ==========================================================================
   19. TABLET BREAKPOINT (1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .partdo-promo-trio-grid,
  .partdo-coupons-grid { grid-template-columns: repeat(2, 1fr); }
  .partdo-good-cats-grid { grid-template-columns: repeat(3, 1fr); }
  .partdo-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .partdo-products-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .partdo-newsletter-flex { flex-direction: column; text-align: center; }
  .partdo-footer-columns { grid-template-columns: 1fr 1fr; }
  .partdo-footer-divider { display: none; }
  .partdo-footer-col { padding: 0 20px 24px; }
  .partdo-footer-col:first-child { padding-left: 20px; }
}

/* ==========================================================================
   20. MOBILE BREAKPOINT (768px)
   ========================================================================== */
@media (max-width: 768px) {
  /* Show/hide utilities */
  .hide-mobile { display: none !important; }
  .show-mobile-only { display: flex !important; }
  .partdo-featured-mobile-header { display: flex; }
  .partdo-tabs-header { display: none; }
  .partdo-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 12px auto 0;
    background: rgba(255,255,255,0.9);
    padding: 5px 12px;
    border-radius: 20px;
    width: fit-content;
  }

  /* Body padding for fixed bottom bar */
  body { padding-bottom: 68px; }

  /* Hide desktop-only elements */
  .partdo-topbar,
  .partdo-nav-bar { display: none !important; }

  /* Mobile header: 3-col grid (hamburger | logo | cart) */
  .partdo-header-main {
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }
  .partdo-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .partdo-logo-brand {
    justify-content: center;
    flex-wrap: nowrap;
    overflow: hidden;
    min-width: 0;
    flex: 1;
  }
  .partdo-logo-text {
    font-size: clamp(10px, 2.8vw, 13.5px);
    white-space: nowrap;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    max-width: 100%;
  }
  .partdo-site-logo { max-height: 32px; flex-shrink: 0; }
  .partdo-logo-icon { width: 30px; height: 30px; font-size: 15px; }
  .partdo-hamburger-btn {
    border: none;
    background: transparent;
    font-size: 22px;
    width: 36px;
    height: 36px;
    color: #1e293b;
  }

  /* Hero */
  .partdo-hero-layout { flex-direction: column; margin: 10px 0 20px; gap: 0; }
  .partdo-sidebar-categories { display: none !important; }
  .partdo-hero-card-dark {
    border-radius: 12px;
    padding: 28px 22px 180px 22px;
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
  }
  .partdo-hero-title { font-size: 24px; line-height: 1.15; }
  .partdo-hero-subtitle { font-size: 11px; }
  .partdo-hero-desc { font-size: 12.5px; color: #94a3b8; }
  .partdo-hero-cur-price { font-size: 22px; }
  .partdo-hero-old-price { font-size: 14px; }
  .partdo-hero-img-right {
    width: 70%;
    height: auto;
    max-height: 260px;
    position: absolute;
    right: 0;
    bottom: 0;
    top: auto;
    mask-image: linear-gradient(to right, transparent 0%, black 35%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 35%);
  }
  .partdo-btn-red-pill { padding: 10px 22px; font-size: 13px; position: relative; z-index: 5; }

  /* Products: horizontal scroll, 3 cards visible */
  .partdo-products-grid {
    display: flex !important;
    overflow-x: auto !important;
    gap: 10px !important;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* Override any inline grid-template-columns */
    grid-template-columns: unset !important;
  }
  .partdo-products-grid .partdo-product-card,
  .partdo-products-grid > div {
    flex: 0 0 42% !important;
    min-width: 140px;
    max-width: 180px;
    scroll-snap-align: start;
  }

  /* Section headers */
  .partdo-section-title h2 { font-size: 17px; }
  .partdo-view-all-link { font-size: 12px; }

  /* Promo grids */
  .partdo-promo-trio-grid,
  .partdo-coupons-grid { grid-template-columns: 1fr; gap: 14px; margin: 20px 0; }
  .partdo-good-cats-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; }
  .partdo-blog-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 16px 0; }

  /* Newsletter */
  .partdo-newsletter-flex { flex-direction: column; text-align: center; gap: 18px; }
  .partdo-newsletter-input-group { max-width: 100%; flex-direction: column; }
  .partdo-newsletter-section { padding: 30px 0; margin-top: 30px; }

  /* Footer */
  .partdo-footer-columns { grid-template-columns: 1fr !important; padding: 30px 0 10px; }
  .partdo-footer-divider { display: none !important; }
  .partdo-footer-col { padding: 0 0 24px 0 !important; }
  .partdo-footer-phone { font-size: 20px; }
  .partdo-footer-promo-inner { flex-direction: column; gap: 6px; text-align: center; }
  .partdo-footer-promo-sep { display: none; }
  .partdo-footer-bottom-inner { flex-direction: column; gap: 16px; align-items: flex-start; }
  .partdo-footer-app-inner { flex-direction: column; gap: 14px; }

  /* Show mobile bottom bar */
  .mobile-bottom-nav-fixed { display: flex; }
}

/* ============================================================
   SKELETON / SHIMMER LOADER  (for missing product images)
   ============================================================ */
.loader {
  --color-1: #f1f5f9;
  --color-2: rgba(255,255,255,0.6);
  --color-3: #e2e8f0;
  --size: 1.2px;
  width: calc(215 * var(--size));
  height: calc(215 * var(--size));
  display: block;
  margin: auto;
  position: relative;
  background: var(--color-1);
  box-sizing: border-box;
  border-radius: 8px;
}
.loader::after {
  content: '';
  width: calc(100% - calc(30 * var(--size)));
  height: calc(100% - calc(30 * var(--size)));
  top: calc(15 * var(--size));
  left: calc(15 * var(--size));
  position: absolute;
  background-image:
    linear-gradient(90deg, transparent, var(--color-2) 50%, transparent 100%),
    radial-gradient(circle calc(50 * var(--size)), var(--color-3) 100%, transparent 0),
    linear-gradient(var(--color-3) calc(16 * var(--size)), transparent 0),
    linear-gradient(var(--color-3) calc(24 * var(--size)), transparent 0);
  background-repeat: no-repeat;
  background-size:
    calc(75 * var(--size)) calc(175 * var(--size)),
    100% calc(100 * var(--size)),
    80% calc(16 * var(--size)),
    80% calc(16 * var(--size));
  background-position:
    calc(-185 * var(--size)) 0,
    center calc(10 * var(--size)),
    center calc(125 * var(--size)),
    center calc(155 * var(--size));
  box-sizing: border-box;
  animation: animloader 1s linear infinite;
}
@keyframes animloader {
  to {
    background-position:
      calc(185 * var(--size)) 0,
      center calc(10 * var(--size)),
      center calc(125 * var(--size)),
      center calc(155 * var(--size));
  }
}

/* ============================================================
   CURRENCY SWITCHER (topbar)
   ============================================================ */
.partdo-currency-switcher {
  position: relative;
  cursor: pointer;
}
.partdo-currency-switcher .partdo-currency-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: #cbd5e1;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.partdo-currency-switcher .partdo-currency-btn:hover { color: #fff; }
.partdo-currency-switcher .partdo-currency-btn .active-currency-code {
  color: #fff;
}
.partdo-currency-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s ease;
  z-index: 9999;
}
.partdo-currency-switcher:hover .partdo-currency-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.partdo-currency-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  color: #94a3b8;
  transition: all 0.15s;
}
.partdo-currency-option:hover,
.partdo-currency-option.active-option {
  background: rgba(255,255,255,0.07);
  color: #ffffff;
}
.partdo-currency-option .currency-flag {
  font-size: 16px;
}
.partdo-currency-option .currency-label {
  flex: 1;
}
.partdo-currency-option .currency-rate {
  font-size: 10.5px;
  color: #475569;
  font-weight: 500;
}

/* ==========================================================================
   ANIMATED SKELETON LOADER FOR MISSING PRODUCT IMAGES
   ========================================================================== */
.product-placeholder-box {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.loader {
  --color-1: #fff;
  --color-2: rgba(255, 255, 255, 0.5);
  --color-3: #ddd;
  --size: 1px;

  width: calc(215 * var(--size));
  height: calc(215 * var(--size));
  display: block;
  margin: auto;
  position: relative;
  background: var(--color-1);
  box-sizing: border-box;
}

.loader::after {
  content: '';
  width: calc(100% - calc(30 * var(--size)));
  height: calc(100% - calc(15 * var(--size)));
  top: calc(15 * var(--size));
  left: calc(15 * var(--size));
  position: absolute;
  background-image:
    linear-gradient(90deg, transparent, var(--color-2) 50%, transparent 100%),
    linear-gradient(var(--color-3) calc(100 * var(--size)), transparent 0),
    linear-gradient(var(--color-3) calc(16 * var(--size)), transparent 0),
    linear-gradient(var(--color-3) calc(50 * var(--size)), transparent 0);
  background-repeat: no-repeat;
  background-size:
    calc(75 * var(--size)) calc(175 * var(--size)),
    100% calc(100 * var(--size)),
    100% calc(16 * var(--size)),
    100% calc(30 * var(--size));
  background-position:
    calc(-185 * var(--size)) 0,
    center 0,
    center calc(115 * var(--size)),
    center calc(142 * var(--size));
  box-sizing: border-box;
  animation: animloader 1s linear infinite;
}

@keyframes animloader {
  to {
    background-position:
      calc(185 * var(--size)) 0,
      center 0,
      center calc(115 * var(--size)),
      center calc(142 * var(--size));
  }
}

/* ==========================================================================
   21. ACCOUNT INDEX DASHBOARD STYLES
   ========================================================================== */
.account-dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid #f1f5f9;
}
.account-dash-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.account-dash-title i {
  color: var(--partdo-red, #ef4444);
}
.account-dash-subtitle {
  margin: 4px 0 0 0;
  color: #64748b;
  font-size: 13.5px;
}

/* KPI STAT GRID */
.account-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
@media (max-width: 1024px) {
  .account-stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .account-stat-grid { grid-template-columns: 1fr; }
}

.account-stat-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}
.account-stat-box:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.account-stat-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.account-stat-val {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}
.account-stat-lbl {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  margin-top: 3px;
}

/* 2-COLUMN DASHBOARD SPLIT */
.account-dashboard-split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}
@media (max-width: 992px) {
  .account-dashboard-split { grid-template-columns: 1fr; }
}

.account-subcard {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}
.account-subcard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}
.account-subcard-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.order-item-card {
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  transition: all 0.2s ease;
}
.order-item-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.account-info-box {
  background: #f8fafc;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
}
.account-info-row {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}
.account-info-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.account-info-lbl {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
.account-info-val {
  font-weight: 700;
  color: #0f172a;
  font-size: 14px;
}

/* QUICK ACTION TILES */
.account-quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
@media (max-width: 768px) {
  .account-quick-actions-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .account-quick-actions-grid { grid-template-columns: 1fr; }
}

.account-action-tile {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.account-action-tile:hover {
  transform: translateY(-2px);
  border-color: var(--partdo-red, #ef4444);
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.08);
}
.account-action-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f8fafc;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.account-action-tile:hover .account-action-icon {
  background: #fef2f2;
  color: var(--partdo-red, #ef4444);
}

/* ==========================================================================
   22. PRO CUSTOM ERROR PAGES STYLES
   ========================================================================== */
.error-page-wrapper {
  padding: 60px 16px 90px;
  background: #f8fafc;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.error-page-card {
  max-width: 680px;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 44px 32px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
@media (max-width: 576px) {
  .error-page-card {
    padding: 32px 20px;
    border-radius: 16px;
  }
}
.error-icon-badge {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.15);
}
.error-code-val {
  font-size: 76px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.error-heading {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 12px 0;
}
.error-subtext {
  font-size: 14.5px;
  color: #64748b;
  margin: 0 auto 28px;
  max-width: 520px;
  line-height: 1.6;
}
.error-search-box {
  max-width: 480px;
  margin: 0 auto 28px;
}
.error-btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   23. PREMIUM ACCOUNT DROPDOWN PANEL
   ========================================================================== */

/* ── Wrapper & Trigger ── */
.partdo-account-dropdown-wrapper {
  position: relative;
}
.partdo-user-account-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 12px;
  transition: background 0.2s ease;
  text-align: left;
}
.partdo-user-account-btn:hover {
  background: #f8fafc;
}
.acct-trigger-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(239,68,68,0.3);
  flex-shrink: 0;
}
.acct-trigger-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.acct-chevron {
  font-size: 9px;
  margin-left: 3px;
  transition: transform 0.25s ease;
}
.partdo-account-dropdown-wrapper.open .acct-chevron,
.partdo-account-dropdown-wrapper:hover .acct-chevron {
  transform: rotate(180deg);
}

/* ── Panel ── */
.partdo-account-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 300px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15,23,42,0.06);
  z-index: 9999;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.22s cubic-bezier(0.16,1,0.3,1);
}
.partdo-account-dropdown-wrapper.open .partdo-account-panel,
.partdo-account-dropdown-wrapper:hover .partdo-account-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* ── Header ── */
.acct-panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 18px 14px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}
.acct-panel-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(239,68,68,0.4);
  border: 2px solid rgba(255,255,255,0.2);
}
.acct-panel-info { min-width: 0; flex: 1; }
.acct-panel-name {
  font-weight: 800;
  font-size: 14px;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.acct-panel-email {
  font-size: 11.5px;
  color: #94a3b8;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.acct-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 2px 8px;
  background: rgba(239,68,68,0.2);
  color: #fca5a5;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  border: 1px solid rgba(239,68,68,0.25);
}

/* ── Stats Row ── */
.acct-stats-row {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid #f1f5f9;
}
.acct-stat-pill {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 6px;
  background: #f8fafc;
  border-radius: 12px;
  text-decoration: none;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
  position: relative;
}
.acct-stat-pill i { font-size: 16px; color: #64748b; }
.acct-stat-pill:hover {
  background: #fef2f2;
  border-color: #fecaca;
  color: #ef4444;
}
.acct-stat-pill:hover i { color: #ef4444; }
.acct-stat-badge {
  position: absolute;
  top: 4px;
  right: 6px;
  background: #ef4444;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 8px;
  font-style: normal;
  min-width: 16px;
  text-align: center;
}

/* ── Nav Links ── */
.acct-panel-nav { padding: 8px 10px; }
.acct-panel-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.18s ease;
}
.acct-panel-link:hover, .acct-panel-link.active {
  background: #fef2f2;
  color: #ef4444;
}
.acct-link-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  color: #64748b;
  transition: all 0.18s ease;
}
.acct-panel-link:hover .acct-link-icon,
.acct-panel-link.active .acct-link-icon {
  background: #fee2e2;
  color: #ef4444;
}
.acct-link-label { flex: 1; }
.acct-link-arrow {
  font-size: 10px;
  color: #cbd5e1;
  transition: transform 0.18s ease, color 0.18s ease;
}
.acct-panel-link:hover .acct-link-arrow,
.acct-panel-link.active .acct-link-arrow {
  transform: translateX(2px);
  color: #ef4444;
}

/* ── Footer / Sign Out ── */
.acct-panel-footer {
  padding: 10px 14px 14px;
  border-top: 1px solid #f1f5f9;
}
.acct-signout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(239,68,68,0.25);
}
.acct-signout-btn:hover {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  box-shadow: 0 6px 16px rgba(239,68,68,0.35);
  transform: translateY(-1px);
}

/* ── Guest State ── */
.acct-panel-guest {
  padding: 22px 18px 16px;
  text-align: center;
  border-bottom: 1px solid #f1f5f9;
}
.acct-guest-icon {
  font-size: 42px;
  color: #cbd5e1;
  margin-bottom: 10px;
}
.acct-guest-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
}
.acct-guest-sub {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 14px 0;
  line-height: 1.5;
}
.acct-signin-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #ffffff;
  border-radius: 20px;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(239,68,68,0.25);
  transition: all 0.2s ease;
}
.acct-signin-btn:hover {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(239,68,68,0.35);
}
.acct-guest-register {
  margin: 10px 0 0;
  font-size: 12px;
  color: #64748b;
}
.acct-guest-register a { color: #ef4444; font-weight: 700; text-decoration: none; }
.acct-guest-register a:hover { text-decoration: underline; }
