.zwc-calculator-section {
    padding: 30px 0 60px;
    max-width: 1200px;
    margin: 0 auto
}

body:before {
    content: '';
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    background: #fdede7;
    height: 500px;
    z-index: -1
}

.zwc-calculator-section h1 {
    font-family: var(--primaryfont-bold);
    line-height: 1.3;
    letter-spacing: -0.5px;
    text-align: center;
    margin-bottom: clamp(8px,0.83vw,16px);
    color: #1a1a1a
}

.zwc-calculator-section .zwc-subtitle {
    line-height: 1.5;
    text-align: center;
max-width: 620px;
    margin: 0 auto;
}
.zwc-calculator-section .zwc-subtitle small {
    margin-top: 15px;
    display: block;
}
.zwc-calculator-wrapper {
    background: #fff;
    border: 2px solid #eed2c8;
    border-radius: 16px;
    padding: clamp(24px,3vw,48px);
    margin-top: clamp(30px,3.125vw,60px);
    box-shadow: -1px 4px 20px 20px rgba(239, 219, 212,0.4);
}

.zwc-market-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: clamp(24px,2.5vw,48px);
    flex-wrap: wrap;
    gap: 16px
}

.zwc-market-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap
}

.zwc-add-market {
    font-family: var(--primaryfont-regular);
    font-size: clamp(14px,0.83vw,16px);
    color: #e74c3c;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    background: 0;
    border: 0;
    padding: 0
}

.zwc-market-dropdown {
    position: relative
}

.zwc-market-dropdown select {
    font-family: var(--primaryfont-regular);
    font-size: 14px;
    padding: 8px 32px 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    appearance: none;
    min-width: 160px
}

.zwc-market-dropdown::after {
    content: "▼";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 10px;
    color: #666
}

.zwc-selected-markets {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 15px;
    width: 100%
}

.zwc-market-tag {
    font-family: var(--primaryfont-regular);
    font-size: 14px;
    padding: 6px 12px;
    background: #ffdccf;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333
}

.zwc-market-tag button {
    background: 0;
    border: 0;
    color: #e74c3c;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    line-height: 1
}

.zwc-currency-selector {
    display: flex;
    align-items: center;
    gap: 12px
}

.zwc-currency-selector label {
    font-family: var(--primaryfont-regular);
    font-size: clamp(14px,0.83vw,16px);
    color: #333
}

.zwc-currency-selector select {
    font-family: var(--primaryfont-regular);
    font-size: 14px;
    padding: 8px 32px 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    appearance: none;
    min-width: 120px
}

.zwc-section-title {
    font-family: var(--primaryfont-semibold);
    font-size: clamp(16px,1.04vw,20px);
    line-height: 1.4;
    color: #1a1a1a;
    margin-bottom: clamp(16px,1.66vw,32px);
    padding-left: 12px;
    border-left: 3px solid #e74c3c
}

.zwc-market-rates {
    margin-bottom: clamp(32px,3.33vw,64px)
}

.zwc-market-item {
    margin-bottom: clamp(24px,2.5vw,48px)
}

.zwc-market-label {
    font-family: var(--primaryfont-semibold);
    font-size: 14px;
    color: #000;
    background: #ffdccf;
    padding: 6px 12px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 12px
}

.zwc-market-label.zwc-india {
    background: #ffb3b3
}

.zwc-market-label.zwc-brazil {
    background: #ffb3b3
}

.zwc-market-instruction {
    font-family: var(--primaryfont-regular);
    font-size: 14px;
    margin-bottom: 16px
}

.zwc-rate-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: clamp(16px,1.66vw,32px)
}

.zwc-rate-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px
}

.zwc-rate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px
}

.zwc-rate-header h3 {
    font-family: var(--primaryfont-semibold);
    font-size: clamp(15px,0.93vw,18px);
    color: #1a1a1a;
    margin: 0
}

.zwc-rate-header .zwc-price {
    font-family: var(--primaryfont-semibold);
    font-size: 14px;
    color: #333
}

.zwc-input-wrapper {
    position: relative
}

.zwc-input-wrapper input {
    width: 100%;
    font-family: var(--primaryfont-regular);
    font-size: clamp(16px,1.04vw,20px);
    padding: 12px 50px 12px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #f9f9f9;
    box-sizing: border-box
}

.zwc-input-wrapper input:focus {
    outline: 0;
    border-color: #221f1f;
    background: #fff
}

.zwc-input-label {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--primaryfont-regular);
    font-size: 12px;
    color: #999;
    background: #e8e8e8;
    padding: 4px 8px;
    border-radius: 4px;
    pointer-events: none
}

.zwc-rate-description {
    font-family: var(--primaryfont-regular);
    font-size: 12px;
    margin: 8px 0 0 0;
}

.zwc-calculate-wrapper {
    text-align: center;
    margin: clamp(24px,2.5vw,48px) 0
}

.zwc-calculate-btn {
    font-family: var(--primaryfont-semibold);
    font-size: clamp(14px,0.93vw,16px);
    padding: 12px 48px;
    background: #e74c3c;
    color: #fff;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    transition: background .3s ease
}

.zwc-calculate-btn:hover {
    background: #c0392b
}

.zwc-calculate-btn:disabled {
    background: #ccc;
    cursor: not-allowed
}

.zwc-aggregated-section {
    border-top: 1px solid #e0e0e0;
    padding-top: clamp(24px,2.5vw,48px)
}

.zwc-impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: clamp(16px,1.66vw,32px);
    margin-bottom: clamp(24px,1.7vw,48px);
}

.zwc-impact-card {
    background: #f2f2f2;
    border-radius: 8px;
    padding: clamp(16px,1.66vw,32px);
    text-align: center
}

.zwc-impact-card label {
    font-family: var(--primaryfont-regular);
    font-size: 14px;
    /* color:#555; */
    display: block;
    margin-bottom: 8px
}

.zwc-impact-card .zwc-amount {
    font-family: var(--primaryfont-bold);
    font-size: clamp(24px,2.08vw,40px);
    line-height: 1.2;
    color: #1a1a1a;
    display: block
}

.zwc-impact-card .zwc-currency {
    font-family: var(--primaryfont-regular);
    font-size: 14px;
    color: #666;
    margin-left: 4px
}

.zwc-total-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
    gap: clamp(16px,1.66vw,32px)
}

.zwc-total-card {
    background: #ffe5e5;
    border-radius: 8px;
    padding: clamp(20px,2.08vw,40px);
    text-align: center
}

.zwc-total-card.zwc-credits {
    background: #d4eff4;
}

.zwc-total-card label {
    font-family: var(--primaryfont-regular);
    font-size: 14px;
    /* color:#555; */
    display: block;
    margin-bottom: 8px
}

.zwc-total-card .zwc-amount {
    font-family: var(--primaryfont-bold);
    font-size: clamp(28px,2.5vw,48px);
    line-height: 1.2;
    color: #1a1a1a;
    display: block
}

.zwc-total-card .zwc-note {
    font-family: var(--primaryfont-regular);
    font-size: 12px;
    /* color:#999; */
    margin: 8px 0 0 0;
}

.zwc-note {
    display: none
}
.zw-template-inner {
    background: #fdede7;
    margin-bottom: 0;
}
a.act-btn.cta-btn {
    padding: 15px 30px;
    border-radius: 3px;
    border: 0;
}

.zwc-calculator-section .zwc-subtitle + p {
    text-align: center;
}
@media(max-width: 767px) {
    .zwc-calculator-section h1 {
        letter-spacing:normal;
        line-height: normal
    }

    .zwc-market-selector {
        flex-direction: column;
        align-items: flex-start
    }

    .zwc-rate-inputs {
        grid-template-columns: 1fr
    }

    .zwc-impact-grid,.zwc-total-grid {
        grid-template-columns: 1fr
    }
}

@media(max-width: 1024px) {
    .zwc-rate-inputs {
        grid-template-columns:1fr
    }
}
@media(max-width: 380px) {
.zwc-market-dropdown select {
width: 150px;
}
}