/* Purchase page styles */

/* Add top padding to purchase section */
#purchase .catalog-section {
    padding-top: 80px;
}

/* Back button */
.purchase-back-button {
    position: fixed;
    top: 80px;
    left: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.2s ease;
    z-index: 100;
}

.purchase-back-button:hover {
    transform: translateX(-5px);
}

/* Ensure purchase page elements are visible */
#purchase .catalog-buttons-initial {
    display: flex !important;
}

#purchase .catalog-image {
    display: none !important;
}

/* Price display in catalog-action-buttons */
.catalog-phrase-price {
    font-size: 2rem;
    font-weight: 700;
    color: #1980FF;
    text-align: right;
    margin-bottom: 10px;
}

/* Purchase options spacing */
.purchase-option {
    margin-bottom: 20px;
}

/* Reduce size of purchase option elements */
#purchase .catalog-phrase-number {
    font-size: 45px;
}

#purchase .catalog-phrase-text {
    font-size: 22px;
}

#purchase .catalog-phrase-price {
    font-size: 1.6rem;
}

#purchase .catalog-btn-buy {
    height: 45px;
    font-size: 1.2rem;
}

/* Special styling for "all phrases" option */
.purchase-option-all {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.purchase-option-all .catalog-buttons-initial {
    margin-bottom: 0;
}

.purchase-option-all .catalog-phrase-price {
    margin-bottom: 0;
}

/* Description for "all phrases" option */
.purchase-all-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.5;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
    padding: 0 20px;
}

.purchase-option-all .catalog-btn-buy {
    align-self: flex-end;
    margin-right: 20px;
}

