﻿/* WRAPPER */
.packsize-wrapper {
  margin-bottom: 20px;
}

/* BIG PRICE */
.big-price-box {
  font-size: 72px;
  font-weight: 700;
  color: var(--okred) !important;
  text-align: center;
  margin-bottom: 18px;
  transition: opacity .25s ease;
}

  /* CENTS SUP STYLE */
  .big-price-box .price-cents {
    font-size: 32px !important;
    font-weight: 700;
    top: -28px !important;
    position: relative;
    padding-left: 4px;
  }

/* PACK SIZE TITLE */
.packsize-title {
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
}

/* RADIO GROUP */
.packsize-radio-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.packsize-radio-item {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: .2s;
}

  .packsize-radio-item:hover {
    border-color: #00275d;
  }

  .packsize-radio-item input[type=radio]:checked + span {
    color: #00275d;
    font-weight: 600;
  }

/* AJAX SECTION */
.ajax-section > div {
  text-align: center;
  margin-bottom: 12px;
  transition: opacity .25s ease;
}

/* STOCK BADGE */
.stock-badge {
  padding: 6px 30px;
  font-size: 14px;
  font-weight: 600;
  background: var(--oklightgreen);
  border-radius: 1.25em;
  text-align: center;
  display: inline-block;
  text-transform: uppercase;
}

  .stock-badge i {
    margin-right: 4px;
  }

.sku-label {
  color: rgb(0, 0, 0);
  font-weight: 600;
}

#sku-box, #sku-box-mobile {
  padding-bottom: 20px
}


.stock-in {
  background: #28a745; /* Green */
  color: #fff;
}

.stock-out {
  background: #dc3545; /* Red */
  color: #fff;
}

.full-description-container, .full-description-container-mobile {
  max-width: 100%;
  margin: 10px 0;
}

.full-description, .full-description-mobile {
  max-height: 280px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

  .full-description.expanded, .full-description-mobile.expanded {
    max-height: max-content;
  }

.button-wrapper, .button-wrapper-mobile {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.read-more-btn, .read-more-btn-mobile {
  background: none;
  border: none;
  color: var(--okred);
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

  .read-more-btn .arrow, .read-more-btn-mobile .arrow-mobile {
    transition: transform 0.3s ease;
  }

  .read-more-btn:focus, .read-more-btn-mobile:focus {
    outline: none;
  }

  .read-more-btn.expanded .arrow, .read-more-btn-mobile.expanded .arrow-mobile {
    transform: rotate(180deg);
  }

@@media (max-width: 768px) {
  .full-description, .full-description-mobile {
    max-height: 190px;
  }

  .read-more-btn, .read-more-btn-mobile {
    font-size: 13px;
  }
}

.product-essential .picture-thumbs {
  overflow-x: auto;
  justify-content: flex-start !important;
}

.thumb-item {
  flex: 150px 1 0;
}

.product-essential .picture-thumbs .thumb-item img {
  border-radius: 3px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: 1;
}

.packsize-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.packsize-option {
  border: 1px solid #ccc;
  background: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  transition: 0.2s;
  white-space: nowrap;
}

  .packsize-option.active {
    background: #00275d;
    border-color: #00275d;
    color: #fff;
  }
