/* Seat Covers Flow Custom Styles */
:root {
    --sc-bg: #000000;
    --sc-text: #FFFFFF;
    --sc-yellow: #D4A332;
    --sc-input-bg: #1A1A1A;
    --sc-border: #333333;
    --sc-font: 'Outfit', sans-serif;
}

body.seat-covers-flow-body {
    background-color: var(--sc-bg);
    color: var(--sc-text);
    font-family: var(--sc-font);
    margin: 0;
    padding: 0;
}

/* Header */
.sc-flow-header {
    text-align: center;
    padding: 20px 0;
}
.sc-logo {
    max-height: 48px;
}

/* Split Layout */
.sc-flow-main {
    width: 100%;
    margin: 0;
    padding: 0;
}
.sc-split-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.sc-left-col, .sc-right-col {
    flex: 1;
    min-width: 300px;
}

/* Left side elements */
.sc-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.sc-bottom-sections {
    width: 100%;
    margin: 40px auto 0;
}

.sc-guarantee-card {
    position: relative;
    background-color: transparent;
    padding: 30px 40px;
    border-radius: 6px;
    width: calc(100% - 40px);
    max-width: 1080px;
    margin: 0 auto 60px auto;
    display: flex;
    align-items: center;
    justify-content:space-between;
    gap: 60px;
    flex-wrap: nowrap;
    overflow: hidden;
    z-index: 1;
}

.sc-guarantee-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 60%, var(--sc-yellow) 100%);
    animation: rotateBorderGlow 4s linear infinite;
    z-index: -2;
}

.sc-guarantee-card::after {
    content: '';
    position: absolute;
    inset: 2px;
    background-color: var(--sc-input-bg);
    border-radius: 4px;
    z-index: -1;
}

@keyframes rotateBorderGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.sc-guarantee-text-col {
    flex: 0 0 auto;
}

.sc-guarantee-title {
    font-size: 28px;
    margin-bottom: 6px;
    text-transform: uppercase;
    font-weight: 700;
}

.sc-guarantee-subtitle {
    font-size: 18px;
    color: var(--sc-yellow);
    letter-spacing: 0.5px;
    font-weight: 700;
    margin: 0;
}

.sc-guarantee-icons-col {
    display: flex;
    gap: 15px;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.sc-guarantee-icon-card {
    background-color: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 25px;
    border-radius: 4px;
    text-align: center;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.sc-guarantee-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.sc-guarantee-label {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
}

.sc-how-it-works {
    position: relative;
    padding: 80px 20px;
    background: linear-gradient(to bottom, #000 0%, #050505 6%, #050505 94%, #000 100%);
    overflow: hidden;
}

.sc-how-it-works-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/bg_tire_track.png') center/cover;
    opacity: 0.02;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
    z-index: 0;
}

.sc-how-it-works-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.sc-how-it-works-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.4;
}
.sc-steps-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.sc-step-grid-card {
    background-color: var(--sc-input-bg);
    width: calc(33.333% - 20px);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--sc-border);
}
@media (max-width: 991px) {
    .sc-step-grid-card {
        width: calc(50% - 20px);
    }
}
@media (max-width: 576px) {
    .sc-step-grid-card {
        width: 100%;
    }
}
.sc-step-grid-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.sc-step-grid-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.sc-step-grid-num {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--sc-yellow);
    font-size: 24px;
    font-weight: bold;
    z-index: 2;
}
.sc-step-grid-content {
    padding: 20px;
}
.sc-step-grid-content h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    text-transform: uppercase;
}
.sc-step-grid-content p {
    margin: 0;
    font-size: 14px;
    color: #ccc;
    line-height: 1.5;
}

.sc-reviews-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--sc-border);
}
.sc-reviews-section h3 {
    font-size: 24px;
    margin-bottom: 30px;
}
.sc-stamped-widget-placeholder {
    background-color: var(--sc-input-bg);
    padding: 40px;
    text-align: center;
    border-radius: 8px;
}

/* Right Side - Form */
.sc-right-col {
    position: relative;
    padding-right: 30px; /* space for dots on right */
}

/* Step Dots */
.sc-step-dots {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--sc-border);
    transition: all 0.3s;
}
.sc-dot.active {
    background-color: var(--sc-yellow);
    box-shadow: 0 0 8px rgba(212, 163, 50, 0.6);
}

.sc-text-yellow {
    color: var(--sc-yellow);
}
.uppercase-wide {
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sc-section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
    line-height: 1.2;
}

.sc-step4-title {
    text-transform: none;
    margin-bottom: 10px; /* Bring subtitle closer */
    font-weight: 800; /* Bold appearance in mockup */
}

.sc-step4-subtitle {
    text-transform: none;
    color: var(--sc-yellow);
    font-size: 18px;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 30px;
    line-height: 1.4;
}

.sc-form-group {
    margin-bottom: 20px;
}
.sc-form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.sc-input {
    width: 100%;
    background-color: var(--sc-input-bg);
    border: 1px solid var(--sc-border);
    color: var(--sc-text);
    padding: 15px;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}
.sc-input:focus {
    outline: none;
    border-color: var(--sc-yellow);
}

.sc-disclaimer-box {
    border: 1px solid var(--sc-yellow);
    padding: 15px;
    margin-bottom: 25px;
    font-size: 14px;
    font-style: italic;
    color: #ccc;
}

/* Packages */
.sc-package-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}
.sc-package-card {
    cursor: pointer;
    position: relative;
}
.sc-package-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.sc-package-card-inner {
    background-color: var(--sc-input-bg);
    border: 2px solid transparent;
    border-radius: 4px;
    padding: 20px;
    transition: all 0.3s;
}
.sc-package-card input:checked + .sc-package-card-inner {
    border-color: var(--sc-yellow);
}
.sc-package-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.sc-package-name {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}
.sc-package-price {
    font-size: 24px;
    font-weight: bold;
}
.sc-package-desc {
    font-size: 14px;
    color: #aaa;
    margin: 0;
}

/* Colors */
.sc-color-picker-box {
    background-color: var(--sc-input-bg);
    padding: 30px;
    border-radius: 4px;
    margin-bottom: 30px;
}
.sc-color-row {
    margin-bottom: 25px;
}
.sc-color-row:last-child {
    margin-bottom: 0;
}
.sc-color-row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sc-color-row-label {
    font-size: 14px;
    margin-bottom: 15px;
}
.sc-color-active-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}
.sc-color-swatches {
    display: flex;
    gap: 15px;
}
.sc-swatch-label {
    cursor: pointer;
    position: relative;
    display: inline-block;
}
.sc-color-swatches-grid {
    display: flex;
    gap: 15px;
    width: 100%;
}
.sc-swatch-label {
    flex: 1;
    cursor: pointer;
    position: relative;
    display: block;
}
.sc-swatch-label input {
    position: absolute;
    opacity: 0;
}
.sc-swatch-img-wrapper {
    width: 100%;
    aspect-ratio: 1;
    border: 1px solid transparent;
    transition: all 0.2s ease-in-out;
    overflow: hidden;
    position: relative;
}
.sc-swatch-label input:checked + .sc-swatch-img-wrapper {
    border-color: var(--sc-yellow);
}
.sc-swatch-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* Summary Step 5 */
.sc-summary-block {
    margin-bottom: 5px;
}
.sc-summary-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 2px;
    margin-top: 0;
    letter-spacing: 1px;
}
.sc-summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}
.sc-summary-list li {
    margin-bottom: 0;
}
.sc-summary-list span {
    font-weight: normal;
}
.sc-summary-divider {
    height: 1px;
    background-color: var(--sc-border);
    margin: 10px 0;
}
.sc-summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sc-summary-value {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}
.sc-summary-subprice {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}
.sc-mini-swatch {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #000 50%, #173874 50%);
    border: 1px solid #444;
}

.sc-total-price-block {
    margin: 30px 0;
}
.sc-total-large {
    font-size: 42px;
    font-weight: 800;
    margin-right: 15px;
}
.sc-affirm-text {
    font-size: 14px;
    color: #aaa;
    font-style: italic;
}

.sc-terms-check {
    margin-bottom: 30px;
}
.sc-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.sc-checkbox-label input {
    position: absolute;
    opacity: 0;
}
.sc-checkbox-custom {
    width: 20px;
    height: 20px;
    background-color: var(--sc-input-bg);
    border: 1px solid var(--sc-border);
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sc-checkbox-label input:checked + .sc-checkbox-custom::after {
    content: "✓";
    color: var(--sc-yellow);
}
.sc-checkbox-text a {
    color: #aaa;
    text-decoration: underline;
}

.sc-help-card {
    background-color: transparent;
    padding: 20px;
    border: 1px solid var(--sc-yellow);
    border-radius: 8px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}
.sc-help-icon {
    flex-shrink: 0;
}
.sc-help-content p {
    margin: 0;
}
.sc-help-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 5px !important;
}
.sc-help-subtitle {
    font-size: 16px;
}
.sc-help-subtitle a {
    color: var(--sc-yellow);
    font-weight: 700;
    text-decoration: underline;
}

.sc-step-section {
    display: flex;
    flex-direction: column;
}

.sc-form-actions {
    display: flex;
    margin-top: 30px;
    order: 99;
}
.sc-actions-right { justify-content: flex-end; }
.sc-actions-left { justify-content: flex-start; }
.sc-actions-between { justify-content: space-between; }

.sc-btn {
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.3s;
}
.sc-btn-next, .sc-btn-buy {
    background-color: var(--sc-yellow);
    color: #000;
}
.sc-btn-back {
    background-color: var(--sc-input-bg);
    color: var(--sc-text);
    border: 1px solid var(--sc-yellow);
}
@media (hover: hover) and (pointer: fine) {
    .sc-btn-next:hover, .sc-btn-buy:hover {
        background-color: #e5b342;
    }
    .sc-btn-back:hover {
        background-color: #2a2a2a;
    }
}
.sc-btn-buy {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0; /* Override generic padding */
    overflow: hidden;
}
.sc-btn-main-text {
    flex: 1;
    text-align: center;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}
.sc-btn-arrow {
    padding: 15px 20px;
    border-left: 1px solid rgba(0,0,0,0.2);
    font-size: 20px;
}
/* Responsive */
@media (max-width: 991px) {
    .sc-split-container {
        flex-direction: column;
    }
    .sc-step-dots {
        position: relative;
        flex-direction: row;
        top: auto;
        transform: none;
        justify-content: center;
        margin-bottom: 20px;
    }
    .sc-right-col {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .sc-guarantee-card {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 30px 20px;
    }
    .sc-guarantee-title {
        font-size: clamp(32px, 6vw, 38px);
        font-weight: 800;
    }
    .sc-how-it-works-title {
        font-size: clamp(36px, 8vw, 48px);
        font-weight: 900;
        text-transform: uppercase;
        line-height: 1.2;
        margin-bottom: 30px;
    }
    .sc-guarantee-icons-col {
        flex-wrap: nowrap;
        width: 100%;
        gap: 10px;
    }
    .sc-guarantee-icon-card {
        min-width: 150px;
        flex: 1;
        padding: 15px 5px;
    }
    .sc-guarantee-label {
        font-size: 11px;
        line-height: 1.2;
    }
    .sc-guarantee-icon svg {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 576px) {
    .sc-color-swatches, .sc-color-swatches-grid {
        flex-wrap: wrap;
    }
    .sc-swatch-label {
        min-width: calc(50% - 15px);
        flex: 1 1 calc(50% - 15px);
    }
    .sc-color-swatches-grid .sc-swatch-label {
        min-width: calc(50% - 7.5px);
        flex: 1 1 calc(50% - 7.5px);
    }
    .sc-form-actions {
        flex-direction: column-reverse;
        gap: 15px;
    }
    .sc-btn {
        width: 100%;
        text-align: center;
    }
    .sc-help-card {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }
    .sc-help-icon {
        flex: 0 0 20%;
        display: flex;
        justify-content: center;
    }
    .sc-help-content {
        flex: 0 0 80%;
    }
    .sc-section-title {
        font-size: 26px;
        text-align: center;
    }
    .sc-subtitle {
        text-align: center;
    }
    .sc-total-price-block {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    .sc-total-large {
        font-size: 36px;
        margin-right: 0;
    }
    .sc-package-name {
        font-size: 18px;
    }
    .sc-package-price {
        font-size: 20px;
    }
    .sc-step-grid-card {
        width: 100%;
    }
    #sc-step-5 {
        display: flex;
        flex-direction: column;
    }
    #sc-step-5 .sc-btn-buy {
        order: 1;
    }
    #sc-step-5 .sc-form-actions {
        order: 2;
        margin-top: 15px;
    }
    #sc-step-5 .sc-help-card {
        order: 3;
    }
}
