/*
Theme Name: Devinco
Theme URI: https://devinco.com/
Author: Devinco Agency
Author URI: https://devinco.com/
Description: Devinco WordPress/WooCommerce theme designed for hourly technical agency tasks.
Version: 1.0.0
Text Domain: devinco
*/

/* Base WordPress class styling can go here if needed */
.aligncenter {
    display: block;
    margin: 0 auto;
}

.alignleft {
    float: left;
    margin: 0 20px 20px 0;
}

.alignright {
    float: right;
    margin: 0 0 20px 20px;
}

.wp-caption {
    max-width: 100%;
    margin-bottom: 20px;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: #666;
    margin-top: 5px;
    text-align: center;
}

/* Fix header logo expansion caused by WooCommerce core CSS */
header#masthead img,
#masthead a img,
header#masthead #logo {
    height: 32px !important;
    max-height: 32px !important;
    width: auto !important;
    max-width: 220px !important;
    object-fit: contain !important;
}

/* Fix footer logo expansion caused by WooCommerce core CSS */
footer#colophon img,
footer img#footer-logo {
    height: 24px !important;
    max-height: 24px !important;
    width: auto !important;
    max-width: 180px !important;
    object-fit: contain !important;
}

/* Animated Mesh Gradient / Aurora Background Keyframes */
@keyframes aurora-float-1 {
    0%, 100% {
        transform: translate(0px, 0px) scale(1);
    }
    33% {
        transform: translate(70px, -90px) scale(1.18);
    }
    66% {
        transform: translate(-50px, 60px) scale(0.92);
    }
}

@keyframes aurora-float-2 {
    0%, 100% {
        transform: translate(0px, 0px) scale(1);
    }
    40% {
        transform: translate(-80px, 70px) scale(1.22);
    }
    75% {
        transform: translate(60px, -50px) scale(0.88);
    }
}

@keyframes aurora-float-3 {
    0%, 100% {
        transform: translate(0px, 0px) scale(1);
    }
    50% {
        transform: translate(90px, 80px) scale(1.12);
    }
}

.animate-aurora-4 {
    animation: aurora-fluid-4 11s ease-in-out infinite;
}

/* Remove default WooCommerce borders on login, register and checkout coupon forms */
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.animate-aurora-1 {
    animation: aurora-float-1 18s ease-in-out infinite;
}

.animate-aurora-2 {
    animation: aurora-float-2 22s ease-in-out infinite;
}

.animate-aurora-3 {
    animation: aurora-float-3 20s ease-in-out infinite;
}

/* Line clamp utility to restrict excerpt/summary to max 3 lines with ellipsis */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hide scrollbar for Chrome, Safari, Opera, Firefox, IE/Edge */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Product Description Content Typography & Spacing Fix */
.product-description-content {
    color: #4b5563 !important;
    font-size: 0.975rem !important;
    line-height: 1.75 !important;
}

.product-description-content h1,
.product-description-content h2,
.product-description-content h3,
.product-description-content h4,
.product-description-content h5,
.product-description-content h6 {
    color: #111827 !important;
    font-family: 'Poppins', 'Inter', sans-serif !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin-top: 2.25rem !important;
    margin-bottom: 1rem !important;
    letter-spacing: -0.015em !important;
    display: block !important;
}

.product-description-content > *:first-child {
    margin-top: 0 !important;
}

.product-description-content h1 { font-size: 1.65rem !important; }
.product-description-content h2 { font-size: 1.45rem !important; border-left: 4px solid #124933 !important; padding-left: 0.75rem !important; }
.product-description-content h3 { font-size: 1.25rem !important; border-left: 3.5px solid #124933 !important; padding-left: 0.75rem !important; }
.product-description-content h4 { font-size: 1.1rem !important; }

.product-description-content p {
    margin-bottom: 1.25rem !important;
    line-height: 1.75 !important;
    color: #4b5563 !important;
}

.product-description-content p:last-child {
    margin-bottom: 0 !important;
}

.product-description-content ul {
    list-style-type: disc !important;
    padding-left: 1.35rem !important;
    margin-top: 0.75rem !important;
    margin-bottom: 1.5rem !important;
}

.product-description-content ol {
    list-style-type: decimal !important;
    padding-left: 1.35rem !important;
    margin-top: 0.75rem !important;
    margin-bottom: 1.5rem !important;
}

.product-description-content li {
    margin-bottom: 0.65rem !important;
    color: #374151 !important;
    line-height: 1.65 !important;
}

.product-description-content li p {
    margin-bottom: 0 !important;
    display: inline !important;
}

.product-description-content b,
.product-description-content strong {
    color: #111827 !important;
    font-weight: 700 !important;
}

.product-description-content blockquote {
    border-left: 4px solid #124933 !important;
    padding: 0.75rem 1.25rem !important;
    margin: 1.75rem 0 !important;
    font-style: italic !important;
    color: #374151 !important;
    background-color: #f8faf9 !important;
    border-radius: 0 10px 10px 0 !important;
}