/**
 * Global IT Firm - Single Product Details & Checkout Stylesheet
 *
 * @package Global_IT_Firm
 */

/* ==========================================================================
   Product Page Hero Banner
   ========================================================================== */
.gif-product-hero-banner {
    background-color: var(--gif-bg-dark);
    padding: 36px 0 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gif-product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gif-text-light);
    margin-bottom: 20px;
}

.gif-product-breadcrumb a {
    color: #cbd5e1;
    transition: color 0.15s ease;
}

.gif-product-breadcrumb a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.gif-breadcrumb-sep {
    color: #64748b;
}

.gif-breadcrumb-current {
    color: var(--gif-accent-gold);
    font-weight: 600;
}

.gif-product-header-content {
    display: flex;
    align-items: flex-start;
    gap: 22px;
}

.gif-product-icon-wrap {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 8px;
}

.gif-product-icon-wrap img,
.gif-product-icon-wrap .gif-icon-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 10px;
}

.gif-product-header-text {
    flex-grow: 1;
}

.gif-product-cat-pill {
    display: inline-block;
    color: var(--gif-accent-gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.gif-product-page-title {
    font-family: var(--gif-font-heading);
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.gif-product-page-subtitle {
    color: var(--gif-text-light);
    font-size: 15px;
    margin-bottom: 18px;
    max-width: 700px;
    line-height: 1.5;
}

/* Quick Highlights Bar */
.gif-product-highlights-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.gif-highlight-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
}

.gif-highlight-pill.gif-pill-price {
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    color: #93c5fd;
}

.gif-highlight-pill.gif-pill-price strong {
    font-size: 15px;
    color: #ffffff;
    font-weight: 800;
}

.gif-highlight-pill.gif-pill-delivery {
    background: rgba(2, 132, 199, 0.15);
    border-color: rgba(56, 189, 248, 0.3);
    color: #bae6fd;
}

.gif-highlight-pill.gif-pill-delivery strong {
    color: #ffffff;
}

.gif-highlight-pill.gif-pill-safety {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(52, 211, 153, 0.3);
    color: #a7f3d0;
}

/* Get Started CTA Button */
.gif-btn-get-started {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transition: all 0.2s ease;
    text-decoration: none !important;
    margin-left: 6px;
}

.gif-btn-get-started:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
    color: #ffffff !important;
}

.gif-btn-get-started svg {
    transition: transform 0.2s ease;
}

.gif-btn-get-started:hover svg {
    transform: translateX(3px);
}

.gif-btn-cta-lg {
    font-size: 15.5px;
    padding: 13px 26px;
    border-radius: 12px;
}

/* ==========================================================================
   Main Product Details Section (2-Column Layout)
   ========================================================================== */
.gif-product-main-section {
    background-color: #f8fafc;
    padding: 44px 0 80px;
}

.gif-product-2col-layout {
    display: grid;
    grid-template-columns: 1fr 410px;
    gap: 32px;
    align-items: start;
}

.gif-product-col-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.gif-product-col-right {
    position: sticky;
    top: 90px;
    z-index: 20;
}

/* Sticky Deliverable Card on Right Side */
.gif-deliverable-sticky-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 26px 24px;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.gif-deliverable-badge-top span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0fdfa;
    color: #0f766e;
    border: 1px solid #99f6e4;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.gif-deliverable-service-title {
    font-family: var(--gif-font-heading);
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.35;
}

/* Metric Banner in Card */
.gif-deliverable-metric-box {
    background: linear-gradient(135deg, #070d1e 0%, #172554 100%);
    border-radius: 14px;
    padding: 16px 20px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 16px 0 20px;
    box-shadow: 0 4px 15px rgba(2, 6, 23, 0.15);
}

.gif-metric-label {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 2px;
}

.gif-metric-value {
    font-size: 15.5px;
    font-weight: 800;
    color: #38bdf8;
}

.gif-metric-price {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    font-family: var(--gif-font-heading);
}

.gif-metric-currency {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 700;
    margin-left: 2px;
}

/* Deliverables Checklist */
.gif-deliverable-checklist-wrap {
    margin-bottom: 22px;
}

.gif-checklist-heading {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gif-deliv-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gif-deliv-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
}

.gif-deliv-feature-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Package Variation Options in Sidebar */
.gif-deliverable-packages-wrap {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.gif-deliv-pkg-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.gif-deliv-packages-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gif-deliv-pkg-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
    background: #ffffff;
}

.gif-deliv-pkg-item:hover {
    border-color: #93c5fd;
    background: #f8fafc;
}

.gif-deliv-pkg-item.selected {
    border-color: #2563eb;
    background: #eff6ff;
}

.gif-deliv-pkg-radio-col input[type="radio"] {
    display: none;
}

.gif-custom-radio-sm {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: inline-block;
    position: relative;
    transition: all 0.15s ease;
}

.gif-deliv-pkg-item.selected .gif-custom-radio-sm {
    border-color: #2563eb;
    background: #2563eb;
    box-shadow: inset 0 0 0 3px #ffffff;
}

.gif-deliv-pkg-info {
    flex: 1;
}

.gif-deliv-pkg-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.gif-deliv-pkg-del {
    font-size: 11.5px;
    color: #64748b;
}

.gif-deliv-pkg-price {
    font-size: 14px;
    font-weight: 800;
    color: #2563eb;
    font-family: var(--gif-font-heading);
}

/* Get Started CTA Card Button */
.gif-deliverable-cta-wrap {
    margin-top: 6px;
}

.gif-btn-get-started-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 800;
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none !important;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    transition: all 0.2s ease;
}

.gif-btn-get-started-card:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.55);
}

.gif-btn-get-started-card svg {
    transition: transform 0.2s ease;
}

.gif-btn-get-started-card:hover svg {
    transform: translateX(4px);
}

/* Trust Badges in Sidebar Card */
.gif-deliverable-trust-list {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gif-deliv-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

/* Responsive Layout & Mobile Hero Styles */
@media (max-width: 991px) {
    .gif-product-2col-layout {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    .gif-product-col-right {
        position: static;
        order: -1;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .gif-product-hero-banner {
        padding: 20px 0 26px;
    }

    .gif-product-breadcrumb {
        font-size: 11.5px;
        margin-bottom: 14px;
        flex-wrap: wrap;
        gap: 6px;
        line-height: 1.35;
    }

    .gif-product-header-content {
        gap: 14px;
        align-items: flex-start;
    }

    .gif-product-icon-wrap {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        padding: 6px;
    }

    .gif-product-icon-wrap img,
    .gif-product-icon-wrap .gif-icon-img,
    .gif-product-icon-wrap svg {
        width: 36px;
        height: 36px;
    }

    .gif-product-page-title {
        font-size: 21px;
        line-height: 1.25;
        margin-bottom: 6px;
    }

    .gif-product-page-subtitle {
        font-size: 13px;
        line-height: 1.45;
        margin-bottom: 14px;
    }

    /* 2x2 Clean Mobile Badges Grid */
    .gif-product-highlights-bar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        width: 100%;
    }

    .gif-highlight-pill {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 6px 10px;
        font-size: 11.5px;
        border-radius: 10px;
        gap: 6px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        box-sizing: border-box;
    }

    .gif-highlight-pill svg {
        flex-shrink: 0;
        width: 13px;
        height: 13px;
    }

    .gif-highlight-pill span,
    .gif-highlight-pill strong {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .gif-product-main-section {
        padding: 24px 0 50px;
    }

    .gif-deliverable-sticky-card {
        padding: 18px 16px;
        border-radius: 14px;
    }

    .gif-deliverable-service-title {
        font-size: 16px;
    }

    .gif-deliverable-metric-box {
        padding: 11px 14px;
        border-radius: 10px;
        margin: 12px 0 16px;
        gap: 8px;
    }

    .gif-metric-label {
        font-size: 9.5px;
        margin-bottom: 2px;
    }

    .gif-metric-value {
        font-size: 13px;
        line-height: 1.3;
    }

    .gif-metric-price {
        font-size: 19px;
    }

    .gif-metric-currency {
        font-size: 10px;
    }

    .gif-deliv-pkg-item {
        padding: 10px 12px;
        border-radius: 10px;
    }

    .gif-pkg-name {
        font-size: 13px;
    }

    .gif-pkg-price-badge {
        font-size: 13px;
    }

    .gif-info-card {
        padding: 20px 18px;
        border-radius: 14px;
    }

    .gif-info-card-title {
        font-size: 16.5px;
    }
}

@media (max-width: 440px) {
    .gif-product-page-title {
        font-size: 19px;
    }
    .gif-product-highlights-bar {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    .gif-highlight-pill {
        padding: 5px 8px;
        font-size: 11px;
    }
}

.gif-info-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--gif-card-border);
    padding: 26px 28px;
    box-shadow: var(--gif-shadow-sm);
}

.gif-info-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.gif-info-icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gif-info-icon-circle.gif-icon-green {
    background: #ecfdf5;
    border-color: #d1fae5;
}

.gif-info-icon-circle.gif-icon-amber {
    background: #fffbeb;
    border-color: #fef3c7;
}

.gif-info-icon-circle.gif-icon-blue {
    background: #f0f9ff;
    border-color: #e0f2fe;
}

.gif-info-icon-circle.gif-icon-notice {
    background: #fef3c7;
    border-color: #fde68a;
}

.gif-info-card-title {
    font-family: var(--gif-font-heading);
    font-size: 19px;
    font-weight: 700;
    color: var(--gif-text-main);
}

.gif-overview-text {
    font-size: 14.5px;
    color: #334155;
    line-height: 1.65;
}

/* Package Includes Grid */
.gif-package-includes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.gif-include-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
}

.gif-include-check {
    flex-shrink: 0;
}

/* Requirements List */
.gif-requirements-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gif-requirement-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #334155;
    line-height: 1.5;
}

.gif-requirement-item svg {
    margin-top: 3px;
    flex-shrink: 0;
}

/* Delivery Section */
.gif-delivery-time-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.gif-del-tag {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

.gif-del-time-val {
    font-family: var(--gif-font-heading);
    font-size: 17px;
    font-weight: 800;
    color: #0284c7;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    padding: 3px 12px;
    border-radius: 20px;
}

.gif-delivery-notes-text {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.5;
}

/* Disclaimer / Notice Card */
.gif-disclaimer-card {
    background-color: #fffbeb;
    border-color: #fef3c7;
}

.gif-disclaimer-card .gif-info-card-header {
    border-color: #fde68a;
}

.gif-disclaimer-card .gif-info-card-title {
    color: #92400e;
}

.gif-disclaimer-text {
    font-size: 13.5px;
    color: #78350f;
    line-height: 1.6;
}

/* ==========================================================================
   Right Column: Sticky Checkout Card
   ========================================================================== */
.gif-product-checkout-col {
    position: relative;
}

.gif-checkout-sticky-card {
    position: sticky;
    top: 90px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--gif-card-border);
    padding: 30px 28px 24px;
    box-shadow: 0 10px 35px -5px rgba(0, 0, 0, 0.08);
}

.gif-checkout-card-header {
    margin-bottom: 22px;
}

.gif-checkout-card-title {
    font-family: var(--gif-font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--gif-text-main);
    margin-bottom: 4px;
}

.gif-checkout-card-subtitle {
    font-size: 13px;
    color: var(--gif-text-muted);
}

/* Step Wizard */
.gif-step-wizard {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.gif-step-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.gif-step-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gif-step-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.gif-step-item.active .gif-step-circle {
    background-color: #2563eb;
    color: #ffffff;
}

.gif-step-item.active .gif-step-label {
    color: #2563eb;
    font-weight: 700;
}

.gif-step-line {
    flex-grow: 1;
    height: 2px;
    background-color: #e2e8f0;
    margin: 0 8px;
}

/* Form Sections */
.gif-form-section {
    margin-bottom: 20px;
}

.gif-field-section-title {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Package Variant Cards */
.gif-packages-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gif-package-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    background-color: #ffffff;
    transition: all 0.2s ease;
}

.gif-package-card:hover {
    border-color: #93c5fd;
    background-color: #f8fafc;
}

.gif-package-card.selected {
    border-color: #2563eb;
    background-color: #eff6ff;
    box-shadow: 0 0 0 1px #2563eb;
}

.gif-pkg-radio-col {
    display: flex;
    align-items: center;
    margin-right: 12px;
    position: relative;
}

.gif-pkg-radio-col input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.gif-custom-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.gif-package-card.selected .gif-custom-radio {
    border-color: #2563eb;
}

.gif-package-card.selected .gif-custom-radio::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #2563eb;
}

.gif-pkg-details-col {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.gif-pkg-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.gif-pkg-delivery {
    font-size: 11.5px;
    color: #64748b;
}

.gif-pkg-price {
    font-family: var(--gif-font-heading);
    font-size: 16px;
    font-weight: 800;
    color: #2563eb;
}

/* Inputs */
.gif-input-row-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.gif-form-group {
    display: flex;
    flex-direction: column;
}

.gif-form-group label {
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.gif-required {
    color: #ef4444;
}

.gif-input,
.gif-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 13.5px;
    color: #0f172a;
    background-color: #ffffff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gif-input:focus,
.gif-textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.gif-input-hint {
    font-size: 11.5px;
    color: #64748b;
    margin-top: 4px;
}

/* Price Summary Box */
.gif-checkout-summary-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gif-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #475569;
}

.gif-summary-del {
    font-weight: 600;
    color: #0284c7;
}

.gif-total-row {
    padding-top: 8px;
    margin-top: 4px;
    border-top: 1px dashed #cbd5e1;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.gif-summary-total-price {
    font-family: var(--gif-font-heading);
    font-size: 20px;
    font-weight: 900;
    color: #2563eb;
}

/* Submit Button */
.gif-submit-wrapper {
    margin-bottom: 16px;
}

.gif-btn-submit-order {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    border-radius: 10px;
    border: none;
    background: #2563eb;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    transition: all 0.2s ease;
}

.gif-btn-submit-order:hover {
    opacity: 0.92;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.gif-trust-guarantee-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    font-size: 11.5px;
    color: #64748b;
}

.gif-trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ==========================================================================
   Dedicated Checkout Page Template Styles (Matching Screenshot)
   ========================================================================== */
.gif-checkout-page-wrapper {
    min-height: 80vh;
    padding: 48px 20px 80px;
    background-color: #f1f5f9;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.gif-checkout-card {
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 660px;
    padding: 38px 36px 32px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.07);
    border: 1px solid #e2e8f0;
}

.gif-checkout-page-title {
    font-family: var(--gif-font-heading);
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 24px;
    letter-spacing: -0.3px;
}

/* 4-Step Wizard */
.gif-step-wizard {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    position: relative;
}

.gif-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.gif-step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid #cbd5e1;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    transition: all 0.25s ease;
}

.gif-step-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}

.gif-step-item.active .gif-step-circle {
    background-color: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.gif-step-item.active .gif-step-label {
    color: #2563eb;
    font-weight: 700;
}

.gif-step-line {
    flex-grow: 1;
    height: 2px;
    background-color: #e2e8f0;
    margin: 0 8px 20px;
    z-index: 1;
}

/* Selected Service Box */
.gif-selected-service-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 18px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.gif-section-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.gif-change-service-link {
    font-size: 13.5px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.gif-change-service-link:hover {
    text-decoration: underline;
}

.gif-service-icon-col {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #0077b5;
    color: #ffffff;
}

.gif-service-icon-col img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.gif-service-info-col {
    flex-grow: 1;
}

.gif-service-header-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

.gif-service-name {
    font-family: var(--gif-font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.gif-service-cat-badge {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 4px;
    background: #e0f2fe;
    color: #0369a1;
}

.gif-service-desc {
    font-size: 12.5px;
    color: #64748b;
    margin: 0 0 6px 0;
}

.gif-single-pkg-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    flex-wrap: wrap;
}

.gif-pkg-badges-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.gif-meta-badge {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 600;
}

.gif-meta-price {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    font-family: var(--gif-font-heading);
}

.gif-meta-del {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.gif-meta-deliv {
    background: #f0fdfa;
    color: #0f766e;
    border: 1px solid #99f6e4;
}

/* Quantity Stepper inside Selected Service Box */
.gif-pkg-stepper-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gif-pkg-stepper-label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gif-quantity-stepper {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #cbd5e1;
    border-radius: 7px;
    overflow: hidden;
    background: #ffffff;
    height: 32px;
}

.gif-stepper-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: #f8fafc;
    color: #334155;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease, color 0.15s ease;
    user-select: none;
    padding: 0;
    line-height: 1;
}

.gif-stepper-btn:hover {
    background-color: #e2e8f0;
    color: #0f172a;
}

.gif-stepper-input {
    width: 44px;
    height: 32px;
    border: none;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    text-align: center;
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    outline: none;
    background: #ffffff;
    margin: 0;
    padding: 0;
    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: none;
}

/* Remove default spinner arrows completely */
.gif-stepper-input::-webkit-outer-spin-button,
.gif-stepper-input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Action & Security Row */
.gif-action-security-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
    padding-top: 18px;
}

.gif-security-notice {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    color: #64748b;
}

.gif-security-notice svg {
    flex-shrink: 0;
}

.gif-action-btn-wrap {
    flex-shrink: 0;
}

.gif-btn-continue-payment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #2563eb;
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    white-space: nowrap !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    transition: all 0.2s ease;
}

.gif-btn-continue-payment span {
    white-space: nowrap !important;
    display: inline-block;
}

.gif-btn-continue-payment:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.gif-btn-continue-payment svg {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.gif-btn-continue-payment:hover svg {
    transform: translateX(3px);
}

/* Dark Trust Banner at Bottom of Card */
.gif-checkout-trust-banner {
    background: #0f172a;
    border-radius: 12px;
    padding: 16px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    color: #ffffff;
}

.gif-trust-badge-col {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gif-trust-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gif-trust-text-box {
    display: flex;
    flex-direction: column;
}

.gif-trust-heading {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.gif-trust-subtext {
    font-size: 11.5px;
    color: #94a3b8;
    line-height: 1.3;
}

@media (max-width: 600px) {
    .gif-checkout-page-wrapper {
        padding: 20px 12px 60px;
    }

    .gif-checkout-card {
        padding: 22px 18px;
        border-radius: 16px;
    }

    .gif-checkout-page-title {
        font-size: 24px;
        margin-bottom: 20px;
        text-align: center;
    }

    .gif-step-wizard {
        margin-bottom: 24px;
    }

    .gif-step-circle {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .gif-step-label {
        font-size: 11px;
        margin-top: 4px;
    }

    .gif-step-line {
        margin: 0 6px 18px;
    }

    .gif-selected-service-box {
        padding: 14px;
        gap: 12px;
    }

    .gif-service-icon-col {
        width: 40px;
        height: 40px;
        border-radius: 8px;
    }

    .gif-service-icon-col img {
        width: 32px;
        height: 32px;
    }

    .gif-service-name {
        font-size: 15px;
    }

    .gif-service-desc {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 8px;
    }

    .gif-single-pkg-meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .gif-pkg-badges-group {
        gap: 6px;
        width: 100%;
    }

    .gif-meta-badge {
        font-size: 11px;
        padding: 3px 8px;
    }

    .gif-pkg-stepper-group {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 8px;
        border-top: 1px dashed #e2e8f0;
    }

    .gif-action-security-row {
        flex-direction: column;
        align-items: stretch;
    }
    .gif-btn-continue-payment {
        width: 100%;
        justify-content: center;
    }
    .gif-checkout-trust-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 14px 16px;
        border-radius: 12px;
    }
}

/* ==========================================================================
   Step Indicator Completed State
   ========================================================================== */
.gif-step-item.completed .gif-step-circle {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
}

.gif-step-item.completed .gif-step-label {
    color: #10b981;
    font-weight: 600;
}

/* ==========================================================================
   Step 2: Payment Step & WooCommerce Checkout Styles
   ========================================================================== */
.gif-checkout-summary-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.gif-summary-banner-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.gif-summary-banner-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 3px 0;
}

.gif-summary-banner-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #64748b;
}

.gif-summary-banner-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.gif-summary-banner-price {
    font-size: 17px;
    font-weight: 800;
    color: #2563eb;
    font-family: var(--gif-font-heading);
}

.gif-btn-edit-details {
    font-size: 12.5px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    padding: 4px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    transition: all 0.15s ease;
}

.gif-btn-edit-details:hover {
    color: #2563eb;
    border-color: #2563eb;
    background: #eff6ff;
}

/* Hide Coupon form toggle and notices on checkout page */
.woocommerce-form-coupon-toggle,
form.checkout_coupon,
.woocommerce-checkout .woocommerce-form-coupon,
.woocommerce-checkout .woocommerce-form-login-toggle,
.gif-checkout-page-wrapper .woocommerce-message,
.gif-checkout-page-wrapper .woocommerce-NoticeGroup-checkout .woocommerce-info:not(.woocommerce-form-coupon-toggle .woocommerce-info) {
    display: none !important;
}

/* Container normalization */
.gif-wc-checkout-embed .col2-set,
.gif-wc-checkout-embed .col-1,
.gif-wc-checkout-embed .col-2,
.woocommerce-checkout #customer_details {
    float: none !important;
    width: 100% !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    display: block !important;
}

.gif-wc-checkout-embed .woocommerce-billing-fields h3,
.woocommerce-checkout #order_review_heading {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 14px 0 !important;
    font-family: var(--gif-font-heading) !important;
}

/* 2-Column Responsive Billing Grid */
.gif-wc-checkout-embed .woocommerce-billing-fields__field-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    width: 100% !important;
    margin: 0 0 24px 0 !important;
}

.gif-wc-checkout-embed .woocommerce-billing-fields__field-wrapper p.form-row {
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
}

.gif-wc-checkout-embed .woocommerce-billing-fields__field-wrapper p#billing_first_name_field,
.gif-wc-checkout-embed .woocommerce-billing-fields__field-wrapper p#billing_last_name_field {
    flex: 1 1 calc(50% - 8px) !important;
    width: calc(50% - 8px) !important;
    max-width: calc(50% - 8px) !important;
    min-width: 180px !important;
}

.gif-wc-checkout-embed .woocommerce-billing-fields__field-wrapper p#billing_email_field {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
}

.gif-wc-checkout-embed .woocommerce-additional-fields,
.gif-wc-checkout-embed .woocommerce-shipping-fields {
    display: none !important;
}

/* Labels */
.gif-wc-checkout-embed .form-row label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    margin-bottom: 6px !important;
    line-height: 1.4 !important;
}

/* Input Fields */
.gif-wc-checkout-embed .form-row .input-text,
.gif-wc-checkout-embed .form-row input[type="text"],
.gif-wc-checkout-embed .form-row input[type="email"],
.gif-wc-checkout-embed .form-row input[type="tel"] {
    display: block !important;
    width: 100% !important;
    height: 44px !important;
    padding: 10px 14px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #0f172a !important;
    box-sizing: border-box !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.gif-wc-checkout-embed .form-row .input-text:focus,
.gif-wc-checkout-embed .form-row input[type="text"]:focus,
.gif-wc-checkout-embed .form-row input[type="email"]:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

@media (max-width: 600px) {
    .gif-wc-checkout-embed .woocommerce-billing-fields__field-wrapper p#billing_first_name_field,
    .gif-wc-checkout-embed .woocommerce-billing-fields__field-wrapper p#billing_last_name_field {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Review Order Table */
.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 12px 16px;
    font-size: 13.5px;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
}

.woocommerce-checkout-review-order-table th {
    background: #f8fafc;
    font-weight: 700;
    color: #0f172a;
}

.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
    font-size: 16px;
    font-weight: 800;
    color: #2563eb;
    border-bottom: none;
}

/* Payment Methods Section */
#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px 20px;
}

#add_payment_method #payment ul.payment_methods,
.woocommerce-cart #payment ul.payment_methods,
.woocommerce-checkout #payment ul.payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    border-bottom: 1px solid #e2e8f0;
}

#add_payment_method #payment ul.payment_methods li,
.woocommerce-cart #payment ul.payment_methods li,
.woocommerce-checkout #payment ul.payment_methods li {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

#add_payment_method #payment ul.payment_methods li label,
.woocommerce-cart #payment ul.payment_methods li label {
    cursor: pointer;
    font-weight: 600;
    color: #0f172a;
}

#add_payment_method #payment div.payment_box,
.woocommerce-cart #payment div.payment_box,
.woocommerce-checkout #payment div.payment_box {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 13px;
    color: #475569;
    margin: 8px 0 14px;
}

/* Privacy Policy Text & Spacing Above Place Order Button */
.woocommerce-privacy-policy-text,
.woocommerce-checkout #payment .woocommerce-privacy-policy-text,
#payment .woocommerce-privacy-policy-text,
#payment div.woocommerce-privacy-policy-text {
    margin: 20px 0 16px !important;
    padding: 0 !important;
    display: block !important;
}

.woocommerce-privacy-policy-text p,
.woocommerce-checkout #payment .woocommerce-privacy-policy-text p,
#payment .woocommerce-privacy-policy-text p {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: #475569 !important;
    margin: 0 0 16px 0 !important;
}

.woocommerce-privacy-policy-text a,
.woocommerce-checkout #payment .woocommerce-privacy-policy-text a {
    color: #2563eb !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
}

/* Place Order Button */
#add_payment_method #payment #place_order,
.woocommerce-cart #payment #place_order,
.woocommerce-checkout #payment #place_order,
.woocommerce-checkout button#place_order,
button#place_order {
    background: #2563eb !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 13px 28px !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer !important;
    width: 100% !important;
    display: block !important;
    margin-top: 16px !important;
    margin-bottom: 8px !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3) !important;
    transition: all 0.2s ease !important;
}

#add_payment_method #payment #place_order:hover,
.woocommerce-cart #payment #place_order:hover,
.woocommerce-checkout #payment #place_order:hover,
.woocommerce-checkout button#place_order:hover,
button#place_order:hover {
    background: #1d4ed8 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4) !important;
}

/* Thank you / Order received screen */
.woocommerce-order {
    text-align: center;
    padding: 20px 0;
}

.woocommerce-thankyou-order-received {
    font-size: 20px;
    font-weight: 800;
    color: #10b981;
    margin-bottom: 20px;
}

.woocommerce-order-overview {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 14px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

/* ==========================================================================
   Live Order Tracking Page Styles
   ========================================================================== */
.gif-track-hero-banner {
    background-color: var(--gif-bg-dark);
    padding: 40px 0 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.gif-track-page-title {
    font-family: var(--gif-font-heading);
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    text-align: center;
}

.gif-track-page-subtitle {
    font-size: 15px;
    color: #94a3b8;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.5;
}

/* Tracking Search Card */
.gif-track-search-card {
    max-width: 760px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 18px;
    padding: 24px 28px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.gif-track-inputs-row {
    display: grid;
    grid-template-columns: 1fr 1.3fr auto;
    gap: 16px;
    align-items: flex-end;
}

.gif-track-input-group {
    display: flex;
    flex-direction: column;
}

.gif-track-input-group label {
    font-size: 12.5px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
}

.gif-track-input-group input {
    height: 44px;
    padding: 10px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    transition: all 0.15s ease;
}

.gif-track-input-group input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.gif-btn-track-submit {
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 0 22px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.gif-btn-track-submit:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}

/* Main Section */
.gif-track-main-section {
    background-color: #f8fafc;
    padding: 50px 0 80px;
}

/* Result Card */
.gif-track-result-wrapper {
    max-width: 820px;
    margin: 0 auto;
}

.gif-track-result-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px 36px;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
}

.gif-track-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 12px;
}

.gif-track-order-meta {
    display: flex;
    flex-direction: column;
}

.gif-track-order-num {
    font-family: var(--gif-font-heading);
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
}

.gif-track-order-date {
    font-size: 13px;
    color: #64748b;
}

/* Status Pill */
.gif-track-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

.gif-status-progress {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.gif-status-completed {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.gif-status-pending {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.gif-status-refill {
    background: #f0fdfa;
    color: #0f766e;
    border: 1px solid #99f6e4;
}

.gif-status-hold {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* Service Row */
.gif-track-service-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 26px;
}

.gif-track-service-title {
    font-family: var(--gif-font-heading);
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.gif-track-target-link-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13.5px;
}

.gif-target-label {
    color: #64748b;
    font-weight: 500;
}

.gif-target-link {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

.gif-target-link:hover {
    text-decoration: underline;
}

/* Progress Box */
.gif-track-progress-box {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 22px;
    margin-bottom: 24px;
}

.gif-track-progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.gif-progress-label {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
}

.gif-progress-percentage {
    font-size: 15px;
    font-weight: 800;
    color: #2563eb;
    font-family: var(--gif-font-heading);
}

.gif-track-progress-bar {
    width: 100%;
    height: 14px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.gif-track-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #10b981);
    border-radius: 10px;
    transition: width 0.6s ease;
}

.gif-track-progress-subtext {
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    font-weight: 600;
    color: #64748b;
}

/* Dual Milestones (Monetization Bundles) */
.gif-bundle-track-badge {
    display: inline-flex;
    align-items: center;
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.gif-dual-milestones-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.gif-milestone-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.gif-milestone-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.gif-m1-card {
    border-left: 4px solid #2563eb;
}

.gif-m2-card {
    border-left: 4px solid #10b981;
}

.gif-milestone-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.gif-milestone-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gif-milestone-num {
    font-family: var(--gif-font-heading);
    font-size: 11px;
    font-weight: 800;
    color: #2563eb;
    background: #eff6ff;
    padding: 3px 7px;
    border-radius: 6px;
}

.gif-m2-card .gif-milestone-num {
    color: #059669;
    background: #ecfdf5;
}

.gif-milestone-name {
    font-family: var(--gif-font-heading);
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
}

.gif-milestone-sub {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
}

.gif-milestone-pct {
    font-family: var(--gif-font-heading);
    font-size: 16px;
    font-weight: 800;
    color: #2563eb;
}

.gif-pct-m2 {
    color: #059669;
}

.gif-milestone-progress-bar {
    width: 100%;
    height: 10px;
    background: #f1f5f9;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 14px;
}

.gif-milestone-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    border-radius: 8px;
    transition: width 0.6s ease;
}

.gif-fill-m2 {
    background: linear-gradient(90deg, #059669, #10b981);
}

.gif-milestone-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: #f8fafc;
    border-radius: 10px;
    padding: 10px 12px;
}

.gif-milestone-kpi {
    display: flex;
    flex-direction: column;
}

.gif-kpi-lbl {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.gif-kpi-val {
    font-family: var(--gif-font-heading);
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
}

.gif-kpi-active .gif-kpi-val {
    color: #2563eb;
}

.gif-kpi-active-m2 .gif-kpi-val {
    color: #059669;
}

/* 3-Column Stats Grid */
.gif-track-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.gif-track-stat-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
}

.gif-stat-label {
    font-size: 11.5px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.gif-stat-val {
    font-family: var(--gif-font-heading);
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 2px;
}

.gif-stat-sub {
    font-size: 11.5px;
    color: #94a3b8;
}

.gif-stat-highlight {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.gif-stat-highlight .gif-stat-label {
    color: #1d4ed8;
}

.gif-stat-highlight .gif-stat-val {
    color: #2563eb;
}

/* Notes Box */
.gif-track-notes-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 24px;
}

.gif-track-notes-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 13px;
    color: #166534;
}

.gif-track-note-time {
    font-size: 11.5px;
    color: #64748b;
    margin-left: auto;
}

.gif-track-note-text {
    font-size: 13.5px;
    color: #1e293b;
    margin: 0;
    line-height: 1.5;
}

/* Card Footer */
.gif-track-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    flex-wrap: wrap;
    gap: 12px;
}

.gif-track-help-text {
    font-size: 13px;
    color: #64748b;
}

.gif-track-footer-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gif-btn-contact-support {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 8px;
    background: #0f172a;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.gif-btn-contact-support:hover {
    background: #1e293b;
    transform: translateY(-1px);
}

.gif-btn-track-another {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #334155 !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.gif-btn-track-another:hover {
    background: #e2e8f0;
}

/* Error Card */
.gif-track-error-card {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    border: 1.5px solid #fee2e2;
    border-radius: 18px;
    padding: 36px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.gif-error-icon {
    width: 60px;
    height: 60px;
    background: #fef2f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.gif-error-title {
    font-family: var(--gif-font-heading);
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.gif-error-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 22px;
}

.gif-btn-try-again {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    border-radius: 8px;
    background: #2563eb;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

/* Guide Cards */
.gif-track-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.gif-track-guide-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--gif-shadow-sm);
}

.gif-guide-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.gif-guide-title {
    font-family: var(--gif-font-heading);
    font-size: 16.5px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.gif-guide-desc {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 768px) {
    .gif-track-inputs-row {
        grid-template-columns: 1fr;
    }
    .gif-track-search-card {
        padding: 20px 18px;
    }
    .gif-track-page-title {
        font-size: 24px;
    }
    .gif-track-result-card {
        padding: 22px 18px;
    }
    .gif-track-stats-grid {
        grid-template-columns: 1fr;
    }
    .gif-dual-milestones-grid {
        grid-template-columns: 1fr;
    }
    .gif-track-guide-grid {
        grid-template-columns: 1fr;
    }
    .gif-track-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    .gif-track-footer-actions {
        width: 100%;
        flex-direction: column;
    }
    .gif-btn-contact-support,
    .gif-btn-track-another {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Custom Authentication Page (Login / Register)
   ========================================================================== */
.gif-auth-page-wrap {
    background: #f8fafc;
    padding: 70px 0 90px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.gif-auth-card-split {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    max-width: 1040px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.08), 0 0 1px rgba(15, 23, 42, 0.1);
    overflow: hidden;
}

/* Left Perks Side */
.gif-auth-perks-side {
    background: linear-gradient(145deg, #0b0f19 0%, #172554 100%);
    padding: 50px 45px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.gif-auth-perks-side::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, rgba(59, 130, 246, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.gif-auth-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 11.5px;
    font-weight: 800;
    color: #93c5fd;
    letter-spacing: 1px;
    margin-bottom: 22px;
}

.gif-badge-dot {
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
}

.gif-auth-perks-title {
    font-family: var(--gif-font-heading);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    margin: 0 0 14px 0;
}

.gif-auth-perks-sub {
    color: #94a3b8;
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0 0 32px 0;
}

.gif-auth-feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 35px;
}

.gif-auth-feat-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.gif-auth-feat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gif-auth-feat-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gif-auth-feat-text strong {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

.gif-auth-feat-text span {
    font-size: 12.5px;
    color: #94a3b8;
    line-height: 1.4;
}

.gif-auth-trust-box {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    gap: 12px;
}

.gif-auth-trust-stars {
    color: #f59e0b;
    font-size: 16px;
    letter-spacing: 2px;
}

.gif-auth-trust-text {
    margin: 0;
    font-size: 12.5px;
    color: #cbd5e1;
}

.gif-auth-trust-text strong {
    color: #ffffff;
}

/* Right Form Side */
.gif-auth-form-side {
    padding: 45px 48px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gif-auth-tabs-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 28px;
    border: 1px solid #e2e8f0;
}

.gif-auth-tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px 16px;
    border: none;
    background: transparent;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.gif-auth-tab-btn.active {
    background: #ffffff;
    color: #2563eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.gif-auth-panel {
    display: none;
}

.gif-auth-panel.active {
    display: block;
    animation: gifAuthFade 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes gifAuthFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.gif-auth-panel-header {
    margin-bottom: 22px;
}

.gif-auth-heading {
    font-family: var(--gif-font-heading);
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.gif-auth-subheading {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.gif-custom-auth-form .gif-form-group {
    margin-bottom: 18px;
}

.gif-custom-auth-form label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
}

.gif-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.gif-label-row label {
    margin-bottom: 0;
}

.gif-forgot-link {
    font-size: 12.5px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.gif-forgot-link:hover {
    text-decoration: underline;
}

.gif-input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.gif-field-icon {
    position: absolute;
    left: 14px;
    pointer-events: none;
}

.gif-auth-input {
    width: 100% !important;
    padding: 12px 42px 12px 42px !important;
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    color: #0f172a !important;
    transition: all 0.2s ease !important;
    height: auto !important;
    box-sizing: border-box !important;
}

.gif-auth-input:focus {
    background: #ffffff !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15) !important;
    outline: none !important;
}

.gif-toggle-pw {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease;
}

.gif-toggle-pw:hover {
    color: #0f172a;
}

.gif-auth-options-row, .gif-auth-terms-row {
    margin-bottom: 22px;
}

.gif-checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-size: 13px !important;
    color: #475569 !important;
    font-weight: 500 !important;
    cursor: pointer;
    user-select: none;
}

.gif-checkbox-label input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    border-radius: 4px;
    cursor: pointer;
    accent-color: #2563eb;
    margin: 0 !important;
}

.gif-btn-auth-submit {
    width: 100% !important;
    padding: 13px 20px !important;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.gif-btn-auth-submit:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.45) !important;
}

.gif-btn-register {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35) !important;
}

.gif-btn-register:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%) !important;
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.45) !important;
}

.gif-auth-switch-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
}

.gif-auth-switch-footer p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.gif-auth-switch-footer a {
    color: #2563eb;
    text-decoration: none;
}

.gif-auth-switch-footer a:hover {
    text-decoration: underline;
}

/* WooCommerce Notices inside Auth Page */
.gif-auth-notices .woocommerce-error,
.gif-auth-notices .woocommerce-message,
.gif-auth-notices .woocommerce-info {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 13.5px;
    color: #991b1b;
    list-style: none;
}

.gif-auth-notices .woocommerce-message {
    background: #f0fdf4;
    border-left-color: #22c55e;
    color: #166534;
}

@media (max-width: 860px) {
    .gif-auth-card-split {
        grid-template-columns: 1fr;
    }
    .gif-auth-perks-side {
        padding: 35px 28px;
    }
    .gif-auth-form-side {
        padding: 35px 24px;
    }
    .gif-auth-page-wrap {
        padding: 30px 0 50px;
    }
}

/* ==========================================================================
   My Account Dashboard & Client Portal
   ========================================================================== */
.gif-account-hero {
    background: linear-gradient(135deg, #0b0f19 0%, #172554 100%);
    padding: 45px 0 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gif-account-hero-content {
    display: flex;
    align-items: center;
    gap: 22px;
}

.gif-account-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    font-size: 26px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.gif-account-badge-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.gif-account-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    color: #86efac;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 2px 10px;
    border-radius: 20px;
}

.gif-pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
}

.gif-account-member-since {
    font-size: 12.5px;
    color: #94a3b8;
}

.gif-account-welcome-title {
    font-family: var(--gif-font-heading);
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.gif-account-welcome-sub {
    font-size: 13.5px;
    color: #cbd5e1;
    margin: 0;
}

/* Account Body Layout */
.gif-account-body-wrap {
    background: #f8fafc;
    padding: 45px 0 80px;
}

.gif-account-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

/* Sidebar Navigation */
/* Reset WooCommerce standard floats on My Account */
.woocommerce-account .woocommerce {
    width: 100%;
}

.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after {
    display: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.gif-account-sidebar .woocommerce-MyAccount-navigation,
nav.woocommerce-MyAccount-navigation {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-content,
.gif-account-card .woocommerce-MyAccount-content,
div.woocommerce-MyAccount-content {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.gif-account-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.gif-account-nav-item {
    border-bottom: 1px solid #f1f5f9;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.gif-account-nav-item:last-child {
    border-bottom: none;
}

.gif-account-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.gif-account-nav-link:hover {
    background: #f8fafc;
    color: #2563eb;
    padding-left: 22px;
}

.gif-account-nav-item.is-active .gif-account-nav-link {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 700;
    border-left: 4px solid #2563eb;
}

.gif-nav-highlight {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%) !important;
    color: #b45309 !important;
    font-weight: 700;
}

.gif-nav-live-badge {
    margin-left: auto;
    font-size: 10px;
    font-weight: 800;
    color: #ffffff;
    background: #ef4444;
    padding: 2px 6px;
    border-radius: 10px;
    animation: gifBadgePulse 1.5s infinite;
}

@keyframes gifBadgePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.gif-sidebar-support-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px;
    display: flex;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.gif-support-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gif-support-info strong {
    font-size: 13.5px;
    color: #0f172a;
    display: block;
    margin-bottom: 2px;
}

.gif-support-info p {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
    margin: 0 0 8px 0;
}

.gif-support-btn {
    font-size: 12.5px;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
}

.gif-support-btn:hover {
    text-decoration: underline;
}

/* Right Content Canvas */
.gif-account-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 35px 38px;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.04);
}

/* KPI Summary Stats */
.gif-kpi-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}

.gif-kpi-stat-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gif-kpi-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.gif-kpi-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gif-kpi-active .gif-kpi-icon-wrap {
    background: #fef3c7;
}

.gif-kpi-completed .gif-kpi-icon-wrap {
    background: #ecfdf5;
}

.gif-kpi-text {
    display: flex;
    flex-direction: column;
}

.gif-kpi-num {
    font-family: var(--gif-font-heading);
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}

.gif-kpi-label {
    font-size: 12.5px;
    color: #64748b;
    font-weight: 600;
}

/* Quick Banner */
.gif-dashboard-quick-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    border-radius: 16px;
    padding: 22px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    margin-bottom: 35px;
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.25);
}

.gif-quick-banner-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.gif-quick-banner-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gif-quick-banner-title {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 3px 0;
}

.gif-quick-banner-desc {
    font-size: 13px;
    color: #bfdbfe;
    margin: 0;
}

.gif-btn-quick-track {
    background: #ffffff;
    color: #1e40af;
    padding: 10px 18px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.gif-btn-quick-track:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Orders Table */
.gif-section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.gif-sub-heading, .gif-panel-title {
    font-family: var(--gif-font-heading);
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.gif-panel-subtitle {
    font-size: 13.5px;
    color: #64748b;
    margin: 0 0 24px 0;
}

.gif-view-all-link {
    font-size: 13px;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
}

.gif-view-all-link:hover {
    text-decoration: underline;
}

.gif-orders-table-wrap {
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.gif-custom-orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

.gif-custom-orders-table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 18px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

.gif-custom-orders-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
}

.gif-custom-orders-table tbody tr:last-child td {
    border-bottom: none;
}

.gif-custom-orders-table tbody tr:hover {
    background: #f8fafc;
}

.gif-order-number, .gif-order-number-link {
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
}

.gif-order-number-link:hover {
    text-decoration: underline;
}

.gif-order-items-count {
    font-size: 11.5px;
    color: #64748b;
}

.gif-status-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: capitalize;
}

.gif-status-completed {
    background: #ecfdf5;
    color: #065f46;
}

.gif-status-processing, .gif-status-in-progress {
    background: #eff6ff;
    color: #1e40af;
}

.gif-status-on-hold, .gif-status-pending {
    background: #fffbeb;
    color: #92400e;
}

.gif-status-cancelled, .gif-status-failed, .gif-status-refunded {
    background: #fef2f2;
    color: #991b1b;
}

.gif-order-actions-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gif-btn-action-track {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.gif-btn-action-track:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(217, 119, 6, 0.3);
}

.gif-btn-action-view {
    background: #f1f5f9;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.gif-btn-action-view:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Empty Orders */
.gif-empty-orders-card {
    text-align: center;
    padding: 45px 20px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px dashed #cbd5e1;
}

.gif-empty-icon {
    margin-bottom: 14px;
}

.gif-empty-orders-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.gif-empty-orders-card p {
    color: #64748b;
    font-size: 14px;
    margin: 0 0 20px 0;
}

/* Account Details Form & Addresses Form */
.woocommerce-EditAccountForm, .woocommerce-address-fields {
    max-width: 650px;
}

.woocommerce-EditAccountForm fieldset {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px 24px;
    margin: 28px 0 24px 0;
    background: #f8fafc;
}

.woocommerce-EditAccountForm legend {
    font-family: var(--gif-font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    padding: 0 10px;
}

@media (max-width: 900px) {
    .gif-account-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .gif-account-sidebar {
        position: static;
    }
    .gif-kpi-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .gif-kpi-stat-card {
        padding: 12px 10px;
        gap: 8px;
        border-radius: 12px;
    }
    .gif-kpi-icon-wrap {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }
    .gif-kpi-icon-wrap svg {
        width: 18px;
        height: 18px;
    }
    .gif-kpi-num {
        font-size: 18px;
    }
    .gif-kpi-label {
        font-size: 10px;
        line-height: 1.2;
    }
    .gif-account-card {
        padding: 20px 16px;
        border-radius: 16px;
    }
}

@media (max-width: 768px) {
    .gif-account-hero {
        padding: 24px 0 28px;
    }
    .gif-account-hero-content {
        gap: 14px;
    }
    .gif-account-avatar {
        width: 50px;
        height: 50px;
        font-size: 19px;
        border-width: 2px;
    }
    .gif-account-badge-row {
        gap: 8px;
        margin-bottom: 4px;
        flex-wrap: wrap;
    }
    .gif-account-status-pill {
        font-size: 10px;
        padding: 2px 7px;
    }
    .gif-account-member-since {
        font-size: 11px;
    }
    .gif-account-welcome-title {
        font-size: 20px;
        margin-bottom: 2px;
    }
    .gif-account-welcome-sub {
        font-size: 12px;
        line-height: 1.4;
    }
    .gif-account-body-wrap {
        padding: 16px 0 35px;
    }

    /* Mobile Navigation: 2-Column Clean Grid */
    .gif-account-menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        padding: 10px;
        margin-bottom: 16px;
    }
    .gif-account-nav-item {
        border-bottom: none !important;
    }
    .gif-account-nav-link {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 12px !important;
        border-radius: 10px !important;
        background: #f8fafc;
        border: 1px solid transparent;
        font-size: 12.5px !important;
        font-weight: 600;
        color: #334155;
        white-space: normal;
        line-height: 1.25;
        height: 100%;
        box-sizing: border-box;
    }
    .gif-account-nav-link:hover {
        padding-left: 12px !important;
    }
    .gif-account-nav-item.is-active .gif-account-nav-link {
        background: #eff6ff !important;
        color: #2563eb !important;
        border: 1px solid #bfdbfe !important;
        font-weight: 700;
    }
    .gif-nav-tracker-item {
        grid-column: span 2;
    }
    .gif-nav-tracker-item .gif-account-nav-link {
        background: #fffbeb !important;
        color: #b45309 !important;
        border: 1px solid #fde68a !important;
        justify-content: center;
    }
    .gif-sidebar-support-card {
        display: none;
    }

    /* KPI Summary Cards on Mobile */
    .gif-kpi-stats-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin-bottom: 22px;
    }
    .gif-kpi-stat-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 14px 6px;
        gap: 6px;
        border-radius: 12px;
    }
    .gif-kpi-icon-wrap {
        width: 34px;
        height: 34px;
        border-radius: 8px;
        margin-bottom: 2px;
    }
    .gif-kpi-icon-wrap svg {
        width: 18px;
        height: 18px;
    }
    .gif-kpi-num {
        font-size: 20px;
        font-weight: 800;
        line-height: 1;
    }
    .gif-kpi-label {
        font-size: 10.5px;
        font-weight: 600;
        line-height: 1.25;
    }

    /* Orders Card Format on Mobile */
    .gif-sub-heading {
        font-size: 16px;
    }
    .gif-view-all-link {
        font-size: 12px;
    }
    .gif-orders-table-wrap {
        border: none !important;
        background: transparent !important;
    }
    .gif-custom-orders-table,
    .gif-custom-orders-table tbody,
    .gif-custom-orders-table tr,
    .gif-custom-orders-table td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .gif-custom-orders-table thead {
        display: none !important;
    }
    .gif-custom-orders-table tr {
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 14px !important;
        padding: 14px 16px !important;
        margin-bottom: 12px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
    }
    .gif-custom-orders-table td {
        padding: 4px 0 !important;
        border-bottom: none !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    .gif-custom-orders-table td:first-child {
        padding-bottom: 8px !important;
        border-bottom: 1px solid #f1f5f9 !important;
        margin-bottom: 6px !important;
    }
    .gif-custom-orders-table td:last-child {
        padding-top: 10px !important;
        margin-top: 8px !important;
        border-top: 1px solid #f1f5f9 !important;
        justify-content: flex-start !important;
    }
    .gif-order-actions-group {
        width: 100%;
        display: flex;
        gap: 8px;
    }
    .gif-btn-action-track {
        flex: 1;
        justify-content: center;
        padding: 8px 12px !important;
        font-size: 12.5px !important;
        border-radius: 8px !important;
    }
    .gif-btn-action-view {
        flex: 1;
        text-align: center;
        justify-content: center;
        padding: 8px 12px !important;
        font-size: 12.5px !important;
        border-radius: 8px !important;
    }
}
