/*
Theme Name: Blocksy Child - OzDistributors
Description: Child theme for OzDistributors B2B Wholesaler
Template: blocksy
Version: 1.0
*/

/* Import parent theme styles */
@import url("../blocksy/style.css");

/* Custom variables for OzDistributors branding */
:root {
    --oz-primary-blue: #1e3a8a;
    --oz-secondary-blue: #1e40af;
    --oz-light-blue: #eff6ff;
    --oz-dark-blue: #0f172a;
    --oz-accent-blue: #3b82f6;
    --oz-gray-50: #f8fafc;
    --oz-gray-100: #f1f5f9;
    --oz-gray-200: #e2e8f0;
    --oz-gray-300: #cbd5e1;
    --oz-gray-700: #334155;
    --oz-gray-800: #1e293b;
    --oz-gray-900: #0f172a;
    --oz-white: #ffffff;
    --oz-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --oz-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --oz-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --oz-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Header and Navigation Styling */
.site-header {
    background: var(--oz-white);
    box-shadow: var(--oz-shadow-sm);
    border-bottom: 1px solid var(--oz-gray-200);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .site-title a {
    color: var(--oz-primary-blue) !important;
    font-weight: 800;
    font-size: 1.75rem;
    letter-spacing: -0.025em;
}

.main-navigation a {
    color: var(--oz-gray-700) !important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
}

.main-navigation a:hover {
    color: var(--oz-primary-blue) !important;
}

/* Hero Section */
.oz-hero {
    background: linear-gradient(135deg, var(--oz-dark-blue) 0%, var(--oz-primary-blue) 100%);
    color: white;
    padding: 5rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.oz-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
}

.oz-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.oz-hero h1 {
    font-size: 3.75rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.oz-hero p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
    font-weight: 400;
    color: var(--oz-gray-200);
}

.oz-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--oz-white);
    color: var(--oz-primary-blue);
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--oz-shadow-xl);
    letter-spacing: -0.01em;
}

.oz-cta-button:hover {
    background: var(--oz-gray-50);
    transform: translateY(-2px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    color: var(--oz-primary-blue);
    text-decoration: none;
}

/* Categories Section */
.oz-categories {
    padding: 6rem 0;
    background: var(--oz-gray-50);
}

.oz-categories h2 {
    text-align: center;
    font-size: 2.75rem;
    color: var(--oz-gray-900);
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.oz-categories-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--oz-gray-700);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
}

.oz-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.oz-category-card {
    background: var(--oz-white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--oz-shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--oz-gray-200);
    position: relative;
    overflow: hidden;
}

.oz-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--oz-primary-blue), var(--oz-accent-blue));
}

.oz-category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--oz-shadow-xl);
    border-color: var(--oz-gray-300);
}

.oz-category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--oz-gray-900);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.01em;
}

.oz-category-icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--oz-primary-blue), var(--oz-accent-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--oz-shadow-md);
}

.oz-subcategories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
}

.oz-subcategory {
    background: var(--oz-gray-100);
    padding: 0.875rem 1rem;
    border-radius: 10px;
    font-size: 0.875rem;
    color: var(--oz-gray-800);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid transparent;
    font-weight: 500;
    letter-spacing: -0.005em;
}

.oz-subcategory:hover {
    background: var(--oz-light-blue);
    border-color: var(--oz-accent-blue);
    color: var(--oz-primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--oz-shadow-md);
}

.oz-subcategory a {
    color: var(--oz-gray-800);
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.oz-subcategory:hover a {
    color: var(--oz-primary-blue);
    font-weight: 600;
}

.oz-category-title a {
    color: var(--oz-gray-900);
    text-decoration: none;
    transition: color 0.3s ease;
}

.oz-category-title a:hover {
    color: var(--oz-primary-blue);
}

.oz-product-count {
    font-size: 0.75rem;
    opacity: 0.6;
    font-weight: 400;
    margin-left: 0.25rem;
}

.oz-category-description {
    color: var(--oz-gray-700);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.5;
}

/* Contact CTA Section */
.oz-contact-cta {
    background: linear-gradient(135deg, var(--oz-dark-blue) 0%, var(--oz-primary-blue) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.oz-contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
}

.oz-contact-cta .container {
    position: relative;
    z-index: 2;
}

.oz-contact-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.oz-contact-cta p {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    color: var(--oz-gray-200);
}

.oz-contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.oz-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* B2B Features Section */
.oz-features {
    padding: 6rem 0;
    background: var(--oz-white);
    position: relative;
}

.oz-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, transparent 0%, var(--oz-gray-50) 100%);
    opacity: 0.7;
}

.oz-features .container {
    position: relative;
    z-index: 2;
}

.oz-features h2 {
    text-align: center;
    font-size: 2.75rem;
    color: var(--oz-gray-900);
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.oz-features-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--oz-gray-700);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.oz-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.oz-feature-card {
    text-align: left;
    padding: 2.5rem;
    border-radius: 16px;
    background: var(--oz-white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--oz-gray-200);
    box-shadow: var(--oz-shadow-sm);
    position: relative;
    overflow: hidden;
}

.oz-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--oz-primary-blue), var(--oz-accent-blue));
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.oz-feature-card:hover::before {
    transform: scaleY(1);
}

.oz-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--oz-shadow-xl);
    border-color: var(--oz-gray-300);
}

.oz-feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--oz-primary-blue), var(--oz-accent-blue));
    border-radius: 16px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: var(--oz-shadow-md);
}

.oz-feature-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--oz-gray-900);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.oz-feature-description {
    color: var(--oz-gray-700);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Footer Styling */
.site-footer {
    background: var(--oz-gray-900);
    color: white;
    padding: 3rem 0 1rem;
}

.oz-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.oz-footer-section h3 {
    color: var(--oz-primary-blue);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.oz-footer-section p,
.oz-footer-section a {
    color: #d1d5db;
    line-height: 1.6;
    text-decoration: none;
}

.oz-footer-section a:hover {
    color: white;
}

.oz-footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .oz-hero h1 {
        font-size: 2rem;
    }
    
    .oz-hero p {
        font-size: 1.1rem;
    }
    
    .oz-categories h2,
    .oz-features h2 {
        font-size: 2rem;
    }
    
    .oz-categories-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .oz-subcategories {
        grid-template-columns: 1fr;
    }
    
    .oz-category-card {
        padding: 1.5rem;
    }
}

button[disabled] {
	opacity: 0.6 !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
}

.checkout-button[disabled]:hover {
	background-color: inherit !important;
}