/* ============================================
   VOUCHER PAGE - PRODUCT-LIKE LAYOUT
   ============================================ */

/* GLOBAL FONT FOR VOUCHER PAGE */
#account-voucher,
#account-voucher * {
    font-family: 'Gowun Dodum', sans-serif !important;
}

/* VOUCHER HERO SECTION */
.voucher-hero {
    text-align: center;
    padding: 60px 0 50px;
    max-width: 100%;
    margin: 0 auto;
}

.voucher-hero-title {
    font-family: 'Gowun Dodum', sans-serif !important;
    font-size: 48px;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin: 0 0 25px;
    line-height: 1.2;
}

.voucher-hero-desc {
    font-family: 'Gowun Dodum', sans-serif !important;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
    letter-spacing: 0;
    text-align: center;
    color: #666;
    margin: 0;
}

/* VOUCHER PRODUCT-LIKE LAYOUT */
.voucher-product-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.voucher-left {
    flex: 0 0 45%;
    max-width: 45%;
}

.voucher-right {
    flex: 1;
    min-width: 0;
}

/* VOUCHER IMAGE SECTION */
.voucher-image-wrapper {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.voucher-main-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.voucher-theme-carousel {
    position: relative;
}

.voucher-theme-carousel .swiper-container {
    overflow: hidden;
    border-radius: 12px;
}

.voucher-theme-carousel .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.voucher-theme-nav {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin: 50px 0;
}

.voucher-theme-nav button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.voucher-theme-nav button:hover,
.voucher-theme-nav button.active {
    border-color: #333;
    border-width: 2px;
}

.voucher-theme-nav button svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

/* VOUCHER DESCRIPTION UNDER IMAGE */
.voucher-image-desc {
    margin-top: 0;
}

.voucher-image-desc p {
    font-family: 'Gowun Dodum', sans-serif !important;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
    letter-spacing: 0;
    color: #666;
    margin: 0;
}

/* VOUCHER FORM SECTION */
.voucher-form-section {
    padding: 0;
}

.voucher-form-title {
    font-size: 28px;
    font-weight: 400;
    color: #333;
    margin: 0 0 10px;
}

.voucher-form-subtitle {
    font-size: 16px;
    color: #c0392b;
    margin: 0 0 25px;
    font-weight: 500;
}

/* AMOUNT BUTTONS */
.voucher-amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.voucher-amount-btn {
    padding: 15px 10px;
    border: 1px solid #F2F2F2;
    border-radius: 0;
    background: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-align: center;
    transition: all 0.3s ease;
}

.voucher-amount-btn:hover {
    border-color: #333;
    background: #fafafa;
}

.voucher-amount-btn.active,
.voucher-amount-btn:focus {
    border-color: #45535C;
    background: #45535C;
    color: #fff;
}

.voucher-amount-btn input[type="radio"] {
    display: none;
}

/* VOUCHER FORM INPUTS */
.voucher-form-group {
    margin-bottom: 20px;
}

.voucher-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.voucher-form-group .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #F2F2F2;
    border-radius: 12px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    background: #fff;
}

.voucher-form-group .form-control:focus {
    outline: none;
    border-color: #45535C;
}

.voucher-form-group .form-control::placeholder {
    color: #6B7280;
}

.voucher-form-group textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* VOUCHER SUBMIT BUTTON */
.voucher-submit-wrapper {
    margin-top: 30px;
}

.voucher-submit-btn {
    width: 100%;
    padding: 16px 30px;
    background: #45535C;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.voucher-submit-btn:hover {
    background: #374957;
    transform: translateY(-2px);
}

.voucher-agree-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    font-size: 13px;
    color: #666;
}

.voucher-agree-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.voucher-agree-wrapper a {
    color: #45535C;
    text-decoration: underline;
}

/* HIDE DEFAULT VOUCHER PAGE ELEMENTS */
#account-voucher.container {
    margin: 0 auto;
}

#account-voucher .title.page-title {
    display: none !important;
}

#account-voucher .form-horizontal .form-group {
    margin-bottom: 0;
}

#account-voucher .form-horizontal .col-sm-2,
#account-voucher .form-horizontal .col-sm-10 {
    width: 100%;
    padding: 0;
}

#account-voucher .form-horizontal .control-label {
    text-align: left;
    padding-top: 0;
}

/* RESPONSIVE DESIGN */
@media (max-width: 991px) {
    .voucher-left {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .voucher-right {
        flex: 0 0 100%;
    }

    .voucher-product-layout {
        gap: 30px;
    }

    .voucher-hero-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .voucher-hero {
        padding: 40px 15px 30px;
    }

    .voucher-hero-title {
        font-size: 28px;
    }

    .voucher-amount-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .voucher-form-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .voucher-amount-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .voucher-amount-btn {
        padding: 12px 8px;
        font-size: 14px;
    }
}