/* ===== Zen4Forge Professional Custom CSS ===== */

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

/* Layout */
.zak-site, #page { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.zak-main-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.zak-header-main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.site-branding .site-title a {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    text-decoration: none;
}

/* Navigation */
.zak-header-center-col .main-navigation ul,
.zak-header-center-col ul { display: flex; list-style: none; gap: 25px; }

.zak-header-center-col .main-navigation a,
.zak-header-center-col a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}

.zak-header-center-col .main-navigation a:hover { color: #2563eb; }

/* Products Grid */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 40px 0;
}

.product {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.product img { width: 100%; height: 220px; object-fit: cover; }

.product .woocommerce-loop-product__title {
    font-size: 18px;
    font-weight: 600;
    padding: 15px 20px 5px;
    color: #1a1a2e;
}

.product .price {
    padding: 0 20px 15px;
    font-size: 20px;
    font-weight: 700;
    color: #2563eb;
}

.product .button {
    display: inline-block;
    margin: 0 20px 20px;
    padding: 10px 20px;
    background: #2563eb;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.product .button:hover { background: #1d4ed8; }

/* Shop Page */
.woocommerce-products-header { padding: 30px 0; }
.woocommerce-products-header__title { font-size: 32px; font-weight: 700; color: #1a1a2e; }

/* Breadcrumbs */
.woocommerce-breadcrumb { padding: 15px 0; font-size: 14px; color: #888; }
.woocommerce-breadcrumb a { color: #555; text-decoration: none; }

/* Sidebar */
.widget-area { padding: 30px; background: #fff; border-radius: 12px; }
.widget-title { font-size: 18px; font-weight: 600; margin-bottom: 15px; color: #1a1a2e; }

/* Footer */
.site-info {
    background: #1a1a2e;
    color: #fff;
    padding: 40px 20px;
    margin-top: 60px;
    text-align: center;
}

.site-info a { color: #60a5fa; }

/* Cart & Account */
.site-tools { display: flex; align-items: center; gap: 15px; }
.tools-icon a { color: #555; text-decoration: none; font-size: 14px; }

/* WooCommerce Notices */
.woocommerce-message, .woocommerce-info {
    padding: 15px 20px;
    background: #f0f9ff;
    border-left: 4px solid #2563eb;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

/* Buttons */
.btn, .button, input[type="submit"] {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.btn:hover, .button:hover, input[type="submit"]:hover { background: #1d4ed8; }

/* Forms */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], textarea, select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .products { grid-template-columns: repeat(2, 1fr); }
    .zak-header-main-row { flex-direction: column; gap: 15px; }
    .zak-header-center-col .main-navigation ul { gap: 15px; }
}
