/* Reset some defaults */
* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

.woocommerce-notices-wrapper {
  margin-top: 30px;
}

.woocommerce-error {
  display: none !important;
}

/* Two-column layout */
.custom-single-product {
  display: flex;
  gap: 30px;
  padding: 20px;
  max-width: 1280px;
  margin: 0 auto;
  margin-top: 50px;
}

.product-images {
  flex: 1;
}

.product-summary {
  flex: flex;
  width: 40%;
  margin-left: 30px;
  gap: 16px;
  display: flex;
  flex-direction: column;
}

/* Product Gallery */
.custom-product-gallery {
  display: flex;
  gap: 15px;
}

.thumbnails {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.custom-product-gallery .thumbnails {
  width: 80px;
}

.custom-product-gallery .thumbnails img {
  width: 80px;
  height: 80px;
  max-width: fit-content;
}

.thumbnail-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 1px solid #e0e0e0;
  cursor: pointer;
  opacity: 0.5;
}

.thumbnail-image:hover,
.thumbnail-image.active {
  border: 4px solid #000;
  opacity: 1;
  width: 80px;
  height: 80px;
}
.main-image {
  min-width: auto;
  min-height: auto;
}

.main-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid #e0e0e0;
}

/* Product Summary */
.product-summary h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 100%;
  color: #000;
  font-family: "Public Sans", Sans-serif;
}

.product-summary .woocommerce-product-details__short-description {
  font-size: 18px;
  color: #999;
  line-height: 29px;
  font-weight: 400;
}

.product-summary .price {
  font-size: 40px;
  font-weight: 600;
  color: #040404;
  line-height: 100%;
}

.variation {
  margin-bottom: 20px;
}

.variation label {
  font-family: "Public Sans", Sans-serif;
  display: block;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #000;
}

.variation .value {
  display: flex;
  flex-wrap: wrap;
  gap: 0px;
}

.variation .value input {
  display: none;
}

/* Color Swatches */
.color-swatch {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  cursor: pointer;
  border: 1px solid #999;
}

.color-swatch {
  transition: outline 0.1s ease;
}

.color-swatch:hover {
  outline: 3px solid #999; 
  border: 3px solid #fff;
}

input:checked+.color-swatch {
  border: 2px solid #FF9A24;
  width: 48px;
  height: 48px;
}

/* Size and Fitting Buttons */
.variation .variation-button {
  display: inline-block;
  padding: 7px 28px;
  border: 1px solid #999999;
  border-radius: 32px;
  margin-right: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 18px;
  color: #999999;
  background: #fff;
  font-weight: 600;
  text-transform: uppercase;
}

.variation.pa_fitting .variation-button {
  text-transform: capitalize;
}

input:checked+.variation-button {
  border-color: #000;
  color: #fff;
  background: #000;
}

.size-label {
  text-transform: uppercase;
}

.color-label {
  text-transform: capitalize;
}

/* Add to Cart Button */
.custom-single-product .quantity .qty {
  display: none;
}

.variations_form.cart .button.single_add_to_cart_button {
  color: #fff;
  cursor: pointer;
  display: inline-block;
  text-transform: capitalize;
  width: 100%;
  background: #FF9A24 !important;
  border-radius: 0;
  padding: 16px !important;
  font-size: 18px;
  font-weight: 600;
  line-height: 100%;
  margin-top: 30px;
}

.button.add_to_cart_button:hover {
  opacity: 0.8;
}

.variations_form .variations {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Tabs */
.woocommerce-tabs {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px;
}

.woocommerce-tabs .tabs {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 20px;
}

.woocommerce-tabs .tabs li {
  margin-right: 30px;
}

.woocommerce-tabs .tabs li a {
  font-family: "Public Sans", Sans-serif;
  text-decoration: none;
  color: #666;
  font-size: 18px;
  font-weight: 700;
  padding-bottom: 10px;
  display: block;
}

.woocommerce-tabs .tabs li.active a {
  border-bottom: 2px solid #000;
  color: #000;
}

.woocommerce-tabs .panel {
  display: none;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.woocommerce-tabs .panel.active {
  display: block;
}

#tab-description h2 {
  display: none;
}

#tab-description,
#tab-guarantee_returns {
  font-size: 18px;
  color: #999;
  line-height: 29px;
  margin-bottom: 20px;
  font-weight: 400;
  width: 50%;
  margin: auto;
}

/* Style the sizing chart section */
.custom-additional-information {
  max-width: 100%;
  margin: auto;
}

.sizing-chart table {
  width: 80%;
  margin: auto;
  border-collapse: collapse;
}

.sizing-chart th {
  font-size: 14px;
  font-weight: 400;
  padding: 10px;
  line-height: 29px;
  color: #999;
  text-align: center;
  border-right: 1px dashed #ccc;
  width: 25%;
}

.sizing-chart td {
  padding: 10px;
  text-align: center;
  border-right: 1px dashed #ccc;
  font-weight: 600;
  font-size: 18px;
  line-height: 29px;
  color: #000;
}

.sizing-chart td:last-child,
.sizing-chart th:last-child {
  border-right: none;
}

.sizing-chart tbody tr {
  border: none;
}

.sizing-chart tbody tr:hover {
  background-color: #f9f9f9;
}

#tab-guarantee_returns {
  font-size: 18px;
  color: #999;
  line-height: 29px;
  margin-bottom: 20px;
  font-weight: 400;
}


/* Similar Items Section */
.similar-items-section {
  margin: 40px 0;
  margin-top: 90px;
  text-align: center;
}

.similar-items-section h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 25px;
  text-transform: capitalize;
  text-align: left;
  font-family: "Public Sans", Sans-serif;
}

/* Slick Slider Carousel */
.similar-items-carousel {
  position: relative;
}

.solarnerds-product-list {
  margin-top: -20px !important;
  position: relative;
  z-index: 2;
}

.similar-item {
  padding: 30px 10px;
  text-align: center;
}

.similar-item a {
  text-decoration: none;
  color: #333;
}

.similar-item .similar-item-image {
  width: 264px;
  height: 350px;
  background: #fff;
  object-fit: scale-down;
  border-radius: 999px;
  margin: 0 auto;
  border: 1px solid #f2f2f2;
}

.solarnerds-product-list .similar-item .similar-item-image {
  width: 100%;
}

.similar-item .similar-item-image img {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
}

.similar-item h3 {
  margin: 10px 0 5px;
  font-weight: 700;
  font-size: 24px;
  line-height: 100%;
  margin: 20px 0;
  font-family: "Public Sans", Sans-serif;
}

.similar-item .price {
  color: #999999;
  font-weight: 600;
  font-size: 18px;
  line-height: 100%;
}

/* Slick Slider Arrows */
.similar-items-carousel .slick-prev,
.similar-items-carousel .slick-next {
  font-size: 0;
  line-height: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
}

.similar-items-carousel .slick-prev:before {
  content: "\276E";
}

.similar-items-carousel .slick-next:before {
  content: "\276F";
}

.similar-items-carousel .slick-prev:before,
.similar-items-carousel .slick-next:before {
  font-size: 30px;
  color: #000;
}

.similar-items-carousel .slick-prev {
  left: auto;
  right: -10px;
  top: -20px;
  z-index: 1000;
}

.similar-items-carousel .slick-next {
  right: -40px;
  top: -20px;
  z-index: 1000;
}

.product-footer-cart {
  padding: 0;
}

/* cart */
/* Cart Button Styles */
.header-cart {
  position: absolute;
  display: inline-block;
  margin-left: 15px;
  right: 100px;
  top: 40px;
}

.header-cart .cart-button {
  display: flex;
  align-items: center;
  color: #333;
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
}

.header-cart .cart-button .fa-shopping-cart {
  font-size: 20px;
}

.header-cart .cart-count {
  background-color: #162D54;
  color: #fff;
  font-weight: 600;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  position: absolute;
  right: -8px;
  bottom: -8px;
}

.woocommerce-tabs.mobile-tabs {
  display: none;
}

.woocommerce-page .site-footer {
  padding-top: 150px;
}

.woocommerce-footer {
  margin-top: 150px;
}

.elementor-12500 .elementor-element.elementor-element-c3601cc .elementor-heading-title {
  position: relative;
  z-index: 2;
}

.page-id-12500 .background-top {
  height: 400px;
  position: absolute;
  background: #fff;
  top: 0;
  width: 50%;
  z-index: 0;
}

.page-id-12500 .background-bottom {
  height: 250px;
  position: absolute;
  background: #fff;
  bottom: 0;
  left: 0;
  width: 50%;
  z-index: 0;
}

body.page-id-12500 > div:first-of-type {
  background: #f2f2f2;
  position: relative;
}
.cart-empty-message {
  display: none;
  text-align: center;
  padding: 50px 20px;
}
.cart-empty-message .cart-empty-container {
  max-width: 400px;
  margin: 0 auto;
}

/* Out of stock variation styles */
.variations_form input[type='radio'].out-of-stock:not(.pa_color input[type='radio']),
.variations_form label.out-of-stock:not(.pa_color label) {
  opacity: 0.5;
  cursor: not-allowed;
}

.variations_form label.out-of-stock {
  position: relative;
}

.variations_form label.out-of-stock:not(.pa_color label) {
  background: #fff;
  color: #999;
  border: 2px dashed #999;
}


/* Responsive */

@media (max-width: 1024px) {
  body.woocommerce-page > div:first-of-type {
    padding: 24px;
    padding-top: 100px;
  }

  .woocommerce-notices-wrapper {
    margin-top: 10px;
  }

  .custom-single-product {
    margin-top: 0;
    gap: 10px;
    padding: 0;
  }

  .main-image {
    min-width: auto;
    min-height: auto;
  }

  .product-summary {
    padding-top: 0;
  }

  .product-summary h1 {
    font-size: 48px;
  }

  .variation .variation-button {
    padding: 5px 23px;
  }

  #tab-description,
  #tab-guarantee_returns {
    width: 90%;
  }

  .header-cart {
    top: 25px;
    right: 130px;
  }

  .navbar-mobile .header-cart {
    right: 160px;
  }

  .woocommerce header,
  .woocommerce-page header {
    background: #fff;
    left: 0;
  }
}

@media (min-width: 768px) {
  .similar-item {
    padding: 30px 22px;
  }
}

@media (max-width: 768px) {
  .woocommerce .navbar-expand-lg {
    background: #fff;
    height: 100px;
  }

  .custom-single-product {
    flex-direction: column;
  }

  .product-summary {
    padding-top: 40px;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .product-summary h1 {
    font-size: 35px;
  }

  .product-summary .price {
    font-size: 25px;
  }

  .variation label,
  .woocommerce-tabs .tabs li a {
    font-size: 16px;
  }

  .variations_form .variations {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .woocommerce-variation-add-to-cart {
    margin-top: 10px;
  }

  .color-swatch {
    width: 40px;
    height: 40px;
  }

  input:checked+.color-swatch {
    width: 48px;
    height: 48px;
  }

  .product-summary .woocommerce-product-details__short-description {
    margin-bottom: 0;
  }

  .variation .variation-button {
    padding: 3px 15px;
    font-size: 16px;
  }

  .woocommerce-tabs {
    padding: 0;
    margin-top: 40px;
  }

  #tab-description,
  #tab-guarantee_returns {
    width: 100%;
    padding: 0 5px;
    font-size: 16px;
  }

  .sizing-chart table {
    width: 100%;
  }

  .similar-items-section h2 {
    font-size: 30px;
    text-align: center;
  }

  .similar-items-section .container {
    padding: 0;
  }

  .similar-item h3 {
    font-size: 18px;
  }

  .similar-item .price {
    font-size: 16px;
  }

  .similar-items-carousel .slick-prev:before,
  .similar-items-carousel .slick-next:before {
    font-size: 20px;
  }

  .custom-product-gallery {
    flex-direction: column-reverse;
  }

  .custom-product-gallery .thumbnails {
    flex-direction: row;
  }

  .woocommerce-tabs.desktop-tabs {
    display: none;
  }

  .woocommerce-tabs.mobile-tabs {
    display: block;
  }

  .mobile-tabs .accordion-item {
    border: none;
    border-bottom: 1px solid #D3D2D2;
    margin-bottom: 0px;
  }

  .mobile-tabs .accordion-button {
    padding: 25px 0;
    font-weight: 700;
    background-color: #fff;
    font-size: 20px;
  }

  .mobile-tabs .accordion-button:not(.collapsed) {
    background-color: #fff;
    box-shadow: none;
  }

  .mobile-tabs .accordion-body {
    padding: 10px 0;
    background-color: #fff;
    color: #999999;
    font-size: 18px;
    font-weight: 400;
  }

  .mobile-tabs .accordion-body h2 {
    display: none;
  }

  .similar-items-carousel .slick-prev,
  .similar-items-carousel .slick-next {
    left: 50%;
    transform: translateX(-50%);
    top: auto;
    bottom: -50px;
  }

  .similar-items-carousel .slick-prev {
    right: 50%;
    margin-left: -25px;
  }

  .similar-items-carousel .slick-next {
    left: 50%;
    margin-left: 25px;
  }

  .similar-items-carousel .slick-prev:before,
  .similar-items-carousel .slick-next:before {
    font-size: 35px;
  }

  .page-id-12500 h1.elementor-heading-title {
    font-size: 36px !important;
  }

  .thank-you-container h1 {
    font-size: 36px !important;
    font-weight: 700;
  }

  .thank-you-container .thank-you-icon img {
    width: 100px !important;
    height: 100px !important;
  }

  .woocommerce-page .site-footer {
    padding-top: 0px;
  }
}