/* Pack Selection Styling */
.pack-selection-wrapper {
    margin: 30px 0;
}

.pack-selection-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.pack-options-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pack-option-row {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border: 1.5px solid #ddd;
    border-radius: 12px;
    background: #fff;
    margin-bottom: 12px;
    transition: all 0.18s cubic-bezier(.4,0,.2,1);
    position: relative;
}

.pack-option-row.has-quantity {
    background: #F8F6EB;
    border-color: #D1C6B0;
    box-shadow: 0 2px 10px 0 rgba(246,211,97,.13);
}

.pack-option-row:last-child {
    margin-bottom: 0;
}

/* Pack Icon */
.pack-icon {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.icon-letter {
    color: white;
    font-weight: bold;
    font-size: 18px;
}

/* Pack Info */
.pack-info {
    flex: 1;
    margin-right: 16px;
}

.pack-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.pack-description {
    font-size: 14px;
    color: #666;
}

/* Pack Price */
.pack-price {
    margin-right: 16px;
    flex-shrink: 0;
    text-align: right;
}

.price-display {
    margin-bottom: 4px;
}

.current-price {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-left: 8px;
}

.savings-badge {
    font-size: 12px;
    color: #28a745;
    font-weight: 500;
}

/* Quantity Controls */
.pack-quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: #f5f5f5;
    border-color: #bbb;
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pack-quantity {
    width: 50px;
    height: 32px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    background: white;
}

/* Size Selection */
.size-selection-wrapper {
    margin: 30px 0;
}

.size-selection-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.size-buttons {
    display: flex;
    gap: 8px;
}

.size-btn {
    border: 1.5px solid #ddd;
    border-radius: 12px;
    background: #fff !important;
    padding: 20px 20px 14px 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.18s cubic-bezier(.4,0,.2,1);
    cursor: pointer;
    position: relative;
    color: #666 !important;
    font-weight: 500;
}

.size-btn.selected {
    background: #F8F6EB !important;
    border-color: #D1C6B0 !important;
    box-shadow: 0 2px 10px 0 rgba(246,211,97,.13);
    color: #333 !important;
}

.size-btn:not(.selected):hover {
    border-color: #D1C6B0;
    color: #333 !important;
}

/* Selected Packs Summary */
.selected-packs-summary {
    margin: 30px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
}

.summary-list {
    margin-bottom: 16px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.total-price {
    font-size: 18px;
    padding-top: 16px;
    border-top: 2px solid #ddd;
}

/* Original subscription box styling */
.custom-subscription-box {
    margin: 30px 0;
}

.card-subscription-container {
  background: none;
  padding: 0;
  border: none;
  box-shadow: none;
  margin-bottom: 30px;
  font-family: inherit;
}

.wcsatt-options-prompt-radios {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.wcsatt-options-prompt-radio {
  border: 1.5px solid #ddd;
  border-radius: 12px;
  background: #fff;
  padding: 20px 20px 14px 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.18s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
  position: relative;
}

.wcsatt-options-prompt-radio.active,
.wcsatt-options-prompt-radio[data-type="subscription"].active {
  background: #F8F6EB;
  border-color: #D1C6B0;
  box-shadow: 0 2px 10px 0 rgba(246,211,97,.13);
}

.wcsatt-options-prompt-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
  gap: 8px;
  cursor: pointer;
  width: 100%;
  margin-bottom: 0;
}

.wcsatt-options-prompt-label > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wcsatt-options-prompt-radio input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid #000;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  position: relative;
  margin-right: 10px;
  transition: border 0.18s cubic-bezier(.4,0,.2,1);
}

.wcsatt-options-prompt-radio input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 10px;
  height: 10px;
  background: #000;
  border-radius: 50%;
}

.current-price {
  font-weight: 600;
  font-size: 22px;
  color: #222;
  line-height: 1;
  display: inline-block;
  min-width: 72px;
  text-align: right;
}

.original-price {
  text-decoration: line-through;
  color: #888;
  font-size: 16px;
  font-weight: 400;
  margin-right: 12px;
  line-height: 1;
  display: inline-block;
}

.price-wrapper {
  margin-top: 0;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.savings-badge {
  background: #bbf7d0;
  color: #166534;
  font-size: 16px;
  font-weight: 600;
  padding: 7px 18px 7px 14px;
  border-radius: 8px;
  margin-top: 10px;
  margin-bottom: 9px;
  align-self: flex-end;
  display: inline-block;
  box-shadow: 0 1px 2px 0 rgba(22,101,52,.04);
  letter-spacing: 0.01em;
}

.subscription-dropdown-container select,
.multi-pack-subscription-dropdown {
  width: 100%;
  padding: 15px 14px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #cfcfcf;
  background: #fff;
  margin-top: 12px;
  margin-bottom: 12px;
  font-weight: 500;
  color: #222;
  outline: none;
  transition: border .18s;
}

.subscription-dropdown-container select:focus,
.multi-pack-subscription-dropdown:focus {
  border-color: #f5d58f;
  box-shadow: 0 0 0 2px #fefbe8;
}

.jf-woo-subscriptions-custom-list {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
  margin-bottom: 0;
}

.jf-woo-subscriptions-custom-list li {
  margin: 9px 0;
  padding-left: 33px;
  position: relative;
  font-size: 15.5px;
  line-height: 1.55;
  font-weight: 500;
  color: #232323;
  display: flex;
  align-items: center;
  min-height: 25px;
}

.jf-woo-subscriptions-custom-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #222;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url("data:image/svg+xml;utf8,<svg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'><circle cx='10' cy='10' r='10' fill='%23222'/><path d='M6 10.6L8.5 13L14 7' stroke='white' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: transparent;
}

.hot-badge {
  background: #fff;
  color: #111;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 10px 3px 8px;
  border-radius: 7px;
  margin-left: 7px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  box-shadow: 
    0 2px 10px 0 rgba(60,60,60,0.10),
    0 1px 2px 0 rgba(0,0,0,0.10);
  border: 1.5px solid #e6e6e6;
  transition: box-shadow .18s;
}

.wcsatt-options-prompt-radio:not(.active) .subscription-dropdown-container,
.wcsatt-options-prompt-radio:not(.active) .jf-woo-subscriptions-custom-list,
.wcsatt-options-prompt-radio:not(.active) .price-wrapper,
.wcsatt-options-prompt-radio:not(.active) .savings-badge {
  display: none !important;
}

.wcsatt-options-prompt-label-one-time .current-price {
  margin-left: auto;
}

/* Custom Add to Cart */
.custom-add-to-cart {
    margin: 30px 0;
}

.custom-cart-btn {
    width: 100%;
    padding: 16px 24px;
    background: #333;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-cart-btn:hover:not(:disabled) {
    background: #555;
}

.custom-cart-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Hide original WooCommerce add to cart button for multi-pack products */
.multi-pack-form .single_add_to_cart_button {
    display: none !important;
}
/* Hide entire WooCommerce default variation section */
.multi-pack-form .single_variation_wrap {
    display: none !important;
}

@media (max-width: 600px) {
  .wcsatt-options-prompt-radio {
    padding: 13px 9px 10px 12px;
  }
  .wcsatt-options-prompt-label { font-size: 15.5px; }
  .current-price { font-size: 17.5px; min-width: 52px; }
  .original-price { font-size: 13.5px; }
  .savings-badge { font-size: 13.5px; padding: 5px 8px 5px 7px; }
}