/* ============================================= */
/* ==            GLOBAL RESET                 == */
/* ============================================= */

:root {
    /* Define colors for reuse */
    --wyn-teal: #007996;
    --wyn-orange: #f26633;
    --wyn-gray-bg: #f6f6f6;
    --wyn-border: #e1e1e1;
}

body, h1, h2, h3, h4, h5, p, a, button, input {
    font-family: 'Poppins', sans-serif !important;
}

body {
    background-color: var(--wyn-gray-bg);
    color: #212121;
    margin: 0;
    padding: 0;
    overflow-x: clip;
    display: block !important;
}

a {
    text-decoration: none !important;
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: #adb5bd !important;
    opacity: 1 !important;
    font-weight: 400 !important;
}

input[type="date"]::-webkit-datetime-edit-text,
input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-year-field {
    color: #adb5bd;
}

input[type="date"]:valid::-webkit-datetime-edit-text,
input[type="date"]:valid::-webkit-datetime-edit-month-field,
input[type="date"]:valid::-webkit-datetime-edit-day-field,
input[type="date"]:valid::-webkit-datetime-edit-year-field {
    color: #212121;
}

/* ============================================= */
/* ==           LAYOUT STRUCTURE              == */
/* ============================================= */

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-body {
    flex: 1;
    padding-top: 60px;
    padding-bottom: 60px;
}

/* User requested 1320px to match the Bootstrap Container XL */
.content-container,
.header-container,
.footer-container {
    max-width: 1320px !important;
    margin: 0 auto;
    padding-left: 15px; /* Add standard bootstrap gutter padding */
    padding-right: 15px;
}

/* --- TWO-COLUMN LAYOUT (Renamed from shopify-wrapper) --- */
.site-layout-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    grid-template-rows: 1fr auto;
    flex: 1;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    column-gap: 30px;
}

.layout-main {
    grid-column: 1;
    padding: 40px;
    background-color: #ffffff;
    box-sizing: border-box;
}

.layout-main:has(~ .layout-actions) {
    padding-bottom: 0;
}

.layout-sidebar {
    grid-column: 2;
    grid-row: 1 / -1;
    width: auto;
    border-left: none;
    background-color: var(--wyn-gray-bg);
    padding: 40px;
    position: relative;
    box-sizing: border-box;
}

.layout-actions {
    grid-column: 1;
    background-color: #ffffff;
    padding: 0 40px 40px;
    box-sizing: border-box;
}

/* Desktop Infinite Background Trick */
.layout-sidebar::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    background-color: var(--wyn-gray-bg);
    z-index: -1;
}

/* Mobile Stack */
@media (max-width: 992px) {
    .site-layout-wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        padding: 0;
        column-gap: 0;
    }
    .layout-main {
        order: 1;
        padding: 40px 20px;
        border-top: none;
    }
    .layout-main:has(~ .layout-actions) {
        padding-bottom: 10px;
    }
    .layout-sidebar {
        grid-column: 1;
        grid-row: auto;
        order: 2;
        width: 100%;
        border-left: none;
        border-top: 1px solid var(--wyn-border);
        padding: 40px 20px;
        background-color: var(--wyn-gray-bg);
    }
    .layout-sidebar::before {
        display: none;
    }
    .layout-actions {
        grid-column: 1;
        grid-row: auto;
        order: 3;
        padding: 20px 20px 40px;
    }
}


/* ============================================= */
/* ==           CUSTOM BOX STYLES             == */
/* ============================================= */

/* Matches the requested specific styling */
.wyn-box {
    background-color: #fff;
    border: 1px solid #dedede;
    border-radius: 22px;
    padding: 35px; 
    margin-bottom: 20px;
}

/* FORM BORDER REMOVAL */
.wyn-box.form-card-wrapper {
    /* Removes the outer box styling around the form for a cleaner look */
    border: none;
    background-color: transparent; 
    padding: 0;
}

/* Target the inner CRM Entity Form elements for border removal */
.crmEntityFormView > .tab > .section > .col-md-12 > .panel,
.crmEntityFormView {
    border: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

/* ============================================= */
/* ==               HEADER                    == */
/* ============================================= */

/* .site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e4e3e7;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
} */

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-svg {
    height: 30px;
    width: auto;
    display: block;
}

.header-nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #3f3f46;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--wyn-teal);
    text-decoration: none !important;
}

.nav-link svg {
    color: var(--wyn-teal);
}

@media (max-width: 576px) {
    .nav-label { display: none; }
    .header-nav { gap: 16px; }
}

/* ============================================= */
/* ==            HOME PAGE HERO               == */
/* ============================================= */

/* .home-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    background-color: #ffffff;
    padding: 40px 20px;
}

.home-container {
    max-width: 800px;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    color: #212121;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-text {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
} */

/* ============================================= */
/* ==           CHECKOUT BUTTON               == */
/* ============================================= */

.btn-wyn-checkout {
    box-sizing: border-box;
    border-radius: 6px;
    padding: 9px 25px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    width: 100%; 
    margin-bottom: 10px;
    display: block;
    text-align: center;
    text-decoration: none !important;
    
    background-color: var(--wyn-orange);
    color: #ffffff;
}

.btn-wyn-checkout:hover {
    background-color: #d45a2d;
    color: #ffffff;
}

.btn-wyn-action {
    display: block; 
    margin: 0 auto;
    max-width: 250px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
    white-space: nowrap;
    width: 100%;
    
    /* Primary (Teal) Style */
    background-color: var(--wyn-teal);
    border: 1px solid var(--wyn-teal);
    color: #ffffff;
}

.btn-wyn-action:hover {
    background-color: #005f76; 
    border-color: #005f76;
}

.btn-wyn-action:disabled {
    background-color: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
}

/* Full width on smaller screens */
@media (max-width: 768px) {
    .btn-wyn-action {
        max-width: none;
    }
}

/* ============================================= */
/* ==       PRIORITY CARD STYLING             == */
/* ============================================= */

.priority-card {
    display: flex;
    align-items: flex-start;
    padding: 16px;
    margin-bottom: 12px;
    background-color: #fff;
    border: 1px solid #dedede;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.priority-card:hover { border-color: #b0b0b0; }

.priority-card.selected {
    border-color: #007bff;
    background-color: #f6faff;
}

.priority-card input[type="radio"] {
    margin-top: 4px; 
    margin-right: 12px;
    cursor: pointer;
    accent-color: var(--wyn-teal);
    transform: scale(1.2);
}

.priority-details {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.priority-info {
    display: flex;
    flex-direction: column;
}

.priority-title {
    font-weight: 700;
    font-size: 16px;
    color: #212121;
    margin-bottom: 4px;
}

.priority-delivery {
    font-size: 13px;
    color: var(--wyn-teal);
    display: flex;
    align-items: center;
    gap: 6px;
}

.priority-price {
    font-weight: 700;
    font-size: 16px;
    color: #6c757d;
    white-space: nowrap;
    margin-left: 15px;
}

/* ============================================= */
/* ==       SIDEBAR PRICING NOTES             == */
/* ============================================= */

.pricing-group-title {
    font-weight: 700;
    color: #212529;
    margin-top: 15px;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px dashed #ced4da;
    font-size: 14px;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    font-size: 13px;
}

/* Normalize right-sidebar small-text size across Order/Documents/Confirmation */
.layout-sidebar .small,
.layout-sidebar .table.small,
.layout-sidebar .table.small td,
.layout-sidebar .table.small th {
    font-size: 13px;
}

.pricing-item-name {
    font-weight: 500;
    color: #495057;
}

.pricing-item-fee {
    font-weight: 700;
    color: var(--wyn-teal);
}


/* ============================================= */
/* ==         INFO NOTE STYLING               == */
/* ============================================= */
.info-note {
    background-color: #fff8e1;
    border-left: 4px solid #ffb300;
    padding: 15px;
    border-radius: 4px;
    font-size: 12px;
    color: #616161;
}

.info-note strong {
    color: #e65100;
}


/* ============================================= */
/* ==               FOOTER                    == */
/* ============================================= */

.site-footer {
    background-color: #ffffff;
    border-top: 1px solid #e4e3e7;
    padding: 20px 0;
    font-size: 13px;
    color: #64748b;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright p {
    margin: 0;
    font-size: 13px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-links a {
    color: #64748b;
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--wyn-teal);
    text-decoration: none !important;
}

.back-to-top-link {
    display: flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================= */
/* ==       FORM B NOTE TOOLTIP STYLING       == */
/* ============================================= */
.info-tooltip-trigger {
    /* For Font Awesome icon (fa-solid fa-circle-info) */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--wyn-teal); /* Use the teal color for the icon */
    font-size: 16px; /* Adjust size for visibility */
    cursor: pointer;
    margin-left: 8px; /* Slightly more space */
    vertical-align: middle;
    /* Reset custom circle styles for the Font Awesome icon */
    width: auto;
    height: auto;
    border-radius: 0;
    background-color: transparent;
    font-weight: normal; 
}

/* Ensure the icon itself is not styled by its parent */
.info-tooltip-trigger i {
    font-size: 1em; 
    line-height: 1;
}

.info-tooltip-content {
    /* Tooltip appearance */
    display: none;
    position: absolute;
    top: 100%; /* Position below the (i) */
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    background-color: #fff;
    border: 1px solid var(--wyn-border);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    font-size: 12px;
    color: #616161;
    white-space: normal;
    text-align: left;
    margin-top: 10px; /* Space between (i) and box */
}

/* Tooltip arrow/triangle */
.info-tooltip-content::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent #fff transparent; /* White triangle pointing up */
}
.info-tooltip-content::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 7px;
    border-style: solid;
    border-color: transparent transparent var(--wyn-border) transparent; /* Border for the arrow */
    margin-bottom: -1px; /* Align border */
}

/* Show on hover */
.info-tooltip-trigger:hover .info-tooltip-content {
    display: block;
}

/* Specific styling for the content inside the tooltip */
.info-tooltip-content strong:first-child {
    color: #e65100;
    font-size: 13px;
    display: block;
    margin-bottom: 5px;
}
.info-tooltip-content br {
    display: block; /* Ensure line break */
    content: "";
    margin-top: 4px;
}

/* Ensure the pricing item name can contain the tooltip */
.pricing-item-name {
    position: relative; /* Context for absolute positioning of tooltip */
    display: inline-flex;
    align-items: center;
}

@media (max-width: 992px) {
    .info-tooltip-content {
        left: 0;
        transform: none;
    }
    .info-tooltip-content::before,
    .info-tooltip-content::after {
        left: 20px;
        transform: none;
    }
}

/* ============================================= */
/* ==               STEPPER STYLING           == */
/* ============================================= */
.stepper-container {
  display: flex;
  width: 100%;
  padding: 30px 0 50px; /* Provides vertical spacing around the stepper */
  font-family: 'Poppins', sans-serif;
  /* max-width and margin: 0 auto; removed to allow it to fill the left column */
}

.stepper-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}

/* The connecting line - drawn using a pseudo-element */
.stepper-item::after {
  content: '';
  position: absolute;
  top: 20px; /* Vertically center with the circle */
  left: 50%;
  width: 100%;
  height: 2px;
  background-color: #e0e0e0; /* Default line color */
  transition: background-color 0.3s ease;
}

/* The last item doesn't need a line after it */
.stepper-item:last-child::after {
  display: none;
}

/* The numbered circle */
.stepper-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid #e0e0e0;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  position: relative;
  z-index: 1; /* Sits on top of the line */
  transition: all 0.3s ease;
}

/* The text label below the circle */
.stepper-title {
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #6c757d;
  text-align: center;
  transition: all 0.3s ease;
}

/* --- STATES --- */

/* Style for a step that is currently active */
.stepper-item.active .stepper-circle {
  background-color: var(--wyn-teal); 
  border-color: var(--wyn-teal); 
  color: #fff;
}

.stepper-item.active .stepper-title {
  color: #000;
  font-weight: 600;
}

/* Style for a step that has been completed */
.stepper-item.completed .stepper-circle {
  background-color: var(--wyn-teal); 
  border-color: var(--wyn-teal); 
  color: #fff;
}

.stepper-item.completed .stepper-title {
  color: #333; /* Slightly darker than default for completed text */
}

/* A completed step makes the line leading to the NEXT step active */
.stepper-item.completed::after {
  background-color: var(--wyn-teal); 
}

/* --- RESPONSIVE STYLES --- */

/* On smaller screens, hide the text to save space */
@media (max-width: 768px) {
  .stepper-title {
    display: none;
  }
  .stepper-container {
    padding-bottom: 30px;
  }
}

/* ============================================= */
/* ==           SUBMIT BUTTON STYLING         == */
/* ============================================= */
/* Target the generated submit button */
.form-card-wrapper input[type="submit"],
.form-card-wrapper input[type="button"],
.form-card-wrapper button[type="submit"] {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
    white-space: nowrap;
    
    /* Primary (Teal) Style */
    background-color: var(--wyn-teal) !important;
    border: 1px solid var(--wyn-teal) !important;
    color: #ffffff !important;
}

.form-card-wrapper input[type="submit"]:hover,
.form-card-wrapper input[type="button"]:hover,
.form-card-wrapper button[type="submit"]:hover {
    background-color: #00637a !important; /* Slightly darker teal */
    border-color: #00637a !important;
}

/* Submit button when moved to layout-actions on mobile */
.layout-actions .actions input[type="button"] {
    display: block;
    width: 100%;
    max-width: 300px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border-radius: 8px;
    white-space: nowrap;
    background-color: var(--wyn-teal) !important;
    border: 1px solid var(--wyn-teal) !important;
    color: #ffffff !important;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.layout-actions .actions input[type="button"]:hover {
    background-color: #005f76 !important;
    border-color: #005f76 !important;
}

@media (max-width: 768px) {
    .form-card-wrapper input[type="submit"],
    .form-card-wrapper input[type="button"],
    .layout-actions .actions input[type="button"] {
        width: 100%;
        max-width: none;
        display: block;
    }
}

/* ============================================= */
/* ==        ATTACHMENT UPLOAD BUTTON         == */
/* ============================================= */
.file-cell .ContainerForFile {
    margin-top: 15px;
}

.file-cell #UploadButton {
    border-radius: 8px;
    background-color: #ffffff;
    border: 1px solid var(--wyn-teal);
    color: var(--wyn-teal);
    padding: 8px 20px;
    font-weight: 600;
    transition: background-color 0.2s, color 0.2s;
}

.file-cell #UploadButton:hover {
    background-color: var(--wyn-teal);
    color: #ffffff;
}

/* ============================================= */
/* ==           DOCUMENT LIST ITEM            == */
/* ============================================= */
.list-group-item.doc-list-item {
    border: 1px solid var(--wyn-border);
    margin-bottom: 8px; /* Spacing between items */
    border-radius: 8px !important;
    transition: all 0.2s ease;
    cursor: pointer;
    background-color: #fff;
    display: flex;
    align-items: center;
}

.list-group-item.doc-list-item:hover {
    background-color: #fcfcfc;
    border-color: #d0d0d0;
    transform: translateY(-1px);
}

.list-group-item.doc-list-item.selected {
    background-color: #f0fbfc;
    border-color: var(--wyn-teal);
    box-shadow: 0 0 0 2px rgba(0, 121, 150, 0.2);
}

.list-group-item.doc-list-item.selected .form-check-input {
    background-color: var(--wyn-teal) !important;
    border-color: var(--wyn-teal) !important;
}

.document-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.document-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.document-item-name {
    font-size: 16px;
    font-weight: 600;
    color: #212121;
}

.document-item-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--wyn-teal);
}

.document-item-description {
    font-size: 13px;
    color: #6c757d;
}

/* ============================================= */
/* ==           PRIORITY & SUMMARY            == */
/* ============================================= */
.priority-card-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #e1e1e1;
}

.price-summary-item:last-child {
    border-bottom: none;
}

.price-summary-label {
    font-weight: 500;
    color: #333;
}

.price-summary-value {
    font-weight: 600;
    color: #212121;
}

.price-summary-total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #333;
}

.price-summary-total .price-summary-label,
.price-summary-total .price-summary-value {
    font-weight: 700;
    font-size: 1.25rem;
}

.section-title {
    color: #212121;
    font-weight: 400;
    font-size: 1.75rem;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 30px;
}

/* ============================================= */
/* ==       UNIFIED COMPACT LIST STYLES       == */
/* ============================================= */

.compact-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    width: 100%;
    margin-bottom: 0;
    transition: background-color 0.15s;
    background-color: transparent;
}

.compact-item:hover {
    background-color: #fafafa;
}

/* Remove bottom border from the last item in a container */
.compact-item:last-of-type {
    border-bottom: none;
}

/* Hide actual inputs */
.compact-item input[type="radio"],
.compact-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* --- Custom Indicators (Radio/Checkbox) --- */
.indicator {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 15px;
    margin-left: 0;
    flex-shrink: 0;
    border: 2px solid #ccc;
    background-color: #fff;
    transition: all 0.2s ease;
}

/* Radio Style (Round) */
.indicator.type-radio {
    border-radius: 50%;
}

/* Checkbox Style (Square-ish) */
.indicator.type-checkbox {
    border-radius: 4px;
}

/* --- Selected State --- */

/* Radio: Fill with dot */
.compact-item input[type="radio"]:checked ~ .indicator.type-radio {
    border-color: var(--wyn-teal);
    background-color: var(--wyn-teal);
    box-shadow: inset 0 0 0 4px #fff; /* White inner ring */
}

/* Checkbox: Fill completely and show checkmark */
.compact-item input[type="checkbox"]:checked ~ .indicator.type-checkbox {
    border-color: var(--wyn-teal);
    background-color: var(--wyn-teal);
    /* Base64 encoded SVG for a white checkmark */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='3' d='M6 10l3 3 6-6'/%3E%3C/svg%3E");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

/* Text Highlight on Selection */
.compact-item.selected .item-name,
.compact-item.selected .item-price {
    color: var(--wyn-teal);
    font-weight: 600;
}

/* --- Item Details Layout --- */
.item-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
}

.item-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap; 
}

.item-name {
    font-weight: 600;
    color: #212121;
}

.item-separator {
    color: #ccc;
    margin: 0 8px;
}

.item-meta {
    font-size: 13px;
    color: #6c757d;
}

/* ============================================= */
/* ==           SUBMIT BUTTON STYLE           == */
/* ============================================= */

.wyn-btn-submit {
    display: block; 
    margin: 0; /* Left align on desktop */
    max-width: 300px; /* Max width for desktop */
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
    white-space: nowrap;
    
    background-color: var(--wyn-teal);
    border: 1px solid var(--wyn-teal);
    color: #ffffff;
}

.wyn-btn-submit:hover {
    background-color: #005f76; 
    border-color: #005f76;
}

.wyn-btn-submit:disabled {
    background-color: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
}

/* Full width on smaller screens */
@media (max-width: 768px) {
    .wyn-btn-submit {
        width: 100%;
        max-width: none;
    }
}

/* ============================================= /
/ ==           WYNFORD PREMIUM REDESIGN      == /
/ ============================================= */

:root {
--wyn-teal: #00799C;
--wyn-white: #FFFFFF;
--wyn-black: #000000;
--wyn-gray-light: #F9FAFB;
}

/* Base resets */
body, html {
margin: 0;
padding: 0;
font-family: 'Poppins', -apple-system, system-ui, sans-serif !important;
overflow-x: clip;
}

/* --- Global Link Styles & Underline Removal --- */
a, a:hover, a:focus, .nav-link, .nav-link:hover {
text-decoration: none !important;
transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

/* --- Transparent Header Over Hero --- */
/* .site-header {
position: absolute;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
padding: 1rem 0;
background: transparent;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
} */

/* Default white header for all pages - ensure consistent padding */
body:not([data-sitemap-state="/"]) .site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e4e3e7;
  position: sticky;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  padding: 15px 0; /* Match your original design */
  top: 0;
  z-index: 10000; /* Very high z-index */
}

body:not([data-sitemap-state="/"]) .header-container {
  padding: 0 2rem; /* Match your original design */
  max-width: 1320px; /* Match your content-container width */
}

/* Transparent header ONLY on homepage */
body[data-sitemap-state="/"] .site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
  padding: 1rem 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

body[data-sitemap-state="/"] .site-header.scrolled {
  position: fixed;
  background-color: #ffffff !important;
  border-bottom: 1px solid #e4e3e7 !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03) !important;
}

body[data-sitemap-state="/"] .header-container {
  padding: 0 2rem;
  max-width: 1320px;
}

.header-container {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1400px;
margin: 0 auto;
padding: 0 2rem;
}

.header-right {
display: flex;
gap: 1rem;
align-items: center;
}

/* Standardized Nav Buttons */
.btn-nav-contact {
background: transparent;
color: var(--wyn-teal) !important;
border: 1px solid var(--wyn-teal);
padding: 0.6rem 1.8rem;
border-radius: 100px;
font-weight: 700;
font-size: 0.9rem;
display: inline-flex;
align-items: center;
justify-content: center;
}

.btn-nav-contact:hover {
background: var(--wyn-teal);
color: white !important;
}

.btn-nav-order {
background: var(--wyn-teal);
color: white !important;
padding: 0.6rem 1.8rem;
border-radius: 100px;
font-weight: 700;
font-size: 0.9rem;
display: inline-flex;
align-items: center;
justify-content: center;
border: 1px solid var(--wyn-teal);
}

.btn-nav-order:hover {
background: var(--wyn-black);
border-color: var(--wyn-black);
}

.header-contact-link {
display: inline-flex;
align-items: center;
justify-content: center;
color: var(--wyn-teal);
transition: color 0.2s ease;
}

.header-contact-link:hover,
.header-contact-link:focus {
color: var(--wyn-orange);
}

/* --- Full Height Photo Hero --- */
.hero-wrapper {
position: relative;
width: 100%;
height: 75vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
background-color: var(--wyn-black);
}

.hero-bg-image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: 1;
}

.hero-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 70%, rgba(255,255,255,0) 100%);
z-index: 2;
}

.hero-center-content {
max-width: 1000px;
width: 100%;
padding: 0 2rem;
z-index: 3;
position: relative;
}

/* Unique class for home hero title */
.wyn-hero-main-title {
color: white;
font-size: clamp(2.5rem, 8vw, 5rem);
font-weight: 300;
line-height: 1.1;
letter-spacing: -0.02em;
margin-bottom: 1.5rem;
text-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

.hero-subheading {
color: rgba(255, 255, 255, 0.9);
font-size: 1.25rem;
font-weight: 400;
max-width: 750px;
margin: 0 auto 2.5rem;
line-height: 1.6;
text-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

/* Hero CTA Button */
.btn-hero-cta {
background: var(--wyn-teal);
color: white !important;
padding: 1.1rem 2.8rem;
font-size: 1rem;
font-weight: 700;
/* text-transform: uppercase; */
letter-spacing: 0.08em;
border-radius: 100px;
display: inline-block;
border: 2px solid var(--wyn-teal);
box-shadow: 0 10px 25px rgba(0, 121, 156, 0.3);
text-decoration: none !important;
transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn-hero-cta:hover {
background: #ffffff;
color: var(--wyn-teal) !important;
border-color: #ffffff;
box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.btn-hero-cta:active,
.btn-hero-cta:focus,
.btn-hero-cta:active:focus {
background: var(--wyn-teal) !important;
color: #ffffff !important;
border-color: var(--wyn-teal) !important;
box-shadow: 0 10px 25px rgba(0, 121, 156, 0.3) !important;
}

/* --- Content Blocks --- */
.info-section {
padding: 120px 0;
background: white;
}

.info-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 5rem;
}

.info-item h3 {
font-weight: 800;
font-size: 1.4rem;
margin-bottom: 1.5rem;
letter-spacing: 0.02em;
color: var(--wyn-black);
display: flex;
align-items: center;
gap: 10px;
}

.info-item h3::after {
content: "";
flex-grow: 1;
height: 1px;
background: var(--wyn-teal);
opacity: 0.3;
}

.info-icon-list {
display: flex;
flex-direction: column;
gap: 1.25rem;
}

.info-icon-item {
display: flex;
align-items: flex-start;
gap: 0.85rem;
}

.info-icon-item p {
margin: 0;
}

.info-icon-badge {
flex-shrink: 0;
display: inline-flex;
align-items: center;
justify-content: center;
color: var(--wyn-teal);
margin-top: 2px;
}

.info-item p, .info-item li {
font-size: 1.05rem;
line-height: 1.8;
color: #555;
}

/* --- Refined Note Section --- */
.refined-note {
margin-top: 60px;
padding: 1.5rem 3rem; /* Reduced top/bottom padding */
background: var(--wyn-gray-light);
border-radius: 2px;
border-left: 4px solid var(--wyn-teal);
position: relative;
}

.note-label {
font-size: 0.75rem;
font-weight: 900;
text-transform: uppercase;
letter-spacing: 0.2em;
color: var(--wyn-teal);
margin-bottom: 0.5rem;
display: block;
}

.note-text {
font-size: 1rem;
color: var(--wyn-black);
line-height: 1.5;
font-weight: 500;
}

@media (max-width: 640px) {
    .info-section .container {
        padding-left: 35px;
        padding-right: 35px;
    }
    .info-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* --- Contact Page --- */
.contact-section {
    padding: 90px 0 120px;
    background: white;
}

.contact-header {
    max-width: 720px;
    margin-bottom: 3.5rem;
}

.contact-header h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    color: var(--wyn-black);
    margin: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.contact-icon-badge {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: rgba(0, 121, 156, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--wyn-teal);
    flex-shrink: 0;
}

.contact-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--wyn-black);
    margin: 0;
}

.contact-details {
    margin-left: 3.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.contact-details p {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin: 0 !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    color: #555 !important;
    font-weight: 400;
}

.contact-details p > span {
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-details a {
    color: #555 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.contact-details a:hover,
.contact-details a:focus,
.contact-details a:active {
    color: var(--wyn-teal) !important;
    text-decoration: none !important;
}

.contact-details svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--wyn-teal);
}

.contact-hours {
    padding-top: 0.85rem;
    margin-top: 0.5rem !important;
    border-top: 1px solid #e1e1e1;
}

.contact-map {
    margin-top: 4rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e1e1e1;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 360px;
    border: 0;
}

@media (max-width: 640px) {
    .contact-section {
        padding: 60px 0 80px;
    }
    .contact-header,
    .contact-grid {
        padding-left: 23px;
        padding-right: 23px;
    }
    .contact-details {
        margin-left: 0;
    }
    .contact-map iframe {
        height: 280px;
    }
}

/* --- Footer --- */
.site-footer {
background: var(--wyn-white);
border-top: 1px solid #eee;
padding: 40px 0;
}

.footer-container {
max-width: 1400px;
margin: 0 auto;
padding: 0 2rem;
display: flex;
justify-content: space-between;
align-items: center;
color: #888;
font-size: 0.85rem;
}

/* Navigation Dropdown Container */
.nav-dropdown {
  position: relative;
}

/* Hamburger Menu Button */
.hamburger-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 10002; /* Highest so it stays clickable */
}

.hamburger-menu span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #00799C;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hamburger animation when menu is open */
.hamburger-menu.open span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-menu.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation Dropdown Container */
.nav-dropdown {
  position: relative;
  z-index: 10001; /* Higher than dropdown */
}

/* Hamburger Menu Button */
.hamburger-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 1001;
}

.hamburger-menu span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #00799C;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hamburger animation when menu is open */
.hamburger-menu.open span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-menu.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Dropdown Menu - Hidden by default */
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 15px);
  right: 0;
  background-color: #ffffff;
  min-width: 200px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 10000; /* Much higher z-index */
  border: 1px solid #e1e1e1;
}

/* Show dropdown when open */
.dropdown-menu.open {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 15px 20px;
  color: #00799C;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu a:last-child {
  border-bottom: none;
  border-radius: 0 0 8px 8px;
}

.dropdown-menu a:first-child {
  border-radius: 8px 8px 0 0;
}

.dropdown-menu a:hover {
  background-color: #f0f9fb;
}

.dropdown-menu a,
.dropdown-menu a:hover,
.dropdown-menu a:focus,
.dropdown-menu a:active {
  text-decoration: none !important;
}

.dropdown-menu a .nav-icon {
  vertical-align: middle;
  margin-right: 10px;
  position: relative;
  top: -1px;
}

/* ============================================= */
/* == HOMEPAGE HERO ANIMATIONS == */
/* ============================================= */

body[data-sitemap-state="/"] .site-header {
  transform: translateY(-100%);
  opacity: 0;
}

body[data-sitemap-state="/"] .wyn-hero-main-title,
body[data-sitemap-state="/"] .hero-subheading,
body[data-sitemap-state="/"] .btn-hero-cta {
  opacity: 0;
  transform: translateY(30px);
}

body[data-sitemap-state="/"] .site-header {
  animation: slideDown 0.8s ease-out 1.8s forwards;
}

body[data-sitemap-state="/"] .wyn-hero-main-title {
  animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

body[data-sitemap-state="/"] .hero-subheading {
  animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

body[data-sitemap-state="/"] .btn-hero-cta {
  animation: fadeInUp 0.8s ease-out 1.3s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body[data-sitemap-state="/"] .hero-bg-image {
  animation: fadeIn 1.2s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.validation-summary.alert-danger {
  margin: 0 0 24px;
  padding: 16px 20px;
  font-family: 'Poppins', sans-serif !important;
  font-size: 14px;
}

.validation-summary.alert-danger .fa {
  margin-right: 8px;
}

.validation-summary.alert-danger .validation-summary-heading {
  font-size: 14px;
  font-weight: 600;
}

.validation-summary.alert-danger ul {
  margin: 8px 0 0;
  padding-left: 24px;
  font-size: 14px;
}

.validation-summary.alert-danger ul li {
  margin-bottom: 2px;
}