/*
Theme Name: Astra Child
Template: astra
Author: Jorts Developer
Description: Custom highly accessible, ultra-fast e-commerce child theme for jorts.us.com
Version: 1.0.0
*/

/* 1. HERO SECTION */
.hero-section {
    padding: 140px 20px;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-color: #2b1e16; /* Brand Background Dark Brown */
    margin-bottom: 60px;
}
.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: #e3dac9; /* Brand Text Light Beige */
    margin-bottom: 16px;
    text-transform: uppercase;
}
.hero-section p {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 2. CATEGORY GRID & SECTION */
.category-grid-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}
.section-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    color: #2b1e16;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.category-card {
    background-color: #f7f7f7;
    border: 1px solid #e5e5e5;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.category-card:hover, .category-card:focus {
    background-color: #2b1e16;
    border-color: #2b1e16;
    outline: none;
}
.category-card:focus {
    outline: 3px solid #0056b3;
    outline-offset: 3px;
}
.category-card:hover .category-name, .category-card:focus .category-name {
    color: #e3dac9;
}
.category-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2b1e16;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 3. BRAND MANIFESTO */
.brand-manifesto {
    max-width: 800px;
    margin: 80px auto;
    text-align: center;
    padding: 0 20px;
}
.manifesto-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #333333;
}

/* 4. PRODUCT CARD GRID */
.homepage-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 40px auto 80px auto;
    padding: 0 20px;
}
.jorts-product-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    padding: 16px;
    display: flex;
    flex-direction: column;
}
.jorts-image-wrapper {
    position: relative;
    overflow: hidden;
    background: #f7f7f7;
    margin-bottom: 12px;
}
.jorts-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.jorts-product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2b1e16;
    margin: 0 0 8px 0;
    line-height: 1.4;
}
.jorts-product-price {
    font-size: 1rem;
    color: #707070;
    font-weight: 500;
    margin: 0 0 16px 0;
}
.jorts-accessible-button {
    display: block;
    text-align: center;
    background-color: #2b1e16;
    color: #e3dac9;
    text-decoration: none;
    padding: 12px 24px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: background-color 0.2s ease, color 0.2s ease;
    margin-top: auto;
}
.jorts-accessible-button:hover, .jorts-accessible-button:focus {
    background-color: #1a120d;
    color: #ffffff;
}
.jorts-accessible-button:focus {
    outline: 3px solid #0056b3;
    outline-offset: 3px;
}

/* 5. TRUST SIGNALS */
.trust-signals {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    background: #fdfdfd;
    border-top: 1px solid #eee;
    padding: 60px 20px;
    text-align: center;
}
.signal-item {
    flex: 1;
    min-width: 250px;
    margin: 20px;
}
.signal-item h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #2b1e16;
}
.signal-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* SCREEN READER ACCESSIBILITY ONLY */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 768px) {
    .hero-section { padding: 80px 20px; }
    .hero-section h1 { font-size: 2.2rem; }
    .manifesto-text { font-size: 1.1rem; }
}