.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: flex-end;
    align-items: stretch;
}

.modal-content {
    background-color: #fff;
    padding: 25px;
    position: relative;
    border-radius: 0;
}

.modal-right {
    width: 420px;
    max-width: 90vw;
    height: 100%;
    overflow-y: auto;
    border-left: 2px solid #ccc;
    border-radius: 0;
}

.close-btn {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 26px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    z-index: 10;
}

.close-btn:hover {
    color: #e74c3c;
}

.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: 15px;
}

.modal-body img {
    width: 190px;
    height: 265px;
    object-fit: cover;
    border: 1px solid #ccc;
    border-radius: 0;
}

.modal-info {
    width: 100%;
}

.modal-info h2 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 20px;
    text-align: center;
}

.price-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.price-list li {
    padding: 10px 14px;
    font-size: 14px;
    background: #f8f9fa;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    border-left: 4px solid #3498db;
    border-radius: 0;
}

#creditsModal {
    justify-content: center;
    align-items: center;
}

.credits-content {
    width: 450px;
    max-width: 90vw;
    padding: 0;
    overflow: hidden;
    border: 1px solid #ccc;
    border-radius: 0;
}

.credits-header {
    background: #2c3e50;
    color: white;
    padding: 18px 20px;
    border-radius: 0;
}

.credits-header h2 {
    margin: 0;
    font-size: 18px;
}

.credits-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.credits-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0;
}

.credits-card strong {
    display: block;
    font-size: 12px;
    color: #7f8c8d;
    text-transform: uppercase;
}

.credits-card p {
    margin: 2px 0 0 0;
    font-size: 14px;
    color: #2c3e50;
    font-weight: bold;
}

.credits-footer {
    text-align: center;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #eee;
    color: #95a5a6;
    font-size: 12px;
    font-weight: bold;
}

.currency-btn {
    background-color: #ffffff;
    color: #333;
    border: 1px solid #ccc;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.currency-btn:hover {
    background-color: #f8f9fa;
    border-color: #3498db;
    color: #3498db;
}

#currencyModal {
    justify-content: center;
    align-items: center;
}

.currency-content {
    width: 450px;
    max-width: 90vw;
    padding: 0;
    overflow: hidden;
    border: 1px solid #ccc;
    border-radius: 0;
    background-color: #fff;
}

.currency-header {
    background: #2c3e50;
    color: white;
    padding: 18px 20px;
    border-radius: 0;
}

.currency-header h2 {
    margin: 0;
    font-size: 18px;
}

.currency-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.currency-body .modal-subtitle {
    margin: 0;
    font-size: 13px;
    color: #7f8c8d;
}

.currency-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.currency-option-btn {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #2c3e50;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 0;
    text-align: left;
    transition: background 0.2s, border-color 0.2s;
}

.currency-option-btn:hover {
    border-color: #3498db;
    background: #ffffff;
}

.currency-option-btn.active {
    border-left: 4px solid #3498db;
    background: #e8f8f5;
    color: #27ae60;
}

.currency-option-btn .flag {
    font-size: 1.2rem;
}

.zoom-container {
    position: relative;
    width: 220px;
    height: 308px;
    overflow: hidden;
    border: 1px solid #ccc;
    cursor: zoom-in;
    user-select: none;
}

.zoom-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.15s ease-out;
    transform-origin: center center;
}

.zoom-container.zoomed {
    cursor: zoom-out;
}

.zoom-container.zoomed img {
    transform: scale(2.2);
}