/**
Theme Name: Albertknives
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: albertknives
Template: astra
*/

.product-header {
  display: flex;
  padding-top: 50px;
}

.product-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-content h1 {
  font-size: 32px;
  padding-bottom: 10px;
}

.product-price {
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 25px;
}

.product-thumbnail {
  min-width: 500px; /* Set the width of the container */
  height: 400px; /* Set the height of the container */

  margin-right: 20px;
}

.product-thumbnail img {
  width: 100%; /* Ensure the image covers the full width of its container */
  height: 100%; /* Ensure the image covers the full height of its container */
  object-fit: cover; /* Cover the container with the image without distorting the aspect ratio */
  display: block; /* Eliminates whitespace below the image */
}

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

#divider {
  margin: 50px 0;
}

.button.back:hover,
.button.interested:hover {
  background-color: #de0000;
  color: white;
  border: 1px solid #de0000;
  outline: none;
}

.gallery-image-link {
  overflow: hidden;
}

.gallery-image {
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
  object-fit: cover;
}

.gallery-image:hover {
  transform: scale(1.1);
}

.product-price-wrapper {
  margin-top: 15px;
}

@media only screen and (max-width: 768px) {
  .product-header {
    flex-direction: column;
    padding-top: 30px;
  }

  .product-thumbnail {
    min-width: 0; /* Allow the width to be auto-adjusted */
    height: auto; /* Adjust height automatically */
    margin-right: 0;
    margin-bottom: 20px;
  }

  .product-content h1 {
    font-size: 24px; /* Slightly reduce the font size */
  }

  .price-label {
    font-weight: normal !important;
  }

  .product-price {
    font-size: 20px; /* Adjust font size for the price */
  }

  .product-description {
    text-align: justify; /* Improve readability */
  }
}

@media only screen and (max-width: 480px) {
  .product-thumbnail img {
    height: auto; /* Ensure the height adjusts to maintain aspect ratio */
  }

  .product-gallery {
    grid-template-columns: repeat(
      auto-fill,
      minmax(150px, 1fr)
    ); /* Adjust the grid for smaller screens */
  }

  .product-content,
  .product-description,
  .product-price-wrapper {
    padding: 0 5px; /* Reduce the padding on the smallest screens */
  }

  .back-button a.button.back {
    padding: 10px; /* Adjust button size for easier tapping */
    font-size: 14px; /* Adjust font size for readability */
  }
}
