/* WIDGET STYLES
   Prefix: mt- (Mark Tietz)
   Theme: Emotional, Editorial, Warm, Minimalist
*/

.mt-calc-widget {
    background: #ffffff;
    border-radius: 20px;
    font-family: inherit;
    color: #3d3935;
    max-width: 100%;
    margin: 2rem 0;
    box-shadow: 0 10px 40px rgba(61, 57, 53, 0.05);
    overflow: hidden;
    line-height: 1.6;
}

/* Typography */
.mt-page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 20px 80px;
}

.mt-page-title {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #2a2725;
}

.mt-page-subtitle {
    text-align: center;
    color: #8a827b;
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    font-weight: 300;
}

.mt-calc-widget h2, 
.mt-calc-widget h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    color: #2a2725;
}

.mt-calc-header {
    padding: 3rem 3rem 2rem;
    text-align: center;
    background: #Fcfaf8;
}

.mt-calc-header h2 {
    margin: 0 0 0.5rem;
    font-size: 2rem;
    letter-spacing: 0.5px;
    font-style: italic;
}

.mt-calc-header p {
    margin: 0;
    font-size: 1rem;
    color: #8a827b;
    font-weight: 300;
}

.mt-calc-body {
    padding: 3rem;
    background: #ffffff;
}

.mt-calc-mega-section {
    margin-bottom: 2rem;
}

.mt-section-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.mt-mega-title {
    font-size: 1.8rem;
    margin: 0 0 0.5rem;
    font-style: normal !important;
}

.mt-mega-desc {
    color: #8a827b;
    margin: 0;
}

.mt-divider {
    border: 0;
    height: 1px;
    background: #f0ede8;
    margin: 4rem 0;
}

.mt-calc-section {
    margin-bottom: 4rem;
}

.mt-calc-section h3 {
    margin: 0 0 2rem;
    font-size: 1.5rem;
    text-align: center;
    position: relative;
}

.mt-calc-section h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: #e6e2dd;
    margin: 1rem auto 0;
}

/* Guest Input Section */
.mt-guest-section {
    text-align: center;
}

.mt-guest-desc {
    color: #8a827b;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.mt-guest-input-wrap {
    display: inline-flex;
    align-items: center;
    background: #Fcfaf8;
    border: 1px solid #e6e2dd;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.mt-guest-input-wrap input {
    background: transparent;
    border: none;
    font-size: 1.8rem;
    font-family: inherit;
    color: #2a2725;
    width: 70px;
    text-align: right;
    margin-right: 0.5rem;
}

.mt-guest-input-wrap input:focus {
    outline: none;
}

.mt-calc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

/* Tiles */
.mt-tile {
    display: block;
    cursor: pointer;
    position: relative;
    user-select: none;
}

.mt-tile input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.mt-tile-inner {
    border: 1px solid #f0ede8;
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mt-tile-title {
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    display: block;
    color: #3d3935;
}

.mt-tile-meta {
    font-size: 0.9rem;
    color: #8a827b;
    font-weight: 300;
}

.mt-tile:hover .mt-tile-inner {
    border-color: #d6d1cb;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(61, 57, 53, 0.03);
}

.mt-tile input:checked ~ .mt-tile-inner {
    border-color: #3d3935;
    background: #Fcfaf8;
    box-shadow: 0 4px 20px rgba(61, 57, 53, 0.06);
}

.mt-tile input:checked ~ .mt-tile-inner .mt-tile-title {
    font-weight: 700;
    color: #2a2725;
}

/* Photography Subtotal Box */
.mt-photo-subtotal {
    background: #ffffff;
    border: 1px solid #3d3935;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.mt-subtotal-header {
    width: 100%;
    border-bottom: 1px solid #f0ede8;
    padding-bottom: 1.5rem;
    margin-bottom: 0.5rem;
}

.mt-photo-subtotal .mt-subtotal-label {
    font-size: 1.05rem;
    color: #5a544d;
    font-weight: 400;
}

.mt-photo-subtotal .mt-subtotal-price {
    font-size: 1.5rem;
    color: #8a827b;
    text-decoration: line-through;
}

/* Dropdowns for Other Costs */
.mt-dropdown-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.mt-dropdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0ede8;
}

.mt-dropdown-row label {
    font-size: 1.05rem;
    color: #3d3935;
    flex: 1;
}

.mt-dropdown {
    flex: 1;
    max-width: 450px;
    appearance: none;
    background-color: #Fcfaf8;
    border: 1px solid #e6e2dd;
    border-radius: 50px;
    padding: 0.8rem 2.5rem 0.8rem 1.2rem;
    font-size: 0.95rem;
    color: #3d3935;
    font-family: inherit;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%233d3935%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem top 50%;
    background-size: 0.65rem auto;
    transition: all 0.3s ease;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.mt-dropdown:focus {
    outline: none;
    border-color: #3d3935;
    box-shadow: 0 0 0 3px rgba(61, 57, 53, 0.05);
}

/* Badges & Strike-through */
.mt-badge {
    margin-top: 1rem;
    background-color: #e6e2dd;
    color: #3d3935;
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.mt-strike {
    text-decoration: line-through;
    opacity: 0.4;
}

.mt-hidden {
    display: none !important;
}

/* Lead Magnet */
.mt-lead-section {
    margin-top: 3rem;
    padding-top: 4rem;
    border-top: 1px solid #f0ede8;
    text-align: center;
}

.mt-lead-content h3 {
    margin: 0 0 1rem;
    font-size: 1.8rem;
    font-weight: 400;
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.mt-lead-content p {
    color: #8a827b;
    font-size: 1rem;
    max-width: 550px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    font-weight: 300;
}

.mt-final-offer-container {
    padding-top: 0.5rem;
}

.mt-offer-box {
    background: #Fcfaf8;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e6e2dd;
    margin-bottom: 2rem;
}

.mt-offer-badge {
    display: inline-block;
    background: #e6e2dd;
    color: #3d3935;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-top: 0.5rem;
}

.mt-btn-contact {
    text-decoration: none;
    display: inline-block;
    max-width: 300px;
    width: 100%;
}

.mt-input-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 380px;
    margin: 0 auto;
}

.mt-input-group input[type="email"] {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid #d6d1cb;
    font-size: 1rem;
    font-family: inherit;
    border-radius: 50px;
    background: #ffffff;
    transition: all 0.3s ease;
    box-sizing: border-box;
    text-align: center;
}

.mt-input-group input[type="email"]:focus {
    outline: none;
    border-color: #3d3935;
    box-shadow: 0 0 0 4px rgba(61, 57, 53, 0.05);
}

.mt-btn {
    width: 100%;
    background-color: #3d3935;
    color: #ffffff;
    border: none;
    padding: 1.1rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 50px;
    text-align: center;
}

.mt-btn:hover {
    background-color: #2a2725;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(61, 57, 53, 0.15);
}

.mt-btn-outline {
    background-color: transparent;
    color: #3d3935;
    border: 1px solid #3d3935;
    margin: 0 auto;
}

.mt-btn-outline:hover {
    background-color: #Fcfaf8;
    color: #2a2725;
}

.mt-error {
    display: block;
    color: #b35959;
    font-size: 0.85rem;
    margin-top: 0.8rem;
}

/* Final Offer Reveal */
.mt-offer-label {
    display: block;
    font-size: 0.9rem;
    color: #8a827b;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mt-offer-price {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: #2a2725;
    margin: 0.5rem 0 0;
}

.mt-offer-sub {
    font-size: 1rem !important;
    color: #3d3935 !important;
}

/* Footer / Sticky Bar */
.mt-calc-footer {
    background: #Fcfaf8;
    border-top: 1px solid #f0ede8;
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mt-summary-item {
    display: flex;
    flex-direction: column;
}

.mt-summary-item .mt-label {
    font-size: 0.8rem;
    color: #8a827b;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.3rem;
}

.mt-summary-item .mt-val {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #2a2725;
}

/* Responsive Widget */
@media (max-width: 600px) {
    .mt-page-container { padding: 90px 15px 60px; }
    .mt-page-title { font-size: 2.2rem; }
    .mt-page-subtitle { font-size: 1rem; }
    .mt-calc-header { padding: 2rem 1.2rem; }
    .mt-calc-header h2 { font-size: 1.6rem; }
    .mt-calc-body { padding: 1.5rem 1rem; }
    .mt-mega-title { font-size: 1.5rem; }
    .mt-calc-section h3 { font-size: 1.3rem; }
    .mt-guest-input-wrap {
        padding: 0.4rem 1.2rem;
        font-size: 1.2rem;
    }
    .mt-guest-input-wrap input {
        width: 55px;
        font-size: 1.5rem;
    }
    .mt-calc-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .mt-tile-inner { padding: 1.2rem 0.8rem; }
    .mt-calc-footer { 
        padding: 2rem 1.2rem; 
        flex-direction: column; 
        gap: 1.5rem; 
        text-align: center;
    }
    .mt-photo-subtotal {
        padding: 1.5rem 1rem;
    }
    .mt-offer-box { padding: 1.5rem 1rem; }
    .mt-offer-price { font-size: 2.5rem; }
    .mt-dropdown-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        padding: 1rem 0;
        border-bottom: 1px solid #f0ede8;
    }
    .mt-dropdown-row label { font-size: 0.95rem; }
    .mt-dropdown {
        max-width: 100%;
        font-size: 0.9rem;
        padding: 0.8rem 2.5rem 0.8rem 1rem;
    }
    .mt-summary-item .mt-val { font-size: 1.5rem; }
    .mt-lead-content h3 { font-size: 1.5rem; }
    .mt-seo-section h2 { font-size: 1.8rem; }
    .mt-seo-section h3 { font-size: 1.3rem; }
    .mt-seo-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        font-size: 0.85rem;
    }
    .mt-seo-table th, .mt-seo-table td {
        padding: 1rem 0.8rem;
    }
}

/* SEO Content & FAQ Styles */
.mt-seo-section {
    max-width: 800px;
    margin: 4rem auto;
    color: #3d3935;
    line-height: 1.8;
}

.mt-seo-section h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 2.2rem;
    color: #2a2725;
    margin: 3rem 0 1.5rem;
    text-align: center;
}

.mt-seo-section h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 1.5rem;
    color: #2a2725;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0ede8;
}

.mt-seo-section p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: #5a544d;
}

/* FAQ Accordion */
.mt-faq-section {
    margin-top: 4rem;
}

.mt-faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e6e2dd;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
}

.mt-faq-item summary {
    padding: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #2a2725;
    cursor: pointer;
    list-style: none; /* Hide default arrow */
    position: relative;
}

.mt-faq-item summary::-webkit-details-marker {
    display: none;
}

.mt-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #8a827b;
    font-family: 'Lato', sans-serif;
}

.mt-faq-item[open] summary::after {
    content: '-';
}

.mt-faq-content {
    padding: 0 1.5rem 1.5rem;
    color: #5a544d;
    font-size: 1rem;
    line-height: 1.7;
    border-top: 1px solid #f0ede8;
    margin-top: 0.5rem;
    padding-top: 1rem;
}

/* SEO Tables & Sources */
.mt-seo-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(61, 57, 53, 0.03);
}

.mt-seo-table th, .mt-seo-table td {
    padding: 1.2rem 1rem;
    text-align: left;
    border-bottom: 1px solid #f0ede8;
}

.mt-seo-table th {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: #2a2725;
    background-color: #Fcfaf8;
    font-size: 1.05rem;
}

.mt-seo-table td {
    color: #5a544d;
}

.mt-seo-table tbody tr:last-child td {
    border-bottom: none;
}

.mt-seo-sources {
    font-size: 0.85rem;
    color: #8a827b;
    margin-top: -1rem;
    margin-bottom: 3.5rem;
    font-style: italic;
}

.mt-seo-sources a {
    color: #8a827b;
    text-decoration: none;
    border-bottom: 1px dotted #8a827b;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.mt-seo-sources a:hover {
    color: #3d3935;
    border-bottom: 1px solid #3d3935;
}

