/*
Theme Name: Hello Elementor Child
Text Domain: hello-elementor-child
*/

/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.2.1747761436
Updated: 2025-05-20 17:17:16

*/
@import url("../hello-elementor/style.css");

/*CSS Tweaks for Mobile/

/* Ensure proper scaling on phones/tablets */
@viewport {
  width: device-width;
  zoom: 1;
}
html {
  overflow-x: hidden;
}
body {
  font-size: 16px;
  line-height: 1.5;
} /* Base text size */




/******************START OF ALL ARCHIVE PAGE****************/

/* Header */

.archive-title {
  font-size: 2.2rem;
  color: #2c3e50;
}

.archive-description {
  font-size: 1.1rem;
  color: #7f8c8d;
  max-width: 800px;
  margin: 10px auto 0;
}

/* Filter Form */
.product-filters {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.filter-group {
  margin-bottom: 15px;
}

.search-input {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.category-select,
.rating-select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
}

.price-range-group label,
.rating-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.price-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-inputs input {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.filter-button,
.reset-button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

.filter-button {
  background: #3498db;
  color: white;
}

.reset-button {
  background: #e74c3c;
  color: white;
  margin-left: 10px;
}

.product-card {
  background: white;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.product-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 15px;
}

.product-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
}

.product-badge .rating {
  color: #ffc107;
  font-weight: bold;
}

.product-badge .count {
  margin-left: 5px;
  opacity: 0.8;
}

.product-info {
  padding: 15px;
}

.product-title {
  margin: 0 0 10px;
  font-size: 1.1rem;
  line-height: 1.4;
}

.product-title a {
  color: #2c3e50;
  text-decoration: none;
}

.product-title a:hover {
  color: #3498db;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
}

.product-price {
  font-weight: bold;
  color: #d26e4b;
  font-size: 1.1rem;
}

.prime-eligible img {
  height: 20px;
  width: auto;
}

.buy-now-button {
  display: block;
  width: 100%;
  text-align: center;
  background: #ff9900;
  color: white;
  padding: 8px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.buy-now-button:hover {
  background: #e88a04;
}

/* No Products */
.no-products {
  text-align: center;
  grid-column: 1 / -1;
  padding: 40px;
  background: #f8f9fa;
  border-radius: 8px;
}

.no-products p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* Pagination */
.product-pagination {
  margin-top: 40px;
  text-align: center;
}

.product-pagination ul {
  display: inline-flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-pagination li {
  margin: 0 5px;
}

.product-pagination a,
.product-pagination span {
  display: block;
  padding: 8px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
}

.product-pagination a:hover {
  background: #f8f9fa;
}

.product-pagination .current {
  background: #3498db;
  color: white;
  border-color: #3498db;
}

/* Responsive */
@media (max-width: 768px) {
  .product-filters {
    padding: 15px;
  }

  .filter-group {
    margin-bottom: 10px;
  }

  .price-inputs {
    flex-direction: column;
    gap: 5px;
  }

  .price-inputs span {
    display: none;
  }

  .submit-group {
    display: flex;
    justify-content: center;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
  }
}
/****************** END OF ALL ARCHIVE PAGE****************/

/****************** START OF Search Page****************/
.search-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.search-page-header {
  margin-bottom: 40px;
  text-align: center;
}

.page-title {
  font-size: 2rem;
  color: #2c3e50;
}

.page-title span {
  color: #3498db;
}

.search-results-count {
  color: #7f8c8d;
  font-size: 1.1rem;
}

/* Search Layout */
.search-content-area {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 30px;
}

/* Filters Sidebar */
.search-filters {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  position: sticky;
  top: 20px;
  align-self: start;
}

.filter-section h3 {
  margin-top: 0;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.filter-group {
  margin-bottom: 20px;
}

.filter-group h4 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.filter-group label {
  display: block;
  margin-bottom: 8px;
  cursor: pointer;
}

.price-range-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-range-inputs input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.filter-group select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.apply-filters {
  width: 100%;
  padding: 10px;
  background: #3498db !important;
  color: white !important;
  border: none !important;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

/* Search Results */
.search-results-grid {
  display: grid;
  gap: 25px;
}

.search-result {
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: all 0.3s;
}

.search-result:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

/* Product Results */
.product-result {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
}

.product-image {
  position: relative;
}

.product-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.product-rating {
  position: relative;
  bottom: 5px;
  left: 0;
  right: 0;

  color: white;
  padding: 5px !important;
  text-align: center;
  font-size: 0.8rem;
}

.product-rating .stars {
  color: #ffc107;
}

.product-details h2 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.product-details h2 a {
  color: #2c3e50;
  text-decoration: none;
}

.product-price {
  font-weight: bold;
  color: #d26e4b;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.product-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.product-actions a {
  padding: 8px 15px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}

.view-details {
  background: #3498db;
  color: white;
}

.buy-now {
  background: #ff9900;
  color: white;
}

/* Blog Post Results */
.post-result h2 {
  margin: 0 0 10px;
  font-size: 1.4rem;
}

.post-result h2 a {
  color: #2c3e50;
  text-decoration: none;
}

.post-meta {
  color: #7f8c8d;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.post-meta span {
  margin-right: 15px;
}

.post-excerpt {
  margin-bottom: 15px;
}

.read-more {
  display: inline-block;
  color: #3498db;
  font-weight: 600;
  text-decoration: none;
}

.associated-product-mini {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
}

.associated-product-mini a {
  color: #d26e4b;
  text-decoration: none;
}

/* No Results */
.no-results {
  text-align: center;
  padding: 40px;
}

.no-results h3 {
  font-size: 1.5rem;
  color: #2c3e50;
}

.no-results p {
  color: #7f8c8d;
  margin-bottom: 20px;
}

.back-home {
  display: inline-block;
  padding: 10px 20px;
  background: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

/* Pagination */
.search-pagination {
  margin-top: 40px;
  text-align: center;
}

.search-pagination ul {
  display: inline-flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 5px;
}

.search-pagination li a,
.search-pagination li span {
  display: block;
  padding: 8px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
}

.search-pagination li a:hover {
  background: #f8f9fa;
}

.search-pagination .current {
  background: #3498db;
  color: white;
  border-color: #3498db;
}

/* Responsive */
@media (max-width: 768px) {
  .search-content-area {
    grid-template-columns: 1fr;
  }

  .search-filters {
    position: static;
    margin-bottom: 30px;
  }

  .product-result {
    grid-template-columns: 1fr;
  }

  .product-image {
    margin-bottom: 15px;
  }
}
/****************** END OF Search Page Container****************/

/****************** START OF COMPARE Page ****************/

.comparison-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.comparison-header {
  text-align: center;
  margin-bottom: 40px;
}

.comparison-header h1 {
  font-size: 2.2rem;
  color: #2c3e50;
}

.comparison-alert {
  text-align: center;
  padding: 40px;
  background: #f8f9fa;
  border-radius: 8px;
}

.comparison-alert .button {
  display: inline-block;
  padding: 10px 20px;
  background: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 15px;
}

.comparison-tools {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 20px;
}

.print-button,
.export-button {
  padding: 8px 15px;
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
}

.print-button:hover,
.export-button:hover {
  background: #eee;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 200px repeat(auto-fit, minmax(250px, 1fr));
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

.comparison-row {
  display: contents;
}

.comparison-row > div {
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.header-row > div {
  background: #2c3e50;
  color: white;
  font-weight: bold;
}

.header-row .comparison-product {
  text-align: center;
}

.comparison-feature {
  background: #f8f9fa;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.comparison-product {
  background: white;
}

.image-row .comparison-product {
  text-align: center;
}

.product-image-container {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-price {
  font-weight: bold;
  color: #d26e4b;
  font-size: 1.2rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

.stars {
  --percent: calc(var(--rating) / 5 * 100%);
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
}

.stars::before {
  content: "★★★★★";
  letter-spacing: 2px;
  background: linear-gradient(
    90deg,
    #ffb700 var(--percent),
    #ddd var(--percent)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pros-list,
.cons-list {
  margin: 0;
  padding-left: 20px;
}

.pros-list li {
  color: #27ae60;
  list-style-type: "✓ ";
}

.cons-list li {
  color: #e74c3c;
  list-style-type: "✗ ";
}

.na {
  color: #999;
  font-style: italic;
}

.action-row .comparison-product {
  display: flex;
  gap: 10px;
}

.view-details,
.buy-now {
  padding: 8px 15px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}

.view-details {
  background: #3498db;
  color: white;
}

.buy-now {
  background: #ff9900;
  color: white;
}

.comparison-notes {
  margin-top: 30px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #666;
}

/* Responsive */
@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 150px repeat(auto-fit, minmax(150px, 1fr));
  }

  .comparison-row > div {
    padding: 10px;
    font-size: 0.9rem;
  }

  .product-image-container {
    height: 100px;
  }
}

@media (max-width: 480px) {
  .comparison-tools {
    flex-direction: column;
  }

  .action-row .comparison-product {
    flex-direction: column;
    gap: 5px;
  }

  .view-details,
  .buy-now {
    display: block;
    text-align: center;
  }
}
/****************** END OF COMPARE PAGE****************/

/****************** START OF PRODUCT  ARCHIVE PAGE****************/
.custom-product-archive {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.archive-header {
  text-align: center;
  margin-bottom: 40px;
}

.archive-title {
  font-size: 2.2rem;
  color: #2c3e50;
}

.archive-description {
  color: #7f8c8d;
  max-width: 800px;
  margin: 10px auto 0;
}

.product-archive-tools {
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.compare-controls {
  display: flex;
  align-items: center !important;
  gap: 15px;
}

.compare-button {
  padding: 8px 15px;
  background: #ff9900 !important;
  color: #000 !important;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px !important;
  font-weight: 600;
}

.compare-icon {
  font-size: 1.2rem;
}

#compare-count {
  color: #000;
  font-size: 0.9rem;
}

.archive-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.search-input,
.category-filter {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  min-width: 200px;
}

.filter-button {
  padding: 8px 15px;
  background: #2c3e50 !important;
  color: white !important;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.product-grid-container {
  margin-top: 20px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.product-card {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 15px;
  position: relative;
  transition: all 0.3s;
}

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

.product-checkbox {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}

.product-checkbox input[type="checkbox"] {
  display: none;
}

.product-checkbox label {
  display: inline-block;
  width: 70px;
  height: 24px;
  border: 2px solid #ddd !important;
  border-radius: 4px;
  background: white !important;
  cursor: pointer;
  position: relative;
}

.product-checkbox input[type="checkbox"]:checked + label {
  background: #3498db;
  border-color: #3498db;
}

.product-checkbox input[type="checkbox"]:checked + label::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 14px;
}

.product-image {
  margin-bottom: 15px;
  text-align: center;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-info {
  padding: 0 10px;
}

.product-title {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.product-title a {
  color: #2c3e50;
  text-decoration: none;
}

.product-title a:hover {
  color: #3498db;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 15px 0;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

.stars {
  --percent: calc(var(--rating) / 5 * 100%);
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
}

.stars::before {
  content: "★★★★★";
  letter-spacing: 2px;
  background: linear-gradient(
    90deg,
    #ffb700 var(--percent),
    #ddd var(--percent)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.product-price {
  font-weight: bold;
  color: #d26e4b;
  font-size: 1.1rem;
}

.product-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.view-details,
.buy-now {
  flex: 1;
  padding: 8px;
  text-align: center;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.view-details {
  background: #f8f9fa;
  color: #2c3e50;
  border: 1px solid #ddd;
}

.buy-now {
  background: #ff9900;
  color: white;
}

.archive-pagination {
  margin-top: 40px;
  text-align: center;
}

.archive-pagination ul {
  display: inline-flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 5px;
}

.archive-pagination li a,
.archive-pagination li span {
  display: block;
  padding: 8px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
}

.archive-pagination li a:hover {
  background: #f8f9fa;
}

.archive-pagination .current {
  background: #3498db;
  color: white;
  border-color: #3498db;
}

.no-products {
  text-align: center;
  padding: 40px;
  background: #f8f9fa;
  border-radius: 8px;
  grid-column: 1 / -1;
}

.no-products p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.reset-filters {
  display: inline-block;
  padding: 8px 15px;
  background: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  .product-archive-tools {
    flex-direction: column;
    align-items: stretch;
  }

  .compare-controls {
    justify-content: center;
  }

  .archive-filters {
    flex-direction: column;
  }

  .search-input,
  .category-filter {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-actions {
    flex-direction: column;
  }
}
/****************** END OF PRODUCT ARHIVE PAGE****************/

/****************** START OF AMAZON CATEGORY PAGE****************/
.amazon-category-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.category-header {
  text-align: center;
  margin-bottom: 40px;
}

.category-banner {
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.category-banner img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
}

.category-filters {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

.filter-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.filter-group select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.apply-filters {
  padding: 8px 20px;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  align-self: flex-end;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.product-card {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 15px;
  transition: all 0.3s;
}

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

.product-image {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-info h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.product-info h3 a {
  color: #2c3e50;
  text-decoration: none;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 15px 0;
}

.price {
  font-weight: bold;
  color: #d26e4b;
  font-size: 1.1rem;
}

.rating {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  color: #7f8c8d;
}

.stars {
  --percent: calc(var(--rating) / 5 * 100%);
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
}

.stars::before {
  content: "★★★★★";
  letter-spacing: 2px;
  background: linear-gradient(
    90deg,
    #ffb700 var(--percent),
    #ddd var(--percent)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.buy-now {
  display: block;
  text-align: center;
  padding: 8px;
  background: #ff9900;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  margin-top: 15px;
}

.category-content {
  margin-top: 50px;
}

.category-content section {
  margin-bottom: 40px;
}

.category-content h2,
.category-content h3 {
  color: #2c3e50;
  margin-bottom: 15px;
}

.category-content p {
  line-height: 1.7;
  margin-bottom: 15px;
}

.category-pagination {
  text-align: center;
  margin-top: 40px;
}

.category-pagination .page-numbers {
  display: inline-flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 5px;
}

.category-pagination a,
.category-pagination span {
  padding: 8px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
}

.category-pagination .current {
  background: #3498db;
  color: white;
  border-color: #3498db;
}

.no-products {
  text-align: center;
  padding: 40px;
  background: #f8f9fa;
  border-radius: 8px;
}

.reset-filters {
  display: inline-block;
  padding: 8px 15px;
  background: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .category-filters {
    flex-direction: column;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}
/****************** END OF AMAZON CATEGORY PAGE****************/

/****************** START OF AMAZON SINGLE PRODUCT PAGE******WITH BLOG ADD-ON**********/
/* Product Page Variables */
:root {
  --primary-color: #ff9900; /* Amazon orange */
  --secondary-color: #146eb4; /* Amazon blue */
  --dark-color: #131921;
  --light-color: #f8f9fa;
  --text-color: #0f1111;
  --text-light: #565959;
  --border-color: #dddddd;
  --success-color: #067d62;
  --warning-color: #b12704;
  --font-main: "Amazon Ember", Arial, sans-serif;
  --font-heading: "Amazon Ember Display", Arial, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* Base Styles */
body {
  font-family: var(--font-main);
  color: var(--text-color);
  line-height: 1.6;
  background-color: #f3f3f3;
}

/* Product Main Container */
.product-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 30px auto;
  padding: 20px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* Product Gallery */
.product-gallery {
  position: sticky;
  top: 20px;
  align-self: start;
}

.main-image {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.main-image img {
  width: 100%;
  height: auto;
  display: block;
}

.thumbnail-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.thumbnail-gallery img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
}

.thumbnail-gallery img:hover {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

/* Product Info */
.product-info {
  padding: 0 20px;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 500;
  margin: 0 0 15px 0;
  color: var(--text-color);
}

/* Product Meta */
.product-meta {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.product-rating {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.stars {
  --percent: calc(var(--rating) / 5 * 100%);
  display: inline-block;
  font-size: 1.2rem;
  font-family: Times;
  line-height: 1;
}

.stars::before {
  content: "★★★★★";
  letter-spacing: 3px;
  background: linear-gradient(
    90deg,
    #ffa41c var(--percent),
    #dddddd var(--percent)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.product-rating span {
  margin-left: 8px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.product-price {
  margin: 15px 0;
}

.current-price {
  font-size: 1.8rem;
  font-weight: 500;
  color: #b12704;
}

.original-price {
  font-size: 1.2rem;
  text-decoration: line-through;
  color: var(--text-light);
  margin-left: 8px;
}

.product-availability .in-stock {
  color: var(--success-color);
  font-weight: 500;
}

/* Buy Box */
.product-buy-box {
  padding: 20px;
  margin: 25px 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #f7f7f7;
}

.buy-now-button {
  display: block;
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  background: var(--primary-color);
  color: white;
  text-align: center;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration: none;
}

.buy-now-button:hover {
  background: #ff8c00;
}

.prime-badge {
  display: flex;
  align-items: center;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

.prime-badge img {
  margin-right: 8px;
}

/* Product Highlights */
.product-highlights {
  margin: 30px 0;
}

.product-highlights h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

/* Product Details Tabs */
.product-details {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.details-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.tab-button {
  padding: 12px 25px;
  margin-right: 5px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-button.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.tab-button:hover:not(.active) {
  color: var(--text-color);
}

.tab-content {
  display: none;
  padding: 20px 0;
}

.tab-content.active {
  display: block;
}

/* Specifications Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table th,
.specs-table td {
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  text-align: left;
}

.specs-table th {
  background-color: #f7f7f7;
  width: 30%;
}

/* Reviews Section */
.review-summary {
  display: flex;
  margin-bottom: 30px;
}

.overall-rating {
  text-align: center;
  padding: 20px;
  border-right: 1px solid var(--border-color);
  min-width: 200px;
}

.average {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-color);
}

.rating-bars {
  flex: 1;
  padding: 20px;
}

.rating-bar {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.rating-bar .stars {
  width: 100px;
  color: #ffa41c;
  font-size: 0.9rem;
}

.bar-container {
  flex: 1;
  height: 10px;
  background: #f0f0f0;
  border-radius: 5px;
  margin: 0 10px;
  overflow: hidden;
}

.bar {
  height: 100%;
  background: #ffa41c;
}

.percentage {
  width: 40px;
  text-align: right;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Pros & Cons */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 30px 0;
}

.pros h4,
.cons h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.pros ul,
.cons ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pros li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}

.pros li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
}

.cons li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}

.cons li::before {
  content: "✗";
  position: absolute;
  left: 0;
  color: var(--warning-color);
  font-weight: bold;
}

/* Related Products */
.related-products {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.related-products h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  text-align: center;
  color: var(--text-color);
}

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

.product-card {
  background: white;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  padding: 15px;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin-bottom: 15px;
}

.product-card h3 {
  font-size: 1.1rem;
  margin: 0 0 10px 0;
}

.product-card h3 a {
  color: var(--text-color);
  text-decoration: none;
}

.product-card h3 a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.product-card .price {
  color: #b12704;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .product-main {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    position: static;
  }

  .review-summary {
    flex-direction: column;
  }

  .overall-rating {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
}

@media (max-width: 768px) {
  .pros-cons {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .details-tabs {
    flex-wrap: wrap;
  }

  .tab-button {
    flex: 1 0 auto;
    margin-bottom: 5px;
  }

  .products-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card {
  animation: fadeIn 0.6s ease-out forwards;
}

/* Delay animations for grid items */
.product-card:nth-child(1) {
  animation-delay: 0.1s;
}
.product-card:nth-child(2) {
  animation-delay: 0.2s;
}
.product-card:nth-child(3) {
  animation-delay: 0.3s;
}
.product-card:nth-child(4) {
  animation-delay: 0.4s;
}

/****************** END OF AMAZON SINGLE PRODUCT PAGE******WITH BLOG ADD-ON**********/

/****************** PRODUCT CATEGORY PAGE******WITH BLOG CATEGORY**********/
/* ========== COMMON STYLES FOR BOTH TEMPLATES ========== */
.content-section {
  margin-bottom: 60px;
  padding: 30px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--dark-color);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
}

/* ========== BLOG CATEGORY SPECIFIC STYLES ========== */
/* Featured Articles */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.featured-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.featured-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.featured-image {
  height: auto;
  overflow: hidden;
}

.featured-image img,
.default-featured-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.featured-card:hover .featured-image img {
  transform: scale(1.05);
}

.default-featured-image {
  background: linear-gradient(
    135deg,
    var(--primary-light),
    var(--primary-color)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.featured-content {
  padding: 20px;
  background: white;
  flex-grow: 1;
}

.featured-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.featured-content h3 a {
  color: var(--dark-color);
  text-decoration: none;
}

.featured-content h3 a:hover {
  color: var(--primary-color);
}

.post-meta {
  display: flex;
  gap: 15px;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 15px;
}

.read-more {
  display: inline-block;
  margin-top: 15px;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}

/* Popular Topics */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.topic-card {
  background: var(--light-color);
  padding: 20px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.topic-card:hover {
  background: white;
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.topic-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.topic-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.post-count {
  display: inline-block;
  font-size: 0.8rem;
  background: var(--primary-light);
  color: white;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.topics-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.topics-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-light);
}

.topics-list li:last-child {
  border-bottom: none;
}

.topics-list a {
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 500;
}

.topics-list a:hover {
  color: var(--primary-color);
}

.comment-count {
  display: inline-block;
  margin-left: 10px;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Resources */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.resource-card {
  background: white;
  padding: 25px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-light);
  transition: var(--transition);
}

.resource-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.resource-card h3 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.resource-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 15px;
}

.resource-link {
  display: inline-block;
  padding: 8px 16px;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  transition: var(--transition);
}

.resource-link:hover {
  background: var(--secondary-color);
}

/* ========== AMAZON PRODUCT CATEGORY SPECIFIC STYLES ========== */
/* Comparison Table */
.comparison-table {
  overflow-x: auto;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.comparison-table th,
.comparison-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--gray-light);
}

.comparison-table th {
  background: black;
  color: white;
  font-weight: 600;
}

.comparison-table tr:nth-child(even) {
  background: var(--light-color);
}

.comparison-table a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.comparison-table a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.faq-section {
  background: var(--light-color);
  padding: 30px;
  border-radius: var(--radius-md);
}

.faq-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-light);
}

.faq-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.faq-item h3 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-left: 25px;
}

.faq-item h3::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
  font-weight: bold;
}

.faq-item.active h3::before {
  content: "-";
}

.faq-item div[itemprop="text"] {
  padding-left: 25px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Keyword Cloud */
.keyword-section {
  text-align: center;
  padding: 30px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.seo-keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.keyword-tag {
  display: inline-block;
  padding: 6px 12px;
  background: var(--light-color);
  color: var(--text-color);
  border-radius: 20px;
  font-size: 0.85rem;
  transition: var(--transition);
}

.keyword-tag:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .content-section {
    padding: 20px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .featured-grid,
  .resources-grid,
  .topics-grid {
    grid-template-columns: 1fr;
  }
}

/* Disclaimer Css */
.affiliate-disclaimer {
  background-color: #f8f9fa;
  border-left: 4px solid #f0ad4e;
  padding: 15px;
  margin: 25px 0;
  font-size: 0.9em;
  border-radius: 0 4px 4px 0;
}

.affiliate-disclaimer p {
  margin: 0;
  color: #6c757d;
}

/*REVIWER*/
/* ===== Base Styles ===== */
.reviewer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.reviews-main {
  flex: 1 1 70%;
  min-width: 0;
}

.sidebar {
  flex: 1 1 25%;
  min-width: 300px;
}

/* ===== Product Review Styles ===== */
.product-review {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .product-review {
    flex-direction: row;
  }
}

.product-image {
  flex: 0 0 300px;
  padding: 20px;
  background: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.product-image:hover img {
  transform: scale(1.03);
}

.review-content {
  flex: 1;
  padding: 25px;
}

.review-content h1 {
  font-size: 28px;
  margin: 0 0 15px;
  color: #2a2a2a;
  line-height: 1.3;
}

.review-content h2 {
  font-size: 22px;
  margin: 25px 0 15px;
  color: #333;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}

.review-content h3 {
  font-size: 18px;
  margin: 20px 0 10px;
  color: #444;
}

.review-content h4 {
  font-size: 16px;
  margin: 15px 0 10px;
  color: #555;
}

/* ===== Review Sections ===== */
.ai-review {
  background: #f8f9fa;
  padding: 15px;
  border-left: 4px solid #4285f4;
  margin: 15px 0;
  border-radius: 0 4px 4px 0;
}

.product-specs table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
}

.product-specs table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.product-specs table td {
  padding: 10px;
  border: 1px solid #ddd;
}

.product-specs table td:first-child {
  width: 30%;
  font-weight: 600;
}

.pros-cons-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
}

.product-pros,
.product-cons {
  flex: 1 1 300px;
  padding: 15px;
  border-radius: 6px;
}

.product-pros {
  background: #f0f8f0;
  border-left: 4px solid #4caf50;
}

.product-cons {
  background: #fff8f8;
  border-left: 4px solid #f44336;
}

.product-pros ul,
.product-cons ul {
  padding-left: 20px;
  margin: 10px 0 0;
}

.product-pros li,
.product-cons li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.verdict {
  background: #f0f7ff;
  padding: 20px;
  border-radius: 6px;
  margin-top: 20px;
  border-left: 4px solid #2196f3;
}

/* ===== Sidebar Styles ===== */
.sidebar-section {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  margin-bottom: 30px;
}

.sidebar h3 {
  font-size: 18px;
  margin: 0 0 15px;
  color: #2a2a2a;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.card {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}

.card:last-child {
  border-bottom: none;
}

.card:hover {
  background: #f9f9f9;
}

.card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.card-content {
  flex: 1;
}

.card-content h4 {
  margin: 0 0 5px;
  font-size: 15px;
  color: #333;
}

.card-content p {
  margin: 0;
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  margin-bottom: 8px;
}

.category-list a {
  display: block;
  padding: 8px 12px;
  color: #444;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.category-list a:hover {
  background: #f0f0f0;
  color: #000;
  padding-left: 15px;
}

.star-rating {
  color: #ffb400;
  font-size: 14px;
  margin-top: 5px;
}

/* ===== Pagination Styles ===== */
.pagination-wrapper {
  margin: 40px 0;
  text-align: center;
}

.pagination {
  display: inline-block;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 8px 16px;
  margin: 0 4px;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}

.pagination a:hover {
  background: #f0f0f0;
}

.pagination .current {
  background: #4285f4;
  color: white;
  border-color: #4285f4;
}

.load-more-container {
  text-align: center;
  margin: 30px 0;
}

#load-more {
  background: #4285f4;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

#load-more:hover {
  background: #3367d6;
}

#load-more:disabled {
  background: #cccccc;
  cursor: not-allowed;
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
  .reviewer-wrapper {
    flex-direction: column;
  }

  .reviews-main,
  .sidebar {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .product-review {
    flex-direction: column;
  }

  .product-image {
    flex: 0 0 auto;
  }

  .pros-cons-wrapper {
    flex-direction: column;
  }
}

/* ===== Animation for AJAX Loading ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-review {
  animation: fadeIn 0.5s ease-out;
}

/**/
.action-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.view-details-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #4285f4;
  color: white !important;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  border: 1px solid #357ae8;
}

.view-details-button:hover {
  background: #3367d6;
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.view-details-button.small {
  padding: 6px 12px;
  font-size: 13px;
}

.amazon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ff9900;
  color: #000 !important;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  border: 1px solid #e88a00;
}

.amazon-button:hover {
  background: #e88a00;
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.amazon-button.small {
  padding: 6px 12px;
  font-size: 13px;
}

.amazon-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-left: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23000' d='M257.2 162.7c-48.7 1.8-169.5 15.5-169.5 117.5 0 109.5 138.3 114 183.5 43.2 6.5 10.2 35.4 37.5 45.3 46.8l56.8-56S341 288.9 341 261.4V114.3c-1.5-1.5-83.6-1.4-83.8-1.5zm-90.5 93.5c0-77.7 99.7-77.8 99.7 0 0 77.7-99.7 77.7-99.7 0zM448 430.5V80c0-45-39.1-81-83.8-81H83.8C39.1 0 0 36 0 80v350.5c0 45 39.1 81 83.8 81h280.4c44.7 0 83.8-36 83.8-81z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.affiliate-disclaimer {
  color: #666;
  font-size: 12px;
  margin: 5px 0 0;
  text-align: center;
}

/* Card actions specific */
.card-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .action-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .view-details-button,
  .amazon-button {
    width: 100%;
    text-align: center;
  }
}


/*Widget Card Editor Css
.product-card-widget {
    display: flex;
    justify-content: space-between;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 10px;
    background: #fff;
    align-items: center;
}
.product-card-left {
    display: flex;
    gap: 10px;
}
.product-card-image {
    position: relative;
}
.product-card-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}
.product-rank {
    position: absolute;
    top: -5px;
    left: -5px;
    background: #2ecc71;
    color: #fff;
    font-weight: bold;
    padding: 5px 8px;
    border-radius: 50%;
    font-size: 14px;
}
.badge {
    display: inline-block;
    background: #27ae60;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    margin-bottom: 4px;
}
.product-card-right {
    text-align: right;
}
.price {
    font-size: 18px;
    font-weight: bold;
}
.old-price {
    text-decoration: line-through;
    color: #aaa;
    margin-left: 5px;
}
.buy-btn {
    display: inline-block;
    background: #8e44ad;
    color: #fff;
    padding: 6px 12px;
    border-radius: 3px;
    margin: 5px 0;
    text-decoration: none;
}
.buy-btn:hover {
    background: #732d91;
}
.review-link {
    font-size: 12px;
    color: #27ae60;
    text-decoration: none;
}


/*******Archive product 2025 September***********/
/* ====================== */
/* Premium Global Styles */
/* ====================== */
:root {
    --primary-color: #FF9900;
    --primary-dark: #e88a00;
    --secondary-color: #146EB4;
    --dark-color: #131921;
    --light-color: #f8f9fa;
    --text-color: #0F1111;
    --text-light: #565959;
    --border-color: #DDDDDD;
    --success-color: #067D62;
    --warning-color: #B12704;
    --card-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: 'Amazon Ember', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f7f7f7;
}

.product-archive-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ====================== */
/* Premium Header Styles */
/* ====================== */
.product-archive-header {
    text-align: center;
    margin-bottom: 50px;
}

.archive-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.archive-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.archive-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ========================== */
/* Premium Filter Form Styles */
/* ========================== */
.premium-filter-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 50px;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.premium-filter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.premium-filter-form {
    margin-top: 20px;
}

.premium-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: flex-end;
}

.filter-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    z-index: 1;
}

.premium-search-input,
.premium-price-input,
.premium-category-select,
.premium-rating-select {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    background-color: #fafafa;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
}

.premium-search-input:focus,
.premium-price-input:focus,
.premium-category-select:focus,
.premium-rating-select:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.1);
}

.premium-price-group .input-icon {
    top: 20px;
}

.premium-price-inputs {
    display: flex;
    align-items: center;
    background-color: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.premium-price-inputs:focus-within {
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.1);
}

.premium-price-input {
    flex: 1;
    padding: 15px;
    border: none;
    background: transparent;
    font-size: 0.95rem;
}

.premium-price-input:focus {
    outline: none;
}

.price-separator {
    padding: 0 10px;
    color: var(--text-light);
}

.premium-category-select,
.premium-rating-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23565959' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    cursor: pointer;
}

.premium-rating-select option {
    padding: 10px;
}

.premium-action-group {
    display: flex;
    gap: 15px;
}

.premium-filter-button,
.premium-reset-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
}

.premium-filter-button {
    background-color: var(--primary-color);
    color: white;
    flex: 1;
}

.premium-filter-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 153, 0, 0.3);
}

.premium-reset-button {
    background-color: #f0f0f0;
    color: var(--text-color);
    text-decoration: none;
}

.premium-reset-button:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

/* ======================== */
/* Premium Product Grid */
/* ======================== */
.premium-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.premium-product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
}

.premium-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.15);
}

.product-image-container {
    position: relative;
    overflow: hidden;
    padding-top: 100%; /* 1:1 Aspect Ratio */
}

.product-image-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.premium-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.premium-product-card:hover .premium-product-image {
    transform: scale(1.05);
}

.prime-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 4px;
    z-index: 2;
}

.prime-tag img {
    display: block;
    width: 60px;
    height: auto;
}

.product-rating-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.rating-stars {
    color: #FFA41C;
}

.review-count {
    color: #cccccc;
}

.product-hover-actions {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.premium-product-card:hover .product-hover-actions {
    opacity: 1;
}

.quick-view-button {
    background: white;
    color: var(--text-color);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.quick-view-button:hover {
    background: var(--primary-color);
    color: white;
}

.premium-product-details {
    padding: 20px;
}

.premium-product-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.premium-product-title a {
    color: var(--text-color);
    transition: var(--transition);
}

.premium-product-title a:hover {
    color: var(--primary-color);
}

.price-container {
    margin: 15px 0;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #B12704;
}

.original-price {
    font-size: 0.9rem;
    text-decoration: line-through;
    color: var(--text-light);
    margin-left: 8px;
}

.premium-buy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: var(--dark-color);
    color: white;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}

.premium-buy-button:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* ====================== */
/* No Products Message */
/* ====================== */
.no-products-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.no-products-message h3 {
    font-size: 1.5rem;
    margin: 20px 0 10px;
    color: var(--dark-color);
}

.no-products-message p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* ====================== */
/* Premium Pagination */
/* ====================== */
.premium-pagination {
    text-align: center;
}

.premium-pagination ul {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.premium-pagination li {
    margin: 0;
}

.premium-pagination a,
.premium-pagination span {
    display: block;
    padding: 12px 18px;
    border: 1px solid #e0e0e0;
    background: white;
    color: var(--text-color);
    font-weight: 600;
    transition: var(--transition);
}

.premium-pagination a:hover {
    background: #f5f5f5;
    color: var(--primary-color);
}

.premium-pagination .current {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.premium-pagination .pagination-arrow {
    display: inline-block;
    transition: var(--transition);
}

.premium-pagination a:hover .pagination-arrow {
    transform: translateX(-3px);
}

.premium-pagination a.next:hover .pagination-arrow {
    transform: translateX(3px);
}

/* ====================== */
/* Responsive Styles */
/* ====================== */
@media (max-width: 1200px) {
    .premium-filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .premium-action-group {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .product-archive-header {
        margin-bottom: 30px;
    }
    
    .archive-title {
        font-size: 2rem;
    }
    
    .premium-filter-grid {
        grid-template-columns: 1fr;
    }
    
    .premium-product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .premium-filter-section {
        padding: 20px 15px;
    }
    
    .premium-price-inputs {
        flex-direction: column;
    }
    
    .price-separator {
        padding: 10px 0;
    }
    
    .premium-action-group {
        flex-direction: column;
    }
    
    .premium-filter-button,
    .premium-reset-button {
        width: 100%;
    }
}




