* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 6px; /* Small space between title and buttons */
    margin-top: 10px;
}

.product-title {
    margin: 0;
    padding: 0;
    font-size: 1.1rem;
    line-height: 1;
    font-weight: 400;
}

.product-links {
    display: flex;
    align-items: center;
    gap: 3px;
    position: relative;
    top: -2px;
}

.mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 16px;
    padding: 2px 5px;
    font-size: 0.6rem;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    border-radius: 4px;
    white-space: nowrap;
    background: #333;
    color: #fff !important;
    transition: all 0.2s ease;
}

.mini-btn.amazon {
    background: #ff9900;
    color: #000 !important;
}

.mini-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.mini-btn:visited,
.mini-btn:hover,
.mini-btn:active {
    color: #fff !important;
}

.mini-btn.amazon:visited,
.mini-btn.amazon:hover,
.mini-btn.amazon:active {
    color: #000 !important;
}
.profile-icon {
    width: 600px; /* Adjust size */
    height: 60px;
    border: 3px solid black;
    border-radius: 50%;
    overflow: hidden; /* Ensures image stays inside the circle */
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crops image to fill the circle */
    display: block;
}

.container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
}

/* Header */
.search-container {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* ✅ Forces it to the right */
    position: relative;
    padding-right: 10px;
    z-index: 100;
    cursor: pointer;
}

.search-toggle {
    width: 24px;
    height: 24px;
    cursor: pointer;
    stroke: #666;
    stroke-width: 2;
    fill: none;
    transition: all 0.2s ease;
}

.search-toggle:hover {
    stroke: #333;
}

.search-input {
    position: relative;
    top: 0;
    right: 0;
    width: 0;
    height: 32px;
    padding: 0 12px;
    margin-left: 8px; /* ✅ Adds spacing between icon and search bar */
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    background-color: #fff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.search-input.active {
    width: 200px;
    opacity: 1;
    pointer-events: all;
}

.search-input:focus {
    border-color: #333;
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 20px;
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #f5f5f5;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    color: #666;
    margin-bottom: 12px;
}

.profile-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.profile-description {
    font-size: 13px;
    color: #666;
    text-align: center;
}

/* Search functionality */
.no-results {
    text-align: center;
    color: #666;
    font-style: italic;
    margin: 20px 0;
    display: none;
}

.hidden {
    display: none !important;
}

/* Category Navigation */
html {
    scroll-behavior: smooth;
}

.category-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 10px 20px 8px;
    margin: 0 -20px 20px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.nav-pill {
    flex: 0 0 auto;
    padding-bottom: 3px;
    font-size: 12px;
    color: #aaa;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-pill:hover {
    color: #666;
}

.nav-pill.active {
    color: #333;
    border-bottom-color: #333;
}

/* Setup Essentials Section */
.section {
    margin-bottom: 20px;
    scroll-margin-top: 48px; /* keeps titles clear of the sticky nav */
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
    text-align: center;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    width: 110%; /* Slightly wider than before */
    max-width: 1800px; /* Optional: set a comfortable maximum width */
    margin: 0 auto; /* Keep it centered */
}

.carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 8px;
}

.carousel::-webkit-scrollbar {
    height: 2px; /* Even thinner scrollbar */
}

.carousel::-webkit-scrollbar-track {
    background: transparent;
}

.carousel::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.05); /* Very subtle */
    border-radius: 10px;
    transition: background 0.2s ease;
}

.carousel::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.15); /* Slightly darker on hover */
}

/* Firefox minimal style */
.carousel {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.05) transparent;
}

.product-card {
    flex: 0 0 280px;
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e0e0e0;
    transition: transform 0.2s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-image {
    width: 100%;
    height: 160px;
    background-color: #e8e8e8;
    border-radius: 8px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #666;
}

.product-image img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 8px;
}

.product-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.product-description {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* Category Links */
.category-link {
    display: block;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
}

.category-link:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-1px);
}

.category-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.category-description {
    font-size: 14px;
    opacity: 0.8;
}

/* Social Media Icons */
.social-section {
    margin-bottom: 20px;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #666;
    transition: all 0.2s ease;
}

.social-icon:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-2px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

 /* For small phones */
@media (max-width: 480px) {
    }
}

/* For larger phones */
@media (max-width: 768px) {
}

/* For tablets and bigger devices */
@media (min-width: 1024px) {
}
.email-popup {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: #333;
color: white;
padding: 16px 24px;
border-radius: 8px;
font-size: 16px;
display: none;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
z-index: 1000;
text-align: center;
opacity: 0;
transition: opacity 0.3s ease;
}

.email-popup.show {
display: block;
opacity: 10;
}

.product-card a {
text-decoration: none;
color: inherit;
display: block;
}

.section#categories {
    margin-top: 32px; /* Space before the categories start */
}

.section-divider {
    border: none;
    border-top: 1px solid rgba(128, 128, 128, 0.6); /* medium grey, 60% opacity */
    width: 100vw;  /* full viewport width */
    margin: 40px 0; /* spacing top and bottom */
    position: relative;
    left: 50%;
    transform: translatex(-50%); /* centers the line when using vw */
}

/* --- Video Carousel reset/overrides --- */
.video-carousel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

/* Kill absolute positioning inherited from old slider styles */
.video-carousel .product-card {
  position: static !important;     /* ensure it participates in normal flow */
  inset: auto !important;          /* reset top/right/bottom/left */
  z-index: auto !important;
  flex: 0 0 auto;
  width: 100%;
  max-width: 420px;                /* tweak as needed */
  overflow: hidden;                 /* keep inner media clipped to card */
  box-sizing: border-box;
}

/* Make the anchor act like a block card */
.video-carousel .product-card > a {
  display: block;
  text-decoration: none;
}

.video-carousel .product-image {
  width: 105%;
  height: 400px;         /* set desired height */
  background: #000;
  overflow: hidden;
  border-radius: 10px;
}
.video-carousel .product-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* fills the box, crops if needed */
}

/* Optional: spacing below the carousel so it doesn't collide with next section */
.video-carousel-container {
  margin-bottom: 24px;
}
