  html, body {
    height: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    box-sizing: border-box;
    position: relative;
  }
  
  body {
    font-family: 'Amazon Ember', 'Helvetica Neue', Roboto, Arial, sans-serif;
    display: flex;
    background: linear-gradient(135deg, #f3f3f3 0%, #eaeded 25%, #d5dbdb 50%, #aab7b8 75%, #85929e 100%);
    min-height: 100vh;
    -webkit-overflow-scrolling: touch;
    touch-action: manipulation;
    transition: all 0.2s ease;
  }

  /* Variables CSS modernes - Thème Amazon-inspiré */
  :root {
    --vh: 100vh;
    --sidebar-width: 320px;
    --primary-gradient: linear-gradient(135deg, #ff9900 0%, #ffb84d 25%, #ff8c00 50%, #e67e00 75%, #cc7000 100%);
    --secondary-gradient: linear-gradient(135deg, #146eb4 0%, #1a82d9 100%);
    --accent-gradient: linear-gradient(135deg, #b12704 0%, #d73502 100%);
    --success-gradient: linear-gradient(135deg, #067d3c 0%, #0a9b4a 100%);
    --danger-gradient: linear-gradient(135deg, #b12704 0%, #8b1e02 100%);
    --warning-gradient: linear-gradient(135deg, #ff9900 0%, #ffb84d 100%);
    --amazon-orange: #ff9900;
    --amazon-blue: #146eb4;
    --amazon-dark-blue: #232f3e;
    --success-green: #067d3c;
    --danger-red: #b12704;
    --warning-orange: #ff9900;
    --dark-bg: #131a22;
    --dark-card: #232f3e;
    --dark-border: #3a4553;
    --light-bg: #e9ecef;
    --light-card: #e9ecef;
    --text-primary: #232f3e;
    --text-secondary: #cccccc;
    --text-muted: #999999;
    --text-accent: #ff9900;
    --text-dark: #0f1111;
    --border-radius: 8px;
    --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.05);
    --transition: all 0.2s ease;
    --glass-bg: rgba(35, 47, 62, 0.95);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glow-shadow: 0 0 20px rgba(255, 153, 0, 0.3);
  }

  /* Animations élégantes */
  @keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
  }

  @keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.02); opacity: 0.95; }
  }

  @keyframes slideInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
  }

  #sidebar {
    width: var(--sidebar-width);
    background: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(10px);
    color: var(--text-dark);
    padding: 25px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid #d5d9d9;
    flex-shrink: 0;
    overflow: hidden;
    max-height: var(--vh);
    height: var(--vh);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
  }

  #sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
  }

  .sidebar-header {
    flex-shrink: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
    padding: 15px;
    gap: 12px;
  }
  
  .translate-widget {
    width: 100%;
    margin: 10px 0;
    padding: 8px 0;
    text-align: center;
  }
  
  .translate-widget .goog-te-gadget {
    font-size: 14px !important;
    color: #333;
    width: 100%;
    text-align: center;
  }
  
  .translate-widget .goog-te-gadget-simple {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6 !important;
    padding: 8px 12px !important;
    border-radius: 6px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .sidebar-content {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }
  
  #logo {
    width: 180px;
    margin-bottom: 15px;
    cursor: pointer;
    filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.3));
    transition: var(--transition);
    animation: float 4s ease-in-out infinite;
  }

  #logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 20px rgba(37, 99, 235, 0.5));
  }
  
  #productCount, #updateDate {
    font-size: 15px;
    color: #565959;
    margin-bottom: 5px;
    font-weight: 600;
    text-align: center;
  }
  
  #updateDate {
    font-size: 13px;
    color: var(--amazon-orange);
    margin-bottom: 20px;
    font-style: italic;
  }

  #searchBox {
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 18px;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-size: 16px;
    box-sizing: border-box;
    background: white;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(37, 99, 235, 0);
    font-weight: 500;
    position: relative;
    color: #1e293b;
  }

  #searchBox::placeholder {
    color: #64748b;
    font-weight: 400;
  }

  #searchBox:focus {
    outline: none;
    border-color: var(--amazon-orange);
    box-shadow: 0 4px 20px rgba(255, 153, 0, 0.15), 0 0 0 3px rgba(255, 153, 0, 0.1);
    background: #fefefe;
    transform: translateY(-1px);
  }

  /* Clear search button */
  .search-container {
    position: relative;
    width: 100%;
    margin: 0;
  }
  .clear-search {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
    border-radius: 50%;
    transition: var(--transition);
    display: none;
  }

  .clear-search:hover {
    background: rgba(100, 116, 139, 0.1);
    color: #1e293b;
  }

  .clear-search.visible {
    display: block;
  }

  #btnAllDeals {
    width: 100%;
    padding: 12px 18px;
    margin: 0 0 8px 0;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.05em;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  #btnAllDeals:hover {
    background: var(--amazon-orange);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  }
  
  #btnAllDeals .category-name {
    color: white;
  }

  #btnAllDeals::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
  }

  #btnAllDeals:hover::before {
    left: 100%;
  }
  
  #btnAllDeals:hover,
  #btnAllDeals:focus {
    outline: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
  }

  #btnAllDeals:active {
    transform: translateY(0);
  }
  
  ul.category-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    overflow-y: auto;
    width: 100%;
    flex: 1;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-blue) transparent;
  }

  ul.category-list::-webkit-scrollbar {
    width: 6px;
  }

  ul.category-list::-webkit-scrollbar-track {
    background: transparent;
  }

  ul.category-list::-webkit-scrollbar-thumb {
    background: var(--amazon-orange);
    border-radius: 3px;
  }
  
  ul.category-list li {
    cursor: pointer;
    padding: 14px 18px;
    margin-bottom: 8px;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    color: var(--text-dark);
    transition: var(--transition);
    user-select: none;
    font-weight: 500;
    border: 1px solid #d5d9d9;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  ul.category-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 12px 12px 0 0;
  }

  .category-name {
    flex: 1;
  }

  .category-count {
    background: rgba(255, 153, 0, 0.2);
    color: var(--amazon-orange);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
  }
  
  ul.category-list li:hover,
  ul.category-list li.active {
    background: #e9ecef;
    color: var(--text-dark);
    transform: translateX(8px);
    border-color: var(--amazon-orange);
  }

  ul.category-list li:hover::before,
  ul.category-list li.active::before {
    transform: scaleX(1);
  }

  ul.category-list li:hover .category-count,
  ul.category-list li.active .category-count {
    background: rgba(255, 153, 0, 0.4);
    color: white;
  }
  
  #content {
    flex: 1;
    padding: 25px 35px 35px 35px;
    overflow-y: auto;
    background: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(10px);
    max-height: var(--vh);
    height: var(--vh);
    -webkit-overflow-scrolling: touch;
    border-radius: 12px 0 0 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: var(--amazon-orange) transparent;
  }

  #content::-webkit-scrollbar {
    width: 8px;
  }

  #content::-webkit-scrollbar-track {
    background: rgba(213, 217, 217, 0.3);
    border-radius: 4px;
  }

  #content::-webkit-scrollbar-thumb {
    background: var(--amazon-orange);
    border-radius: 4px;
  }

  #content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 20px 0 0 0;
  }
  
  #content h2 {
    margin-top: 0px;
    margin-bottom: 30px;
    color: var(--text-primary);
    font-size: 32px;
    font-weight: 800;
    position: relative;
    display: inline-block;
  }

  #content h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
  }
  
  .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
    align-items: start;
  }

  /* Staggered animation delays without inline styles */
  .products-grid > .product { --product-delay: 0s; }
  .products-grid > .product:nth-child(1) { --product-delay: 0s; }
  .products-grid > .product:nth-child(2) { --product-delay: 0.05s; }
  .products-grid > .product:nth-child(3) { --product-delay: 0.10s; }
  .products-grid > .product:nth-child(4) { --product-delay: 0.15s; }
  .products-grid > .product:nth-child(5) { --product-delay: 0.20s; }
  .products-grid > .product:nth-child(6) { --product-delay: 0.25s; }
  .products-grid > .product:nth-child(7) { --product-delay: 0.30s; }
  .products-grid > .product:nth-child(8) { --product-delay: 0.35s; }
  .products-grid > .product:nth-child(9) { --product-delay: 0.40s; }
  .products-grid > .product:nth-child(10) { --product-delay: 0.45s; }
  .products-grid > .product:nth-child(11) { --product-delay: 0.50s; }
  .products-grid > .product:nth-child(12) { --product-delay: 0.55s; }
  .products-grid > .product:nth-child(13) { --product-delay: 0.60s; }
  .products-grid > .product:nth-child(14) { --product-delay: 0.65s; }
  .products-grid > .product:nth-child(15) { --product-delay: 0.70s; }
  .products-grid > .product:nth-child(16) { --product-delay: 0.75s; }
  .products-grid > .product:nth-child(17) { --product-delay: 0.80s; }
  .products-grid > .product:nth-child(18) { --product-delay: 0.85s; }
  .products-grid > .product:nth-child(19) { --product-delay: 0.90s; }
  .products-grid > .product:nth-child(20) { --product-delay: 0.95s; }
  .products-grid > .product:nth-child(21) { --product-delay: 1.00s; }
  .products-grid > .product:nth-child(22) { --product-delay: 1.05s; }
  .products-grid > .product:nth-child(23) { --product-delay: 1.10s; }
  .products-grid > .product:nth-child(24) { --product-delay: 1.15s; }
  .products-grid > .product:nth-child(25) { --product-delay: 1.20s; }
  .products-grid > .product:nth-child(26) { --product-delay: 1.25s; }
  .products-grid > .product:nth-child(27) { --product-delay: 1.30s; }
  .products-grid > .product:nth-child(28) { --product-delay: 1.35s; }
  .products-grid > .product:nth-child(29) { --product-delay: 1.40s; }
  .products-grid > .product:nth-child(30) { --product-delay: 1.45s; }
  .products-grid > .product:nth-child(31) { --product-delay: 1.50s; }
  .products-grid > .product:nth-child(32) { --product-delay: 1.55s; }
  .products-grid > .product:nth-child(33) { --product-delay: 1.60s; }
  .products-grid > .product:nth-child(34) { --product-delay: 1.65s; }
  .products-grid > .product:nth-child(35) { --product-delay: 1.70s; }
  .products-grid > .product:nth-child(36) { --product-delay: 1.75s; }
  .products-grid > .product:nth-child(37) { --product-delay: 1.80s; }
  .products-grid > .product:nth-child(38) { --product-delay: 1.85s; }
  .products-grid > .product:nth-child(39) { --product-delay: 1.90s; }
  .products-grid > .product:nth-child(40) { --product-delay: 1.95s; }
  .products-grid > .product:nth-child(41) { --product-delay: 2.00s; }
  .products-grid > .product:nth-child(42) { --product-delay: 2.05s; }
  .products-grid > .product:nth-child(43) { --product-delay: 2.10s; }
  .products-grid > .product:nth-child(44) { --product-delay: 2.15s; }
  .products-grid > .product:nth-child(45) { --product-delay: 2.20s; }
  .products-grid > .product:nth-child(46) { --product-delay: 2.25s; }
  .products-grid > .product:nth-child(47) { --product-delay: 2.30s; }
  .products-grid > .product:nth-child(48) { --product-delay: 2.35s; }
  .products-grid > .product:nth-child(49) { --product-delay: 2.40s; }
  .products-grid > .product:nth-child(50) { --product-delay: 2.45s; }
  .products-grid > .product:nth-child(51) { --product-delay: 2.50s; }
  .products-grid > .product:nth-child(52) { --product-delay: 2.55s; }
  .products-grid > .product:nth-child(53) { --product-delay: 2.60s; }
  .products-grid > .product:nth-child(54) { --product-delay: 2.65s; }
  .products-grid > .product:nth-child(55) { --product-delay: 2.70s; }
  .products-grid > .product:nth-child(56) { --product-delay: 2.75s; }
  .products-grid > .product:nth-child(57) { --product-delay: 2.80s; }
  .products-grid > .product:nth-child(58) { --product-delay: 2.85s; }
  .products-grid > .product:nth-child(59) { --product-delay: 2.90s; }
  .products-grid > .product:nth-child(60) { --product-delay: 2.95s; }
  .products-grid > .product:nth-child(61) { --product-delay: 3.00s; }
  .products-grid > .product:nth-child(62) { --product-delay: 3.05s; }
  .products-grid > .product:nth-child(63) { --product-delay: 3.10s; }
  .products-grid > .product:nth-child(64) { --product-delay: 3.15s; }
  .products-grid > .product:nth-child(65) { --product-delay: 3.20s; }
  .products-grid > .product:nth-child(66) { --product-delay: 3.25s; }
  .products-grid > .product:nth-child(67) { --product-delay: 3.30s; }
  .products-grid > .product:nth-child(68) { --product-delay: 3.35s; }
  .products-grid > .product:nth-child(69) { --product-delay: 3.40s; }
  .products-grid > .product:nth-child(70) { --product-delay: 3.45s; }
  .products-grid > .product:nth-child(71) { --product-delay: 3.50s; }
  .products-grid > .product:nth-child(72) { --product-delay: 3.55s; }
  .products-grid > .product:nth-child(73) { --product-delay: 3.60s; }
  .products-grid > .product:nth-child(74) { --product-delay: 3.65s; }
  .products-grid > .product:nth-child(75) { --product-delay: 3.70s; }
  .products-grid > .product:nth-child(76) { --product-delay: 3.75s; }
  .products-grid > .product:nth-child(77) { --product-delay: 3.80s; }
  .products-grid > .product:nth-child(78) { --product-delay: 3.85s; }
  .products-grid > .product:nth-child(79) { --product-delay: 3.90s; }
  .products-grid > .product:nth-child(80) { --product-delay: 3.95s; }
  .products-grid > .product:nth-child(81) { --product-delay: 4.00s; }
  .products-grid > .product:nth-child(82) { --product-delay: 4.05s; }
  .products-grid > .product:nth-child(83) { --product-delay: 4.10s; }
  .products-grid > .product:nth-child(84) { --product-delay: 4.15s; }
  .products-grid > .product:nth-child(85) { --product-delay: 4.20s; }
  .products-grid > .product:nth-child(86) { --product-delay: 4.25s; }
  .products-grid > .product:nth-child(87) { --product-delay: 4.30s; }
  .products-grid > .product:nth-child(88) { --product-delay: 4.35s; }
  .products-grid > .product:nth-child(89) { --product-delay: 4.40s; }
  .products-grid > .product:nth-child(90) { --product-delay: 4.45s; }
  .products-grid > .product:nth-child(91) { --product-delay: 4.50s; }
  .products-grid > .product:nth-child(92) { --product-delay: 4.55s; }
  .products-grid > .product:nth-child(93) { --product-delay: 4.60s; }
  .products-grid > .product:nth-child(94) { --product-delay: 4.65s; }
  .products-grid > .product:nth-child(95) { --product-delay: 4.70s; }
  .products-grid > .product:nth-child(96) { --product-delay: 4.75s; }
  .products-grid > .product:nth-child(97) { --product-delay: 4.80s; }
  .products-grid > .product:nth-child(98) { --product-delay: 4.85s; }
  .products-grid > .product:nth-child(99) { --product-delay: 4.90s; }
  .products-grid > .product:nth-child(100) { --product-delay: 4.95s; }

  .product {
    background: #f8f9fa;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid #d5d9d9;
    position: relative;
    overflow: visible;
    min-height: 480px;
    animation: slideInUp 0.4s ease forwards;
    animation-delay: var(--product-delay, 0s);
    cursor: pointer;
    content-visibility: auto;
    contain-intrinsic-size: 480px 320px;
    contain: content;
  }

  .product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
  }
  
  .product:hover {
    background: #e9ecef;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    border-color: var(--amazon-orange);
  }

  .product:hover::before {
    transform: scaleX(1);
  }

  .product-image {
    width: 100%;
    height: 180px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #d5d9d9;
    transition: var(--transition);
    margin-bottom: 16px;
    background: white;
  }

  .product-image:hover {
    transform: scale(1.02);
    border-color: var(--amazon-orange);
  }

  .product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    position: relative;
    text-align: center;
  }
  
  .product strong {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e9ecef;
    text-align: left;
    min-height: 70px;
  }

  a.product p {
    margin: 4px 0;
    font-size: 13px;
    color: #565959;
    font-weight: 400;
  }
  
  /* Styles de prix professionnels */
  .price-container {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 10px 0;
  }

  .price-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
  }

  .price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  .current-price {
    font-weight: 700;
    color: #b12704;
    font-size: 18px;
  }

  .regular-price {
    font-weight: 400;
    color: #565959;
    font-size: 14px;
    text-decoration: line-through;
    opacity: 0.8;
    position: relative;
  }

  .regular-price::before {
    content: 'List Price: ';
    font-size: 11px;
    font-weight: 400;
    color: #565959;
  }

  .discount-badge {
    background: var(--danger-gradient);
    color: white;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
  }
  
  .badges-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
    flex-wrap: wrap;
  }

  .savings {
    color: white;
    font-weight: 700;
    background: var(--success-gradient);
    padding: 3px 6px;
    border-radius: 12px;
    font-size: 10px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(34, 197, 94, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    letter-spacing: 0.3px;
  }

  .savings::before {
    content: '💰';
    font-size: 12px;
  }

  .product-meta {
    display: flex;
    gap: 15px;
    margin: 12px 0;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }

  .product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #f59e0b;
  }

  .review-count {
    color: var(--text-muted);
    font-size: 12px;
  }

  /* Styles pour les boutons de partage */
  .product-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
  }

  .see-offer-btn {
    background: var(--amazon-orange);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 4px rgba(255, 153, 0, 0.3);
    max-width: 140px;
    justify-content: center;
  }

  .see-offer-btn:hover {
    background: #e68900;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 153, 0, 0.4);
  }

  .see-offer-btn:active {
    transform: translateY(0);
  }

  .share-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .facebook-share-btn {
    background: #1877f2;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 2px;
    box-shadow: 0 2px 4px rgba(24, 119, 242, 0.2);
  }

  .facebook-share-btn:hover {
    background: #166fe5;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(24, 119, 242, 0.3);
  }

  .facebook-share-btn:active {
    transform: translateY(0);
  }

  .messenger-share-btn {
    background: #00b2ff;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 2px;
    box-shadow: 0 2px 4px rgba(0, 178, 255, 0.2);
  }

  .messenger-share-btn:hover {
    background: #0099e6;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 178, 255, 0.3);
  }

  .messenger-share-btn:active {
    transform: translateY(0);
  }

  .twitter-share-btn {
    background: #000000;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  .twitter-share-btn:hover {
    background: #333333;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }

  .twitter-share-btn:active {
    transform: translateY(0);
  }

  #toggleSidebarBtn {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 2101;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    font-size: 20px;
    cursor: pointer;
    user-select: none;
    text-align: center;
    padding: 0;
    box-shadow: var(--glow-shadow);
    transition: var(--transition);
    backdrop-filter: blur(10px);
  }

  #toggleSidebarBtn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
  }

  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 60px;
    box-sizing: border-box;
  }

  .header-content {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0 20px;
  }

  .header-logo {
    height: 40px;
    width: auto;
    border-radius: 4px;
    transition: transform 0.2s ease;
  }

  .header-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease;
  }

  .header-logo-link:hover {
    transform: scale(1.05);
  }

  .header-logo-link:hover .header-logo {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  /* Align Google Translate widget inline in header actions */
  .header-actions #google_translate_element { 
    display: inline-block; 
    transform: scale(0.9);
    transform-origin: left center;
  }
  .header-actions .goog-te-gadget { margin-right: 6px; }
  .header-actions .goog-te-gadget .goog-te-combo { 
    padding: 4px 8px; 
    border-radius: 6px; 
    border: 1px solid #d5d9d9; 
    font-size: 12px; 
  }

  @media (max-width: 700px) {
    .header-actions #google_translate_element { transform: scale(0.85); }
    .header-actions .goog-te-gadget .goog-te-combo { font-size: 11px; }
  }

  /* Active nav link (current page) */
  .header-actions .see-offer-btn.active {
    background: #e68900; /* darker amazon orange */
    box-shadow: 0 4px 8px rgba(255, 153, 0, 0.5);
    cursor: default;
  }

  .header-title {
    color: var(--text-primary) !important;
    font-weight: 700;
    font-size: 18px;
    margin: 0 0 0 8px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
  }

  #toggleBtn {
    display: none;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    padding: 0;
    width: 44px;
    height: 44px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-weight: 600;
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1001;
    margin: 0;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    align-items: center;
    justify-content: center;
  }
  
  #toggleBtn span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    position: relative;
    transition: all 0.3s ease;
  }
  
  #toggleBtn span:before,
  #toggleBtn span:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
  }
  
  #toggleBtn span:before {
    top: -6px;
  }
  
  #toggleBtn span:after {
    bottom: -6px;
  }
  
  #toggleBtn.active span {
    background: transparent;
  }
  
  #toggleBtn.active span:before {
    transform: rotate(45deg) translate(4px, 4px);
  }
  
  #toggleBtn.active span:after {
    transform: rotate(-45deg) translate(4px, -4px);
  }

  /* Placeholder pour images */
  .image-placeholder {
    width: 140px;
    height: 140px;
    background: rgba(248, 250, 252, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    text-align: center;
    border: 1px dashed var(--dark-border);
    flex-shrink: 0;
  }

  .image-placeholder::before {
    content: '🖼️';
    font-size: 24px;
  }

  /* Highlight search terms */
  .highlight {
    background: rgba(37, 99, 235, 0.2);
    color: var(--primary-blue);
    font-weight: 600;
    padding: 2px 4px;
    border-radius: 4px;
  }

  /* Welcome section styles */
  .welcome-section {
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 24px;
  }

  .welcome-text {
    margin: 0 0 16px 0;
    font-size: 16px;
    line-height: 1.6;
  }

  .welcome-note {
    margin: 0 0 16px 0;
    font-size: 14px;
    line-height: 1.6;
    font-style: italic;
  }

  .welcome-cta {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
  }
  
  /* Utilities */
  .text-center { text-align: center; }
  .inline-block { display: inline-block; }

  /* Empty/No results states */
  .empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
  }
  .empty-state .icon { font-size: 48px; margin-bottom: 20px; }
  .empty-state .title { margin-bottom: 16px; color: var(--text-primary); font-size: 20px; }
  .empty-state .desc { font-size: 14px; }

  /* Pagination ellipsis */
  .ellipsis { padding: 0 8px; color: var(--text-muted); }

  /* Error + retry */
  .retry-error { text-align: center; padding: 50px; color: var(--text-secondary); }
  .retry-error .title { color: #dc2626; font-size: 24px; margin-bottom: 16px; }
  .retry-error .desc { font-size: 14px; margin-bottom: 20px; }
  .btn-gradient {
    background: var(--primary-gradient);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    box-shadow: var(--glow-shadow);
    transition: var(--transition);
  }
  .btn-gradient:hover { transform: translateY(-1px); }

  /* Spacing utilities */
  .mt-20 { margin-top: 20px; }
  .hidden { display: none !important; }

  @media (max-width: 700px) {
    /* Cacher la sidebar par défaut sur mobile */
    #sidebar {
      position: fixed;
      left: -100%;
      top: 0;
      z-index: 2000;
      width: 85%;
      max-width: 320px;
      height: 100vh;
      transition: left 0.3s ease;
      box-shadow: 4px 0 15px rgba(0, 0, 0, 0.15);
      padding: 20px 15px;
    }

    #sidebar.open {
      left: 0;
    }

    /* Overlay pour fermer la sidebar */
    .sidebar-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.7);
      z-index: 1999;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      backdrop-filter: blur(3px);
    }

    .sidebar-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    /* Afficher le bouton hamburger */
    #toggleBtn {
      display: flex !important;
      align-items: center;
      justify-content: center;
    }

    /* Ajuster le contenu principal */
    #content {
      width: 100%;
      margin-left: 0;
      border-radius: 0;
    }

    .container {
      flex-direction: column;
    }

    .image-placeholder {
      width: 120px;
      height: 120px;
    }

    .pagination-buttons {
      flex-direction: column;
      gap: 10px;
    }

    .page-numbers {
      margin: 0;
    }

    .pagination-info {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
    }

    .products-grid {
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 15px;
    }

    .header {
      padding: 10px 15px;
      height: 60px;
    }

    .header-title {
      font-size: 16px;
      max-width: 60%;
    }
    
    .header-actions {
      gap: 8px;
    }
    
    /* Cacher le widget de traduction sur très petits écrans */
    .header-actions #google_translate_element {
      display: none;
    }
  }
