/*
 Theme Name:   Strykerbags Child
 Theme URI:    https://strkrbags.com
 Description:  Custom GeneratePress child theme for Strykerbags.com - E-commerce bag store
 Author:       Strykerbags
 Author URI:   https://strkrbags.com
 Template:     generatepress
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  strykerbags-child
*/

/* ===================================
   STRYKERBAGS COLOR PALETTE
   Based on Figma design
   =================================== */

:root {
    /* Primary Brand Color - Blue-teal from category nav */
    --stryker-primary: #8599B3;
    --stryker-primary-dark: #6B7D92;
    --stryker-primary-light: #A3B5C7;

    /* Neutrals */
    --stryker-white: #FFFFFF;
    --stryker-black: #000000;
    --stryker-light-gray: #F5F5F5;
    --stryker-medium-gray: #F0F0F0;
    --stryker-dark-gray: #333333;
    --stryker-text-gray: #666666;

    /* Warm tones from featured section */
    --stryker-warm-white: #EBEBD9;
    --stryker-cream: #F8F6F0;

    /* Accent Colors */
    --stryker-yellow: #FFDD00;
    --stryker-success: #4CAF50;
    --stryker-error: #F44336;

    /* Typography */
    --stryker-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --stryker-font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --stryker-spacing-xs: 4px;
    --stryker-spacing-sm: 8px;
    --stryker-spacing-md: 16px;
    --stryker-spacing-lg: 24px;
    --stryker-spacing-xl: 32px;
    --stryker-spacing-2xl: 48px;

    /* Border Radius */
    --stryker-radius-sm: 4px;
    --stryker-radius-md: 8px;
    --stryker-radius-lg: 12px;
}

/* ===================================
   GENERATEPRESS OVERRIDES
   =================================== */

body {
    font-family: var(--stryker-font-primary);
    color: var(--stryker-dark-gray);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--stryker-font-heading);
    font-weight: 600;
}

/* ===================================
   TOP UTILITY BAR
   =================================== */

.stryker-top-bar {
    background: var(--stryker-white);
    border-bottom: 1px solid var(--stryker-light-gray);
    padding: 10px 0;
    font-size: 13px;
}

.stryker-top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stryker-top-bar-links {
    display: flex;
    gap: 24px;
}

.stryker-top-bar-links a {
    color: var(--stryker-dark-gray);
    text-decoration: none;
    transition: color 0.2s;
}

.stryker-top-bar-links a:hover {
    color: var(--stryker-primary);
}

.stryker-search-form {
    display: flex;
    align-items: center;
}

.stryker-search-form input {
    border: 1px solid var(--stryker-light-gray);
    padding: 8px 12px;
    border-radius: var(--stryker-radius-sm);
    font-size: 13px;
    width: 200px;
}

.stryker-search-form button {
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--stryker-text-gray);
}

/* ===================================
   MAIN HEADER / LOGO AREA
   =================================== */

.stryker-header {
    padding: 20px 0;
    background: var(--stryker-white);
}

.stryker-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stryker-logo {
    font-family: var(--stryker-font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--stryker-primary);
    text-decoration: none;
}

.stryker-logo span {
    color: var(--stryker-black);
}

.stryker-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stryker-cart-link {
    position: relative;
    color: var(--stryker-dark-gray);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stryker-cart-link .cart-count {
    background: var(--stryker-primary);
    color: var(--stryker-white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    position: absolute;
    top: -8px;
    right: -8px;
}

/* ===================================
   CATEGORY NAVIGATION BAR
   Blue-teal bar with all categories
   =================================== */

.stryker-category-nav {
    background: var(--stryker-primary);
    padding: 0;
}

.stryker-category-nav .container {
    display: flex;
    justify-content: center;
}

.stryker-category-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.stryker-category-nav li {
    position: relative;
}

.stryker-category-nav a {
    display: block;
    padding: 14px 18px;
    color: var(--stryker-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}

.stryker-category-nav a:hover,
.stryker-category-nav li:hover > a {
    background: var(--stryker-primary-dark);
}

/* Dropdown menus */
.stryker-category-nav li:hover > ul {
    display: block;
}

.stryker-category-nav ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--stryker-white);
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 100;
}

.stryker-category-nav ul ul li {
    border-bottom: 1px solid var(--stryker-light-gray);
}

.stryker-category-nav ul ul a {
    color: var(--stryker-dark-gray);
    padding: 12px 16px;
}

.stryker-category-nav ul ul a:hover {
    background: var(--stryker-light-gray);
}

/* ===================================
   HERO BANNER SECTION
   =================================== */

.stryker-hero {
    background: var(--stryker-warm-white);
    padding: 40px 0;
    text-align: center;
}

.stryker-hero h1 {
    font-size: 42px;
    color: var(--stryker-dark-gray);
    margin-bottom: 16px;
}

.stryker-hero p {
    font-size: 18px;
    color: var(--stryker-text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   PRODUCT GRID SECTIONS
   =================================== */

.stryker-products-section {
    padding: 60px 0;
}

.stryker-products-section:nth-child(odd) {
    background: var(--stryker-white);
}

.stryker-products-section:nth-child(even) {
    background: var(--stryker-light-gray);
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: var(--stryker-dark-gray);
    margin-bottom: 40px;
}

.section-title span {
    color: var(--stryker-primary);
}

.stryker-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .stryker-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .stryker-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stryker-product-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   PRODUCT CARD
   =================================== */

.stryker-product-card {
    background: var(--stryker-white);
    border-radius: var(--stryker-radius-md);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.stryker-product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--stryker-light-gray);
}

.stryker-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.stryker-product-card:hover .stryker-product-image img {
    transform: scale(1.05);
}

.stryker-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--stryker-primary);
    color: var(--stryker-white);
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--stryker-radius-sm);
}

.stryker-product-badge.best-seller {
    background: var(--stryker-yellow);
    color: var(--stryker-black);
}

.stryker-product-info {
    padding: 16px;
}

.stryker-product-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--stryker-dark-gray);
    margin-bottom: 8px;
    line-height: 1.4;
}

.stryker-product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--stryker-primary);
    margin-bottom: 12px;
}

.stryker-product-price .original {
    font-size: 14px;
    color: var(--stryker-text-gray);
    text-decoration: line-through;
    margin-left: 8px;
    font-weight: 400;
}

.stryker-product-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--stryker-primary);
    color: var(--stryker-white);
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--stryker-radius-sm);
    transition: background 0.2s;
}

.stryker-product-btn:hover {
    background: var(--stryker-primary-dark);
    color: var(--stryker-white);
}

/* ===================================
   SHOP BY SECTIONS
   =================================== */

.stryker-shop-by {
    padding: 60px 0;
    background: var(--stryker-warm-white);
}

.stryker-shop-by-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.stryker-shop-by-card {
    background: var(--stryker-white);
    border-radius: var(--stryker-radius-lg);
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.stryker-shop-by-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--stryker-dark-gray);
}

.stryker-shop-by-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stryker-shop-by-card li {
    padding: 10px 0;
    border-bottom: 1px solid var(--stryker-light-gray);
}

.stryker-shop-by-card li:last-child {
    border-bottom: none;
}

.stryker-shop-by-card a {
    color: var(--stryker-primary);
    text-decoration: none;
    font-size: 15px;
}

.stryker-brand-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.stryker-brand-logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--stryker-primary);
}

/* ===================================
   ABOUT STRYKER SECTION
   =================================== */

.stryker-about {
    padding: 80px 0;
    background: var(--stryker-white);
    text-align: center;
}

.stryker-about h2 {
    font-size: 36px;
    color: var(--stryker-dark-gray);
    margin-bottom: 20px;
}

.stryker-about-intro {
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--stryker-text-gray);
}

.stryker-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.stryker-feature {
    text-align: center;
    padding: 20px;
}

.stryker-feature-icon {
    width: 60px;
    height: 60px;
    background: var(--stryker-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--stryker-white);
    font-size: 24px;
}

.stryker-feature h4 {
    font-size: 16px;
    color: var(--stryker-dark-gray);
    margin-bottom: 8px;
}

.stryker-feature p {
    font-size: 13px;
    color: var(--stryker-text-gray);
    margin: 0;
}

/* ===================================
   FOOTER
   =================================== */

.stryker-footer {
    background: var(--stryker-light-gray);
    padding: 60px 0 30px;
}

.stryker-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.stryker-footer-col h4 {
    font-size: 16px;
    color: var(--stryker-dark-gray);
    margin-bottom: 20px;
    font-weight: 600;
}

.stryker-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stryker-footer-col li {
    padding: 8px 0;
}

.stryker-footer-col a {
    color: var(--stryker-text-gray);
    text-decoration: none;
    font-size: 14px;
}

.stryker-footer-col a:hover {
    color: var(--stryker-primary);
}

.stryker-footer-contact p {
    margin: 8px 0;
    font-size: 14px;
    color: var(--stryker-text-gray);
}

.stryker-footer-contact a {
    color: var(--stryker-primary);
}

.stryker-footer-bottom {
    border-top: 1px solid var(--stryker-medium-gray);
    padding-top: 30px;
    text-align: center;
    font-size: 13px;
    color: var(--stryker-text-gray);
}

/* ===================================
   WOOCOMMERCE OVERRIDES
   =================================== */

.woocommerce ul.products li.product {
    background: var(--stryker-white);
    border-radius: var(--stryker-radius-md);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.woocommerce ul.products li.product a {
    text-decoration: none;
}

.woocommerce span.onsale {
    background: var(--stryker-yellow);
    color: var(--stryker-black);
    padding: 6px 12px;
    border-radius: var(--stryker-radius-sm);
}

/* Single Product Page */
.woocommerce div.product {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.woocommerce div.product form.cart {
    margin-bottom: 30px;
}

.woocommerce button.single_add_to_cart_button {
    background: var(--stryker-yellow) !important;
    color: var(--stryker-black) !important;
    border: none !important;
    padding: 16px 40px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: var(--stryker-radius-sm) !important;
}

.woocommerce button.single_add_to_cart_button:hover {
    background: var(--stryker-primary) !important;
    color: var(--stryker-white) !important;
}

/* ===================================
   RESPONSIVE ADJUSTMENTS
   =================================== */

@media (max-width: 768px) {
    .stryker-top-bar .container {
        flex-direction: column;
        gap: 10px;
    }

    .stryker-category-nav ul {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .stryker-category-nav a {
        padding: 12px 14px;
        font-size: 13px;
    }

    .stryker-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stryker-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stryker-shop-by-grid {
        grid-template-columns: 1fr;
    }
}