/* ==========================================================================
   IdentiFur — Page Redesign Shared Styles
   Covers: Homepage, How It Works, About, Contact
   ========================================================================== */

/* ---------- Custom properties ---------- */
:root {
    --idf-orange: #E8632B;
    --idf-orange-hover: #d4571f;
    --idf-dark: #1A1A2E;
    --idf-grey-bg: #F7F7F7;
    --idf-white: #FFFFFF;
    --idf-text: #444444;
    --idf-text-light: #666666;
    --idf-green: #28a745;
    --idf-red: #dc3545;
    --idf-radius: 12px;
    --idf-radius-sm: 8px;
}

/* Ensure header nav dropdowns sit above hero sections */
.main-menu-area {
    position: relative;
    z-index: 10;
}

/* ---------- Shared page wrapper ---------- */
.idf-page {
    overflow-x: hidden;
}

/* Footer spacing on redesign pages (this stylesheet only loads on redesign pages) */
.site-footer {
    padding-top: 60px;
}

/* ---------- Eyebrow text (script style) ---------- */
.idf-eyebrow {
    font-family: 'Dancing Script', cursive;
    color: var(--idf-orange);
    font-size: 1.25rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

/* ---------- Section spacing ---------- */
.idf-section {
    padding: 60px 0;
}

.idf-section--grey {
    background-color: var(--idf-grey-bg);
}

/* ---------- Section headings ---------- */
.idf-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--idf-dark);
    margin-bottom: 0.5rem;
}

.idf-section-subtitle {
    font-size: 1.1rem;
    color: var(--idf-text-light);
    margin-bottom: 2rem;
}

/* ---------- Buttons ---------- */
.idf-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
    line-height: 1.5;
}

.idf-btn--primary {
    background-color: var(--idf-orange);
    color: var(--idf-white);
    border-color: var(--idf-orange);
}

.idf-btn--primary:hover {
    background-color: var(--idf-orange-hover);
    border-color: var(--idf-orange-hover);
    color: var(--idf-white);
    text-decoration: none;
}

.idf-btn--outline {
    background-color: transparent;
    color: var(--idf-orange);
    border-color: var(--idf-orange);
}

.idf-btn--outline:hover {
    background-color: var(--idf-orange);
    color: var(--idf-white);
    text-decoration: none;
}

/* ---------- Hero ---------- */
.idf-hero {
    padding: 60px 0 40px;
    position: relative;
}

.idf-hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--idf-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.idf-hero p {
    font-size: 1.05rem;
    color: var(--idf-text);
    line-height: 1.7;
}

/* ---------- Feature / trust strip ---------- */
.idf-trust-strip {
    padding: 40px 0;
}

.idf-trust-item {
    text-align: center;
    padding: 10px 15px;
}

.idf-trust-item i {
    color: var(--idf-orange);
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.idf-trust-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--idf-dark);
    margin-bottom: 2px;
}

.idf-trust-item span {
    font-size: 0.85rem;
    color: var(--idf-text-light);
}

/* ---------- CTA bar ---------- */
.idf-cta-bar {
    background-color: var(--idf-dark);
    padding: 40px 0;
    color: var(--idf-white);
}

.idf-cta-bar .idf-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.idf-cta-bar .idf-cta-icon {
    color: var(--idf-orange);
    font-size: 2.5rem;
    margin-right: 15px;
}

.idf-cta-bar h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--idf-white);
    margin: 0 0 4px;
}

.idf-cta-bar p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.95rem;
}

/* ---------- Cards ---------- */
.idf-card {
    background: var(--idf-white);
    border-radius: var(--idf-radius);
    padding: 30px 25px;
    text-align: center;
    height: 100%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease;
}

.idf-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.idf-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #FFF3ED;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.idf-card-icon i {
    color: var(--idf-orange);
    font-size: 1.5rem;
}

.idf-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--idf-dark);
    margin-bottom: 8px;
}

.idf-card p {
    font-size: 0.9rem;
    color: var(--idf-text-light);
    margin-bottom: 15px;
}

.idf-card-link {
    color: var(--idf-orange);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    border-top: 1px dashed #ddd;
    padding-top: 15px;
    width: 100%;
}

.idf-card-link:hover {
    color: var(--idf-orange-hover);
    text-decoration: none;
}

/* ---------- Image placeholders ---------- */
.idf-img-placeholder {
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.85rem;
    border-radius: var(--idf-radius);
    overflow: hidden;
}

.idf-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =====================================================================
   CONTACT PAGE
   ===================================================================== */

/* Hero — background image with gradient overlay for text readability */
.idf-contact-hero {
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    align-items: center;
    background-color: var(--idf-grey-bg);
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.idf-contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* White gradient from left (text area) to transparent (image area) */
    background: linear-gradient(to right, rgba(255,255,255,0.97) 40%, rgba(255,255,255,0.6) 70%, transparent 100%);
    z-index: 1;
}

.idf-contact-hero .container {
    position: relative;
    z-index: 2;
}

.idf-contact-hero .idf-hero-decor {
    position: absolute;
    top: -40px;
    right: -60px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 60px solid rgba(232, 99, 43, 0.08);
    pointer-events: none;
    z-index: 2;
}

/* Contact form section */
.idf-contact-form-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--idf-dark);
    margin-bottom: 0.5rem;
}

.idf-contact-form-section > .container > .row > .col-lg-7 > p {
    color: var(--idf-text-light);
    margin-bottom: 1.5rem;
}

/* CF7 form styling overrides */
.idf-contact-form-section .wpcf7 input[type="text"],
.idf-contact-form-section .wpcf7 input[type="email"],
.idf-contact-form-section .wpcf7 textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: var(--idf-radius-sm);
    font-size: 0.95rem;
    background: var(--idf-grey-bg);
    transition: border-color 0.2s ease;
}

.idf-contact-form-section .wpcf7 input:focus,
.idf-contact-form-section .wpcf7 textarea:focus {
    border-color: var(--idf-orange);
    outline: none;
}

.idf-contact-form-section .wpcf7 textarea {
    min-height: 120px;
    resize: vertical;
}

.idf-contact-form-section .wpcf7 input[type="submit"] {
    background-color: var(--idf-orange);
    color: var(--idf-white);
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.idf-contact-form-section .wpcf7 input[type="submit"]:hover {
    background-color: var(--idf-orange-hover);
}

/* CF7 form layout — two fields side by side */
.idf-cf7-row {
    display: flex;
    gap: 15px;
}

.idf-cf7-row > div {
    flex: 1;
}

/* Info panel */
.idf-info-panel {
    background-color: var(--idf-grey-bg);
    border-radius: var(--idf-radius);
    padding: 30px;
}

.idf-info-panel h2 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.idf-info-panel > p {
    color: var(--idf-text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.idf-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 12px;
}

.idf-info-item i {
    color: var(--idf-orange);
    font-size: 1.1rem;
    margin-top: 3px;
    min-width: 20px;
}

.idf-info-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--idf-dark);
    margin-bottom: 2px;
}

.idf-info-item span {
    font-size: 0.85rem;
    color: var(--idf-text-light);
}

/* =====================================================================
   ABOUT PAGE
   ===================================================================== */

.idf-about-hero {
    position: relative;
    overflow: hidden;
}

.idf-about-hero p {
    font-size: 1.1rem;
}

.idf-paw-decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}
.idf-paw-decor .fa-paw {
    position: absolute;
    color: var(--idf-orange);
    opacity: 0.1;
}

.idf-circle-img {
    border-radius: 50%;
}

.idf-about-circle-photo {
    display: block;
    width: 340px;
    height: 340px;
    border-radius: 62% 38% 50% 50% / 45% 55% 45% 55%;
    object-fit: cover;
    margin: 0 auto;
}

.idf-about-circle-photo--lg {
    width: 100%;
    max-width: 400px;
    height: 400px;
    border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%;
}

/* Credibility box */
.idf-about-credibility {
    padding: 30px 0;
}

.idf-credibility-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--idf-grey-bg);
    border-radius: var(--idf-radius);
    padding: 20px 25px;
    max-width: 600px;
}

.idf-credibility-box i {
    color: var(--idf-orange);
    font-size: 1.5rem;
    min-width: 30px;
}

.idf-credibility-box p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--idf-text);
}

/* Commitment items */
.idf-commitment-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.idf-commitment-item:last-child {
    border-bottom: none;
}

.idf-commitment-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FFF3ED;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
}

.idf-commitment-icon i {
    color: var(--idf-orange);
    font-size: 1.2rem;
}

.idf-commitment-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--idf-dark);
    margin: 0 0 4px;
}

.idf-commitment-item p {
    font-size: 1.1rem;
    color: var(--idf-text-light);
    margin: 0;
}

/* Testimonial */
.idf-about-testimonial {
    background-color: var(--idf-grey-bg);
}

.idf-cpa-badge {
    width: 140px;
    height: 140px;
    min-width: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 25px;
}
.idf-about-testimonial .d-flex {
    align-items: center !important;
}

.idf-stars i {
    color: var(--idf-orange);
    font-size: 1rem;
    margin-right: 2px;
}

.idf-about-testimonial h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--idf-dark);
    margin: 8px 0;
}

.idf-about-testimonial blockquote {
    font-size: 1.1rem;
    color: var(--idf-text);
    font-style: italic;
    margin: 0 0 8px;
    padding: 0;
    border: none;
    background-color: transparent;
    font-weight: 400;
}

.idf-testimonial-attribution {
    font-size: 0.85rem;
    color: var(--idf-text-light);
    margin-bottom: 4px;
}

.idf-testimonial-link {
    color: var(--idf-orange);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Trust points */
.idf-trust-points {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.idf-trust-point {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: var(--idf-dark);
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.idf-trust-point:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.idf-trust-point i {
    color: var(--idf-orange);
}

/* About CTA */
.idf-about-cta {
    padding: 40px 0 20px;
}

.idf-btn--lg {
    padding: 18px 60px;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.idf-about-cta-sub {
    margin-top: 12px;
    font-size: 1.1rem;
    color: var(--idf-text-light);
}

/* Feature strip (bottom) */
.idf-feature-strip {
    background-color: var(--idf-orange);
    padding: 25px 0;
}

.idf-feature-strip .idf-trust-item {
    color: var(--idf-white);
}

.idf-feature-strip .idf-trust-item i {
    color: var(--idf-white);
}

.idf-feature-strip .idf-trust-item strong {
    color: var(--idf-white);
}

.idf-feature-strip .idf-trust-item span {
    color: rgba(255, 255, 255, 0.85);
}

/* =====================================================================
   HOW IT WORKS PAGE
   ===================================================================== */

.idf-hiw-hero {
    position: relative;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    background-color: var(--idf-grey-bg); /* fallback until image is added */
    min-height: 400px;
    display: flex;
    align-items: center;
}

.idf-hiw-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Solid white covers ~55% to fully protect the col-lg-6 text area */
    background: linear-gradient(to right, rgba(255,255,255,0.97) 50%, rgba(255,255,255,0.5) 75%, transparent 100%);
    z-index: 1;
}

.idf-hiw-hero .container {
    position: relative;
    z-index: 2;
}

.idf-hiw-hero p {
    font-size: 1.1rem;
}

.idf-hiw-lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--idf-dark);
}

/* Step cards */
.idf-step-card {
    text-align: center;
    padding: 25px 15px;
    position: relative;
}

.idf-step-img-wrap {
    position: relative;
    display: block;
    width: 120px;
    margin: 0 auto 15px;
}

.idf-step-img {
    display: block;
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.idf-step-number {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--idf-orange);
    color: var(--idf-white);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.idf-step-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--idf-dark);
    margin-bottom: 8px;
}

.idf-step-card p {
    font-size: 1.1rem;
    color: var(--idf-text-light);
    margin: 0;
}

/* Feature cards (HIW strip) */
.idf-trust-strip--features {
    padding: 40px 0;
    background: var(--idf-white);
}

.idf-feature-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--idf-grey-bg);
    border-radius: var(--idf-radius-sm);
    padding: 20px;
    height: 100%;
}

.idf-feature-card i {
    color: var(--idf-orange);
    font-size: 2.2rem;
    flex-shrink: 0;
}

.idf-feature-card strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--idf-dark);
    line-height: 1.3;
}

.idf-feature-card span {
    font-size: 1rem;
    color: var(--idf-text-light);
}

/* Size guide */
.idf-size-chart-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--idf-radius);
}

/* CTA bar orange variant */
.idf-cta-bar--orange {
    background-color: var(--idf-dark);
}

.idf-btn--on-dark {
    background-color: var(--idf-white);
    color: var(--idf-orange);
    border-color: var(--idf-white);
}

.idf-btn--on-dark:hover {
    background-color: var(--idf-orange);
    color: var(--idf-white);
    border-color: var(--idf-orange);
}

/* =====================================================================
   HOMEPAGE
   ===================================================================== */

.idf-hero p.idf-home-tagline {
    font-family: 'Dancing Script', cursive;
    color: var(--idf-orange);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.idf-home-sub-cta {
    margin-top: 1rem;
}

/* Home hero badge strip — orange bar */
.idf-home-badges {
    background-color: var(--idf-orange);
    padding: 20px 0;
    margin-top: 40px;
    border-top: none;
    border-bottom: none;
}

.idf-home-badges .idf-trust-item {
    color: var(--idf-white);
}

.idf-home-badges .idf-trust-item i {
    color: var(--idf-white);
}

.idf-home-badges .idf-trust-item strong {
    color: var(--idf-white);
}

/* Hero video */
.idf-hero-video {
    border-radius: var(--idf-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.idf-hero-video__player {
    display: block;
    width: 100%;
    height: auto;
    background: #000;
    cursor: pointer;
}

/* Force pointer on native video controls (Chromium/WebKit) */
.idf-hero-video__player::-webkit-media-controls-panel,
.idf-hero-video__player::-webkit-media-controls-play-button,
.idf-hero-video__player::-webkit-media-controls-overlay-play-button {
    cursor: pointer;
}

/* Media area */
.idf-home-media {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.idf-video-placeholder {
    flex: 1;
}

.idf-phone-mockups {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* Eyebrow uppercase variant (not cursive) */
.idf-eyebrow-upper {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--idf-orange);
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 0.75rem;
}

/* Bold feature list */
.idf-bold-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.idf-bold-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 1rem;
}

.idf-bold-list li i {
    color: var(--idf-orange);
    font-size: 1.4rem;
}

/* Bold section heading (reusable across pages) */
.idf-heading-bold {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.25rem;
}

.idf-home-comparison .col-lg-4 p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.idf-home-comparison .idf-bold-list li {
    font-size: 1.1rem;
}

.idf-home-pricing .col-lg-5 p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.idf-compare-table-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--idf-orange);
    margin-bottom: 1rem;
}

/* Comparison table */
.idf-compare-table-wrapper {
    overflow-x: auto;
    background: var(--idf-white);
    border-radius: var(--idf-radius);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 20px 20px 0;
}

.idf-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    border: none;
    margin-bottom: 0;
}

.idf-compare-table th,
.idf-compare-table td {
    padding: 4px 14px;
    text-align: center;
    border: none;
}

.idf-compare-table tbody td {
    border-bottom: 1px solid #e8e8e8;
}

.idf-compare-table tbody td:first-child {
    border-bottom: 1px solid #e8e8e8;
}

.idf-compare-table th:first-child,
.idf-compare-table td:first-child {
    text-align: left;
}

.idf-compare-table td:first-child {
    font-weight: 600;
    color: var(--idf-dark);
}

.idf-compare-table th {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--idf-dark);
    text-transform: uppercase;
    padding-top: 15px;
    padding-bottom: 15px;
    vertical-align: bottom;
}

img.idf-compare-product-img {
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 5px;
}

/* Highlight the IDENTIFUR column */
.idf-compare-highlight {
    color: var(--idf-orange) !important;
}

.idf-compare-table td:last-child,
.idf-compare-table th:last-child {
    background-color: #FFF8F5;
}

.idf-compare-table thead tr th {
    border-bottom: 2px solid #e0e0e0;
}

.idf-compare-table tbody tr:last-child td {
    border-bottom: none;
}

.idf-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    background-color: var(--idf-green);
    color: var(--idf-white);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
}

.idf-x {
    color: var(--idf-red);
    font-size: 1.5rem;
    font-weight: 700;
}

.idf-limited {
    color: var(--idf-orange);
    font-size: 0.8rem;
    font-weight: 600;
}

.idf-compare-footnote {
    font-size: 0.8rem;
    color: #666;
    margin-top: 10px;
}

/* Check list (pricing) */
.idf-check-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.idf-check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1.1rem;
    color: var(--idf-text);
}

.idf-check-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.idf-check-list li i {
    color: var(--idf-orange);
    font-size: 1.5rem;
    margin-right: 1rem;
    display: inline-block;
    width: 1.2rem;
}

.idf-pricing-note {
    font-size: 0.95rem;
    color: var(--idf-text-light);
    margin-top: 1rem;
}

.idf-pricing-img {
    display: block;
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 15px;
}

/* Pricing cards */
a.idf-pricing-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

a.idf-pricing-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

a.idf-pricing-card:hover .idf-btn--primary {
    background-color: var(--idf-white);
    color: var(--idf-orange);
    border-color: var(--idf-orange);
}

.idf-pricing-card {
    background: var(--idf-white);
    border: 2px solid #eee;
    border-radius: var(--idf-radius);
    padding: 30px 25px;
    text-align: center;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.idf-pricing-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--idf-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.idf-pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--idf-dark);
    margin-bottom: 10px;
}

.idf-pricing-tagline {
    font-size: 1rem;
    color: var(--idf-text-light);
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.idf-pricing-includes {
    font-size: 0.95rem;
    color: var(--idf-text-light);
    margin-bottom: 20px;
}

.idf-pricing-extra {
    font-size: 1rem;
    font-weight: 700;
    color: var(--idf-green);
    margin-bottom: 15px;
}

.idf-pricing-card .idf-btn {
    margin-top: auto;
}

/* Popular card variant */
.idf-pricing-card--popular {
    border-color: var(--idf-orange);
}

.idf-pricing-badge {
    position: absolute;
    top: -1px;
    right: 20px;
    background: var(--idf-orange);
    color: var(--idf-white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 0 0 var(--idf-radius-sm) var(--idf-radius-sm);
}

/* ==========================================================================
   BLOG PAGE
   ========================================================================== */

/* Blog hero header */
.idf-blog-hero {
    padding: 50px 0 30px;
    background-color: var(--idf-white);
}
.idf-blog-hero h1 {
    margin-bottom: 0;
}

/* Search + filters toolbar */
.idf-blog-toolbar {
    padding: 0 0 40px;
    background-color: var(--idf-white);
}

.idf-blog-search {
    position: relative;
    max-width: 100%;
    margin-left: auto;
}
.idf-blog-search i.fa-search {
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 1em;
    display: flex;
    align-items: center;
    color: var(--idf-text-light);
    font-size: 0.9rem;
    line-height: 1;
    z-index: 2;
    pointer-events: none;
}
.idf-blog-search input,
.idf-blog-search input[type="search"] {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid #ddd;
    border-radius: var(--idf-radius-sm);
    font-size: 1rem;
    color: var(--idf-text);
    background: var(--idf-grey-bg);
    transition: border-color 0.2s;
    margin-bottom: 0;
    height: auto;
    box-shadow: none;
}
.idf-blog-search input:focus,
.idf-blog-search input[type="search"]:focus {
    outline: none;
    border-color: var(--idf-orange);
}

.idf-blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.idf-filter-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--idf-text-light);
    margin-right: 8px;
}
.idf-filter-pill {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--idf-text);
    background: var(--idf-grey-bg);
    text-decoration: none;
    transition: all 0.2s;
}
.idf-filter-pill:hover {
    color: var(--idf-orange);
    text-decoration: none;
}
.idf-filter-pill--active {
    background: var(--idf-orange);
    color: var(--idf-white);
}
.idf-filter-pill--active:hover {
    color: var(--idf-white);
}

/* Featured post (page 1) */
.idf-blog-featured {
    padding: 0 0 40px;
}
.idf-blog-featured__link {
    display: block;
    background: var(--idf-grey-bg);
    border-radius: var(--idf-radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s;
}
.idf-blog-featured__link:hover {
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.idf-blog-featured__img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: var(--idf-radius) 0 0 var(--idf-radius);
}
.idf-blog-featured .col-lg-6:last-child {
    padding: 30px 35px;
}
.idf-blog-featured__title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--idf-dark);
    line-height: 1.3;
    margin-bottom: 12px;
}
.idf-blog-featured__excerpt {
    font-size: 1.05rem;
    color: var(--idf-text);
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Blog card (grid items) */
.idf-blog-card {
    display: flex;
    flex-direction: column;
    background: var(--idf-white);
    border-radius: var(--idf-radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    height: 100%;
    border: 1px solid #eee;
    transition: box-shadow 0.2s, transform 0.2s;
}
.idf-blog-card:hover {
    text-decoration: none;
    color: inherit;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}
.idf-blog-card__img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.idf-blog-card__body {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.idf-blog-card__cat {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--idf-orange);
    margin-bottom: 8px;
}
.idf-blog-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--idf-dark);
    line-height: 1.35;
    margin-bottom: 10px;
}
.idf-blog-card__excerpt {
    font-size: 0.95rem;
    color: var(--idf-text-light);
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}
.idf-blog-card__meta {
    display: flex;
    gap: 18px;
    font-size: 0.85rem;
    color: var(--idf-text-light);
}
.idf-blog-card__meta i {
    margin-right: 5px;
    color: var(--idf-orange);
}

/* Pagination */
.idf-blog-pagination {
    margin-top: 40px;
    text-align: center;
}
.idf-blog-pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
}
.idf-blog-pagination li {
    display: inline-block;
}
.idf-blog-pagination a,
.idf-blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--idf-text);
    background: var(--idf-grey-bg);
    transition: all 0.2s;
}
.idf-blog-pagination a:hover {
    background: var(--idf-orange);
    color: var(--idf-white);
    text-decoration: none;
}
.idf-blog-pagination .current {
    background: var(--idf-orange);
    color: var(--idf-white);
}
.idf-blog-pagination .prev,
.idf-blog-pagination .next {
    width: auto;
    padding: 0 15px;
    border-radius: var(--idf-radius-sm);
}

/* ==========================================================================
   SINGLE POST
   ========================================================================== */

.idf-single-post .idf-post-article {
    padding: 50px 0 40px;
}

.idf-post-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--idf-dark);
    line-height: 1.3;
    margin-bottom: 15px;
}

.idf-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--idf-text-light);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.idf-post-meta i {
    margin-right: 5px;
    color: var(--idf-orange);
}

.idf-post-featured-img {
    width: 100%;
    height: auto;
    border-radius: var(--idf-radius);
    margin-bottom: 35px;
}

.idf-post-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--idf-text);
}
.idf-post-content h2,
.idf-post-content h3,
.idf-post-content h4 {
    color: var(--idf-dark);
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.idf-post-content h2 {
    font-size: 1.6rem;
}
.idf-post-content h3 {
    font-size: 1.3rem;
}
.idf-post-content p {
    margin-bottom: 1.2rem;
}
.idf-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--idf-radius-sm);
    margin: 1rem 0;
}
.idf-post-content ul,
.idf-post-content ol {
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
}
.idf-post-content li {
    margin-bottom: 0.4rem;
}
.idf-post-content blockquote {
    border-left: 4px solid var(--idf-orange);
    background: var(--idf-grey-bg);
    padding: 20px 25px;
    margin: 1.5rem 0;
    border-radius: 0 var(--idf-radius-sm) var(--idf-radius-sm) 0;
    font-style: italic;
    color: var(--idf-text);
}

.idf-post-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: var(--idf-text-light);
}
.idf-post-tags__label {
    font-weight: 700;
    color: var(--idf-dark);
}
.idf-post-tags a {
    color: var(--idf-orange);
    text-decoration: none;
}
.idf-post-tags a:hover {
    text-decoration: underline;
}

.idf-post-nav {
    padding: 0 0 40px;
}
.idf-post-nav__links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}
.idf-post-nav__item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    max-width: 45%;
}
.idf-post-nav__item:hover {
    text-decoration: none;
}
.idf-post-nav__item:hover .idf-post-nav__title {
    color: var(--idf-orange);
}
.idf-post-nav__next {
    text-align: right;
    margin-left: auto;
}
.idf-post-nav__label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--idf-orange);
    margin-bottom: 6px;
}
.idf-post-nav__label i {
    font-size: 0.7rem;
}
.idf-post-nav__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--idf-dark);
    line-height: 1.4;
    transition: color 0.2s;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .idf-hero h1 {
        font-size: 2rem;
    }

    .idf-section {
        padding: 40px 0;
    }

    .idf-cta-bar .idf-cta-content {
        flex-direction: column;
        text-align: center;
    }

    .idf-contact-hero {
        min-height: 300px;
        padding: 50px 0 40px;
    }

    .idf-contact-hero .col-lg-6 {
        max-width: 100%;
    }

    /* Stronger overlay on tablet so text stays readable over background image */
    .idf-contact-hero-overlay {
        background: linear-gradient(to right, rgba(255,255,255,0.97) 55%, rgba(255,255,255,0.75) 100%);
    }

    .idf-contact-hero .idf-hero-decor {
        width: 200px;
        height: 200px;
        border-width: 40px;
        top: -20px;
        right: -40px;
    }

    /* HIW hero — col goes full-width at ≤991px, strengthen overlay */
    .idf-hiw-hero {
        min-height: 320px;
    }

    .idf-hiw-hero-overlay {
        background: linear-gradient(to right, rgba(255,255,255,0.97) 60%, rgba(255,255,255,0.8) 100%);
    }

    .idf-heading-bold {
        font-size: 2rem;
    }

    .idf-home-media {
        flex-direction: column;
    }

    .idf-blog-featured__img {
        border-radius: var(--idf-radius) var(--idf-radius) 0 0;
        height: 280px;
    }

    .idf-blog-filters {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .idf-hero {
        padding: 40px 0 0;
    }

    .idf-hero h1 {
        font-size: 1.75rem;
    }

    .idf-section {
        padding: 30px 0;
    }

    .idf-trust-strip .row > div {
        margin-bottom: 15px;
    }

    .idf-cf7-row {
        flex-direction: column;
        gap: 0;
    }

    .idf-info-panel {
        margin-top: 30px;
    }

    /* Full white overlay on mobile so text is always readable */
    .idf-contact-hero-overlay,
    .idf-hiw-hero-overlay {
        background: rgba(255, 255, 255, 0.93);
    }

    .idf-contact-hero,
    .idf-hiw-hero {
        min-height: auto;
        padding: 40px 0 30px;
    }

    .idf-phone-mockups {
        justify-content: center;
    }

    .idf-pricing-price {
        font-size: 2.5rem;
    }

    .idf-about-testimonial .d-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .idf-cpa-badge {
        margin: 0 auto 15px !important;
    }

    .idf-trust-points {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
    }

    .idf-blog-search {
        max-width: 100%;
    }

    .idf-blog-featured__img {
        height: 220px;
    }

    .idf-blog-featured__title {
        font-size: 1.3rem;
    }

    .idf-blog-card__img {
        height: 180px;
    }

    .idf-post-title {
        font-size: 1.6rem;
    }

    .idf-post-meta {
        gap: 12px;
    }
}


/* ==========================================================================
   LOGIN PAGE
   ========================================================================== */

.idf-login-page {
    padding: 60px 0 80px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: var(--idf-grey-bg);
}

/* Brand / logo */
.idf-login-brand {
    text-align: center;
    margin-bottom: 30px;
}

.idf-login-brand img {
    max-width: 180px;
    height: auto;
}

.idf-login-brand h1 {
    font-size: 1.8rem;
    color: var(--idf-dark);
    margin: 0;
}

/* Card wrapper */
.idf-login-card {
    background: var(--idf-white);
    border-radius: var(--idf-radius);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 40px 35px 30px;
}

/* Override PMPro card — flatten it inside our card */
.idf-login-card .pmpro_card,
.idf-login-card .pmpro_login_wrap {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.idf-login-card .pmpro_card_content {
    padding: 0;
}

/* Card title */
.idf-login-card .pmpro_card_title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--idf-dark);
    margin: 0 0 25px;
    padding: 0;
    text-align: center;
    border: none;
    background: none;
}

/* Message boxes */
.idf-login-card .pmpro_message {
    background: #FFF5F0;
    border: 1px solid rgba(232, 99, 43, 0.2);
    border-radius: var(--idf-radius-sm);
    padding: 14px 18px !important;
    font-size: 0.9rem;
    color: var(--idf-text);
    margin-bottom: 20px;
    line-height: 1.5;
}

.idf-login-card .pmpro_message a {
    color: var(--idf-orange);
    font-weight: 600;
    text-decoration: underline !important;
}

.idf-login-card .pmpro_message a:hover {
    color: #c94f1a;
}

/* Form labels */
.idf-login-card label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--idf-dark);
    margin-bottom: 6px;
}

/* Form inputs */
.idf-login-card input[type="text"],
.idf-login-card input[type="password"],
.idf-login-card input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--idf-radius-sm);
    font-size: 1rem;
    color: var(--idf-text);
    background: var(--idf-grey-bg);
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 0;
    height: auto;
    box-shadow: none;
    -webkit-appearance: none;
}

.idf-login-card input[type="text"]:focus,
.idf-login-card input[type="password"]:focus,
.idf-login-card input[type="email"]:focus {
    border-color: var(--idf-orange);
    box-shadow: 0 0 0 3px rgba(232, 99, 43, 0.1);
    outline: none;
    background: var(--idf-white);
}

/* Field spacing */
.idf-login-card .login-username,
.idf-login-card .login-password {
    margin-bottom: 18px;
}

/* Password field wrapper — relative for toggle */
.idf-login-card .login-password {
    position: relative;
}

/* PMPro password visibility toggle */
.idf-login-card .pmpro_form_field-password-toggle {
    position: absolute;
    right: 12px;
    top: 38px;
    background: none;
    border: none;
    color: var(--idf-text-light);
    cursor: pointer;
    padding: 4px;
    font-size: 0.85rem;
}

.idf-login-card .pmpro_form_field-password-toggle:hover {
    color: var(--idf-orange);
}

/* Remember me */
.idf-login-card .login-remember {
    margin-bottom: 20px;
}

.idf-login-card .login-remember label {
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--idf-text-light);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.idf-login-card .login-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--idf-orange);
    margin: 0;
}

/* Submit button */
.idf-login-card .login-submit {
    margin-bottom: 0;
}

.idf-login-card .login-submit .button,
.idf-login-card .login-submit input[type="submit"] {
    width: 100%;
    padding: 14px 20px;
    background: var(--idf-orange);
    color: var(--idf-white);
    border: none;
    border-radius: var(--idf-radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    letter-spacing: 0.3px;
    text-transform: none;
    line-height: 1.4;
}

.idf-login-card .login-submit .button:hover,
.idf-login-card .login-submit input[type="submit"]:hover {
    background: #c94f1a;
    transform: translateY(-1px);
}

.idf-login-card .login-submit .button:active,
.idf-login-card .login-submit input[type="submit"]:active {
    transform: translateY(0);
}

/* Lost password link */
.idf-login-card .pmpro_card_actions {
    padding: 15px 0 0;
    margin-top: 15px;
    border-top: 1px solid #eee;
    background: none;
    text-align: center;
}

.idf-login-card .pmpro_actions_nav {
    text-align: center;
}

.idf-login-card .pmpro_actions_nav a {
    color: var(--idf-text-light);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}

.idf-login-card .pmpro_actions_nav a:hover {
    color: var(--idf-orange);
}

/* Footer below card */
.idf-login-footer {
    text-align: center;
    margin-top: 25px;
}

.idf-login-footer p {
    color: var(--idf-text-light);
    font-size: 0.9rem;
    margin: 0;
}

.idf-login-footer a {
    color: var(--idf-orange);
    font-weight: 600;
    text-decoration: none;
}

.idf-login-footer a:hover {
    color: #c94f1a;
    text-decoration: underline;
}

/* Password reset form (same card, different fields) */
.idf-login-card .pmpro_lost_password_form label {
    display: block;
    margin-bottom: 6px;
}

.idf-login-card .pmpro_lost_password_form input[type="text"],
.idf-login-card .pmpro_lost_password_form input[type="email"] {
    margin-bottom: 20px;
}

.idf-login-card .pmpro_lost_password_form input[type="submit"] {
    width: 100%;
    padding: 14px 20px;
    background: var(--idf-orange);
    color: var(--idf-white);
    border: none;
    border-radius: var(--idf-radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.idf-login-card .pmpro_lost_password_form input[type="submit"]:hover {
    background: #c94f1a;
}

/* Set Password form */
.idf-login-card h2:not(.pmpro_card_title) {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--idf-dark);
    margin: 0 0 8px;
    text-align: center;
}

.idf-login-card h2:not(.pmpro_card_title) + p {
    text-align: center;
    color: var(--idf-text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Mobile adjustments */
@media (max-width: 575px) {
    .idf-login-page {
        padding: 40px 0 60px;
    }

    .idf-login-card {
        padding: 30px 22px 25px;
    }

    .idf-login-brand img {
        max-width: 140px;
    }
}


/* ==========================================================================
   CART PAGE
   ========================================================================== */

/* ---------- Page header ---------- */
.idf-cart-header {
    background: var(--idf-grey-bg);
    padding: 40px 0 30px;
}

.idf-cart-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--idf-dark);
    margin: 0;
}

/* ---------- Content area ---------- */
.idf-cart-content {
    padding: 40px 0 60px;
}

/* ---------- WooCommerce notices ---------- */
.idf-cart .woocommerce-message,
.idf-cart .woocommerce-info,
.idf-cart .woocommerce-error {
    border-top: none;
    border: 1px solid #eee;
    border-radius: var(--idf-radius-sm);
    padding: 14px 18px 14px 3em;
    background: var(--idf-grey-bg);
    color: var(--idf-text);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    list-style: none;
    position: relative;
}

.idf-cart .woocommerce-message::before,
.idf-cart .woocommerce-info::before {
    color: var(--idf-orange);
    position: absolute;
    left: 1em;
    top: 50%;
    transform: translateY(-50%);
}

.idf-cart .woocommerce-error {
    border-color: rgba(220, 53, 69, 0.3);
    background: #fef2f2;
}

.idf-cart .woocommerce-message a,
.idf-cart .woocommerce-info a {
    color: var(--idf-orange);
    font-weight: 600;
}

/* ---------- Cart table ---------- */
.idf-cart .shop_table.cart {
    border: 1px solid #eee;
    border-radius: var(--idf-radius);
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    margin-bottom: 30px;
}

.idf-cart .shop_table.cart thead th {
    background: var(--idf-dark);
    color: #fff;
    padding: 12px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.idf-cart .shop_table.cart tbody td {
    padding: 16px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    color: var(--idf-text);
    font-size: 0.95rem;
    background: var(--idf-white);
}

.idf-cart .shop_table.cart tbody tr:last-child td {
    border-bottom: none;
}

/* Product thumbnail */
.idf-cart .shop_table.cart .product-thumbnail img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--idf-radius-sm);
    border: 1px solid #eee;
}

/* Product name link */
.idf-cart .shop_table.cart .product-name a {
    color: var(--idf-dark);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.idf-cart .shop_table.cart .product-name a:hover {
    color: var(--idf-orange);
}

/* Variation data (dl has default browser margins — zero them) */
.idf-cart .shop_table.cart .product-name dl.variation {
    margin: 6px 0 0;
    padding: 0;
}

.idf-cart .shop_table.cart .product-name .variation dt,
.idf-cart .shop_table.cart .product-name .variation dd {
    display: inline;
    font-size: 0.85rem;
    color: var(--idf-text-light);
    margin: 0;
}

.idf-cart .shop_table.cart .product-name .variation dd p {
    display: inline;
    margin: 0;
}

/* Remove button */
.idf-cart .shop_table.cart .product-remove a.remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: var(--idf-text-light) !important;
    font-size: 1.2rem;
    line-height: 1;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.idf-cart .shop_table.cart .product-remove a.remove:hover {
    background: var(--idf-red);
    color: #fff !important;
}

/* Price */
.idf-cart .shop_table.cart .product-price,
.idf-cart .shop_table.cart .product-subtotal {
    font-weight: 600;
    color: var(--idf-dark);
}

/* Quantity input */
.idf-cart .shop_table.cart .product-quantity input[type="number"] {
    border: 1px solid #ddd;
    border-radius: var(--idf-radius-sm);
    padding: 8px 12px;
    width: 70px;
    font-size: 0.95rem;
    color: var(--idf-text);
    transition: border-color 0.2s;
    height: auto;
}

.idf-cart .shop_table.cart .product-quantity input[type="number"]:focus {
    border-color: var(--idf-orange);
    outline: none;
    box-shadow: 0 0 0 3px rgba(232, 99, 43, 0.1);
}

/* Actions row (coupon + update cart) */
.idf-cart .shop_table.cart .actions {
    padding: 16px;
    background: var(--idf-grey-bg);
    border-top: 1px solid #eee;
}

/* Coupon input */
.idf-cart .shop_table.cart .coupon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.idf-cart .shop_table.cart .coupon input.input-text {
    border: 1px solid #ddd;
    border-radius: var(--idf-radius-sm);
    padding: 10px 14px;
    font-size: 0.9rem;
    color: var(--idf-text);
    min-width: 180px;
    transition: border-color 0.2s;
    height: auto;
}

.idf-cart .shop_table.cart .coupon input.input-text:focus {
    border-color: var(--idf-orange);
    outline: none;
    box-shadow: 0 0 0 3px rgba(232, 99, 43, 0.1);
}

/* ---------- WooCommerce buttons ---------- */
.idf-cart .woocommerce .button,
.idf-cart .woocommerce button.button,
.idf-cart .woocommerce input.button {
    background: var(--idf-white);
    color: var(--idf-orange);
    border: 2px solid var(--idf-orange);
    border-radius: 50px;
    padding: 10px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    display: inline-block;
    line-height: 1.4;
}

.idf-cart .woocommerce .button:hover,
.idf-cart .woocommerce button.button:hover,
.idf-cart .woocommerce input.button:hover {
    background: var(--idf-orange);
    color: var(--idf-white);
}

/* Update cart button — match Apply Coupon style */
.idf-cart .woocommerce button[name="update_cart"] {
    background: var(--idf-white) !important;
    color: var(--idf-orange) !important;
    border: 2px solid var(--idf-orange) !important;
}

.idf-cart .woocommerce button[name="update_cart"]:hover {
    background: var(--idf-orange) !important;
    color: var(--idf-white) !important;
}

/* Update cart button — disabled state */
.idf-cart .woocommerce button[name="update_cart"]:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ---------- Cart totals ---------- */
.idf-cart .cart_totals {
    border: 1px solid #eee;
    border-radius: var(--idf-radius);
    padding: 24px;
    background: var(--idf-white);
    max-width: 480px;
    margin-left: auto;
}

.idf-cart .cart_totals h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--idf-dark);
    margin: 0 0 16px;
}

.idf-cart .cart_totals .shop_table {
    border: none;
    margin-bottom: 20px;
}

.idf-cart .cart_totals .shop_table th {
    padding: 10px 14px 10px 0;
    font-weight: 600;
    color: var(--idf-text);
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
    background: none;
}

.idf-cart .cart_totals .shop_table td {
    padding: 10px 0 10px 14px;
    text-align: right;
    border-bottom: 1px solid #eee;
    color: var(--idf-text);
    font-size: 0.9rem;
    background: none;
}

.idf-cart .cart_totals .shop_table .order-total th,
.idf-cart .cart_totals .shop_table .order-total td {
    border-bottom: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--idf-dark);
    padding-top: 14px;
}

/* Shipping row */
.idf-cart .cart_totals .shop_table .shipping td {
    text-align: right;
}

.idf-cart .cart_totals .shop_table .shipping ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.idf-cart .cart_totals .shop_table .shipping li {
    padding: 0;
}

.idf-cart .cart_totals .shop_table .shipping li::before {
    display: none;
}

/* Proceed to checkout button */
.idf-cart .wc-proceed-to-checkout .checkout-button {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--idf-orange) !important;
    color: var(--idf-white) !important;
    border: 2px solid var(--idf-orange) !important;
    border-radius: 50px;
    padding: 14px 24px !important;
    font-size: 1rem !important;
    font-weight: 700;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.idf-cart .wc-proceed-to-checkout .checkout-button:hover {
    background: var(--idf-white) !important;
    color: var(--idf-orange) !important;
}

/* ---------- Empty cart ---------- */
.idf-cart .cart-empty.woocommerce-info {
    text-align: center;
    padding: 40px 20px;
    background: var(--idf-grey-bg);
    border: 1px solid #eee;
    border-radius: var(--idf-radius);
    font-size: 1rem;
    color: var(--idf-text);
}

.idf-cart .cart-empty.woocommerce-info::before {
    display: block;
    margin: 0 auto 12px;
    font-size: 1.5rem;
    color: var(--idf-orange);
}

.idf-cart .return-to-shop {
    text-align: center;
    margin-top: 20px;
}

.idf-cart .return-to-shop .button {
    background: var(--idf-orange) !important;
    color: var(--idf-white) !important;
    border: 2px solid var(--idf-orange) !important;
    border-radius: 50px;
    padding: 12px 28px !important;
    font-size: 0.95rem;
    font-weight: 600;
}

.idf-cart .return-to-shop .button:hover {
    background: var(--idf-white) !important;
    color: var(--idf-orange) !important;
}

/* ---------- Cart responsive ---------- */
@media (max-width: 767px) {
    .idf-cart-header {
        padding: 30px 0 20px;
    }

    .idf-cart-header h1 {
        font-size: 1.4rem;
    }

    .idf-cart-content {
        padding: 25px 0 40px;
    }

    .idf-cart .cart_totals {
        max-width: 100%;
        margin-left: 0;
    }

    .idf-cart .shop_table.cart .coupon {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .idf-cart .shop_table.cart .coupon input.input-text {
        min-width: 0;
        width: 100%;
    }

    .idf-cart .shop_table.cart .product-thumbnail img {
        width: 50px;
        height: 50px;
    }
}


/* ==========================================================================
   POLICY PAGES (Privacy Policy, Refund & Returns)
   ========================================================================== */

/* Reduce excessive padding from page-builder-not-used */
.page-id-3.page-builder-not-used .content-area,
.page-id-24.page-builder-not-used .content-area {
    padding: 40px 0 60px;
}

/* Constrain content width for readability */
.page-id-3 .entry-content,
.page-id-24 .entry-content {
    max-width: 800px;
}

/* Page title */
.page-id-3 .entry-title,
.page-id-24 .entry-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--idf-dark);
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--idf-grey-bg);
}

/* Section headings */
.page-id-3 .entry-content h2,
.page-id-24 .entry-content h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--idf-dark);
    margin: 30px 0 12px;
}

.page-id-3 .entry-content h3,
.page-id-24 .entry-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--idf-dark);
    margin: 24px 0 10px;
}

/* Body text */
.page-id-3 .entry-content p,
.page-id-24 .entry-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--idf-text);
    margin-bottom: 14px;
}

/* Lists */
.page-id-3 .entry-content ul,
.page-id-3 .entry-content ol,
.page-id-24 .entry-content ul,
.page-id-24 .entry-content ol {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--idf-text);
    margin-bottom: 14px;
    padding-left: 24px;
}

.page-id-3 .entry-content li,
.page-id-24 .entry-content li {
    margin-bottom: 6px;
}

/* Links */
.page-id-3 .entry-content a,
.page-id-24 .entry-content a {
    color: var(--idf-orange);
    text-decoration: none;
}

.page-id-3 .entry-content a:hover,
.page-id-24 .entry-content a:hover {
    text-decoration: underline;
}

/* Hide any remaining banner artifacts */
.page-id-3 .banner-area,
.page-id-24 .banner-area {
    display: none;
}

/* Responsive */
@media (max-width: 767px) {
    .page-id-3 .entry-title,
    .page-id-24 .entry-title {
        font-size: 1.4rem;
    }

    .page-id-3.page-builder-not-used .content-area,
    .page-id-24.page-builder-not-used .content-area {
        padding: 25px 0 40px;
    }
}

/* =========================================
   404 PAGE
   ========================================= */
.idf-404 {
    padding: 80px 0 100px;
    text-align: center;
}

.idf-404-inner {
    max-width: 600px;
    margin: 0 auto;
}

.idf-404-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--idf-orange);
    color: var(--idf-white);
    font-size: 2rem;
    margin-bottom: 24px;
}

.idf-404-code {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--idf-orange);
    margin: 0 0 8px;
}

.idf-404 h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--idf-dark);
    margin: 0 0 16px;
}

.idf-404-text {
    font-size: 1.05rem;
    color: var(--idf-text-light);
    line-height: 1.7;
    margin: 0 0 32px;
}

.idf-404-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 575px) {
    .idf-404 {
        padding: 50px 0 70px;
    }
    .idf-404-code {
        font-size: 3.5rem;
    }
    .idf-404 h1 {
        font-size: 1.5rem;
    }
    .idf-404-actions .idf-btn {
        width: 100%;
    }
}

/* =========================================
   CHECKOUT PAGE (WooCommerce, page 22) — CSS only
   Scoped by .page-id-22 to match the policy-page convention.
   Payment/Stripe area is styled conservatively (container only) —
   the card field renders in a Stripe iframe and is not touched.
   ========================================= */
/* Remove banner + reduce content padding (matches policy/cart pattern) */
.page-id-22 .banner-area {
    display: none;
}

.page-id-22.page-builder-not-used .content-area {
    padding: 40px 0 60px;
}

.page-id-22 .entry-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--idf-dark);
    margin-bottom: 24px;
}

/* Constrain width */
.page-id-22 .woocommerce {
    max-width: 1100px;
    margin: 0 auto;
}

/* Section headings */
.page-id-22 #customer_details h3,
.page-id-22 #order_review_heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--idf-dark);
    margin-bottom: 16px;
}

/* Form fields (native inputs/selects/textarea — select2 left to WooCommerce) */
.page-id-22 .woocommerce form .form-row label {
    font-weight: 600;
    color: var(--idf-dark);
    margin-bottom: 6px;
}

.page-id-22 .woocommerce form .form-row input.input-text,
.page-id-22 .woocommerce form .form-row textarea,
.page-id-22 .woocommerce form .form-row select {
    background: var(--idf-white);
    border: 1px solid #ddd;
    border-radius: var(--idf-radius-sm);
    padding: 12px 14px;
    font-size: 0.95rem;
}

.page-id-22 .woocommerce form .form-row input.input-text:focus,
.page-id-22 .woocommerce form .form-row textarea:focus,
.page-id-22 .woocommerce form .form-row select:focus {
    border-color: var(--idf-orange);
    box-shadow: 0 0 0 3px rgba(232, 99, 43, 0.1);
    outline: none;
}

/* Order review table */
.page-id-22 .woocommerce-checkout-review-order-table {
    border: 1px solid #eee;
    border-radius: var(--idf-radius);
    width: 100%;
}

.page-id-22 .woocommerce-checkout-review-order-table th,
.page-id-22 .woocommerce-checkout-review-order-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
}

.page-id-22 .woocommerce-checkout-review-order-table tfoot .order-total th,
.page-id-22 .woocommerce-checkout-review-order-table tfoot .order-total td {
    font-size: 1.1rem;
    color: var(--idf-dark);
    font-weight: 800;
}

/* Payment box */
.page-id-22 #payment {
    background: var(--idf-grey-bg);
    border-radius: var(--idf-radius);
    border: 1px solid #eee;
}

.page-id-22 #payment .payment_box {
    background: var(--idf-white);
    border-radius: var(--idf-radius-sm);
}

.page-id-22 #payment .payment_box::before {
    border-bottom-color: var(--idf-white);
}

/* Place order button */
.page-id-22 #payment #place_order {
    background: var(--idf-orange);
    color: var(--idf-white);
    border: none;
    border-radius: 50px;
    padding: 14px 36px;
    font-size: 1.05rem;
    font-weight: 800;
    width: 100%;
    transition: background-color 0.2s ease;
}

.page-id-22 #payment #place_order:hover {
    background: var(--idf-orange-hover);
}

/* -----------------------------------------
   ORDER-RECEIVED (thank-you) view — still page 22
   ----------------------------------------- */
/* Received message */
.page-id-22 .woocommerce-thankyou-order-received {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--idf-dark);
    background: #f0f8f0;
    border: 1px solid #cfe6cf;
    border-radius: var(--idf-radius);
    padding: 16px 20px;
    margin-bottom: 24px;
}

/* Order overview (number / date / email / total) */
.page-id-22 .woocommerce-order-overview {
    list-style: none;
    margin: 0 0 28px;
    padding: 18px 20px;
    border: 1px solid #eee;
    border-radius: var(--idf-radius);
    background: var(--idf-grey-bg);
    display: flex;
    flex-wrap: wrap;
    gap: 18px 36px;
}

.page-id-22 .woocommerce-order-overview li {
    border: 0;
    margin: 0;
    padding: 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #777;
}

.page-id-22 .woocommerce-order-overview li strong {
    display: block;
    margin-top: 4px;
    font-size: 1.05rem;
    text-transform: none;
    letter-spacing: 0;
    color: var(--idf-dark);
}

/* Protection block */
.idf-thankyou-protection {
    background: var(--idf-white);
    border: 1px solid #f3d9cc;
    border-left: 4px solid var(--idf-orange);
    border-radius: var(--idf-radius);
    padding: 22px 26px;
    margin: 0 0 28px;
}

.idf-thankyou-protection__title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--idf-orange);
    margin: 0 0 12px;
}

.idf-thankyou-protection p {
    margin: 0 0 12px;
    line-height: 1.6;
    color: var(--idf-dark);
}

.idf-thankyou-protection__cta-wrap {
    margin: 16px 0 0;
}

.idf-thankyou-protection__cta {
    display: inline-block;
    background: var(--idf-orange);
    color: var(--idf-white);
    text-decoration: none;
    border-radius: 50px;
    padding: 11px 28px;
    font-weight: 700;
    transition: background-color 0.2s ease;
}

.idf-thankyou-protection__cta:hover {
    background: var(--idf-orange-hover);
    color: var(--idf-white);
}

/* Order details + customer details tables/headings */
.page-id-22 .woocommerce-order-details__title,
.page-id-22 .woocommerce-column__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--idf-dark);
    margin: 28px 0 14px;
}

.page-id-22 .woocommerce-table--order-details {
    border: 1px solid #eee;
    border-radius: var(--idf-radius);
    width: 100%;
}

.page-id-22 .woocommerce-table--order-details th,
.page-id-22 .woocommerce-table--order-details td {
    padding: 13px 16px;
    border-bottom: 1px solid #eee;
}

.page-id-22 .woocommerce-table--order-details tfoot .order-total th,
.page-id-22 .woocommerce-table--order-details tfoot .order-total td {
    font-size: 1.1rem;
    color: var(--idf-dark);
    font-weight: 800;
}

.page-id-22 .woocommerce-customer-details address {
    border: 1px solid #eee;
    border-radius: var(--idf-radius);
    padding: 16px 18px;
    font-style: normal;
    line-height: 1.7;
}

/* Checkout "processing" overlay — visible regardless of scroll position */
#idf-checkout-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.92);
    z-index: 99999;
}

#idf-checkout-overlay.is-active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.idf-checkout-overlay__box {
    text-align: center;
    color: var(--idf-dark);
    font-weight: 700;
    font-size: 1.1rem;
}

.idf-checkout-overlay__sub {
    font-weight: 400;
    font-size: 0.85rem;
    color: #888;
}

.idf-checkout-spinner {
    display: inline-block;
    width: 48px;
    height: 48px;
    border: 4px solid #f3d9cc;
    border-top-color: var(--idf-orange);
    border-radius: 50%;
    animation: idf-checkout-spin 0.8s linear infinite;
    margin-bottom: 16px;
}

@keyframes idf-checkout-spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 767px) {
    .page-id-22.page-builder-not-used .content-area {
        padding: 25px 0 40px;
    }
    .page-id-22 .woocommerce-order-overview {
        flex-direction: column;
        gap: 14px;
    }
}
