/* ============================================ */
/* HOME PAGE COUPON MODAL - EASY TO DELETE */
/* ============================================ */
/* This entire CSS file can be deleted when removing the coupon modal */
/* ============================================ */

/* Coupon Trigger Button in Hero */
.hero-coupon-trigger {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.coupon-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    font-family: var(--font-family-primary, "Inter", sans-serif);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--color-white, #ffffff);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.coupon-trigger-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.coupon-trigger-btn svg {
    width: 20px;
    height: 20px;
}

/* Modal Overlay */
.home-coupon-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal, 1050);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 1rem;
}

.home-coupon-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Modal Container */
.home-coupon-modal {
    background: var(--color-white, #ffffff);
    border-radius: var(--radius);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 2px solid rgba(201, 160, 55, 0.2);
}

.home-coupon-modal-overlay.show .home-coupon-modal {
    transform: scale(1) translateY(0);
}

/* Close Button */
.coupon-modal-close {
    position: absolute;
    top: calc(var(--spacing) - 8px);
    right: calc(var(--spacing) - 8px);
    width: 30px;
    height: 30px;
    min-height: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-100, #f1f5f9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    color: #cb0000;
    padding: 0px;
}

.coupon-modal-close:hover {
    background: var(--color-gray-200, #e2e8f0);
    transform: rotate(90deg);
}

.coupon-modal-close svg {
    width: 18px;
    height: 18px;
    fill: red;
}

/* Modal Content */
.coupon-modal-content {
    padding: calc(var(--spacing) * 2);
    text-align: center;
}

.coupon-modal-content .title-container {
    margin-bottom: calc(var(--spacing) * 2);
}

.coupon-modal-content .title-container .section-title {
    font-size: 26px;
    line-height: 28px;
    margin: 0 0 10px 0;
}

.coupon-modal-content .title-container .section-subtitle {
    font-size: 14px;
}


/* Simple Header */
.coupon-header-simple {
    margin-bottom: 2rem;
}

.coupon-title-simple {
    font-family: var(--font-family-heading, "Montserrat", sans-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gray-900, #0f172a);
    margin: 0;
    line-height: 1.2;
}

/* Body Content */
.coupon-main-text strong:first-child {
    color: #fff;
    background: #c9a037;
    font-weight: 600;
    padding: 1px 3px;
    border-radius: var(--radius);
}

.coupon-code-inline {
    font-family: var(--font-family-heading);
    color: #c9a037;
    background: linear-gradient(135deg, rgb(251, 191, 36), rgb(201, 160, 55));
    padding: 0.25rem;
    border-radius: var(--radius);
    letter-spacing: var(--letter-spacing);
}

.coupon-sub-text {
    font-size: 1rem;
    color: var(--color-gray-600, #475569);
    line-height: 1.6;
    margin: 0;
}

/* Action Section */
.coupon-action-section {
    margin-bottom: var(--spacing);
}

.coupon-main-button:active {
    transform: translateY(0);
}

.coupon-main-button svg {
    width: 20px;
    height: 20px;
}

/* Footer Text */
.coupon-footer-text {
    margin-top: calc(var(--spacing) * 2);
    padding-top: calc(var(--spacing) * 2);
    border-top: 1px solid rgba(201, 160, 55, 0.1);
}

.coupon-footer-text p {
    font-size: 12px;
    font-weight: 500;
    color: #aaa;
    line-height: 1.6;
    margin: 0 0 0 0;
}

.coupon-footer-text p:first-child {
    margin: -10px 0 0 0;
}

.coupon-footer-text a {
    color: #c9a037;
    text-decoration: none;
    font-weight: 500;
}

.coupon-footer-text a:hover {
    color: #16a34a;
}

.coupon-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(201, 160, 55, 0.1);
}

.coupon-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #c9a037 0%, #16a34a 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white, #ffffff);
    flex-shrink: 0;
}

.coupon-icon svg {
    width: 32px;
    height: 32px;
}

.coupon-header-text {
    flex: 1;
}

.coupon-title {
    font-family: var(--font-family-heading, "Montserrat", sans-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-gray-900, #0f172a);
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.coupon-subtitle {
    font-size: 1rem;
    color: var(--color-gray-600, #475569);
    margin: 0;
    line-height: 1.5;
}

/* Seller Benefits Section */
.seller-benefits-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(201, 160, 55, 0.1);
}

.benefits-header {
    margin-bottom: 1.5rem;
}

.benefits-title {
    font-family: var(--font-family-heading, "Montserrat", sans-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-gray-900, #0f172a);
    margin: 0 0 0.5rem 0;
}

.benefits-list {
    display: grid;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: var(--color-gray-50, #f8fafc);
    border-radius: 10px;
    border: 1px solid rgba(201, 160, 55, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: var(--color-white, #ffffff);
    border-color: rgba(201, 160, 55, 0.3);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #c9a037 0%, #16a34a 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white, #ffffff);
    flex-shrink: 0;
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
}

.benefit-content {
    flex: 1;
}

.benefit-content h4 {
    font-family: var(--font-family-heading, "Montserrat", sans-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-gray-900, #0f172a);
    margin: 0 0 0.25rem 0;
}

.benefit-content p {
    font-size: 0.875rem;
    color: var(--color-gray-600, #475569);
    margin: 0;
    line-height: 1.5;
}

/* Coupon Details Section */
.coupon-details-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(201, 160, 55, 0.1);
}

.coupon-details-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.coupon-details-title {
    font-family: var(--font-family-heading, "Montserrat", sans-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gray-900, #0f172a);
    margin: 0 0 0.5rem 0;
}

.coupon-details-subtitle {
    font-size: 1rem;
    color: var(--color-gray-600, #475569);
    margin: 0;
    line-height: 1.5;
}

.coupon-details-card {
    background: linear-gradient(135deg, rgba(201, 160, 55, 0.05) 0%, rgba(22, 163, 74, 0.05) 100%);
    border: 2px solid rgba(201, 160, 55, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
}

.coupon-code-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(201, 160, 55, 0.15);
}

.coupon-code-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gray-600, #475569);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.coupon-code-value {
    font-family: var(--font-family-heading, "Montserrat", sans-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: #c9a037;
    background: var(--color-white, #ffffff);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 2px solid rgba(201, 160, 55, 0.3);
    letter-spacing: 2px;
}

.coupon-highlight-box {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--color-white, #ffffff);
    border-radius: 10px;
    border: 2px solid rgba(201, 160, 55, 0.2);
}

.highlight-icon {
    width: 36px;
    height: 36px;
    color: #c9a037;
    flex-shrink: 0;
}

.highlight-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.highlight-content strong {
    font-family: var(--font-family-heading, "Montserrat", sans-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-gray-900, #0f172a);
}

.highlight-content span {
    font-size: 0.8125rem;
    color: var(--color-gray-600, #475569);
}

.coupon-cta-box {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(201, 160, 55, 0.2);
    text-align: center;
}

.cta-text {
    font-size: 0.9375rem;
    color: var(--color-gray-700, #334155);
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

.cta-text strong {
    color: var(--color-gray-900, #0f172a);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-family-heading, "Montserrat", sans-serif);
    background: linear-gradient(135deg, #c9a037 0%, #16a34a 100%);
    color: var(--color-white, #ffffff);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 160, 55, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 160, 55, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-button svg {
    width: 20px;
    height: 20px;
}

.coupon-form-wrapper {
    margin-bottom: 1.5rem;
}

.coupon-form {
    width: 100%;
}

.coupon-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.coupon-input {
    flex: 1;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-family: var(--font-family-primary, "Inter", sans-serif);
    border: 2px solid var(--color-gray-300, #cbd5e1);
    border-radius: 8px;
    background: var(--color-white, #ffffff);
    color: var(--color-gray-900, #0f172a);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.coupon-input:focus {
    border-color: #c9a037;
    box-shadow: 0 0 0 3px rgba(201, 160, 55, 0.1);
}

.coupon-input::placeholder {
    color: var(--color-gray-400, #94a3b8);
}

.coupon-submit-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-family-primary, "Inter", sans-serif);
    background: linear-gradient(135deg, #c9a037 0%, #16a34a 100%);
    color: var(--color-white, #ffffff);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 120px;
    position: relative;
}

.coupon-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 160, 55, 0.3);
}

.coupon-submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.coupon-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-loader {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

.btn-loader svg {
    width: 100%;
    height: 100%;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.coupon-message {
    min-height: 24px;
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-top: 0.5rem;
    display: none;
}

.coupon-message.show {
    display: block;
}

.coupon-message.error {
    background: rgba(220, 38, 38, 0.1);
    color: var(--color-error, #dc2626);
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.coupon-message.success {
    background: rgba(22, 163, 74, 0.1);
    color: var(--color-success, #16a34a);
    border: 1px solid rgba(22, 163, 74, 0.2);
}

.coupon-success {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.1) 0%, rgba(201, 160, 55, 0.1) 100%);
    border-radius: 12px;
    border: 2px solid rgba(22, 163, 74, 0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    width: 50px;
    height: 50px;
    background: var(--color-success, #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white, #ffffff);
    flex-shrink: 0;
}

.success-icon svg {
    width: 28px;
    height: 28px;
}

.success-content {
    flex: 1;
}

.success-title {
    font-family: var(--font-family-heading, "Montserrat", sans-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-gray-900, #0f172a);
    margin: 0 0 0.5rem 0;
}

.success-details {
    font-size: 0.9375rem;
    color: var(--color-gray-600, #475569);
    margin: 0;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .coupon-modal-content {
        padding: 2rem 1.5rem;
    }

    .coupon-title-simple {
        font-size: 1.75rem;
    }

    .coupon-main-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }

    .coupon-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .coupon-icon {
        width: 50px;
        height: 50px;
    }

    .coupon-icon svg {
        width: 28px;
        height: 28px;
    }

    .coupon-title {
        font-size: 1.5rem;
    }

    .benefits-list {
        gap: 0.75rem;
    }

    .benefit-item {
        padding: 0.875rem;
    }

    .coupon-code-display {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .coupon-code-value {
        font-size: 1.25rem;
        width: 100%;
        text-align: center;
    }

    .coupon-input-group {
        flex-direction: column;
        gap: 0.75rem;
    }

    .coupon-submit-btn {
        width: 100%;
    }

    .coupon-success {
        flex-direction: column;
        text-align: center;
    }

    .coupon-modal-close {
        top: 0.75rem;
        right: 0.75rem;
    }
}

@media (max-width: 480px) {
    .coupon-modal-content {
        padding: 1.5rem 1rem;
    }

    .coupon-title {
        font-size: 1.25rem;
    }

    .coupon-subtitle {
        font-size: 0.875rem;
    }

    .coupon-trigger-btn {
        font-size: 0.875rem;
        padding: 0.625rem 1.25rem;
    }

    .coupon-trigger-btn span {
        display: none;
    }
}
