/*
Theme Name: Shop Theme
Theme URI: https://www.intheshop.ca/
Author: DKCL
Author URI: https://www.intheshop.ca/
Version: 1.1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Custom styles for In The Shop website */

/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #374151;
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-pulse-slow {
    animation: pulse 3s ease-in-out infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.animate-fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

.breadcrumbs{font-size:.84rem;}

/* Custom Button Styles */
.btn-primary {
    @apply bg-primary hover:bg-secondary text-white px-6 py-3 rounded-lg font-semibold transition-all duration-300 hover:shadow-lg transform hover:-translate-y-0.5;
}

.btn-secondary {
    @apply bg-transparent border-2 border-primary text-primary hover:bg-primary hover:text-white px-6 py-3 rounded-lg font-semibold transition-all duration-300;
}

.btn-accent {
    @apply bg-accent hover:bg-blue-600 text-white px-6 py-3 rounded-lg font-semibold transition-all duration-300 hover:shadow-lg;
}

/* Card Hover Effects */
.card-hover {
    @apply transition-all duration-300 hover:shadow-xl transform hover:-translate-y-2;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #ab1e23, #c12227);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #ab1e23;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6a1316;
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Form Styles */
.form-input {
    @apply w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-transparent transition-all duration-300;
}

.form-input:focus {
    @apply shadow-lg;
}

.form-textarea {
    @apply w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-transparent transition-all duration-300 resize-vertical;
}

.form-select {
    @apply w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-transparent transition-all duration-300 appearance-none bg-white;
}

/* Service Card Styles */
.service-card {
    @apply bg-white rounded-xl shadow-lg overflow-hidden transition-all duration-300 hover:shadow-2xl transform hover:-translate-y-2 hover:scale-105;
}

.service-card:hover .service-icon {
    @apply transform scale-110;
}

.service-icon {
    @apply transition-transform duration-300;
}

/* Testimonial Styles */
.testimonial-card {
    @apply bg-white rounded-xl shadow-lg p-8 transition-all duration-300 hover:shadow-xl transform hover:-translate-y-1;
}

/* Header Styles */
.header-scrolled {
    @apply bg-black bg-opacity-95 backdrop-blur-sm;
}

/* Mobile Menu Styles */
.mobile-menu-enter {
    @apply transform -translate-x-full opacity-0;
}

.mobile-menu-enter-active {
    @apply transform translate-x-0 opacity-100 transition-all duration-300;
}

.mobile-menu-exit {
    @apply transform translate-x-0 opacity-100;
}

.mobile-menu-exit-active {
    @apply transform -translate-x-full opacity-0 transition-all duration-300;
}

/* Hero Section Styles */
.hero-overlay {
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(171,30,35,0.3));
}

/* CTA Section Styles */
.cta-section {
    background: linear-gradient(135deg, #ab1e23, #c12227);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/wp-content/themes/shop/images/call-to-action-before-footer-parralax-img.jpg') center/cover;
    opacity: 0.1;
    z-index: 0;
}

/* Icon Styles */
.icon-primary {
    @apply text-primary;
}

.icon-white {
    @apply text-white;
}

.icon-large {
    @apply text-3xl;
}

.icon-medium {
    @apply text-xl;
}

/* Spacing Utilities */
.section-padding {
    @apply py-16 md:py-20;
}

.container-padding {
    @apply px-4 md:px-6 lg:px-8;
}

/* Text Styles */
.text-gradient {
    background: linear-gradient(135deg, #ab1e23, #c12227);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.heading-large {
    @apply text-4xl md:text-5xl lg:text-6xl font-bold;
}

.heading-medium {
    @apply text-3xl md:text-4xl font-bold;
}

.heading-small {
    @apply text-2xl md:text-3xl font-bold;
}

/* Responsive Images */
.responsive-image {
    @apply w-full h-auto object-cover;
}

/* Lazy Loading */
.lazy {
    @apply opacity-0 transition-opacity duration-300;
}

.lazy.loaded {
    @apply opacity-100;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    .page-break {
        page-break-before: always;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .text-primary {
        color: #000 !important;
    }
    
    .bg-primary {
        background-color: #000 !important;
    }
    
    .border-primary {
        border-color: #000 !important;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles for Accessibility */
.focus-visible:focus {
    @apply outline-none ring-2 ring-primary ring-offset-2;
}

/* Custom Utilities */
.shadow-custom {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.shadow-custom-lg {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Background Patterns */
.bg-pattern-dots {
    background-image: radial-gradient(circle, #e5e7eb 1px, transparent 1px);
    background-size: 20px 20px;
}

.bg-pattern-grid {
    background-image: linear-gradient(#e5e7eb 1px, transparent 1px), linear-gradient(90deg, #e5e7eb 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Custom Components */
.hero-title {
    @apply text-5xl md:text-6xl lg:text-7xl font-bold leading-tight;
}

.section-title {
    @apply text-4xl md:text-5xl font-bold text-center mb-6;
}

.card-title {
    @apply text-2xl font-bold mb-4;
}

/* Interactive Elements */
.interactive:hover {
    @apply transform scale-105 transition-transform duration-300;
}

/* Loading Spinner */
.spinner {
    @apply inline-block w-4 h-4 border-2 border-white border-t-transparent rounded-full animate-spin;
}

/* Success/Error States */
.success {
    @apply bg-green-100 border-green-400 text-green-700;
}

.error {
    @apply bg-red-100 border-red-400 text-red-700;
}

.warning {
    @apply bg-yellow-100 border-yellow-400 text-yellow-700;
}

.info {
    @apply bg-blue-100 border-blue-400 text-blue-700;
}

/* WordPress Content Typography Styles */
/* These styles apply to content generated by WordPress editor in page.php and single.php */

.wp-content-styles,
.entry-content {
    color: #374151;
    line-height: 1.75;
}

/* Headings */
.wp-content-styles h1,
.entry-content h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .wp-content-styles h1,
    .entry-content h1 {
        font-size: 3rem;
    }
}

.wp-content-styles h2,
.entry-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .wp-content-styles h2,
    .entry-content h2 {
        font-size: 2.25rem;
    }
}

.wp-content-styles h3,
.entry-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .wp-content-styles h3,
    .entry-content h3 {
        font-size: 1.875rem;
    }
}

.wp-content-styles h4,
.entry-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .wp-content-styles h4,
    .entry-content h4 {
        font-size: 1.5rem;
    }
}

.wp-content-styles h5,
.entry-content h5 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .wp-content-styles h5,
    .entry-content h5 {
        font-size: 1.25rem;
    }
}

.wp-content-styles h6,
.entry-content h6 {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .wp-content-styles h6,
    .entry-content h6 {
        font-size: 1.125rem;
    }
}

/* Paragraphs */
.wp-content-styles p,
.entry-content p {
    font-size: 1.125rem;
    color: #374151;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.wp-content-styles p:last-child,
.entry-content p:last-child {
    margin-bottom: 0;
}

/* Links */
.wp-content-styles a,
.entry-content a {
    color: #ab1e23;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.wp-content-styles a:hover,
.entry-content a:hover {
    color: #6a1316;
    text-decoration: none;
}

/* Lists */
.wp-content-styles ul,
.entry-content ul {
    list-style-type: disc;
    list-style-position: inside;
    margin-bottom: 1.5rem;
    color: #374151;
    padding-left: 1.5rem;
}

.wp-content-styles ul li {
    margin-bottom: 0.5rem;
}

.wp-content-styles ol,
.entry-content ol {
    list-style-type: decimal;
    list-style-position: inside;
    margin-bottom: 1.5rem;
    color: #374151;
    padding-left: 1.5rem;
}

.wp-content-styles ol li {
    margin-bottom: 0.5rem;
}

.wp-content-styles li,
.entry-content li {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    line-height: 1.75;
}

.wp-content-styles ul ul,
.wp-content-styles ol ol,
.wp-content-styles ul ol,
.wp-content-styles ol ul,
.entry-content ul ul,
.entry-content ol ol,
.entry-content ul ol,
.entry-content ol ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    margin-left: 1rem;
}

/* Blockquotes */
.wp-content-styles blockquote,
.entry-content blockquote {
    border-left: 4px solid #ab1e23;
    background-color: #f9fafb;
    padding-left: 1.5rem;
    padding-right: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #374151;
}

.wp-content-styles blockquote p,
.entry-content blockquote p {
    margin-bottom: 0;
}

.wp-content-styles blockquote cite,
.entry-content blockquote cite {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #4b5563;
    font-style: normal;
}

.wp-content-styles blockquote cite:before,
.entry-content blockquote cite:before {
    content: '— ';
}

/* Tables */
.wp-content-styles table,
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    color: #374151;
}

.wp-content-styles thead,
.entry-content thead {
    background-color: #f3f4f6;
}

.wp-content-styles th,
.entry-content th {
    border: 1px solid #d1d5db;
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 700;
    color: #1f2937;
}

.wp-content-styles td,
.entry-content td {
    border: 1px solid #d1d5db;
    padding: 0.75rem 1rem;
}

.wp-content-styles tbody tr:nth-child(even),
.entry-content tbody tr:nth-child(even) {
    background-color: #f9fafb;
}

.wp-content-styles tbody tr:hover,
.entry-content tbody tr:hover {
    background-color: #f3f4f6;
}

/* Images */
.wp-content-styles img,
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    margin: 1.5rem 0;
}

.wp-content-styles img.alignleft,
.entry-content img.alignleft {
    float: left;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.wp-content-styles img.alignright,
.entry-content img.alignright {
    float: right;
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.wp-content-styles img.aligncenter,
.entry-content img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin: 1.5rem auto;
}

.wp-content-styles .wp-caption,
.entry-content .wp-caption {
    max-width: 100%;
    margin-bottom: 1.5rem;
}

.wp-content-styles .wp-caption img,
.entry-content .wp-caption img {
    margin-bottom: 0.5rem;
}

.wp-content-styles .wp-caption-text,
.entry-content .wp-caption-text {
    font-size: 0.875rem;
    color: #4b5563;
    font-style: italic;
    text-align: center;
}

/* Code */
.wp-content-styles code,
.entry-content code {
    background-color: #f3f4f6;
    color: #ab1e23;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-family: 'Courier New', Courier, monospace;
}

.wp-content-styles pre,
.entry-content pre {
    background-color: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
}

.wp-content-styles pre code,
.entry-content pre code {
    background-color: transparent;
    padding: 0;
    color: #1f2937;
}

/* Horizontal Rules */
.wp-content-styles hr,
.entry-content hr {
    border: 0;
    border-top: 1px solid #d1d5db;
    margin: 2rem 0;
}

/* Strong and Emphasis */
.wp-content-styles strong,
.entry-content strong,
.wp-content-styles b,
.entry-content b {
    font-weight: 700;
    color: #1f2937;
}

.wp-content-styles em,
.entry-content em,
.wp-content-styles i,
.entry-content i {
    font-style: italic;
}

/* Abbreviations */
.wp-content-styles abbr,
.entry-content abbr {
    border-bottom: 1px dotted #9ca3af;
    cursor: help;
}

/* Address */
.wp-content-styles address,
.entry-content address {
    font-style: italic;
    margin-bottom: 1.5rem;
}

/* Definition Lists */
.wp-content-styles dl,
.entry-content dl {
    margin-bottom: 1.5rem;
}

.wp-content-styles dt,
.entry-content dt {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.wp-content-styles dd,
.entry-content dd {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: #374151;
}

/* Page Links */
.wp-content-styles .page-links,
.entry-content .page-links {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.wp-content-styles .page-links a,
.entry-content .page-links a {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    margin: 0 0.25rem;
    background-color: #ab1e23;
    color: #ffffff;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.wp-content-styles .page-links a:hover,
.entry-content .page-links a:hover {
    background-color: #6a1316;
}

.wp-content-styles .page-links span,
.entry-content .page-links span {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    margin: 0 0.25rem;
    background-color: #e5e7eb;
    color: #374151;
    border-radius: 0.5rem;
}

/* WordPress Gallery */
.wp-content-styles .gallery,
.entry-content .gallery {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .wp-content-styles .gallery,
    .entry-content .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .wp-content-styles .gallery,
    .entry-content .gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.wp-content-styles .gallery-item,
.entry-content .gallery-item {
    margin-bottom: 0;
}

.wp-content-styles .gallery-item img,
.entry-content .gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* WordPress Embeds (YouTube, etc.) */
.wp-content-styles .wp-block-embed,
.entry-content .wp-block-embed,
.wp-content-styles iframe,
.entry-content iframe {
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    max-width: 100%;
}

.wp-content-styles .wp-block-embed iframe,
.entry-content .wp-block-embed iframe {
    margin-bottom: 0;
}

/* WordPress Columns */
.wp-content-styles .wp-block-columns,
.entry-content .wp-block-columns {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .wp-content-styles .wp-block-columns,
    .entry-content .wp-block-columns {
        flex-direction: row;
    }
}

.wp-content-styles .wp-block-column,
.entry-content .wp-block-column {
    flex: 1;
}

/* WordPress Buttons */
.wp-content-styles .wp-block-button,
.entry-content .wp-block-button {
    margin-bottom: 1rem;
}

.wp-content-styles .wp-block-button__link,
.entry-content .wp-block-button__link {
    display: inline-block;
    background-color: #ab1e23;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.wp-content-styles .wp-block-button__link:hover,
.entry-content .wp-block-button__link:hover {
    background-color: #6a1316;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* WordPress Pullquotes */
.wp-content-styles .wp-block-pullquote,
.entry-content .wp-block-pullquote {
    border-top: 4px solid #ab1e23;
    border-bottom: 4px solid #ab1e23;
    padding: 1.5rem 0;
    margin: 2rem 0;
    text-align: center;
}

.wp-content-styles .wp-block-pullquote blockquote,
.entry-content .wp-block-pullquote blockquote {
    border: 0;
    background-color: transparent;
    padding: 0;
    margin: 0;
}

/* Responsive Typography Adjustments */
@media (max-width: 768px) {
    .wp-content-styles h1,
    .entry-content h1 {
        font-size: 1.875rem;
    }

    .wp-content-styles h2,
    .entry-content h2 {
        font-size: 1.5rem;
    }

    .wp-content-styles h3,
    .entry-content h3 {
        font-size: 1.25rem;
    }

    .wp-content-styles p,
    .entry-content p {
        font-size: 1rem;
    }

    .wp-content-styles table,
    .entry-content table {
        font-size: 0.875rem;
    }

    .wp-content-styles th,
    .wp-content-styles td,
    .entry-content th,
    .entry-content td {
        padding: 0.5rem;
    }
}

/* Contact Form 7 Styles */
/* Main CF7 Container */
.wpcf7 {
    width: 100%;
}

.wpcf7-form {
    width: 100%;
}

/* Hidden Fields - Keep accessible but hidden visually */
.wpcf7 .hidden-fields-container,
.wpcf7 .screen-reader-response {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.wpcf7 .screen-reader-response ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Form Fields Container */
.wpcf7-form p {
    margin-bottom: 1.5rem;
}

.wpcf7-form p:last-child {
    margin-bottom: 0;
}

/* Labels */
.wpcf7-form label {
    display: block;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

.wpcf7-form label abbr {
    color: #ab1e23;
    text-decoration: none;
    font-weight: 700;
}

/* Form Control Wrapper */
.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    position: relative;
}

/* Text Inputs */
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-tel {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #374151;
    background-color: #ffffff;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.wpcf7-form-control.wpcf7-text:focus,
.wpcf7-form-control.wpcf7-email:focus,
.wpcf7-form-control.wpcf7-tel:focus {
    outline: none;
    border-color: #ab1e23;
    box-shadow: 0 0 0 3px rgba(171, 30, 35, 0.1);
    background-color: #ffffff;
}

.wpcf7-form-control.wpcf7-text:hover,
.wpcf7-form-control.wpcf7-email:hover,
.wpcf7-form-control.wpcf7-tel:hover {
    border-color: #9ca3af;
}

/* Textarea */
.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #374151;
    background-color: #ffffff;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.wpcf7-form-control.wpcf7-textarea:focus {
    outline: none;
    border-color: #ab1e23;
    box-shadow: 0 0 0 3px rgba(171, 30, 35, 0.1);
    background-color: #ffffff;
}

.wpcf7-form-control.wpcf7-textarea:hover {
    border-color: #9ca3af;
}

/* Select Dropdown */
.wpcf7-form-control.wpcf7-select {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-right: 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #374151;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.wpcf7-form-control.wpcf7-select:focus {
    outline: none;
    border-color: #ab1e23;
    box-shadow: 0 0 0 3px rgba(171, 30, 35, 0.1);
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%23ab1e23' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
}

.wpcf7-form-control.wpcf7-select:hover {
    border-color: #9ca3af;
}

.wpcf7-form-control.wpcf7-select option {
    padding: 0.5rem;
    color: #374151;
    background-color: #ffffff;
}

/* Submit Button */
.wpcf7-form-control.wpcf7-submit {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    color: #ffffff;
    background-color: #ab1e23;
    border: 2px solid #ab1e23;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    min-width: 150px;
}

.wpcf7-form-control.wpcf7-submit:hover {
    background-color: #6a1316;
    border-color: #6a1316;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.wpcf7-form-control.wpcf7-submit:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(171, 30, 35, 0.3);
}

.wpcf7-form-control.wpcf7-submit:active {
    transform: translateY(0);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.wpcf7-form-control.wpcf7-submit.has-spinner {
    position: relative;
    padding-right: 3rem;
}

/* Spinner */
.wpcf7-spinner {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: wpcf7-spin 0.6s linear infinite;
    opacity: 0;
    pointer-events: none;
}

.wpcf7-submit.has-spinner .wpcf7-spinner {
    opacity: 1;
}

@keyframes wpcf7-spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* Validation States */
.wpcf7-form-control.wpcf7-not-valid {
    border-color: #dc2626;
    background-color: #fef2f2;
}

.wpcf7-form-control.wpcf7-not-valid:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.wpcf7-form-control.wpcf7-validates-as-required {
    border-left: 3px solid #ab1e23;
}

/* Validation Error Messages */
.wpcf7-not-valid-tip {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #dc2626;
    font-weight: 500;
}

/* Response Output Messages */
.wpcf7-response-output {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    border: 2px solid;
}

.wpcf7-response-output[aria-hidden="true"] {
    display: none;
}

/* Success Message */
.wpcf7-mail-sent-ok {
    color: #065f46;
    background-color: #d1fae5;
    border-color: #10b981;
}

.wpcf7-mail-sent-ok::before {
    content: "✓ ";
    font-weight: 700;
    margin-right: 0.5rem;
}

/* Error Message */
.wpcf7-validation-errors,
.wpcf7-mail-sent-ng,
.wpcf7-aborted {
    color: #991b1b;
    background-color: #fee2e2;
    border-color: #dc2626;
}

.wpcf7-validation-errors::before,
.wpcf7-mail-sent-ng::before,
.wpcf7-aborted::before {
    content: "⚠ ";
    font-weight: 700;
    margin-right: 0.5rem;
}

/* Spam Message */
.wpcf7-spam-blocked {
    color: #92400e;
    background-color: #fef3c7;
    border-color: #f59e0b;
}

.wpcf7-spam-blocked::before {
    content: "⚠ ";
    font-weight: 700;
    margin-right: 0.5rem;
}

/* Acceptance Checkbox */
.wpcf7-form-control.wpcf7-acceptance {
    width: auto;
    height: 1.25rem;
    width: 1.25rem;
    margin-right: 0.5rem;
    cursor: pointer;
    accent-color: #ab1e23;
}

.wpcf7-form-control.wpcf7-acceptance:checked {
    accent-color: #ab1e23;
}

/* Radio Buttons */
.wpcf7-form-control.wpcf7-radio {
    width: auto;
    height: 1.25rem;
    width: 1.25rem;
    margin-right: 0.5rem;
    cursor: pointer;
    accent-color: #ab1e23;
}

.wpcf7-form-control.wpcf7-radio:checked {
    accent-color: #ab1e23;
}

.wpcf7-radio-label {
    display: inline-flex;
    align-items: center;
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
}

/* Checkboxes */
.wpcf7-form-control.wpcf7-checkbox {
    width: auto;
    height: 1.25rem;
    width: 1.25rem;
    margin-right: 0.5rem;
    cursor: pointer;
    accent-color: #ab1e23;
}

.wpcf7-form-control.wpcf7-checkbox:checked {
    accent-color: #ab1e23;
}

.wpcf7-checkbox-label {
    display: inline-flex;
    align-items: center;
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
}

/* File Upload */
.wpcf7-form-control.wpcf7-file {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #374151;
    background-color: #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.wpcf7-form-control.wpcf7-file:focus {
    outline: none;
    border-color: #ab1e23;
    box-shadow: 0 0 0 3px rgba(171, 30, 35, 0.1);
}

.wpcf7-form-control.wpcf7-file:hover {
    border-color: #9ca3af;
}

/* Date Input */
.wpcf7-form-control.wpcf7-date {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #374151;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.wpcf7-form-control.wpcf7-date:focus {
    outline: none;
    border-color: #ab1e23;
    box-shadow: 0 0 0 3px rgba(171, 30, 35, 0.1);
}

.wpcf7-form-control.wpcf7-date:hover {
    border-color: #9ca3af;
}

/* Number Input */
.wpcf7-form-control.wpcf7-number {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #374151;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.wpcf7-form-control.wpcf7-number:focus {
    outline: none;
    border-color: #ab1e23;
    box-shadow: 0 0 0 3px rgba(171, 30, 35, 0.1);
}

.wpcf7-form-control.wpcf7-number:hover {
    border-color: #9ca3af;
}

/* Quiz Field */
.wpcf7-form-control.wpcf7-quiz {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #374151;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.wpcf7-form-control.wpcf7-quiz:focus {
    outline: none;
    border-color: #ab1e23;
    box-shadow: 0 0 0 3px rgba(171, 30, 35, 0.1);
}

.wpcf7-form-control.wpcf7-quiz:hover {
    border-color: #9ca3af;
}

/* Responsive Form Styles */
@media (max-width: 768px) {
    .wpcf7-form-control.wpcf7-text,
    .wpcf7-form-control.wpcf7-email,
    .wpcf7-form-control.wpcf7-tel,
    .wpcf7-form-control.wpcf7-textarea,
    .wpcf7-form-control.wpcf7-select {
        font-size: 16px; /* Prevent zoom on iOS */
    }

    .wpcf7-form-control.wpcf7-submit {
        width: 100%;
        min-width: auto;
    }

    .wpcf7-radio-label,
    .wpcf7-checkbox-label {
        display: flex;
        margin-right: 0;
        margin-bottom: 0.75rem;
    }
}

/* Disabled State */
.wpcf7-form-control:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #f3f4f6;
}

/* Readonly State */
.wpcf7-form-control[readonly] {
    background-color: #f9fafb;
    cursor: default;
}

/* Placeholder Styling */
.wpcf7-form-control::placeholder {
    color: #9ca3af;
    opacity: 1;
}

.wpcf7-form-control::-webkit-input-placeholder {
    color: #9ca3af;
}

.wpcf7-form-control::-moz-placeholder {
    color: #9ca3af;
    opacity: 1;
}

.wpcf7-form-control:-ms-input-placeholder {
    color: #9ca3af;
}

/* Focus Visible for Accessibility */
.wpcf7-form-control:focus-visible {
    outline: 2px solid #ab1e23;
    outline-offset: 2px;
}

/* Loading State */
.wpcf7-form.sending .wpcf7-submit {
    opacity: 0.7;
    cursor: wait;
    pointer-events: none;
}

.wpcf7-form.sending .wpcf7-submit .wpcf7-spinner {
    opacity: 1;
}