.care-section {
  margin: 2rem auto;
  padding: 1.5rem;
  border-radius: 12px;
}

.care-title {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 2rem;
  color: #333;
  font-weight: 600;
}

.care-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.care-item {
  background-color: #f8fbff;
  border-radius: 10px;
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.care-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.care-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.care-name {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: #222;
}

.care-desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

.size {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rooted {
  border: 1px solid rgba(128, 128, 128, 0.432);
  padding: 2px 5px;
}

@media (max-width: 1200px) {
  .care-section {
    padding: 1.25rem;
  }

  .care-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .care-section {
    padding: 1.25rem;
  }

  .care-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .care-section {
    padding: 1rem;
    margin: 1rem;
    width: auto;
  }

  .care-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .care-item {
    padding: 1.25rem;
  }

  .care-icon {
    font-size: 2.25rem;
  }
}

/* Small Mobile */
@media (max-width: 360px) {
  .care-title {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .care-item {
    padding: 1rem;
  }

  .care-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .care-name {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .care-desc {
    font-size: 0.875rem;
  }
}

.nav-tabs {
  border-bottom: 1px solid #dee2e6;
}

.nav-tabs .nav-link {
  margin-bottom: -1px;
  border: 1px solid transparent;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
  color: #495057;
  cursor: pointer;
}

.nav-tabs .nav-link.active {
  font-weight: 500;
  border-bottom: 1px solid #444;
}

/* Care items styling */
.care-item {
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.care-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.care-icon {
  font-size: 24px;
  margin-bottom: 10px;
  color: #198754;
}

.care-name {
  font-weight: 500;
  margin-bottom: 8px;
}

.care-desc {
  font-size: 14px;
  color: #6c757d;
}

/* Tab content transition */
.tab-pane {
  transition: opacity 0.3s ease-in-out;
}

.tab-pane.fade {
  opacity: 0;
}

.tab-pane.fade.show {
  opacity: 1;
}
.care-section {
  margin-top: 30px;
}
.care-title {
  font-weight: 400;
  margin-bottom: 20px;
  color: #111827;
}
.care-item {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
}
.care-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.care-name {
  font-weight: 600;
  margin-bottom: 5px;
}

h4 {
  color: #111827;
  font-weight: 400;
}
.care-desc {
  font-size: 0.9rem;
  color: #6c757d;
  height: 50px;
}
.light-icon {
  color: #ffc107;
}
.temp-icon {
  color: #dc3545;
}
.water-icon {
  color: #0dcaf0;
}
.humidity-icon {
  color: #6c757d;
}
/* Responsive tweaks for small phones */
@media (max-width: 400px) {
  .card {
    padding: 15px;
  }

  .title {
    font-size: 15px;
  }

  .description {
    font-size: 13px;
  }
}

button {
  all: unset;
}

.header-container {
  align-items: start;
  justify-content: space-around;
}

/* Product image styles */
.left-column {
  border-radius: 30px;
  background-color: #f8f8f8;
  padding: 20px;
  width: 45%;
}
.aside-box-icon{
  display: flex;
  justify-content: space-between;
}
.aside-box-icon i{
  margin-right: 20px;
}

@media (min-width: 992px) {
  .left-column{
    width: 33.33333333%;
  }
}

.product-image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-image-wrapper {
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
  max-width: 100%;
  transition: all 0.3s ease;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.thumbnails-container {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 100%;
}

.thumbnails-wrapper {
  display: flex;
  gap: 10px;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  flex: 1;
  position: relative;
}

.thumbnails-wrapper::-webkit-scrollbar {
  display: none;
}

.thumbnails-track {
  display: flex;
  gap: 10px;
  transition: transform 0.3s ease;
}

.thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 0.375rem;
  overflow: hidden;
  border: 2px solid #dee2e6;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.thumbnail:hover {
  opacity: 1;
  transform: scale(1.05);
}

.thumbnail.active {
  border: 2px solid #198754;
  opacity: 1;
  transform: scale(1.1);
}

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

.carousel-control {
  background: none;
  border: none;
  color: #198754;
  font-size: 1.5rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.carousel-control:hover {
  background-color: #198754;
  color: white;
  transform: scale(1.1);
}

.carousel-control:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.carousel-control:disabled:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: #198754;
}

.main-image.loading {
  opacity: 0.5;
}

.fade-transition {
  opacity: 0;
}


@media (max-width: 768px) {
  .left-column,
  .right-column {
    width: 100%;
  }

  .left-column {
    padding: 10px;
    border-radius: 10px;
  }

  .main-image-wrapper {
    height: 300px;
  }

  .thumbnail {
    width: 60px;
    height: 60px;
  }
}

/* Product details styles */
.seller-name {
  font-size: 1.75rem;
  font-weight: 600;
  color: #212529;
  display: flex;
  align-items: center;
  gap: 4px;
}

.seller-name button,
.seller-name button i {
  font-size: 10px;
  outline: none;
  border: none;
}

.min-order-badge {
  line-height: 20px;
  background-color: #f8f9fa;
  color: #198754;
  padding: 0.05rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  border: 1px solid #198754;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: #212529;
  line-height: 1.4;
}

.save-btn {
  font-size: 0.875rem;
  color: red;
}

.rating-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stars {
  display: flex;
  gap: 2px;
}

.reviews {
  color: #6c757d;
  font-size: 0.875rem;
}

.product-id {
  font-size: 0.875rem;
}

.info-label {
  color: #6c757d;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.info-value {
  font-weight: 500;
}

.size-badge {
  display: inline-block;
  background-color: #f8f9fa;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  border: 1px solid #dee2e6;
}

.in-stock {
  color: #198754;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  justify-content: right;
  align-items: center;
}

.quantity-selector {
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  overflow: hidden;
}

.quantity-btn {
  border: none;
  background-color: transparent;
  border-radius: 0;
  font-size: 1rem;
  padding: 0.2rem 0.2rem;
}

.quantity-input {
  width: 30px;
  font-size: 0.9rem;
  text-align: center;
  border: none;
  border-left: 1px solid #dee2e6;
  border-right: 1px solid #dee2e6;
  border-radius: 0;
  padding: 0;
}

.price {
  flex-direction: row;
  display: flex;
  align-items: baseline;
  margin-bottom: 0;
}

.price span {
  font-size: 1.4rem;
  font-weight: 600;
  color: #212529;
}

.currency,
.currency-code {
  font-weight: 300;
  color: #6c757d;
}

.currency-code {
  margin-left: 0.5rem;
}

.btn-cart {
  background-color: #00a651 !important;
}

.store-feedback {
  color: #198754;
  font-size: 0.875rem;
}

.store-buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}

.notify-container {
  border: 1px solid #4caf50;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)),
    linear-gradient(
      99deg,
      #ffffff 0%,
      #cfd8d2 0%,
      rgba(207, 216, 210, 0.5014) 0%,
      rgba(35, 207, 98, 0.3) 96%
    );
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}

.notify-icon-container {
  border-radius: 50%;
  background-color: rgba(76, 175, 79, 0.1);
  padding: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notify-container input,
.notify-container button {
  border-radius: 10px;
}

.notify-container input:focus {
  border-color: #3e8e41;
  box-shadow: 0 0 0 0.25rem rgba(62, 142, 65, 0.25);
}

.alert-custom {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 10px;
  background-color: #fff3cd;
}

.alert-custom i {
  color: #ffc107;
  margin-right: 10px;
}

.short-heading {
  color: #854d0e;
}

.para {
  margin-bottom: 0;
  color: #a16207;
}

.more-from-store {
  height: 100%;
  background-color: rgb(246 246 246);
  padding-top: 10px;
  border: 1px solid rgb(227, 227, 227);
}

.more-from-store h2{
  color: #1b754c;
  font-size: 18px;
  border-bottom: 1px solid grey;
}

.aside-img{
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  align-self: center;
}
.aside-title{
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
}
.aside-price{
  font-size: 16px;
  font-weight: 500;
  color: #000;
}
.aside-cur-type{
  font-size: 13px;
  font-weight: 500;
}
.aside-product{
  transition: all 0.1s linear;
}
.aside-product:hover{
  transform: scale(1.01);
  box-shadow: 0 0 10px 10px black;
}


@media (max-width: 768px) {
  .seller-name {
    font-size: 1.35rem;
  }

  .min-order-badge {
    padding: 0rem 0.4rem;
    line-height: 0;
  }

  .stars i {
    font-size: 12px;
  }

  .review-count.label {
    font-size: 12px;
  }
}

/* Responsive styles */
@media (max-width: 991.98px) {
  .store-actions {
    flex-direction: column;
    gap: 15px;
  }

  .store-buttons {
    display: flex;
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .product-title {
    font-size: 1.1rem;
  }

  .store-actions {
    flex-direction: column;
  }

  .store-buttons {
    margin-top: 15px;
  }

  .store-buttons .btn {
    font-size: 0.875rem;
  }
}

@media (max-width: 575.98px) {
  .rating-container {
    flex-wrap: wrap;
  }

  .product-id {
    width: 100%;
    margin-top: 0px;
  }

  .store-actions {
    text-align: center;
  }
}

.table-styling {
  font-weight: 500;
}

.info-item td {
  border-style: none;
  color: #404040;
  padding-left: 0;
}

td.table-styling {
  padding-left: 0.5rem;
  max-width: 150px;
}

.table-box {
  background-color: rgba(255, 255, 255, 0.594) !important;
  padding: 5px !important;
}

.in-stock {
  color: #198754;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  justify-content: right;
  align-items: center;
  text-wrap: nowrap;
}

.product-details-inner-container{
  container-type: inline-size;
}

.product-details-inner-container .product-details-inner-div {
  min-width: 270px;
}

.price-container-wrapper{
  margin-top: 6.5rem;
}

.product-flex-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: space-between;
  gap: 0.5rem;
}

@container (max-width: 550px) {
  .product-details-inner-container > .product-details-inner-div {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .price-container-wrapper{
    margin-top: 0 !important;
  }
   
  .product-flex-container {
    flex-direction: row;
    align-items: start;
  }
}

@container (max-width: 400px) {
  .product-flex-container {
    flex-direction: column;
    align-items: end;
  }
}

@media (max-width: 768px) {
  .info-item td {
    padding: 0px;
    padding-bottom: 5px;
    font-size: 12px;
    
    select {
      padding: 2px;
      font-size: 12px;
    }
  }

  .product-details-inner-div table.table {
    margin-bottom: 0;
  }

  .in-stock * {
    font-size: 12px !important;
  }

  .price-container * {
    font-size: 15px !important;
  }

  .descShippingAmountPotSize {
    font-size: 12px !important;
  }

  #quantitydivs label {
    font-size: 12px !important;
  }

  .btn-cart {
    font-size: 13px !important;
  }

  .store-feedback {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
}