/* ==========================================================================
   PAGE TEMPLATES CSS — StickIt Auto Child Theme v1.4.0
   Homepage, Category, Product, Cart, Account
   ========================================================================== */

/* -----------------------------------------------------------------------
   HOMEPAGE — Hero Section
   ----------------------------------------------------------------------- */

.stickitauto-hero {
    padding: 48px 20px 40px;
    text-align: center;
    background-color: #0D0D0D;
    color: #FFFFFF;
}

.hero-inner {
    max-width: 600px;
    margin: 0 auto;
}

.hero-title {
    font-size: 28px;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    margin-bottom: 24px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #E8001D;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.15s ease, transform 0.15s ease;
    box-shadow: 0 4px 16px rgba(232,0,29,0.35);
    -webkit-tap-highlight-color: transparent;
}

.hero-cta:hover {
    background-color: #C0001A;
    color: #FFFFFF;
    transform: translateY(-1px);
}

@media (min-width: 768px) {
    .stickitauto-hero {
        padding: 80px 40px 72px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 17px;
    }
}

/* -----------------------------------------------------------------------
   HOMEPAGE — Categories Grid
   ----------------------------------------------------------------------- */

.stickitauto-categories-section {
    padding: 32px 16px;
    max-width: 1280px;
    margin: 0 auto;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
    text-align: center;
}

.stickitauto-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.category-card {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    position: relative;
    aspect-ratio: 1 / 1;
    background-color: #F3F4F6;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.category-card-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.category-card:hover .category-card-img {
    transform: scale(1.04);
}

.category-card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

@media (min-width: 480px) {
    .stickitauto-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .stickitauto-categories-section {
        padding: 48px 32px;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 28px;
    }

    .stickitauto-categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    .category-card-label {
        font-size: 14px;
        padding: 12px 16px;
    }
}

@media (min-width: 1024px) {
    .stickitauto-categories-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* -----------------------------------------------------------------------
   CATEGORY PAGE — Header
   ----------------------------------------------------------------------- */

.stickitauto-category-header {
    padding: 20px 16px 16px;
    border-bottom: 1px solid #F3F4F6;
    margin-bottom: 16px;
}

.category-page-title {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.category-page-desc {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .stickitauto-category-header {
        padding: 32px 0 24px;
    }

    .category-page-title {
        font-size: 28px;
    }
}

/* -----------------------------------------------------------------------
   CART PAGE — Free Shipping Bar
   ----------------------------------------------------------------------- */

.stickitauto-shipping-bar {
    background-color: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #374151;
    text-align: center;
}

.stickitauto-shipping-bar.reached {
    background-color: #ECFDF5;
    border-color: #6EE7B7;
    color: #065F46;
    font-weight: 600;
}

.shipping-bar-track {
    width: 100%;
    height: 5px;
    background-color: #E5E7EB;
    border-radius: 999px;
    margin-top: 8px;
    overflow: hidden;
}

.shipping-bar-fill {
    height: 100%;
    background-color: #1A7A4A;
    border-radius: 999px;
    transition: width 0.4s ease;
}

/* -----------------------------------------------------------------------
   PRODUCT PAGE — Trust Signals
   ----------------------------------------------------------------------- */

.stickitauto-trust-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #F3F4F6;
}

.stickitauto-trust-signals .trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    color: #4B5563;
}

.stickitauto-trust-signals .trust-item svg {
    color: #1A7A4A;
    flex-shrink: 0;
}
