/*
Theme Name: Omegakur WooCommerce Theme
Theme URI: https://omegakur.com/
Author: Junie
Description: A WooCommerce theme converted from Shopify.
Version: 1.0.0
Text Domain: omegakur-theme
*/

/* Product Reviews Section */
.product-reviews-section {
  padding: 3rem 0;
  border-top: 1px solid #e5e5e5;
  margin-top: 3rem;
}

.product-reviews-container {
  max-width: 800px;
}

.product-reviews-container .comment-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.product-reviews-container .comment-form textarea,
.product-reviews-container .comment-form input[type="text"],
.product-reviews-container .comment-form input[type="email"],
.product-reviews-container .comment-form input[type="url"] {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
}

.product-reviews-container .comment-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.product-reviews-container .comment-list .comment {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: #f9f9f9;
  border-radius: 4px;
}

.product-reviews-container .comment .comment-meta {
  margin-bottom: 1rem;
}

.product-reviews-container .comment .comment-author {
  font-weight: 600;
}

.product-reviews-container .comment .comment-text {
  margin-top: 0.75rem;
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
  padding: 3rem 0;
  border-top: 1px solid #e5e5e5;
  margin-top: 3rem;
  background-color: #f9f9f9;
}

.testimonials-title {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.testimonial-image {
  width: 100px;
  height: 100px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  background-color: #e5e5e5;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card h3 {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
}

/* Benefits Section */
.benefits-section {
  padding: 3rem 0;
  border-top: 1px solid #e5e5e5;
  margin-top: 3rem;
}

.benefits-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefits-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  background-color: #f5f5f5;
  border-radius: 8px;
}

.benefit-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.benefit-text h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.benefit-text p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
}

/* FAQ Section */
.faq-section {
  padding: 3rem 0;
  border-top: 1px solid #e5e5e5;
  margin-top: 3rem;
}

.faq-title {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.faq-item summary {
  padding: 1.5rem;
  background-color: #f9f9f9;
  cursor: pointer;
  user-select: none;
}

.faq-item summary:hover {
  background-color: #f0f0f0;
}

.faq-item summary h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.faq-item[open] summary {
  background-color: #f0f0f0;
}

.faq-content {
  padding: 1.5rem;
  background-color: white;
}

.faq-content p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.faq-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.faq-content li {
  margin-bottom: 0.5rem;
}

/* Related Products Section */
.related-products-section,
.upsells-products-section {
  padding: 3rem 0;
  border-top: 1px solid #e5e5e5;
  margin-top: 3rem;
}

.related-products-section h2,
.upsells-products-section h2 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  text-align: center;
}

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

.products.columns-4 li {
  list-style: none;
  text-align: center;
}

.products.columns-4 .product-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.products.columns-4 .product-image {
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 4px;
}

.products.columns-4 .product-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.products.columns-4 .product-image:hover img {
  transform: scale(1.05);
}

.products.columns-4 .product-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  min-height: 2.4rem;
}

.products.columns-4 .product-price {
  color: #333;
  font-weight: 600;
  margin-bottom: 1rem;
}

.products.columns-4 .add_to_cart_button {
  padding: 0.75rem 1.5rem;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-top: auto;
}

.products.columns-4 .add_to_cart_button:hover {
  background-color: #555;
}

@media (max-width: 768px) {
  .products.columns-4 {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
  }

  .related-products-section,
  .upsells-products-section {
    padding: 2rem 0;
    margin-top: 2rem;
  }

  .related-products-section h2,
  .upsells-products-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

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

  .benefits-container {
    grid-template-columns: 1fr;
  }
}

/* Sticky add to cart */
body.has-sticky-add-to-cart-visible {
  padding-bottom: 10rem;
}

.Vtl-StickyAddToCart {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
  z-index: 120;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(115%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
}

.Vtl-StickyAddToCart--isVisible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.Vtl-StickyAddToCart__Container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
}

.Vtl-StickyAddToCart__ProductInfo {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-width: 0;
}

.Vtl-StickyAddToCart__ProductImage {
  flex: 0 0 auto;
}

.Vtl-StickyAddToCart__ProductImageTag {
  display: block;
  width: 6rem;
  height: 6rem;
  border-radius: 0.8rem;
  object-fit: cover;
}

.Vtl-StickyAddToCart__ProductInfoContainer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.Vtl-StickyAddToCart__ProductInfoTitle {
  color: #222;
  font-family: var(--font-heading-family), sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

.Vtl-StickyAddToCart__ProductPrice {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  font-size: 1.8rem;
  line-height: 1.2;
}

.Vtl-StickyAddToCart__ProductPrice .woocommerce-Price-amount,
.Vtl-StickyAddToCart__ProductPrice .amount {
  color: inherit;
  font: inherit;
}

.Vtl-StickyAddToCart__ProductPriceDiscounted {
  color: #17733c;
  font-weight: 700;
}

.Vtl-StickyAddToCart__ProductPriceInitial {
  color: #8a8a8a;
  font-weight: 500;
  text-decoration: line-through;
}

.Vtl-StickyAddToCart__Actions {
  display: flex;
  justify-content: flex-end;
  flex: 1 1 auto;
}

.Vtl-StickyAddToCart__ActionsContainer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  width: 100%;
  max-width: 70rem;
  box-sizing: border-box;
}

.Vtl-StickyAddToCart__ProductVariantPicker {
  flex: 0 1 28rem;
}

.Vtl-StickyAddToCart__ProductVariantPickerSelect {
  width: 100%;
  min-height: 4.8rem;
  padding: 0 4.2rem 0 1.6rem;
  border: 1px solid #b8b8b8;
  border-radius: 1.2rem;
  background-color: #fff;
  color: #222;
  font: inherit;
  line-height: 1.2;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #222 50%), linear-gradient(135deg, #222 50%, transparent 50%);
  background-position: calc(100% - 2rem) calc(50% - 0.3rem), calc(100% - 1.4rem) calc(50% - 0.3rem);
  background-size: 0.7rem 0.7rem, 0.7rem 0.7rem;
  background-repeat: no-repeat;
}

.Vtl-StickyAddToCart__ProductVariantPickerSelect:focus {
  outline: 2px solid rgba(23, 115, 60, 0.2);
  outline-offset: 2px;
  border-color: #17733c;
}

.Vtl-StickyAddToCart__Form {
  display: flex;
  flex: 1 1 30rem;
}

.Vtl-StickyAddToCart__AddToCartButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: 100%;
  min-height: 4.8rem;
  padding: 0 2.4rem;
  border: 0;
  border-radius: 1.2rem;
  background-color: #17733c;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
  box-shadow: inset 0 0 16px rgba(255, 255, 255, 0.2);
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.Vtl-StickyAddToCart__AddToCartButton:hover:not(:disabled) {
  background-color: #0f5b2f;
}

.Vtl-StickyAddToCart__AddToCartButton:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.Vtl-StickyAddToCart__AddToCartButton .loading__spinner {
  width: 1.8rem;
  height: 1.8rem;
}

@media (max-width: 989px) {
  .Vtl-StickyAddToCart__Container {
    flex-direction: column;
    align-items: stretch;
  }

  .Vtl-StickyAddToCart__ActionsContainer {
    max-width: none;
  }
}

@media (max-width: 749px) {
  body.has-sticky-add-to-cart-visible {
    padding-bottom: 16rem;
  }

  body.has-sticky-add-to-cart-visible {
    overflow-x: clip;
  }

  .Vtl-StickyAddToCart__Container {
    gap: 1.2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .Vtl-StickyAddToCart__ProductInfo {
    align-items: flex-start;
  }

  .Vtl-StickyAddToCart__ProductImageTag {
    width: 5rem;
    height: 5rem;
  }

  .Vtl-StickyAddToCart__ProductInfoTitle {
    font-size: 1.7rem;
  }

  .Vtl-StickyAddToCart__ProductPrice {
    font-size: 1.6rem;
  }

  .Vtl-StickyAddToCart__ActionsContainer {
    flex-direction: column;
    align-items: stretch;
  }

  .Vtl-StickyAddToCart__ProductVariantPicker,
  .Vtl-StickyAddToCart__Form {
    flex-basis: auto;
  }

  .Vtl-StickyAddToCart__ProductVariantPickerSelect,
  .Vtl-StickyAddToCart__AddToCartButton {
    min-height: 4.6rem;
  }
}

