.store-container {
	padding: 85px 0 0 0;
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
	background-color: #16304B;
    padding: 10px;
}

.tab-button {
    background: transparent;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 18px;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease-in-out;
}

.tab-button.active {
    font-weight: bold;
}

.tab-button.active::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 90%;
    height: 3px;
    background: #ff66b2;
    transform: translateX(-50%);
}

.tab-button:hover {
    color: #ff66b2;
}

.tab-content-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.tab-content-container {
    display: flex;
    width: 300%;
    transition: transform 0.5s ease-in-out;
}

.tab-content {
    flex: 1;
    width: 100%;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.tab-content.active {
    opacity: 1;
}

.purchase-select {
    display: none;
}

/* Store Grid */
.item-grid {
    justify-content: center;
    gap: 20px;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    max-width: 1000px;
    margin: 30px auto;
}

.card {
	background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.03);
}

.card img {
    width: auto;
    height: 150px;
}

.card h3 {
    margin: 10px 0;
}

.card p {
    color: #bbb;
}

/* Buttons */
.card-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.buy-btn, .view-btn {
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
    transition: 0.3s;
}

.buy-btn {
    background: #ffcc00;
    transition: transform 0.3s ease, background-color 0.3s ease;
    color: #111;
	float: left;
	margin-left: 15px;
    font-size: 16px;
}

.buy-btn:hover {
    transform: scale(1.07);
    background: #edbe00;
}

.view-btn {
    background: #ff66b2;
    transition: transform 0.3s ease, background-color 0.3s ease;
    color: white;
	float: right;
	margin-right: 15px;
    font-size: 16px;
}

.view-btn:hover {
    transform: scale(1.07);
    background: #df5399;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 12;
}

.modal-content {
    background: white;
    width: 500px;
    height: 350px;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
}

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

.purchase-select, .custom-quantity {
    margin-top: 5px;
    padding: 5px;
    font-size: 14px;
}

.modal-price {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.custom-quantity {
    width: 45%;
    padding: 5px;
    display: none;
}

/* Modal Image */
.modal-image {
    width: 40%;
    max-width: 250px;
    height: auto;
    border-radius: 10px;
    margin-right: 20px;
}

.modal-text {
    width: 60%;
    padding: 0 15px;
    text-align: left;
}

.modal-text h2 {
    margin: 0;
}

.modal-text p {
    color: #555;
}

/* Purchase Dropdown */
.purchase-select {
    width: 50%;
    padding: 8px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 16px;
}

/* Buy Button */
.modal .buy-btn {
    width: 100%;
    padding: 10px;
    background: #ffcc00;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    color: #111;
	margin-left: 0;
}

.modal .buy-btn:hover {
    transform: scale(1.07);
    background: #edbe00;
}

/* Stripe Modal Styles */
.stripe-modal {
    display: none;
    position: fixed;
    z-index: 15;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.stripe-modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}

.stripe-modal h2 {
    margin-bottom: 20px;
}

.stripe-input-container {
    margin-bottom: 15px;
}

.stripe-input-container input {
    width: 90%;
    padding: 10px;
    font-size: 16px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.stripe-submit-btn {
    background-color: #5469d4;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

.stripe-submit-btn:hover {
    background-color: #4051b5;
}
