/* No local font imports needed since we're using Arial, sans-serif */

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  text-align: center;
  line-height: 1.6;
  background: url('/images/webpagewallpaper.jpg') no-repeat center center fixed;
  background-size: cover;
  position: relative;
  color: #1A2526; /* From first */
  text-shadow: 1px 1px 2px #F5F5F5; /* From first */
}

/* Page-specific wallpapers from first set */
body.about-bg { background: url('/images/wallpapermarch2.jpg') no-repeat center center fixed; background-size: cover; }
body.best-sellers-bg { background: url('/images/bestsellers.jpg') no-repeat center center fixed; background-size: cover; }
body.blog-bg { background: url('/images/blog.jpg') no-repeat center center fixed; background-size: cover; }
body.community-bg { background: url('/images/community.jpg') no-repeat center center fixed; background-size: cover; }
body.gallery-bg { background: url('/images/gallery.jpg') no-repeat center center fixed; background-size: cover; }
body.limited-edition-bg { background: url('/images/limited edition.jpg') no-repeat center center fixed; background-size: cover; }
body.our-products-bg { background: url('/images/ourproducts.jpg') no-repeat center center fixed; background-size: cover; }
body.partners-bg { background: url('/images/partners.jpg') no-repeat center center fixed; background-size: cover; }
body.photography-bg { background: url('/images/photography.jpg') no-repeat center center fixed; background-size: cover; }
body.q-and-a-bg { background: url('/images/qanda.jpg') no-repeat center center fixed; background-size: cover; }
body.research-bg { background: url('/images/research.jpg') no-repeat center center fixed; background-size: cover; }
body.subscribe-bg { background: url('/images/subscribe.jpg') no-repeat center center fixed; background-size: cover; }
body.vlogs-bg { background: url('/images/vlogs.jpg') no-repeat center center fixed; background-size: cover; }
body.patreon-bg { background: url('/images/Patreon.jpg') no-repeat center center fixed; background-size: cover; }
body.donate-bg { background: url('/images/donate.jpg') no-repeat center center fixed; background-size: cover; }
body.disclaimer-bg { background: url('/images/disclaimer.jpg') no-repeat center center fixed; background-size: cover; }
body.cart-bg { background: url('/images/webpagewallpaper.jpg') no-repeat center center fixed; background-size: cover; }

h1, h2 {
  color: #1A2526; /* From first */
  text-shadow: 1px 1px 2px #F5F5F5; /* From first */
}

.container {
  margin: 0;
  padding: 0;
  position: relative;
}

.top-header {
  background: #F5F5F5; /* From first */
  padding: 0; /* From first */
  height: 48px; /* From first */
  display: flex;
  align-items: center;
  justify-content: center; /* From first */
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 2; /* From first */
  border-bottom: 2px solid #333333; /* From first */
}

.logo {
  width: 80px; /* From first */
  height: 80px; /* From first */
  margin-left: 10px;
  position: absolute; /* From first */
  left: 0; /* From first */
  border-radius: 50%;
  animation: rotateSphere 10s infinite linear;
  box-shadow: 0 4px 8px rgba(51, 51, 51, 0.3);
}

@keyframes rotateSphere {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

.nav-sections {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px; /* From first */
  margin: 0; /* From first */
  text-align: center;
  max-width: 90%; /* From first */
}

.nav-row {
  display: flex;
  justify-content: center;
  gap: 5px; /* From first */
}

.nav-link {
  color: #1A2526; /* From first */
  text-decoration: none;
  font-family: Arial, sans-serif; /* From first */
  font-weight: bold; /* From first */
  padding: 2px 4px; /* From first */
  transition: color 0.3s;
  font-size: 0.8em; /* From first */
}

.nav-link:hover {
  color: #e5c359; /* From first */
  text-shadow: 1px 1px 2px #800020; /* From first */
}

.cart-box {
  background: transparent;
  border: 2px solid #1A2526;
  border-radius: 8px;
  padding: 10px;
  width: 200px;
  position: fixed;
  top: 58px; /* Adjusted for 48px header */
  right: 10px;
  z-index: 9;
  box-shadow: 0 4px 8px rgba(51, 51, 51, 0.1);
  text-align: left;
}

.cart-box h3 {
  color: #F5F5F5;
  font-size: 1.3em;
  margin: 0 0 10px;
}

.cart-box p {
  color: #F5F5F5;
  font-size: 1.1em;
  margin: 5px 0;
}

.cart-box:hover p, .cart-box:hover h3 {
  background: rgba(128, 0, 32, 0.8);
  border-radius: 3px;
  padding: 2px 5px;
}

.cart-box button {
  background: #800020;
  color: #F5F5F5;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
  transition: background 0.3s ease;
}

.cart-box button:hover { background: #2E8B57; }

.cart-box .secure-note {
  color: #2E8B57;
  font-size: 0.9em;
  margin: 5px 0 0;
}

.cart-box:hover .secure-note {
  background: rgba(128, 0, 32, 0.8);
  border-radius: 3px;
  padding: 2px 5px;
}

.video-container {
  width: 100%;
  margin: 48px 0 20px; /* From first */
  padding: 0;
}

.header-video {
  width: 100%;
  max-height: 576px;
  object-fit: contain;
  display: block;
  z-index: 1;
}

.section {
  background: #F5F5F5; /* From first */
  border: 2px solid #1A2526; /* From first */
  border-radius: 10px;
  padding: 15px;
  margin: 20px auto;
  width: 80%;
  box-shadow: 0 4px 8px rgba(51, 51, 51, 0.1);
  position: relative;
  z-index: 1;
}

.section:hover { transform: scale(1.02); }

.section p {
  color: #800020; /* From first */
  font-family: Arial, sans-serif;
  text-shadow: 1px 1px 2px #F5F5F5; /* From first */
}

.product-intro {
  font-family: Arial, sans-serif;
  font-size: 14px; /* From first */
  color: #800020; /* From first */
  text-shadow: 1px 1px 1px #e5c359; /* From first */
  margin: 10px 0;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.product {
  width: 250px;
  background: #F5F5F5; /* From first */
  border: 1px solid #333333; /* From first */
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(51, 51, 51, 0.1);
  position: relative;
  z-index: 1;
}

.product:hover { transform: scale(1.05); }

.product-image {
  width: 200px;
  height: 200px;
  object-fit: cover;
  display: block;
  margin: 0 auto 10px;
  border-radius: 5px;
  border: 2px solid #1A2526;
}

.product-image:hover { transform: scale(1.1); }

.product h3 {
  font-size: 1.2em; /* From first */
  margin: 10px 0 5px;
}

.product h3 a.zoom-link {
  color: #1A2526; /* From first */
  text-decoration: none;
  cursor: pointer;
}

.product h3 a.zoom-link:hover { color: #800020; /* From first */ }

.product p {
  font-size: 1.1em; /* From first */
  color: #800020; /* From first */
  margin: 0 0 10px;
}

.product button {
  background: #800020;
  color: #F5F5F5;
  border: none;
  padding: 8px 16px; /* From first */
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.product button:hover { background: #2E8B57; }

.signup-container {
  display: flex;
  justify-content: center;
  align-items: center; /* From first */
  gap: 20px;
  margin: 20px 0; /* From first */
  flex-wrap: wrap; /* Added for responsiveness */
}

.signup-box {
  background: #F5F5F5; /* From first */
  padding: 40px; /* From first */
  margin: 20px;
  width: 300px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(51, 51, 51, 0.1);
  position: relative;
  z-index: 2;
}

.signup-box h2 {
  color: #1A2526; /* From first */
  font-size: 20px; /* From first */
}

.signup-box input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #1A2526;
  border-radius: 5px;
  box-sizing: border-box;
}

.signup-box button {
  background: #800020;
  color: #F5F5F5;
  padding: 10px;
  border: none;
  width: 100%;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.signup-box button:hover { background: #2E8B57; }

.footer {
  background: #F5F5F5; /* From first */
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
}

.social-icons {
  display: flex;
  justify-content: center;
  flex-grow: 1;
}

.social-icon {
  width: 32px;
  height: 32px;
  margin: 0 10px;
  transition: transform 0.3s ease;
  padding: 5px;
  background: #F5F5F5; /* From first */
}

.social-icon:hover { transform: scale(1.2); }

.cart-section { text-align: center; }

.cart-icon {
  width: 32px;
  height: 32px;
  vertical-align: middle;
  margin-right: 10px;
}

.cart-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.cart-link .cart-icon { margin: 0 10px 0 0; }

.spinning-cart {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  animation: rotateSphere 10s infinite linear;
}

.cart-label {
  color: #e5c359;
  text-shadow: 1px 1px 2px #800020;
}

#cart-count { color: #800020; }

.btn {
  background: #800020;
  color: #F5F5F5;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn:hover { background: #2E8B57; }

.view-cart-btn { margin-left: 10px; }

.zoom-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 37, 38, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.zoom-modal img {
  max-width: 80%;
  max-height: 80%;
  border: 3px solid #1A2526;
  border-radius: 10px;
}

#announcement {
  background: #1A2526;
  color: #F5F5F5;
  padding: 20px;
  position: fixed;
  top: -100%;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: top 0.5s ease;
  border-bottom: 3px solid #333333;
  box-shadow: 0 4px 8px rgba(51, 51, 51, 0.3);
}

#announcement.active { top: 0; }

.announcement-title {
  margin: 0 0 10px;
  font-size: 24px;
  text-transform: uppercase;
  color: #e5c359;
  text-shadow: 2px 2px 4px #800020;
}

#announcement p { margin: 10px 0; }

#announcement a {
  color: #e5c359;
  text-decoration: none;
  font-weight: bold; /* From first */
}

#announcement a:hover { text-decoration: underline; }

#close-announcement {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #800020;
  color: #F5F5F5;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

#close-announcement:hover { background: #2E8B57; }

.vlog-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin: 20px auto;
  width: 90%;
  justify-items: center;
}

.vlog-item { text-align: center; }

.vlog-video {
  width: 200px;
  height: auto;
  border-radius: 5px;
}

.vlog-item h2 {
  font-size: 1em;
  margin: 5px 0;
  color: #F5F5F5;
}

.cart-display {
  color: #e5c359;
  font-size: 2em;
  text-shadow: 1px 1px 2px #800020;
  background: #F5F5F5; /* From first */
  border: 2px solid #1A2526;
  border-radius: 10px;
  padding: 5px 15px;
  margin: 384px auto 20px;
  width: auto;
  display: inline-block;
  box-shadow: 0 4px 8px rgba(51, 51, 51, 0.1);
  position: relative;
  z-index: 1;
}

.cart-display h2 {
  color: #e5c359;
  font-size: 1.5em; /* From first */
  margin-bottom: 15px;
}

.cart-display ul {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
}

.cart-display li {
  margin: 10px 0;
  color: #F5F5F5;
}

.cart-display p {
  margin: 15px 0;
  font-size: 1.2em; /* Adjusted for consistency */
  color: #F5F5F5;
}

.suggestions {
  background: rgba(26, 37, 38, 0.9);
  border: 2px solid #800020;
  border-radius: 8px;
  padding: 10px 15px;
  width: 340px;
  text-align: center;
  margin-left: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.suggestions p {
  color: #e5c359;
  font-size: 0.9em;
  margin: 0 0 8px;
}

.suggestions ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.suggestions li { margin: 0; }

.suggestions a {
  color: #F5F5F5;
  text-decoration: none;
  font-size: 0.9em;
}

.suggestions a:hover {
  color: #2E8B57;
  text-decoration: underline;
}

.carousel {
  position: relative;
  width: 80%;
  max-width: 1200px;
  height: 200px;
  overflow: hidden;
  margin: 20px auto 70px;
  z-index: 4;
}

.carousel-inner {
  display: flex;
  width: 300%;
  animation: carouselSlide 15s infinite linear;
}

.carousel-block {
  width: 33.33%;
  height: 200px;
  background-size: cover;
  border: 2px solid #800020;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.carousel-block:hover { transform: scale(1.05); }

.about-bg .carousel-block:nth-child(1),
.about-bg .carousel-block:nth-child(2),
.about-bg .carousel-block:nth-child(3) {
  background: url('/images/aboutus.jpg') no-repeat center center;
}

@keyframes carouselSlide {
  0% { transform: translateX(0); }
  33.33% { transform: translateX(-33.33%); }
  66.66% { transform: translateX(-66.66%); }
  100% { transform: translateX(0); }
}

/* Tablet tweaks (iPad Mini 6 ~820px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .top-header { padding: 0; height: 48px; }
  .nav-sections { gap: 2px; margin: 0; }
  .nav-row { gap: 5px; }
  .nav-link { font-size: 0.75em; padding: 2px 4px; }
  .signup-container { margin: 20px 0; gap: 15px; }
  .signup-box { width: 45%; max-width: 300px; }
  .product-grid { gap: 15px; }
  .product { width: 45%; max-width: 250px; }
  .cart-box { width: 150px; top: 58px; right: 5px; }
  .suggestions { width: 320px; }
  .carousel { width: 90%; height: 150px; }
  .carousel-block { height: 150px; }
}

/* Phone tweaks (S23, S22 ~390px) */
@media (max-width: 768px) {
  .top-header { padding: 0; height: 48px; flex-direction: column; } /* Adjusted from first */
  .logo { margin: 0 auto; width: 48px; height: 48px; position: static; } /* Adjusted from first */
  .nav-sections { flex-direction: column; gap: 5px; margin-top: 48px; max-width: 100%; } /* Adjusted from first */
  .nav-row { flex-direction: column; gap: 5px; }
  .nav-link { font-size: 0.8em; padding: 2px 4px; } /* Kept from first */
  .video-container { margin: 96px 0 10px; } /* Adjusted for stacked header */
  .section { width: 90%; margin: 10px auto; }
  .product-grid { flex-direction: column; align-items: center; gap: 15px; }
  .product { width: 90%; max-width: 300px; }
  .product-image { width: 100%; height: auto; }
  .signup-container { flex-direction: column; gap: 15px; margin: 20px 0; }
  .signup-box { width: 90%; max-width: 300px; padding: 15px; margin: 10px auto; }
  .footer { flex-direction: column; gap: 10px; }
  .social-icons { flex-wrap: wrap; gap: 10px; }
  .vlog-grid { grid-template-columns: repeat(1, 1fr); }
  .vlog-video { width: 100%; max-width: 300px; }
  .cart-display { margin: 96px auto 20px; } /* Adjusted for stacked header */
  .cart-box { width: 100%; max-width: 200px; position: static; margin: 10px auto; }
  .suggestions { width: 90%; max-width: 300px; margin: 0 auto; padding: 8px 10px; }
  .suggestions ul { gap: 10px; }
  .carousel { width: 100%; height: 100px; }
  .carousel-block { height: 100px; }
}

.blog-post {
  background: #F5F5F5; /* From first */
  border: 2px solid #1A2526; /* From first */
  border-radius: 10px;
  padding: 15px;
  margin: 10px auto;
  width: 80%;
  box-shadow: 0 4px 8px rgba(51, 51, 51, 0.1);
}

.blog-post h2 {
  color: #1A2526; /* From first */
  font-size: 1.5em; /* From first */
  margin-bottom: 5px;
}

.blog-post p {
  color: #800020; /* From first */
  font-size: 1em; /* From first */
}

.qa-list {
  text-align: left;
  padding: 10px;
}

.qa-list h3 {
  color: #1A2526; /* From first */
  font-size: 1.2em; /* From first */
  margin: 10px 0 5px;
}

.qa-list p {
  color: #800020; /* From first */
  margin: 0 0 15px 20px;
}

.cart-display button {
  background: #800020;
  color: #F5F5F5;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  margin-left: 10px;
  transition: background 0.3s;
}

.cart-display button:hover { background: #2E8B57; }