/* style.css */
/**
 * Theme Name: MoreBlessingShoes
 * Theme URI:  https://moreblessingshoes.com
 * Description: A custom e-commerce theme for MoreBlessing Shop — shoes for every step.
 * Author:      MoreBlessing Team
 * Author URI:  https://moreblessingshoes.com
 * Version:     1.0.0
 * License:     GPL v2 or later
 * Text Domain: moreblessingshoes
 */

:root {
    --ink: #14181B;
    --ink-soft: #2A2F33;
    --chalk: #EEF0EC;
    --panel: #FFFFFF;
    --bib: #E0332E;
    --bib-dark: #A82420;
    --tan: #C9A472;
    --line: rgba(20,24,27,0.10);
    --line-dark: rgba(255,255,255,0.12);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Work Sans', sans-serif;
    background: var(--chalk);
    color: var(--ink);
    line-height: 1.5;
}
h1, h2, h3, .display {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.mono {
    font-family: 'JetBrains Mono', monospace;
}
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}
a {
    color: inherit;
    text-decoration: none;
}

/* ===== NAV ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    flex-wrap: wrap;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
}
.logo i {
    color: var(--bib);
    font-size: 1.6rem;
}
.logo .accent {
    color: var(--bib);
}
.nav-links {
    display: flex;
    gap: 30px;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.nav-links a {
    text-decoration: none;
    transition: .2s;
}
.nav-links a:hover {
    color: var(--bib);
}
.nav-icons {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1.1rem;
}
.nav-icons i {
    cursor: default;
    transition: .2s;
}
.nav-icons i:hover {
    color: var(--bib);
}
.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 40px;
    padding: 9px 16px;
    min-width: 200px;
}
.search-box i {
    color: #999;
    font-size: 0.9rem;
}
.search-box input {
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.88rem;
    width: 100%;
    color: var(--ink);
}
.search-box input::placeholder {
    color: #aaa;
}

/* ===== HERO / SLIDER ===== */
.hero-section {
    position: relative;
    margin: 18px 0 20px;
    border-radius: 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 20%, rgba(224,51,46,0.28), transparent 55%),
        radial-gradient(circle at 15% 85%, rgba(255,255,255,0.05), transparent 40%),
        var(--ink);
    color: #fff;
}
.slider-wrapper {
    display: flex;
    transition: transform .6s cubic-bezier(.25, .46, .45, .94);
}
.slide {
    min-width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 64px 48px;
    gap: 32px;
}
.bib {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid var(--bib);
    color: var(--bib);
    padding: 5px 16px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.slide-content {
    flex: 1 1 340px;
}
.slide-content h2 {
    font-size: 3.4rem;
    line-height: 1.05;
    margin-bottom: 16px;
}
.slide-content h2 .hi {
    color: var(--bib);
}
.slide-content p {
    font-size: 1.02rem;
    color: rgba(255,255,255,0.72);
    max-width: 420px;
    margin-bottom: 28px;
    font-weight: 400;
}
.slide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 6px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: .2s;
    text-decoration: none;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.btn-primary {
    background: var(--bib);
    color: #fff;
}
.btn-primary:hover {
    background: #fff;
    color: var(--ink);
}
.btn-outline {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.4);
    color: #fff;
}
.btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.08);
}
.slide-figure {
    flex: 1 1 240px;
    display: flex;
    justify-content: center;
}
.shoe-frame {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.03);
    position: relative;
    overflow: hidden;
}
.shoe-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.shoe-frame::before {
    content: '';
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 1px dashed rgba(255,255,255,0.15);
    pointer-events: none;
}
.slider-controls {
    position: absolute;
    bottom: 30px;
    right: 36px;
    display: flex;
    align-items: center;
    gap: 18px;
    z-index: 5;
}
.split-time {
    font-family: 'JetBrains Mono', monospace;
    color: rgba(255,255,255,0.55);
    font-size: 0.78rem;
    letter-spacing: 1px;
}
.ring-nav {
    display: flex;
    gap: 10px;
}
.ring-btn {
    --p: 0%;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background:
        conic-gradient(var(--bib) var(--p), rgba(255,255,255,0.18) 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
    position: relative;
}
.ring-btn::after {
    content: attr(data-n);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #fff;
}
.ring-btn.active {
    --p: 100%;
}
.slide-nav-arrows {
    position: absolute;
    bottom: 30px;
    left: 36px;
    display: flex;
    gap: 10px;
    z-index: 5;
}
.arrow-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.25);
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.arrow-btn:hover {
    background: #fff;
    color: var(--ink);
}

/* ===== SECTION HEADS ===== */
.section-head {
    margin: 60px 0 26px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.section-head h3 {
    font-size: 1.7rem;
}
.section-head .eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: var(--bib);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}
.section-head .view-all {
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    border-bottom: 1.5px solid var(--ink);
    padding-bottom: 2px;
}

/* ===== CATEGORIES ===== */
.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
}
.category-card {
    background: var(--panel);
    border-radius: 16px;
    padding: 22px 14px;
    text-align: center;
    border: 1px solid var(--line);
    font-weight: 600;
    transition: .2s;
    cursor: default;
}
.category-card:hover {
    background: var(--ink);
    color: #fff;
    transform: translateY(-4px);
}
.category-card i {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 8px;
    color: var(--bib);
}

/* ===== PRODUCT GRID ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 22px;
}
.product-card {
    background: var(--panel);
    border-radius: 18px;
    padding: 18px;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    transition: .2s;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 32px -14px rgba(20,24,27,0.18);
}
.product-img {
    background: var(--chalk);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 14px;
    height: 170px;
}
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: .3s;
}
.product-card:hover .product-img img {
    transform: scale(1.04);
}
.product-info h4 {
    font-weight: 700;
    font-size: 0.98rem;
    margin-bottom: 3px;
}
.product-info .desc {
    font-size: 0.78rem;
    color: #6b6b6b;
    margin-bottom: 8px;
}
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    border-top: 1px solid var(--line);
    padding-top: 12px;
}
.price {
    font-weight: 800;
    font-size: 1.05rem;
}
.price small {
    font-weight: 400;
    font-size: 0.68rem;
    color: #999;
    margin-left: 5px;
    text-decoration: line-through;
}
.product-footer i {
    background: var(--ink);
    color: #fff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: .2s;
    cursor: default;
}
.product-footer i:hover {
    background: var(--bib);
}

/* ===== PROCESS ===== */
.process {
    background: var(--ink);
    color: #fff;
    border-radius: 28px;
    padding: 52px 44px;
    margin: 64px 0;
}
.process-head {
    max-width: 520px;
    margin-bottom: 40px;
}
.process-head .eyebrow {
    color: var(--bib);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}
.process-head h3 {
    font-size: 2rem;
    line-height: 1.15;
}
.process-head p {
    color: rgba(255,255,255,0.6);
    margin-top: 14px;
    font-size: 0.95rem;
}
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0;
    border-top: 1px solid var(--line-dark);
}
.process-step {
    padding: 26px 18px 0;
    border-right: 1px solid var(--line-dark);
}
.process-step:last-child {
    border-right: none;
}
.process-step .num {
    font-family: 'JetBrains Mono', monospace;
    color: var(--bib);
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: block;
}
.process-step h4 {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    font-size: 1.05rem;
    margin-bottom: 8px;
    letter-spacing: 0.4px;
}
.process-step p {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.testimonial {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 26px;
}
.testimonial .quote {
    font-size: 0.95rem;
    margin-bottom: 16px;
    color: var(--ink-soft);
}
.testimonial .who {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.testimonial .who span {
    display: block;
    font-weight: 400;
    text-transform: none;
    color: #888;
    margin-top: 2px;
}
.stars {
    color: var(--bib);
    margin-bottom: 12px;
    font-size: 0.8rem;
}

/* ===== FEATURES ===== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 20px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 30px 26px;
    margin: 60px 0;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 600;
    font-size: 0.92rem;
}
.feature-item i {
    font-size: 1.5rem;
    color: var(--bib);
    width: 1.8rem;
}

/* ===== NEWSLETTER ===== */
.newsletter {
    background: linear-gradient(135deg, var(--bib), var(--bib-dark));
    border-radius: 24px;
    padding: 48px 44px;
    margin: 60px 0;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}
.newsletter h3 {
    font-size: 1.7rem;
    max-width: 360px;
}
.newsletter p {
    color: rgba(255,255,255,0.85);
    margin-top: 8px;
    font-size: 0.9rem;
}
.newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.newsletter-form input {
    padding: 14px 18px;
    border-radius: 6px;
    border: none;
    font-size: 0.9rem;
    min-width: 230px;
    font-family: 'Work Sans', sans-serif;
}
.newsletter-form button {
    padding: 14px 26px;
    border-radius: 6px;
    border: none;
    background: var(--ink);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.82rem;
    cursor: pointer;
    transition: .2s;
}
.newsletter-form button:hover {
    background: #fff;
    color: var(--ink);
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--line);
    padding: 40px 0 24px;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}
.footer-links {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
    font-size: 0.88rem;
}
.footer-links a {
    text-decoration: none;
    font-weight: 600;
}
.footer-links a:hover {
    color: var(--bib);
}
.footer-social i {
    font-size: 1.3rem;
    margin-left: 16px;
    transition: .2s;
    cursor: default;
}
.footer-social i:hover {
    color: var(--bib);
}
.copy {
    font-size: 0.8rem;
    color: #888;
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

/* ===== MODAL / CART OVERLAY ===== */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
}
.cart-overlay.active {
    display: flex;
}
.cart-modal {
    background: #fff;
    max-width: 480px;
    width: 90%;
    padding: 30px;
    border-radius: 24px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}
.cart-modal .close-cart {
    position: absolute;
    top: 12px;
    right: 20px;
    font-size: 1.6rem;
    cursor: pointer;
    color: #999;
}
.cart-modal h2 {
    font-family: 'Anton', sans-serif;
    margin-bottom: 20px;
}
.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}
.cart-item .item-info {
    display: flex;
    gap: 12px;
}
.cart-item .item-info img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}
.cart-total {
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 16px;
    text-align: right;
}
.cart-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.cart-actions button {
    flex: 1;
    padding: 14px;
    border-radius: 8px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    background: var(--ink);
    color: #fff;
}
.cart-actions .pay-transfer {
    background: var(--bib);
}

/* ===== RESPONSIVE ===== */
@media (max-width:700px) {
    .navbar {
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
    }
    .nav-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    .nav-icons {
        justify-content: center;
        flex-wrap: wrap;
    }
    .search-box {
        min-width: 0;
        flex: 1 1 100%;
        order: 3;
    }
    .slide {
        padding: 44px 26px;
    }
    .slide-content h2 {
        font-size: 2.3rem;
    }
    .slider-controls {
        bottom: 16px;
        right: 20px;
    }
    .slide-nav-arrows {
        bottom: 16px;
        left: 20px;
    }
    .process {
        padding: 36px 24px;
    }
    .process-step {
        border-right: none;
        border-bottom: 1px solid var(--line-dark);
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    .newsletter {
        padding: 36px 26px;
    }
}