/* Cookie Consent Banner Styles - Adventure Design */
/* GDPR Compliant Cookie Consent UI + Contact Form */

/* ============================================ */
/* FLOATING BUTTONS (Contact + Cookie Settings) */
/* ============================================ */

/* Cookie Settings Button - Bottom Button */
.cookie-settings-btn {
    position: fixed;
    bottom: 2.5rem;
    left: 2.5rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2B3E52, #7A8471);
    color: white;
    border: none;
    font-size: 1.35rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(43, 62, 82, 0.3);
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-settings-btn:hover {
    transform: translateY(-4px) rotate(15deg);
    box-shadow: 0 10px 30px rgba(43, 62, 82, 0.4);
    background: linear-gradient(135deg, #7A8471, #2B3E52);
}

.cookie-settings-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(232, 213, 183, 0.3), transparent);
    animation: pulse 2s infinite;
}

/* Contact Button - Above Cookie Button */
.contact-float-btn {
    position: fixed;
    bottom: calc(2.5rem + 56px + 1.25rem); /* base + button height + gap */
    left: 2.5rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E8D5B7, #C8A882);
    color: #2B3E52;
    border: none;
    font-size: 1.35rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(232, 213, 183, 0.4);
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-float-btn:hover {
    transform: translateY(-4px) rotate(-15deg);
    box-shadow: 0 10px 30px rgba(232, 213, 183, 0.5);
    background: linear-gradient(135deg, #C8A882, #E8D5B7);
}

.contact-float-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

/* ============================================ */
/* CONTACT FORM MODAL */
/* ============================================ */

.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(43, 62, 82, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.contact-modal.show {
    opacity: 1;
    visibility: visible;
}

.contact-modal-content {
    background: linear-gradient(145deg, #FFFFFF 0%, #F7F5F2 100%);
    border: 1px solid rgba(232, 213, 183, 0.4);
    border-radius: 20px;
    max-width: 650px;
    width: 100%;
    max-height: none;
    margin: auto;
    box-shadow: 0 20px 60px rgba(43, 62, 82, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.contact-modal.show .contact-modal-content {
    transform: scale(1);
}

.contact-modal-header {
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, rgba(232, 213, 183, 0.1), rgba(247, 245, 242, 0.5));
    border-bottom: 1px solid rgba(232, 213, 183, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 20px 20px 0 0;
}

.contact-modal-header h2 {
    color: #2B3E52;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.02em;
}

.contact-modal-header h2 i {
    background: linear-gradient(135deg, #E8D5B7, #C8A882);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
}

.contact-modal-close {
    background: rgba(43, 62, 82, 0.05);
    border: none;
    color: #2B3E52;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.6rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-modal-close:hover {
    background: rgba(43, 62, 82, 0.1);
    color: #C8A882;
    transform: rotate(90deg);
}

.contact-modal-body {
    padding: 2.5rem;
    overflow: visible;
}

/* Honeypot */
.honeypot-modal {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* Form Styles */
.contact-form-modal {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row-modal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group-modal {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label-modal {
    color: #2B3E52;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
}

.form-input-modal,
.form-select-modal,
.form-textarea-modal {
    padding: 0.875rem 1rem;
    border: 2px solid rgba(232, 213, 183, 0.4);
    border-radius: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    background: white;
    color: #2B3E52;
    transition: all 0.3s ease;
}

.form-input-modal:focus,
.form-select-modal:focus,
.form-textarea-modal:focus {
    outline: none;
    border-color: #C8A882;
    box-shadow: 0 0 0 3px rgba(232, 213, 183, 0.2);
}

.form-textarea-modal {
    min-height: 120px;
    max-height: 300px;
    resize: vertical;
}

.form-select-modal {
    cursor: pointer;
}

/* Message Display */
.contact-message {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
}

.contact-message.success {
    background: rgba(76, 175, 80, 0.1);
    border: 2px solid #4CAF50;
    color: #2E7D32;
}

.contact-message.success i {
    color: #4CAF50;
    font-size: 1.25rem;
}

.contact-message.error {
    background: rgba(244, 67, 54, 0.1);
    border: 2px solid #f44336;
    color: #C62828;
}

.contact-message.error i {
    color: #f44336;
    font-size: 1.25rem;
}

/* Modal Footer */
.contact-modal-footer {
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, rgba(247, 245, 242, 0.5), rgba(232, 213, 183, 0.1));
    border-top: 1px solid rgba(232, 213, 183, 0.3);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    border-radius: 0 0 20px 20px;
}

.contact-btn-modal {
    padding: 0.85rem 1.75rem;
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    min-width: 120px;
}

.contact-btn-modal i {
    font-size: 1rem;
}

.contact-btn-submit {
    background: linear-gradient(135deg, #E8D5B7, #C8A882);
    color: #2B3E52;
    box-shadow: 0 4px 12px rgba(232, 213, 183, 0.3);
}

.contact-btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.contact-btn-submit:hover::before {
    left: 100%;
}

.contact-btn-submit:hover {
    background: linear-gradient(135deg, #C8A882, #E8D5B7);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(232, 213, 183, 0.4);
}

.contact-btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.contact-btn-cancel {
    background: white;
    color: #2B3E52;
    border: 2px solid rgba(43, 62, 82, 0.2);
    box-shadow: 0 2px 8px rgba(43, 62, 82, 0.08);
}

.contact-btn-cancel:hover {
    background: #2B3E52;
    color: white;
    border-color: #2B3E52;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(43, 62, 82, 0.2);
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(43, 62, 82, 0.3);
    border-top-color: #2B3E52;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* ============================================ */
/* COOKIE CONSENT BANNER */
/* ============================================ */
.cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 245, 242, 0.95));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(232, 213, 183, 0.4);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(43, 62, 82, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    z-index: 10000;
    transform: translateY(150%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .cookie-consent-content {
        gap: 1.25rem;
    }
}

.cookie-consent-text {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
    min-width: 300px;
}

.cookie-consent-text > i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #2B3E52, #7A8471);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0.2rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(43, 62, 82, 0.1));
}

.cookie-consent-text h3 {
    color: #2B3E52;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
}

.cookie-consent-text p {
    color: #212529;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-consent-text a {
    color: #2B3E52;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.cookie-consent-text a:hover {
    color: #4A6741;
}

.cookie-consent-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Cookie Buttons */
.cookie-btn {
    padding: 0.85rem 1.75rem;
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    min-width: 120px;
}

@media (max-width: 1024px) {
    .cookie-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        min-width: 110px;
    }
}

.cookie-btn i {
    font-size: 1rem;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #2B3E52, #7A8471);
    color: white;
    box-shadow: 0 4px 12px rgba(43, 62, 82, 0.2);
}

.cookie-btn-accept::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.cookie-btn-accept:hover::before {
    left: 100%;
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #7A8471, #2B3E52);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(43, 62, 82, 0.35);
}

.cookie-btn-reject {
    background: white;
    color: #2B3E52;
    border: 2px solid rgba(43, 62, 82, 0.2);
    box-shadow: 0 2px 8px rgba(43, 62, 82, 0.08);
}

.cookie-btn-reject:hover {
    background: #2B3E52;
    color: white;
    border-color: #2B3E52;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(43, 62, 82, 0.2);
}

.cookie-btn-settings {
    background: linear-gradient(135deg, rgba(232, 213, 183, 0.3), rgba(200, 168, 130, 0.2));
    color: #2B3E52;
    border: 2px solid rgba(232, 213, 183, 0.5);
    box-shadow: 0 2px 8px rgba(232, 213, 183, 0.2);
}

.cookie-btn-settings:hover {
    background: linear-gradient(135deg, rgba(232, 213, 183, 0.5), rgba(200, 168, 130, 0.3));
    border-color: #C8A882;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(232, 213, 183, 0.35);
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(43, 62, 82, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: hidden;
}

.cookie-settings-modal.show {
    opacity: 1;
}

.cookie-settings-content {
    background: linear-gradient(145deg, #FFFFFF 0%, #F7F5F2 100%);
    border: 1px solid rgba(232, 213, 183, 0.4);
    border-radius: 20px;
    max-width: 750px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(43, 62, 82, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cookie-settings-modal.show .cookie-settings-content {
    transform: scale(1);
}

.cookie-settings-header {
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, rgba(232, 213, 183, 0.1), rgba(247, 245, 242, 0.5));
    border-bottom: 1px solid rgba(232, 213, 183, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 20px 20px 0 0;
}

.cookie-settings-header h2 {
    color: #2B3E52;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.02em;
}

.cookie-settings-header h2 i {
    background: linear-gradient(135deg, #2B3E52, #7A8471);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
}

.cookie-settings-close {
    background: rgba(43, 62, 82, 0.05);
    border: none;
    color: #2B3E52;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.6rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-settings-close:hover {
    background: rgba(43, 62, 82, 0.1);
    color: #7A8471;
    transform: rotate(90deg);
}

.cookie-settings-body {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-category {
    margin-bottom: 0;
    padding: 1.75rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(247, 245, 242, 0.7));
    border-radius: 12px;
    border: 1px solid rgba(232, 213, 183, 0.3);
    box-shadow: 0 2px 8px rgba(43, 62, 82, 0.05);
    transition: all 0.3s ease;
}

.cookie-category:hover {
    border-color: rgba(232, 213, 183, 0.6);
    box-shadow: 0 4px 12px rgba(43, 62, 82, 0.1);
}



.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.cookie-category-header h3 {
    color: #2B3E52;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: -0.01em;
}

.cookie-category-header i {
    color: #E8D5B7;
}

.cookie-required {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.cookie-category p {
    color: #212529;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-details {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.cookie-details li {
    color: #7A8471;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.cookie-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #E8D5B7;
}

.cookie-details li strong {
    color: #2B3E52;
}

/* Cookie Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 30px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(200, 168, 130, 0.4), rgba(232, 213, 183, 0.3));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 30px;
    border: 2px solid rgba(200, 168, 130, 0.3);
    box-shadow: inset 0 2px 4px rgba(43, 62, 82, 0.1);
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 2px;
    background: linear-gradient(135deg, #ffffff, #f7f5f2);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(43, 62, 82, 0.2);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: linear-gradient(135deg, #2B3E52, #7A8471);
    border-color: transparent;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 10px rgba(43, 62, 82, 0.2);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(26px);
    background: linear-gradient(135deg, #ffffff, #E8D5B7);
    box-shadow: 0 2px 8px rgba(43, 62, 82, 0.3);
}

.cookie-settings-footer {
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, rgba(247, 245, 242, 0.5), rgba(232, 213, 183, 0.1));
    border-top: 1px solid rgba(232, 213, 183, 0.3);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    border-radius: 0 0 20px 20px;
}

.cookie-btn-secondary {
    background: white;
    color: #2B3E52;
    border: 2px solid rgba(43, 62, 82, 0.2);
    box-shadow: 0 2px 8px rgba(43, 62, 82, 0.08);
}

.cookie-btn-secondary:hover {
    background: #2B3E52;
    color: white;
    border-color: #2B3E52;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(43, 62, 82, 0.2);
}



/* Cookie Notification */
.cookie-notification {
    position: fixed;
    top: 100px;
    right: 2rem;
    background: linear-gradient(135deg, #FFFFFF, #F7F5F2);
    border: 2px solid #E8D5B7;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 5px 20px rgba(43, 62, 82, 0.2);
    z-index: 10002;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.cookie-notification.show {
    transform: translateX(0);
}

.cookie-notification i {
    font-size: 1.25rem;
}

.cookie-notification.success i {
    color: #4CAF50;
}

.cookie-notification.info i {
    color: #2196F3;
}

.cookie-notification span {
    color: #2B3E52;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
}

/* Responsive Design */

/* Large Tablets & Small Laptops - iPad Pro 12.9" (1024px - 1366px) */
@media (max-width: 1366px) and (min-width: 1025px) {
    .cookie-consent-banner {
        padding: 1.75rem;
        max-width: 1100px;
    }
    
    .cookie-settings-content {
        max-width: 700px;
    }
}

/* Tablets - iPad, iPad Air, iPad Pro 11" (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    /* Floating Buttons - SAME SIZE & CONSISTENT GAP */
    .cookie-settings-btn {
        bottom: 2.25rem;
        left: 2.25rem;
        width: 54px;
        height: 54px;
        font-size: 1.3rem;
    }
    
    .contact-float-btn {
        bottom: calc(2.25rem + 54px + 1.125rem); /* base + button height + gap */
        left: 2.25rem;
        width: 54px;
        height: 54px;
        font-size: 1.3rem;
    }
    
    .cookie-consent-banner {
        padding: 1.5rem;
        bottom: 20px;
        left: 20px;
        right: 20px;
    }
    
    .cookie-consent-text h3 {
        font-size: 1.25rem;
    }
    
    .cookie-consent-text p {
        font-size: 0.95rem;
    }
    
    .cookie-settings-modal {
        padding: 2rem;
    }
    
    .cookie-settings-content {
        max-width: 650px;
    }
    
    .cookie-settings-header {
        padding: 1.75rem 2rem;
    }
    
    .cookie-settings-header h2 {
        font-size: 1.6rem;
    }
    
    .cookie-settings-body {
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .cookie-category {
        padding: 1.5rem;
    }
    
    .cookie-category-header h3 {
        font-size: 1.1rem;
    }
    
    .cookie-category p {
        font-size: 0.95rem;
    }
    
    .cookie-settings-footer {
        padding: 1.75rem 2rem;
    }
    
    .cookie-btn {
        padding: 0.8rem 1.6rem;
        font-size: 0.95rem;
    }
    
    /* Contact Modal */
    .contact-modal-header {
        padding: 1.75rem 2rem;
    }
    
    .contact-modal-header h2 {
        font-size: 1.6rem;
    }
    
    .contact-modal-body {
        padding: 2rem;
    }
    
    .contact-modal-footer {
        padding: 1.75rem 2rem;
    }
}

/* Small Tablets & Large Phones - iPad Mini, tablets in portrait (600px - 768px) */
@media (max-width: 768px) and (min-width: 601px) {
    /* Floating Buttons - SAME SIZE & CONSISTENT GAP */
    .cookie-settings-btn {
        bottom: 2rem;
        left: 2rem;
        width: 52px;
        height: 52px;
        font-size: 1.25rem;
    }
    
    .contact-float-btn {
        bottom: calc(2rem + 52px + 1rem); /* base + button height + gap */
        left: 2rem;
        width: 52px;
        height: 52px;
        font-size: 1.25rem;
    }
    
    .cookie-consent-banner {
        padding: 1.35rem;
        bottom: 18px;
        left: 18px;
        right: 18px;
        border-radius: 14px;
    }

    .cookie-consent-content {
        gap: 1.35rem;
    }

    .cookie-consent-text {
        min-width: auto;
    }
    
    .cookie-consent-text > i {
        font-size: 2.2rem;
    }
    
    .cookie-consent-text h3 {
        font-size: 1.2rem;
    }

    .cookie-consent-text p {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .cookie-consent-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .cookie-btn {
        flex: 1 1 calc(50% - 0.375rem);
        min-width: 0;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .cookie-btn-settings {
        flex: 1 1 100%;
    }

    .cookie-settings-modal {
        padding: 1.75rem;
    }
    
    .cookie-settings-content {
        border-radius: 18px;
        max-height: calc(100vh - 3.5rem);
    }

    .cookie-settings-header {
        padding: 1.5rem 1.75rem;
    }
    
    .cookie-settings-header h2 {
        font-size: 1.45rem;
    }

    .cookie-settings-body {
        padding: 1.75rem;
        gap: 1.35rem;
    }
    
    .cookie-category {
        padding: 1.35rem;
    }
    
    .cookie-category p {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .cookie-settings-footer {
        padding: 1.5rem 1.75rem;
        gap: 0.875rem;
    }

    .cookie-settings-footer .cookie-btn {
        flex: 1 1 calc(50% - 0.4375rem);
    }

    .cookie-notification {
        right: 1.75rem;
        left: 1.75rem;
        top: 95px;
        padding: 0.9rem 1.3rem;
    }
    
    /* Contact Modal */
    .contact-modal {
        padding: 1.75rem;
    }
    
    .contact-modal-content {
        border-radius: 18px;
        max-height: calc(100vh - 3.5rem);
    }
    
    .contact-modal-header {
        padding: 1.5rem 1.75rem;
    }
    
    .contact-modal-header h2 {
        font-size: 1.45rem;
    }
    
    .contact-modal-body {
        padding: 1.75rem;
    }
    
    .contact-modal-footer {
        padding: 1.5rem 1.75rem;
    }
    
    .form-row-modal {
        gap: 0.875rem;
    }
}

/* Phones & Small Tablets in Portrait (480px - 600px) */
@media (max-width: 768px) {
    /* Floating Buttons - SAME SIZE & CONSISTENT GAP */
    .cookie-settings-btn {
        bottom: 1.5rem;
        left: 1.5rem;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .contact-float-btn {
        bottom: calc(1.5rem + 50px + 0.875rem); /* base + button height + gap */
        left: 1.5rem;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .cookie-consent-banner {
        padding: 1.25rem;
        bottom: 15px;
        left: 15px;
        right: 15px;
        border-radius: 12px;
    }

    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
    }

    .cookie-consent-text {
        min-width: auto;
        text-align: left;
    }
    
    .cookie-consent-text > i {
        font-size: 2rem;
    }

    .cookie-consent-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: stretch;
    }

    .cookie-btn {
        flex: 1 1 calc(50% - 0.375rem);
        min-width: 0;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .cookie-btn-settings {
        flex: 1 1 100%;
    }

    .cookie-settings-modal {
        padding: 1.5rem;
        align-items: flex-start;
    }
    
    .cookie-settings-content {
        margin-top: 1rem;
        border-radius: 16px;
        max-height: calc(100vh - 3rem);
    }

    .cookie-settings-header {
        padding: 1.25rem 1.5rem;
    }
    
    .cookie-settings-header h2 {
        font-size: 1.35rem;
    }

    .cookie-settings-body {
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }
    
    .cookie-category {
        padding: 1.25rem;
    }
    
    .cookie-category p {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .cookie-settings-footer {
        padding: 1.25rem 1.5rem;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .cookie-settings-footer .cookie-btn {
        flex: 1 1 calc(50% - 0.375rem);
        min-width: 0;
    }

    .cookie-notification {
        right: 1.5rem;
        left: 1.5rem;
        top: 90px;
        padding: 0.85rem 1.15rem;
    }

    .cookie-consent-text h3 {
        font-size: 1.15rem;
    }

    .cookie-consent-text p {
        font-size: 0.9rem;
        line-height: 1.55;
    }
    
    /* Contact Modal */
    .contact-modal {
        padding: 0.5rem;
        align-items: flex-start;
    }
    
    .contact-modal-content {
        margin: 1rem auto 2rem;
        border-radius: 16px;
        max-height: none;
        width: calc(100% - 1rem);
    }
    
    .contact-modal-header {
        padding: 1.25rem 1.5rem;
    }
    
    .contact-modal-header h2 {
        font-size: 1.35rem;
    }
    
    .contact-modal-body {
        padding: 1.5rem;
    }
    
    .contact-modal-footer {
        padding: 1.25rem 1.5rem;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .contact-btn-modal {
        flex: 1 1 calc(50% - 0.375rem);
        min-width: 0;
        min-height: 48px;
    }
    
    .form-row-modal {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-form-modal {
        gap: 1.25rem;
    }
    
    .form-group-modal {
        gap: 0.4rem;
    }
    
    .form-textarea-modal {
        min-height: 100px;
        max-height: 200px;
    }
}

@media (max-width: 480px) {
    /* Floating Buttons - SAME SIZE & CONSISTENT GAP */
    .cookie-settings-btn {
        bottom: 1.25rem;
        left: 1.25rem;
        width: 48px;
        height: 48px;
        font-size: 1.15rem;
    }
    
    .contact-float-btn {
        bottom: calc(1.25rem + 48px + 0.75rem); /* base + button height + gap */
        left: 1.25rem;
        width: 48px;
        height: 48px;
        font-size: 1.15rem;
    }
    
    .cookie-consent-banner {
        padding: 1.25rem;
        bottom: 10px;
        left: 10px;
        right: 10px;
        border-radius: 12px;
    }

    .cookie-consent-content {
        gap: 1rem;
    }

    .cookie-consent-text {
        gap: 0.75rem;
    }

    .cookie-consent-text > i {
        font-size: 1.75rem;
        margin-top: 0;
    }
    
    .cookie-consent-text h3 {
        font-size: 1.05rem;
        margin-bottom: 0.4rem;
    }
    
    .cookie-consent-text p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .cookie-consent-buttons {
        flex-direction: column;
        gap: 0.625rem;
    }

    .cookie-btn {
        flex: 1 1 100%;
        width: 100%;
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
        min-width: 0;
    }
    
    .cookie-btn i {
        font-size: 0.9rem;
    }

    .cookie-settings-modal {
        padding: 1rem;
        align-items: stretch;
    }
    
    .cookie-settings-content {
        border-radius: 12px;
        max-height: calc(100vh - 2rem);
        margin-top: auto;
        margin-bottom: 1rem;
    }

    .cookie-settings-header {
        padding: 1rem 1.25rem;
        border-radius: 12px 12px 0 0;
    }
    
    .cookie-settings-header h2 {
        font-size: 1.15rem;
        gap: 0.5rem;
    }
    
    .cookie-settings-header h2 i {
        font-size: 1.25rem;
    }
    
    .cookie-settings-close {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
        padding: 0.5rem;
    }

    .cookie-settings-body {
        padding: 1.25rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .cookie-category {
        padding: 1rem;
        border-radius: 10px;
    }
    
    .cookie-category-header {
        margin-bottom: 0.75rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .cookie-category-header h3 {
        font-size: 1rem;
        gap: 0.5rem;
    }
    
    .cookie-category p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .cookie-details li {
        font-size: 0.8rem;
        margin: 0.4rem 0;
        padding-left: 1.25rem;
    }
    
    .cookie-required {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }
    
    .cookie-toggle {
        width: 50px;
        height: 26px;
    }
    
    .cookie-toggle-slider:before {
        height: 18px;
        width: 18px;
        left: 3px;
        bottom: 2px;
    }
    
    .cookie-toggle input:checked + .cookie-toggle-slider:before {
        transform: translateX(24px);
    }

    .cookie-settings-footer {
        padding: 1rem 1.25rem;
        flex-direction: column;
        gap: 0.625rem;
    }

    .cookie-settings-footer .cookie-btn {
        width: 100%;
        flex: 1 1 100%;
    }

    .cookie-notification {
        top: 70px;
        right: 1rem;
        left: 1rem;
        padding: 0.75rem 1rem;
        border-radius: 6px;
    }
    
    .cookie-notification i {
        font-size: 1.1rem;
    }
    
    .cookie-notification span {
        font-size: 0.85rem;
    }
    
    /* Contact Modal */
    .contact-modal {
        padding: 0.25rem;
        align-items: flex-start;
    }
    
    .contact-modal-content {
        border-radius: 12px;
        max-height: none;
        margin: 0.5rem auto 2rem;
        width: calc(100% - 0.5rem);
    }
    
    .contact-modal-header {
        padding: 1rem 1.25rem;
        border-radius: 12px 12px 0 0;
    }
    
    .contact-modal-header h2 {
        font-size: 1.15rem;
        gap: 0.5rem;
    }
    
    .contact-modal-header h2 i {
        font-size: 1.25rem;
    }
    
    .contact-modal-close {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
        padding: 0.5rem;
    }
    
    .contact-modal-body {
        padding: 1rem 1.25rem;
    }
    
    .contact-modal-footer {
        padding: 1rem 1.25rem;
        flex-direction: column;
        gap: 0.625rem;
    }
    
    .contact-btn-modal {
        width: 100%;
        min-height: 50px;
        font-size: 0.95rem;
    }
    
    .form-input-modal,
    .form-select-modal,
    .form-textarea-modal {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
    }
    
    .form-textarea-modal {
        min-height: 90px;
        max-height: 180px;
    }
    
    .form-label-modal {
        font-size: 0.9rem;
    }
    
    .contact-form-modal {
        gap: 1rem;
    }
    
    .form-group-modal {
        gap: 0.35rem;
    }
}

@media (max-width: 360px) {
    /* Floating Buttons - SAME SIZE & CONSISTENT GAP */
    .cookie-settings-btn {
        bottom: 1rem;
        left: 1rem;
        width: 42px;
        height: 42px;
        font-size: 1.05rem;
    }
    
    .contact-float-btn {
        bottom: calc(1rem + 42px + 0.625rem); /* base + button height + gap */
        left: 1rem;
        width: 42px;
        height: 42px;
        font-size: 1.05rem;
    }
    
    .cookie-consent-banner {
        padding: 0.875rem;
    }
    
    .cookie-consent-text h3 {
        font-size: 0.95rem;
    }
    
    .cookie-consent-text p {
        font-size: 0.8rem;
    }
    
    .cookie-btn {
        padding: 0.65rem 0.875rem;
        font-size: 0.8rem;
    }
    
    .cookie-settings-header h2 {
        font-size: 1.05rem;
    }
    
    .cookie-category-header h3 {
        font-size: 0.95rem;
    }
    
    .cookie-category p {
        font-size: 0.8rem;
    }
    
    /* Contact Modal */
    .contact-modal-header h2 {
        font-size: 1rem;
    }
    
    .contact-modal-body {
        padding: 0.875rem 1rem;
    }
    
    .contact-modal-footer {
        padding: 0.875rem 1rem;
    }
    
    .contact-btn-modal {
        min-height: 48px;
        font-size: 0.9rem;
    }
    
    .form-label-modal {
        font-size: 0.85rem;
    }
    
    .form-input-modal,
    .form-select-modal,
    .form-textarea-modal {
        padding: 0.7rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .form-textarea-modal {
        min-height: 80px;
        max-height: 160px;
    }
    
    .contact-form-modal {
        gap: 0.875rem;
    }
    
    .form-group-modal {
        gap: 0.3rem;
    }
}

/* Extra Small Devices - iPhone 5/SE and similar (320px) */
@media (max-width: 320px) {
    /* Floating Buttons - SAME SIZE & CONSISTENT GAP */
    .cookie-settings-btn {
        bottom: 0.875rem;
        left: 0.875rem;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .contact-float-btn {
        bottom: calc(0.875rem + 40px + 0.5rem); /* base + button height + gap */
        left: 0.875rem;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .cookie-consent-banner {
        padding: 0.75rem;
        bottom: 5px;
        left: 5px;
        right: 5px;
        border-radius: 10px;
    }
    
    .cookie-consent-text > i {
        font-size: 1.5rem;
    }
    
    .cookie-consent-text h3 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .cookie-consent-text p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .cookie-btn {
        padding: 0.6rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .cookie-settings-modal {
        padding: 0.5rem;
    }
    
    .cookie-settings-content {
        border-radius: 10px;
        max-height: calc(100vh - 1rem);
    }
    
    .cookie-settings-header {
        padding: 0.875rem 1rem;
        border-radius: 10px 10px 0 0;
    }
    
    .cookie-settings-header h2 {
        font-size: 1rem;
        gap: 0.4rem;
    }
    
    .cookie-settings-header h2 i {
        font-size: 1.1rem;
    }
    
    .cookie-settings-close {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
        padding: 0.4rem;
    }
    
    .cookie-settings-body {
        padding: 1rem;
        gap: 0.875rem;
    }
    
    .cookie-category {
        padding: 0.875rem;
        border-radius: 8px;
    }
    
    .cookie-category-header {
        margin-bottom: 0.625rem;
        gap: 0.4rem;
    }
    
    .cookie-category-header h3 {
        font-size: 0.9rem;
        gap: 0.4rem;
        flex: 1;
        line-height: 1.3;
    }
    
    .cookie-category-header h3 i {
        font-size: 0.85rem;
    }
    
    .cookie-category p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .cookie-required {
        font-size: 0.7rem;
        padding: 0.15rem 0.5rem;
    }
    
    .cookie-toggle {
        width: 46px;
        height: 24px;
        flex-shrink: 0;
    }
    
    .cookie-toggle-slider {
        border-width: 1.5px;
    }
    
    .cookie-toggle-slider:before {
        height: 16px;
        width: 16px;
        left: 2px;
        bottom: 2px;
    }
    
    .cookie-toggle input:checked + .cookie-toggle-slider:before {
        transform: translateX(22px);
    }
    
    .cookie-settings-footer {
        padding: 0.875rem 1rem;
        gap: 0.5rem;
    }
    
    .cookie-settings-footer .cookie-btn {
        padding: 0.6rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .cookie-notification {
        top: 60px;
        right: 0.75rem;
        left: 0.75rem;
        padding: 0.625rem 0.875rem;
    }
    
    .cookie-notification i {
        font-size: 1rem;
    }
    
    .cookie-notification span {
        font-size: 0.8rem;
    }
    
    /* Contact Modal - Ultra compact for 320px */
    .contact-modal-content {
        margin: 0.25rem auto 1.5rem;
    }
    
    .contact-modal-header {
        padding: 0.75rem 1rem;
    }
    
    .contact-modal-header h2 {
        font-size: 0.95rem;
    }
    
    .contact-modal-header h2 i {
        font-size: 1rem;
    }
    
    .contact-modal-close {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }
    
    .contact-modal-body {
        padding: 0.75rem 1rem;
    }
    
    .contact-modal-footer {
        padding: 0.75rem 1rem;
    }
    
    .contact-btn-modal {
        min-height: 46px;
        font-size: 0.85rem;
        padding: 0.65rem 1rem;
    }
    
    .form-label-modal {
        font-size: 0.8rem;
    }
    
    .form-input-modal,
    .form-select-modal,
    .form-textarea-modal {
        padding: 0.65rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .form-textarea-modal {
        min-height: 70px;
        max-height: 140px;
    }
    
    .contact-form-modal {
        gap: 0.75rem;
    }
    
    .form-group-modal {
        gap: 0.25rem;
    }
}

/* Landscape Orientation Fixes */

/* iPad Landscape (1024px - 1366px width, height 768px - 1024px) */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
    .cookie-settings-modal {
        padding: 2rem 3rem;
    }
    
    .cookie-settings-content {
        max-width: 800px;
        max-height: 85vh;
    }
}

/* Tablet Landscape (768px - 1023px width) */
@media (min-width: 768px) and (max-width: 1023px) and (orientation: landscape) {
    .cookie-consent-banner {
        padding: 1.25rem 1.75rem;
    }
    
    .cookie-settings-modal {
        padding: 1.5rem 2.5rem;
    }
    
    .cookie-settings-content {
        max-width: 700px;
        max-height: 88vh;
    }
    
    .cookie-settings-header {
        padding: 1.5rem 1.75rem;
    }
    
    .cookie-settings-body {
        padding: 1.5rem 1.75rem;
        gap: 1.25rem;
    }
    
    .cookie-category {
        padding: 1.25rem;
    }
    
    .cookie-settings-footer {
        padding: 1.5rem 1.75rem;
    }
}

/* Phone Landscape (small height) */
@media (max-height: 600px) and (orientation: landscape) {
    /* Floating Buttons - SAME SIZE & CONSISTENT GAP */
    .cookie-settings-btn {
        bottom: 0.75rem;
        left: 0.75rem;
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    
    .contact-float-btn {
        bottom: calc(0.75rem + 44px + 0.625rem); /* base + button height + gap */
        left: 0.75rem;
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    
    .cookie-consent-banner {
        padding: 0.625rem 0.875rem;
        bottom: 5px;
    }
    
    .cookie-consent-content {
        gap: 0.75rem;
    }
    
    .cookie-consent-text > i {
        font-size: 1.35rem;
    }
    
    .cookie-consent-text h3 {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
    
    .cookie-consent-text p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .cookie-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .cookie-settings-modal {
        padding: 0.25rem;
        align-items: stretch;
    }
    
    .cookie-settings-content {
        max-height: calc(100vh - 0.5rem);
        margin: 0;
    }
    
    .cookie-settings-header {
        padding: 0.75rem 1rem;
    }
    
    .cookie-settings-header h2 {
        font-size: 0.95rem;
    }
    
    .cookie-settings-body {
        padding: 0.875rem 1rem;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        overflow-y: auto;
        flex: 1;
    }
    
    .cookie-category {
        padding: 0.75rem;
    }
    
    .cookie-category-header {
        margin-bottom: 0.5rem;
    }
    
    .cookie-category-header h3 {
        font-size: 0.85rem;
    }
    
    .cookie-category p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .cookie-settings-footer {
        padding: 0.75rem 1rem;
    }
    
    .cookie-settings-footer .cookie-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    /* Contact Modal - Landscape Optimization */
    .contact-modal {
        padding: 0.25rem;
        align-items: flex-start;
    }
    
    .contact-modal-content {
        max-height: none;
        margin: 0.25rem auto 1rem;
        border-radius: 10px;
    }
    
    .contact-modal-header {
        padding: 0.625rem 0.875rem;
    }
    
    .contact-modal-header h2 {
        font-size: 0.95rem;
    }
    
    .contact-modal-body {
        padding: 0.75rem 0.875rem;
    }
    
    .contact-form-modal {
        gap: 0.625rem;
    }
    
    .form-group-modal {
        gap: 0.2rem;
    }
    
    .form-row-modal {
        gap: 0.5rem;
        grid-template-columns: 1fr 1fr;
    }
    
    .form-textarea-modal {
        min-height: 60px;
        max-height: 100px;
    }
    
    .contact-modal-footer {
        padding: 0.625rem 0.875rem;
        flex-direction: row;
    }
    
    .contact-btn-modal {
        flex: 1;
        min-height: 42px;
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .cookie-btn {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    .cookie-toggle {
        min-width: 56px;
        min-height: 30px;
    }
    
    .cookie-settings-close {
        min-width: 44px;
        min-height: 44px;
    }
    
    .cookie-settings-btn,
    .contact-float-btn {
        min-width: 56px;
        min-height: 56px;
    }
    
    .contact-btn-modal {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    .contact-modal-close {
        min-width: 44px;
        min-height: 44px;
    }
}

/* High Resolution Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .cookie-consent-banner {
        border-width: 0.5px;
    }
    
    .cookie-category {
        border-width: 0.5px;
    }
    
    .cookie-toggle-slider {
        border-width: 1px;
    }
}

/* iPad Specific Fixes */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 2) {
    
    /* iPad Portrait */
    @supports (orientation: portrait) {
        .cookie-settings-content {
            max-width: 680px;
            max-height: 92vh;
        }
        
        .cookie-settings-body {
            padding: 2rem;
            gap: 1.5rem;
        }
    }
    
    /* iPad Landscape */
    @supports (orientation: landscape) {
        .cookie-settings-content {
            max-width: 750px;
            max-height: 88vh;
        }
    }
}

/* iPad Pro 12.9" Specific */
@media only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1366px) 
  and (-webkit-min-device-pixel-ratio: 2) {
    
    .cookie-settings-content {
        max-width: 850px;
    }
    
    .cookie-settings-body {
        padding: 2.5rem;
        gap: 1.75rem;
    }
    
    .cookie-category {
        padding: 1.75rem;
    }
}

/* Samsung Galaxy Tab & Android Tablets */
@media only screen 
  and (min-device-width: 600px) 
  and (max-device-width: 960px) {
    
    .cookie-settings-modal {
        padding: 1.5rem;
    }
    
    .cookie-settings-content {
        max-width: 700px;
    }
}
