/*
Theme Name: Sports
Description: A custom sports equipment e-commerce theme built with WordPress block editor and WooCommerce.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


/* ============================================================
   TABLE OF CONTENTS
   1.  Global / Reset
   2.  Layout
   3.  Header & Navigation
   4.  Hero / Cover Sections
   5.  Buttons
   6.  Headings & Typography
   7.  Product Cards (WooCommerce)
   8.  WooCommerce Pages (Cart, Checkout, Account, Shop)
   9.  Blog Cards
   10. Training Tips (Custom Post Type - Query Loop)
   11. Forms (Contact Form 7)
   12. Footer
   13. Legal Pages (Privacy Policy & Terms)
   14. Responsive - Tablet (max-width: 1024px)
   15. Responsive - Mobile (max-width: 768px)
   16. Responsive - Small Mobile (max-width: 480px)
   ============================================================ */

/* Remove default margin and set dark background */
body {
    margin: 0;
    padding: 0;
    background: #0f172a;
    color: #f8fafc;
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
}

/* Remove default list bullets inside nav */
ul, ol {
    list-style-position: inside;
}

/* Full-width layout reset */
.wp-site-blocks {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Allow full and wide blocks to stretch edge-to-edge */
.alignwide,
.alignfull {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
}

/* General link styles */
a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Link hover */
a:hover {
    color: #60a5fa;
}

/* Smooth scrolling across the site */
html {
    scroll-behavior: smooth;
}

/* Box sizing reset for consistent sizing */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Constrain non-full-width content to readable width */
.wp-site-blocks > .wp-block-group:not(.alignfull),
.entry-content > *:not(.alignfull):not(.alignwide) {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Header bar background */
header,
.wp-block-group.alignfull:first-child {
    background: #020617 !important;
    border-bottom: 1px solid #1e293b;
    padding: 14px 30px !important;
}

/* Site title as brand name */
.wp-block-site-title a {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 22px;
    text-decoration: none;
}

/* Navigation links */
.wp-block-navigation a,
.wp-block-navigation-item a {
    color: #e5e7eb !important;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 6px 14px;
}

/* Navigation link hover */
.wp-block-navigation a:hover,
.wp-block-navigation-item a:hover {
    color: #3b82f6 !important;
}

/* Active nav link */
.wp-block-navigation .current-menu-item a {
    color: #3b82f6 !important;
    border-bottom: 2px solid #3b82f6;
}

/* Mobile menu button styling */
.wp-block-navigation__responsive-container-open {
    color: #ffffff;
}

/* Mobile menu overlay */
.wp-block-navigation__responsive-container.is-menu-open {
    background: #020617;
    padding: 30px;
}


/* Cover block - edge to edge */
.wp-block-cover {
    border-radius: 0 !important;
    min-height: 400px;
}

/* Cover heading - large impact text */
.wp-block-cover h1,
.wp-block-cover h2 {
    font-size: 52px !important;
    font-weight: 800 !important;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    color: #ffffff !important;
    line-height: 1.2;
}

/* Cover paragraph text */
.wp-block-cover p {
    font-size: 20px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    color: #cbd5e1;
}

/* Center cover inner content */
.wp-block-cover__inner-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Columns layout - vertical center alignment */
.wp-block-columns {
    align-items: center;
    gap: 40px;
}

/* Images inside columns - rounded corners */
.wp-block-image img {
    border-radius: 14px;
}

/* Default button */
.wp-block-button__link {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    color: #ffffff !important;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

/* Button hover - lift effect */
.wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    color: #ffffff !important;
}

/* Button focus for accessibility */
.wp-block-button__link:focus {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

/* Outline style button variant */
.is-style-outline .wp-block-button__link {
    background: transparent !important;
    border: 2px solid #3b82f6;
    color: #3b82f6 !important;
}

.is-style-outline .wp-block-button__link:hover {
    background: #3b82f6 !important;
    color: #ffffff !important;
}

/* Section headings - white on dark background */
.wp-block-heading {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 30px;
    color: #ffffff;
}

/* Paragraph text */
.wp-block-paragraph,
p {
    color: #cbd5e1;
}

/* Spacer blocks */
.wp-block-spacer {
    margin: 0;
}

/* Separator / horizontal rule */
.wp-block-separator {
    border-color: #1e293b !important;
    opacity: 1;
}


/* Product card container */
.wc-block-grid__product,
.wc-block-product,
.woocommerce ul.products li.product,
.product {
    background: #111827 !important;
    border-radius: 16px !important;
    padding: 20px !important;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Product card hover */
.wc-block-grid__product:hover,
.wc-block-product:hover,
.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Product images */
.wc-block-grid__product img,
.wc-block-product img,
.woocommerce ul.products li.product img {
    border-radius: 12px !important;
    transition: transform 0.3s ease;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Product image zoom on hover */
.wc-block-grid__product:hover img,
.wc-block-product:hover img,
.woocommerce ul.products li.product:hover img {
    transform: scale(1.05);
}

/* Product title */
.wc-block-grid__product-title,
.wc-block-product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 600;
    margin-top: 14px;
    margin-bottom: 8px;
}

/* Regular price */
.wc-block-grid__product-price,
.wc-block-components-product-price,
.woocommerce ul.products li.product .price {
    color: #e2e8f0 !important;
    font-size: 16px;
    font-weight: 600;
}

/* Sale price - green */
.wc-block-components-product-price ins,
.wc-block-grid__product-price ins,
.woocommerce ul.products li.product .price ins {
    color: #22c55e !important;
    font-weight: bold;
    text-decoration: none;
}

/* Original price - muted strikethrough */
.wc-block-components-product-price del,
.wc-block-grid__product-price del,
.woocommerce ul.products li.product .price del {
    color: #9ca3af !important;
}

.wc-block-grid__product {
	max-width: 100% !important;
}

/* Add to cart button */
.wc-block-grid__product .wp-block-button__link,
.wc-block-product button,
.add_to_cart_button,
.woocommerce ul.products li.product .button {
    background: #3b82f6 !important;
    color: white !important;
    border: none;
    border-radius: 6px;
    padding: 10px 22px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
}

/* Add to cart hover */
.wc-block-grid__product .wp-block-button__link:hover,
.wc-block-product button:hover,
.add_to_cart_button:hover,
.woocommerce ul.products li.product .button:hover {
    background: #2563eb !important;
    transform: translateY(-1px);
}

/* Product grid layout */
.wc-block-grid__products,
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    list-style: none !important;
    padding: 0 20px !important;
}

/* Product rating stars */
.star-rating span::before {
    color: #fbbf24 !important;
}

/* Sale badge */
.woocommerce span.onsale,
.onsale {
    background: #ef4444 !important;
    color: white;
    border-radius: 50%;
    font-weight: 700;
}

/* WooCommerce product block grid (block editor version) */
.wc-block-product-template {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
}


/* Cart */
.woocommerce-cart table,
.wc-block-cart {
    background: #111827;
    color: white;
    border-radius: 12px;
    overflow: hidden;
}

.woocommerce-cart table th,
.wc-block-cart th {
    background: #1e293b;
    color: #e2e8f0;
    padding: 14px 16px;
    font-weight: 600;
    border: none;
}

.woocommerce-cart table td,
.wc-block-cart td {
    padding: 14px 16px;
    border-bottom: 1px solid #1e293b;
    color: #e2e8f0;
}

/* Cart totals */
.cart_totals,
.wc-block-cart__totals {
    background: #111827;
    border-radius: 12px;
    padding: 24px;
    color: #e2e8f0;
}

.cart_totals h2 {
    color: #ffffff;
}

/* Quantity input in cart */
.woocommerce-cart input[type="number"] {
    background: #1e293b;
    color: white;
    border: 1px solid #334155;
    border-radius: 6px;
    padding: 8px;
    width: 60px;
}

/* Remove item link */
.woocommerce-cart .remove {
    color: #ef4444 !important;
    font-size: 20px;
}

/* Checkout */
.woocommerce-checkout,
.wc-block-checkout {
    color: #e2e8f0;
}

/* Checkout form fields */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout select,
.wc-block-checkout input,
.wc-block-checkout select {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #f1f5f9 !important;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 15px;
    width: 100%;
    transition: border-color 0.3s ease;
}

/* Checkout field focus */
.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.wc-block-checkout input:focus,
.wc-block-checkout select:focus {
    border-color: #3b82f6 !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

/* Checkout labels */
.woocommerce-checkout label,
.wc-block-checkout label {
    color: #cbd5e1;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
}

/* Place order button */
.woocommerce-checkout #place_order,
.wc-block-checkout__actions button {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    color: white !important;
    border: none;
    border-radius: 8px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.woocommerce-checkout #place_order:hover,
.wc-block-checkout__actions button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

/* Order review table */
.woocommerce-checkout-review-order-table {
    background: #111827;
    border-radius: 12px;
    overflow: hidden;
    color: #e2e8f0;
}

.woocommerce-checkout-review-order-table th {
    color: #ffffff;
}

/* Account nav links */
.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
}

.woocommerce-MyAccount-navigation a {
    background: #111827;
    color: #e2e8f0 !important;
    display: block;
    padding: 14px 20px;
    margin-bottom: 4px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.woocommerce-MyAccount-navigation a:hover {
    background: #1e293b;
}

.woocommerce-MyAccount-navigation .is-active a {
    background: #3b82f6;
    color: #ffffff !important;
}

/* Account content area */
.woocommerce-MyAccount-content {
    background: #111827;
    padding: 28px;
    border-radius: 12px;
    color: #e2e8f0;
}

/* Notices */
.woocommerce-message,
.woocommerce-info {
    background: #1e293b !important;
    color: #e2e8f0 !important;
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
    padding: 14px 18px;
}

.woocommerce-error {
    background: #1e293b !important;
    color: #fca5a5 !important;
    border-left: 4px solid #ef4444;
    border-radius: 8px;
    padding: 14px 18px;
}

/* Single Product */
.woocommerce div.product .woocommerce-product-gallery img {
    border-radius: 12px;
}

.woocommerce div.product .product_title {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
}

.woocommerce div.product .price {
    color: #22c55e !important;
    font-size: 24px;
    font-weight: 700;
}

.woocommerce div.product .woocommerce-product-details__short-description p {
    color: #cbd5e1;
}

/* Single product add to cart button */
.woocommerce div.product .single_add_to_cart_button {
    background: #3b82f6 !important;
    color: white !important;
    border-radius: 8px;
    padding: 14px 30px;
    font-weight: 600;
    font-size: 16px;
}

.woocommerce div.product .single_add_to_cart_button:hover {
    background: #2563eb !important;
}

/* Product tabs (Description, Reviews, etc.) */
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: #9ca3af;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #3b82f6;
}

.woocommerce div.product .woocommerce-tabs .panel {
    color: #cbd5e1;
}

/* Breadcrumbs */
.woocommerce-breadcrumb {
    color: #9ca3af;
    font-size: 14px;
    margin-bottom: 20px;
}

.woocommerce-breadcrumb a {
    color: #3b82f6;
}

/* Blog post card */
.wp-block-post {
    position: relative;
    height: 320px;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 40px;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Blog card hover */
.wp-block-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

/* Featured image fills entire card */
.wp-block-post-featured-image {
    position: relative;
    inset: 0;
}

.wp-block-post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dark gradient overlay for text readability */
.wp-block-post::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

/* Text content sits above overlay */
.wp-block-post .wp-block-column:last-child,
.wp-block-post .wp-block-post-content,
.wp-block-post .wp-block-group {
    position: relative;
    z-index: 2;
    padding: 25px;
    width: 100%;
}

/* Post title inside card */
.wp-block-post-title {
    position: relative;
    z-index: 2;
}

.wp-block-post-title a {
    color: #ffffff !important;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.3;
}

.wp-block-post-title a:hover {
    color: #93c5fd !important;
}

/* Post excerpt */
.wp-block-post-excerpt {
    position: relative;
    z-index: 2;
}

.wp-block-post-excerpt__excerpt {
    color: #d1d5db !important;
    font-size: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Post date */
.wp-block-post-date {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 6px;
    position: relative;
    z-index: 2;
}

/* Read more link */
.wp-block-post-excerpt__more-link {
    color: #3b82f6 !important;
    font-weight: 600;
    font-size: 14px;
    position: relative;
    z-index: 2;
}

/* Training tips section wrapper */
.training-tips-section {
    background: #111827;
    padding: 60px 30px;
    border-radius: 20px;
    margin: 40px auto;
    max-width: 1300px;
}

/* Section title */
.training-tips-section .wp-block-heading {
    text-align: center;
    color: #ffffff;
    font-size: 32px;
    margin-bottom: 40px;
}

/* GRID LAYOUT - targets the WordPress post template wrapper */
.training-tips-grid .wp-block-post-template,
.wp-block-query.training-tips-grid .wp-block-post-template,
.training-tips-grid > .wp-block-post-template {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    list-style: none !important;
    padding: 0 !important;
}

/* Individual tip card - override blog card styles */
.training-tips-grid .wp-block-post,
.training-tips-section .wp-block-post {
    height: auto !important;
    background: #1e293b !important;
    border-radius: 14px !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    margin-bottom: 0 !important;
    position: relative;
    overflow: hidden;
}

/* Remove the blog-style gradient overlay */
.training-tips-grid .wp-block-post::after,
.training-tips-section .wp-block-post::after {
    display: none !important;
}

/* Tip card hover */
.training-tips-grid .wp-block-post:hover,
.training-tips-section .wp-block-post:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.training-tips-grid .wp-block-post-featured-image,
.training-tips-section .wp-block-post-featured-image {
    position: relative !important;
    inset: auto !important;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.training-tips-grid .wp-block-post-featured-image img,
.training-tips-section .wp-block-post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Image zoom on hover */
.training-tips-grid .wp-block-post:hover .wp-block-post-featured-image img,
.training-tips-section .wp-block-post:hover .wp-block-post-featured-image img {
    transform: scale(1.05);
}

/* Tip card title */
.training-tips-grid .wp-block-post-title,
.training-tips-section .wp-block-post-title {
    padding: 18px 18px 0;
}

.training-tips-grid .wp-block-post-title a,
.training-tips-section .wp-block-post-title a {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 600;
    line-height: 1.4;
}

.training-tips-grid .wp-block-post-title a:hover,
.training-tips-section .wp-block-post-title a:hover {
    color: #3b82f6 !important;
}

/* Tip card excerpt */
.training-tips-grid .wp-block-post-excerpt,
.training-tips-section .wp-block-post-excerpt {
    padding: 10px 18px 20px;
}

.training-tips-grid .wp-block-post-excerpt__excerpt,
.training-tips-section .wp-block-post-excerpt__excerpt {
    color: #94a3b8 !important;
    font-size: 14px;
    line-height: 1.6;
}

/* Form container */
.wpcf7 {
    background: #111827;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    margin: 0 auto;
}

/* Form labels */
.wpcf7 label {
    color: #e2e8f0;
    font-weight: 500;
    font-size: 15px;
    display: block;
    margin-bottom: 20px;
}

/* All text inputs and textarea */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="password"],
textarea,
select {
    background: #020617 !important;
    border: 2px solid #334155 !important;
    color: #f1f5f9 !important;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 15px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Input hover */
input[type="text"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
input[type="url"]:hover,
textarea:hover,
select:hover {
    border-color: #475569 !important;
}

/* Input focus - blue glow for accessibility */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    border-color: #3b82f6 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3) !important;
}

/* Textarea height */
textarea {
    min-height: 140px;
    resize: vertical;
}

/* Submit button */
.wpcf7 input[type="submit"],
input[type="submit"] {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: auto;
}

.wpcf7 input[type="submit"]:hover,
input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.wpcf7 input[type="submit"]:focus,
input[type="submit"]:focus {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

/* Validation error */
.wpcf7-not-valid-tip {
    color: #fca5a5;
    font-size: 13px;
    margin-top: 4px;
}

/* Success message */
.wpcf7-mail-sent-ok,
.wpcf7 form.sent .wpcf7-response-output {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #22c55e;
}

/* Footer background */
footer,
.wp-block-group.alignfull:last-child {
    background: #020617 !important;
    border-top: 1px solid #1e293b;
    padding: 40px 30px !important;
}

/* Footer links */
footer a {
    color: #9ca3af !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffffff !important;
}

/* Footer paragraph */
footer p {
    color: #6b7280;
    font-size: 14px;
}

/* Footer headings */
footer h4,
footer .wp-block-heading {
    color: #ffffff !important;
    font-size: 18px;
    margin-bottom: 16px;
}

/* Footer list styling */
footer ul {
    list-style: none;
    padding: 0;
}

footer li {
    margin-bottom: 8px;
}

/* Footer columns spacing */
footer .wp-block-columns {
    gap: 40px;
    margin-bottom: 30px;
}

/* Page headings */
.page .wp-block-heading,
.wp-block-post-content h2,
.wp-block-post-content h3 {
    color: #ffffff;
    margin-top: 30px;
}

/* Page paragraphs */
.page p,
.wp-block-post-content p {
    color: #cbd5e1;
    line-height: 1.8;
    font-size: 16px;
}

/* Page lists */
.wp-block-post-content ul,
.wp-block-post-content ol {
    color: #cbd5e1;
    padding-left: 24px;
}

.wp-block-post-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

@media (max-width: 1024px) {

    /* Smaller cover headings */
    .wp-block-cover h1,
    .wp-block-cover h2 {
        font-size: 40px !important;
    }

    /* Training tips - 2 columns */
    .training-tips-grid .wp-block-post-template,
    .wp-block-query.training-tips-grid .wp-block-post-template,
    .training-tips-grid > .wp-block-post-template {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    /* Products - 2 columns */
    .wc-block-grid__products,
    .woocommerce ul.products,
    .wc-block-product-template {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    /* Smaller section headings */
    .wp-block-heading {
        font-size: 24px;
    }
}


/* responsive design */
@media (max-width: 768px) {

    /* Stack columns vertically */
    .wp-block-columns {
        flex-direction: column !important;
        gap: 20px;
    }

    /* Shorter blog cards */
    .wp-block-post {
        height: 250px;
        margin-bottom: 20px;
    }

    /* Smaller cover heading */
    .wp-block-cover h1,
    .wp-block-cover h2 {
        font-size: 32px !important;
    }

    .wp-block-cover p {
        font-size: 16px;
    }

    /* Training tips - 1 column */
    .training-tips-grid .wp-block-post-template,
    .wp-block-query.training-tips-grid .wp-block-post-template,
    .training-tips-grid > .wp-block-post-template {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

   
    .wc-block-grid__products,
    .woocommerce ul.products,
    .wc-block-product-template {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 16px !important;
    }

    /* Reduce training tips section padding */
    .training-tips-section {
        padding: 30px 16px;
        margin: 20px 10px;
        border-radius: 14px;
    }

    /* Reduce header padding */
    header,
    .wp-block-group.alignfull:first-child {
        padding: 10px 16px !important;
    }

    /* Center nav on mobile */
    .wp-block-navigation {
        justify-content: center;
        margin-top: 10px;
    }

    .wp-block-navigation a,
    .wp-block-navigation-item a {
        padding: 6px 10px;
        font-size: 14px;
    }

    /* Smaller form padding */
    .wpcf7 {
        padding: 24px 18px;
    }

    /* Full width buttons */
    .wp-block-button__link {
        width: 100%;
        text-align: center;
    }

    /* Smaller headings */
    .wp-block-heading {
        font-size: 22px;
        margin-bottom: 20px;
    }

    /* Stack account page layout */
    .woocommerce-MyAccount-navigation,
    .woocommerce-MyAccount-content {
        width: 100% !important;
        float: none !important;
    }

    /* Footer reduce padding */
    footer,
    .wp-block-group.alignfull:last-child {
        padding: 30px 16px !important;
    }

    footer .wp-block-columns {
        gap: 30px;
    }
}

@media (max-width: 480px) {

    /* Even smaller cover text */
    .wp-block-cover h1,
    .wp-block-cover h2 {
        font-size: 26px !important;
    }

    /* Shorter blog cards */
    .wp-block-post {
        height: 200px;
    }

    /* Smaller post titles */
    .wp-block-post-title a {
        font-size: 18px !important;
    }

    /* Tighter product card padding */
    .wc-block-grid__product,
    .wc-block-product,
    .woocommerce ul.products li.product {
        padding: 14px !important;
    }

    /* Smaller buttons */
    .wp-block-button__link {
        padding: 12px 20px;
        font-size: 14px;
    }

    /* Reduce footer padding */
    footer,
    .wp-block-group.alignfull:last-child {
        padding: 20px 14px !important;
    }

    /* Stack footer columns */
    footer .wp-block-columns {
        gap: 24px;
    }
}

/* Main header container */
.wp-block-group.alignfull:first-child {
    padding: 12px 30px !important; 
}

/* Inner header flex (logo + nav) */
.wp-block-group.alignwide {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* Left side (logo + title) */
.wp-block-site-logo img {
    width: 50px !important;
    height: auto !important;
}

.wp-block-site-title {
    margin: 0 !important;
}

.wp-block-site-title a {
    font-size: 20px !important;
}

/* Make logo + title aligned perfectly */
.wp-block-group.is-layout-flex:first-child {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

/* Navigation container */
.wp-block-navigation {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
}

/* Navigation UL */
.wp-block-navigation__container {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
}

/* Nav links */
.wp-block-navigation-item a {
    padding: 6px 10px !important;
    font-size: 15px;
}

/* Right side (nav + icons wrapper) */
.wp-block-group.is-layout-flex:last-child {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
}

/* Fix account + cart icons alignment */
.wp-block-woocommerce-customer-account,
.wc-block-mini-cart {
    display: flex !important;
    align-items: center !important;
}

/* Icon size consistency */
.wc-block-mini-cart__icon,
.wc-block-customer-account__account-icon {
    width: 22px;
    height: 22px;
}

/* Remove extra spacing from nav wrapper */
.wp-block-navigation.is-layout-flex {
    margin: 0 !important;
}

/* Fix overall header vertical alignment */
.wp-block-group.alignwide > .wp-block-group {
    align-items: center !important;
}

@media (max-width: 768px) {
  a.wp-block-button__link[href*="/shop/"] {
    display: none !important;
  }
}

.wp-block-button.is-style-outline--2 .wp-block-button__link {
  background-color: #ffffff !important;
  color: #000000 !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.wp-block-button.is-style-outline--2 .wp-block-button__link:hover {
  background-color: #000000 !important;
  color: #ffffff !important;
}

/* FOOTER MAIN CONTAINER */
.wp-block-group.alignfull.wc-blocks-footer-pattern {
    padding: 60px 80px !important;
    max-width: 1200px;
    margin: 0 auto;
}

/* FOOTER COLUMNS LAYOUT */
.wp-block-group.alignfull .wp-block-columns {
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
}

/* LOGO */
.wp-block-site-logo img {
    width: 60px;
    height: auto;
    margin-bottom: 20px;
}

/* NAVIGATION MENU */
.wp-block-navigation__container {
    gap: 12px;
}

.wp-block-navigation-item__content {
    font-size: 15px;
    color: #d1d5db !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.wp-block-navigation-item__content:hover {
    color: #3b82f6 !important;
    transform: translateX(4px);
}

/* Active link */
.current-menu-item .wp-block-navigation-item__content {
    color: #3b82f6 !important;
    font-weight: 600;
}


.wp-block-search__inside-wrapper {
    border: 1px solid #2d3748;
    overflow: hidden;
}

.wp-block-search__input {
    padding: 12px 16px;
    background: transparent;
    color: #fff;
    border: none;
    outline: none;
}

.wp-block-search__button {
    background: #3b82f6;
    border: none;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.wp-block-search__button:hover {
    background: #2563eb;
}


.wp-block-site-title {
    font-size: 20px !important;
    margin-bottom: 10px;
}

.wp-block-site-title a {
    color: #ffffff !important;
    text-decoration: none;
}

.wp-block-site-title a:hover {
    color: #3b82f6 !important;
}


.wp-block-group p {
    font-size: 14px;
    color: #9ca3af;
}

.wp-block-group p a {
    color: #3b82f6;
    text-decoration: none;
}

.wp-block-group p a:hover {
    text-decoration: underline;
}


.wp-block-group.is-layout-flex {
    gap: 20px;
}


@media (max-width: 768px) {
    .wp-block-group.alignfull.wc-blocks-footer-pattern {
        padding: 40px 20px !important;
    }

    .wp-block-columns {
        flex-direction: column;
        gap: 30px;
    }

    .wp-block-group.is-content-justification-right {
        align-items: flex-start !important;
        text-align: left !important;
    }
}

.wp-block-group.alignfull.wc-blocks-footer-pattern {
    border-top: 1px solid rgba(255,255,255,0.05);
}


.wp-block-group.wc-blocks-footer-pattern {

    padding: 60px 80px !important;
}


.wp-block-group.wc-blocks-footer-pattern > .wp-block-columns {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 60px !important;
}


.wp-block-group.wc-blocks-footer-pattern 
.wp-block-column[style*="flex-basis:60%"] {
    display: flex !important;
    gap: 40px !important;
    align-items: flex-start !important;
}

/* LOGO */
.wp-block-group.wc-blocks-footer-pattern 
.wp-block-site-logo img {
    width: 50px !important;
}

/* MENU */
.wp-block-group.wc-blocks-footer-pattern 
.wp-block-navigation__container {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
}


.wp-block-group.wc-blocks-footer-pattern 
.wp-block-navigation-item__content {
    color: #cbd5e1 !important;
    font-size: 15px !important;
}


.wp-block-group.wc-blocks-footer-pattern 
.wp-block-navigation-item__content:hover {
    color: #3b82f6 !important;
    transform: translateX(5px);
}


.wp-block-group.wc-blocks-footer-pattern 
.current-menu-item .wp-block-navigation-item__content {
    color: #3b82f6 !important;
}


.wp-block-group.wc-blocks-footer-pattern 
.wp-block-column[style*="flex-basis:10%"] {
    display: none !important;
}

.wp-block-group.wc-blocks-footer-pattern 
.wp-block-column[style*="flex-basis:30%"] {
    max-width: 350px;
}

/* SEARCH */
.wp-block-group.wc-blocks-footer-pattern 
.wp-block-search__inside-wrapper {
    border: 1px solid #1e293b !important;
}

.wp-block-group.wc-blocks-footer-pattern 
.wp-block-search__input {
    padding: 12px 15px !important;
    color: white !important;
}

.wp-block-group.wc-blocks-footer-pattern 
.wp-block-search__button {
    background: #3b82f6 !important;
}

/* TITLE */
.wp-block-group.wc-blocks-footer-pattern 
.wp-block-site-title {
    font-size: 20px !important;
    margin-top: 30px !important;
}

/* TEXT */
.wp-block-group.wc-blocks-footer-pattern 
.wp-block-group p {
    color: #94a3b8 !important;
    font-size: 14px !important;
}

/* ALIGN RIGHT SECTION */
.wp-block-group.wc-blocks-footer-pattern 
.is-content-justification-right {
    align-items: flex-start !important;
    text-align: left !important;
}

@media (max-width: 768px) {
    .wp-block-group.wc-blocks-footer-pattern > .wp-block-columns {
        flex-direction: column !important;
        gap: 30px !important;
    }

    .wp-block-group.wc-blocks-footer-pattern 
    .wp-block-column[style*="flex-basis:60%"] {
        flex-direction: column !important;
    }

    .wp-block-group.wc-blocks-footer-pattern 
    .wp-block-column[style*="flex-basis:30%"] {
        max-width: 100%;
    }
}

/* TARGET FOOTER */
.wp-block-group.wc-blocks-pattern-footer-with-3-menus {
    padding: 20px 40px !important;
}

/* REMOVE BIG COLUMN HEIGHT */
.wp-block-group.wc-blocks-pattern-footer-with-3-menus .wp-block-columns {
    align-items: flex-start !important;
}

/*  MAIN FIX: REMOVE FORCED HEIGHT */
.wp-block-group.wc-blocks-pattern-footer-with-3-menus .wp-block-column {
    min-height: auto !important;
    height: auto !important;
}

/* REMOVE EMPTY COLUMN */
.wp-block-group.wc-blocks-pattern-footer-with-3-menus .wp-block-column:nth-child(2) {
    display: none !important;
}

/*  BIGGEST FIX: REMOVE VERTICAL STRETCH */
.wp-block-group.wc-blocks-pattern-footer-with-3-menus .is-vertically-aligned-stretch {
    align-self: flex-start !important;
}

/* REMOVE EXTRA SPACING INSIDE */
.wp-block-group.wc-blocks-pattern-footer-with-3-menus .wp-block-group {
    margin: 0 !important;
    padding: 0 !important;
}

/* FIX RIGHT SIDE HUGE GAP */
.wp-block-group.wc-blocks-pattern-footer-with-3-menus .wp-block-column:last-child {
    max-width: 320px !important;
}

/* FIX SEARCH */
.wp-block-search {
    margin-bottom: 10px !important;
}

/* FIX TITLE SPACING */
.wp-block-site-title {
    margin: 5px 0 !important;
}

/* FIX PARAGRAPH */
.wp-block-group.wc-blocks-pattern-footer-with-3-menus p {
    margin: 0 !important;
    font-size: 13px;
}

/* TARGET CONTACT FORM ONLY */
.wpcf7 {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: #0f172a;
    border-radius: 12px;
}

/* LABELS */
.wpcf7 label {
    font-size: 13px;
    color: #cbd5e1;
    display: block;
    margin-bottom: 6px;
}

/* INPUT + TEXTAREA */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    padding: 12px;
    background: #020617;
    border: 1px solid #334155;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

/* INPUT FOCUS EFFECT */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 1px #3b82f6;
}

/* TEXTAREA HEIGHT */
.wpcf7 textarea {
    min-height: 120px;
    resize: none;
}

/* REMOVE DEFAULT <p> SPACING */
.wpcf7 p {
    margin-bottom: 18px;
}

/* SUBMIT BUTTON */
.wpcf7 input[type="submit"] {
    background: #3b82f6;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* BUTTON HOVER */
.wpcf7 input[type="submit"]:hover {
    background: #2563eb;
}

/* CENTER BUTTON */
.wpcf7 input[type="submit"] {
    display: inline-block;
}

/* REMOVE SPINNER ALIGN ISSUE */
.wpcf7-spinner {
    display: none;
/* =========================
GLOBAL THEME (SPORTS BRAND)
========================= */

body{
    background:#0f172a;
    color: #f8fafc;
    font-family: Arial, sans-serif;
    line-height:1.6;
}

/* Container */
.wp-site-blocks{
    max-width:1300px;
    margin:auto;
}

/* Links */
a{
    color:#3b82f6;
    text-decoration:none;
    transition:0.3s;
}
a:hover{
    color:#60a5fa;
}

/* =========================
HEADER (PRO LOOK)
========================= */

header,
.wp-block-group.alignfull:first-child{
    background:#020617;
    border-bottom:1px solid #1e293b;
}

.wp-block-navigation a{
    color:#e5e7eb;
    font-weight:500;
    margin-left:25px;
}

.wp-block-navigation a:hover{
    color:#3b82f6;
}

/* Logo + Title */
.wp-block-site-title a{
    color:#ffffff;
    font-weight:700;
}

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

.wp-block-columns{
    align-items:center;
    gap:50px;
}

.wp-block-image img{
    border-radius:14px;
}

/* Hero text */
.wp-block-columns p{
    font-size:18px;
    color:#cbd5f5;
}

/* =========================
BUTTONS
========================= */

.wp-block-button__link{
    background:linear-gradient(135deg,#3b82f6,#2563eb);
    color:white;
    padding:14px 26px;
    border-radius:8px;
    font-weight:600;
    letter-spacing:0.5px;
}

.wp-block-button__link:hover{
    transform:translateY(-2px);
    background:#1d4ed8;
}

/* =========================
PRODUCT CARDS (ATHLETEX STYLE)
========================= */

.wc-block-product{
    background:#111827;
    border-radius:16px;
    padding:20px;
    text-align:center;
    transition:0.3s;
    box-shadow:0 10px 30px rgba(0,0,0,0.4);
}

.wc-block-product:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 50px rgba(0,0,0,0.6);
}

/* Product image */
.wc-block-product img{
    border-radius:12px;
    transition:0.3s;
}

.wc-block-product:hover img{
    transform:scale(1.05);
}

/* Product title */
.wc-block-product h2{
    color:#ffffff;
    font-size:18px;
    font-weight:600;
}

/* Price */
.wc-block-components-product-price ins{
    color:#22c55e;
    font-weight:bold;
}

.wc-block-components-product-price del{
    color:#9ca3af;
}

/* Add to cart */
.wc-block-product button{
    background:#3b82f6;
    border-radius:6px;
}

.wc-block-product button:hover{
    background:#2563eb;
}

/* =========================
FEATURED SECTION TITLE
========================= */

.wp-block-heading{
    font-size:28px;
    font-weight:700;
    letter-spacing:1px;
    margin-bottom:30px;
}

/* =========================
BLOG (PRO CARD STYLE)
========================= */

.wp-block-post{
    position:relative;
    height:320px;
    border-radius:18px;
    overflow:hidden;
    margin-bottom:50px;
    display:flex;
    align-items:flex-end;
    box-shadow:0 20px 50px rgba(0,0,0,0.5);
}

/* Image full */
.wp-block-post-featured-image{
    position:absolute;
    inset:0;
}

.wp-block-post-featured-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* Overlay */
.wp-block-post::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

/* Content */
.wp-block-post .wp-block-column:last-child{
    position:relative;
    z-index:2;
    padding:25px;
}

/* Title */
.wp-block-post-title a{
    color:#fff !important;
    font-size:24px;
    font-weight:700;
}

/* Text */
.wp-block-post-excerpt__excerpt{
    color:#d1d5db !important;
    font-size:15px;

    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

/* =========================
COVER SECTION
========================= */

.wp-block-cover{
    border-radius:0;
}

.wp-block-cover h2{
    font-size:60px !important;
}

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

footer,
.wp-block-group.alignfull:last-child{
    background:#020617;
    border-top:1px solid #1e293b;
}

footer a{
    color:#9ca3af;
}

footer a:hover{
    color:white;
}

/* =========================
FORMS
========================= */

input, textarea{
    background:#020617;
    border:1px solid #334155;
    color:white;
    border-radius:6px;
}

/* =========================
ACCOUNT PAGE
========================= */

.woocommerce-MyAccount-navigation a{
    background:#111827;
    color:white;
}

.woocommerce-MyAccount-navigation .is-active a{
    background:#3b82f6;
}

/* =========================
CART
========================= */

.woocommerce-cart table{
    background:#111827;
    color:white;
}

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

@media (max-width:768px){

.wp-block-columns{
flex-direction:column;
}

.wp-block-post{
height:250px;
}

.wp-block-cover h2{
font-size:34px !important;
}

}

/* FULL WIDTH FIX */
body {
    margin: 0;
}

.wp-site-blocks {
    max-width: 100% !important;
    padding: 0 !important;
}

.alignwide,
.alignfull {
    max-width: 100% !important;
    margin: 0 !important;
<<<<<<< HEAD
<<<<<<< HEAD
}


/* Main container */
.entry-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.7;
  color: #333;
}

/* Headings */
.entry-content h2 {
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 10px;
  color: #111;
  border-bottom: 2px solid #eee;
  padding-bottom: 5px;
}

/* Paragraphs */
.entry-content p {
  font-size: 16px;
  margin-bottom: 15px;
  color: #555;
}

/* Bold text (Suggested text label) */
.entry-content strong {
  color: #000;
}

/* Links */
.entry-content a {
  color: #0073e6;
  text-decoration: none;
}

.entry-content a:hover {
  text-decoration: underline;
}

/* Group spacing fix */
.wp-block-group {
  margin-bottom: 20px;
}

/* Remove weird WP spacing */
.entry-content * {
  margin-top: 0;
}

.entry-content,
.entry-content h2,
.entry-content p,
.entry-content strong,
.entry-content a {
  color: #ffffff !important;
}

/* Optional: links hover (still visible) */
.entry-content a:hover {
  color: #cccccc;
}

/* Improve readability on large screens */
@media (min-width: 768px) {
  .entry-content {
    padding: 60px 20px;
  }

  .entry-content h2 {
    font-size: 28px;
  }

  .entry-content p {
    font-size: 17px;
  }
}

/* SECTION WRAPPER */
.wp-block-group.alignfull {
  padding: 60px 20px !important;
}

/* GRID LAYOUT */
.wp-block-columns {
  max-width: 1200px;
  margin: 0 auto !important;
  gap: 20px;
}

/* EACH CARD */
.wp-block-cover {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

/* IMAGE */
.wp-block-cover__image-background {
  transition: transform 0.6s ease;
}

/* DARK OVERLAY */
.wp-block-cover__background {
  background: rgba(0, 0, 0, 0.35) !important;
  transition: background 0.4s ease;
}

/* CONTENT (TEXT + BUTTON) */
.wp-block-cover__inner-container {
  padding: 20px;
}

/* TITLE */
.wp-block-cover h4 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
}

/* BUTTON LINK */
.wp-block-cover a {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 18px;
  font-size: 14px;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* BUTTON HOVER */
.wp-block-cover a:hover {
  background: #fff;
  color: #000;
}

/* CARD HOVER EFFECT */
.wp-block-cover:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* IMAGE ZOOM */
.wp-block-cover:hover .wp-block-cover__image-background {
  transform: scale(1.08);
}

/* DARKER OVERLAY ON HOVER */
.wp-block-cover:hover .wp-block-cover__background {
  background: rgba(0, 0, 0, 0.55) !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .wp-block-columns {
    flex-direction: column;
  }

  .wp-block-cover {
    height: 300px;
  }
}


/* PAGE CONTAINER */
.wp-block-group {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* PAGE TITLE */
.wp-block-query-title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* BREADCRUMB */
.woocommerce-breadcrumb {
  font-size: 14px;
  color: #777;
  margin-bottom: 10px;
}

.woocommerce-breadcrumb a {
  color: #999;
  text-decoration: none;
}

/* TOP BAR (RESULT + SORT) */
.wp-block-group.alignwide.is-layout-flex {
  margin: 20px 0 30px;
  align-items: center;
}

.woocommerce-result-count {
  font-size: 14px;
  color: #666;
}

/* SORT DROPDOWN */
.woocommerce-ordering select {
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
}

/* PRODUCT GRID */
.wc-block-product-template {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* PRODUCT CARD */
.wc-block-product {
  background: #000000;
  border-radius: 10px;
  padding: 15px;
  transition: all 0.3s ease;
}

/* HOVER EFFECT */
.wc-block-product:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* PRODUCT IMAGE */
.wc-block-grid__product-image img {
  border-radius: 8px;
  transition: transform 0.4s ease;
}

.wc-block-product:hover img {
  transform: scale(1.05);
}

/* PRODUCT TITLE */
.wp-block-post-title a {
  font-size: 16px;
  font-weight: 500;
  color: #222;
  text-decoration: none;
}

/* PRICE */
.wc-block-components-product-price {
  font-size: 15px;
  color: #000;
}

.wc-block-components-product-price del {
  color: #aaa;
  font-size: 13px;
}

.wc-block-components-product-price ins {
  text-decoration: none;
  font-weight: 600;
}

/* BUTTON */
.wp-block-button__link {
  display: inline-block;
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  background: #111;
  color: #fff;
  font-size: 14px;
  text-align: center;
  transition: all 0.3s ease;
}

/* BUTTON HOVER */
.wp-block-button__link:hover {
  background: #333;
}

/* SALE BADGE */
.wc-block-components-product-sale-badge__text {
  background: #111;
  color: #fff;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
}

/* GRID - more columns = smaller cards */
.wc-block-product-template {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 18px;
}

/* CARD SIZE */
.wc-block-product {
  padding: 10px;
}

/* IMAGE SMALLER */
.wc-block-grid__product-image img {
  max-height: 180px;
  object-fit: cover;
}

/* TITLE SMALLER */
.wp-block-post-title a {
  font-size: 14px;
}

/* PRICE SMALLER */
.wc-block-components-product-price {
  font-size: 13px;
}

/* BUTTON SMALLER */
.wp-block-button__link {
  padding: 8px;
  font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .wc-block-product-template {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .wc-block-product-template {
    grid-template-columns: 1fr;
  }
}

/* ===== HEADER WRAPPER ===== */
.wp-block-group.alignfull.has-black-background-color {
  padding: 12px 20px !important; /* reduced height */
  background: #000;
}

/* INNER CONTAINER */
.wp-block-group.alignwide {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LEFT SIDE (LOGO + TITLE) */
.wp-block-group.is-layout-flex:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* LOGO SIZE FIX */
.wp-block-site-logo img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

/* SITE TITLE */
.wp-block-site-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.wp-block-site-title a {
  color: #fff;
  text-decoration: none;
}

/* RIGHT SIDE (NAV + ICONS) */
.wp-block-group.is-layout-flex:last-child {
  display: flex;
  align-items: center;
  gap: 20px;
  
}

/* FIX CATEGORY META BOX WIDTH */
.wp-block-woocommerce-product-meta .wp-block-group {
    max-width: 100% !important;
    flex-wrap: wrap !important;   /* allow wrapping */
    overflow: hidden;
}

/* Fix the actual category text */
.wp-block-woocommerce-product-meta .wp-block-post-terms {
    max-width: 100%;
    word-break: break-word;
}

/* Optional: prevent long links from stretching */
.wp-block-woocommerce-product-meta a {
    word-break: break-word;
}

/* =========================
   MINIMAL PRODUCT TABS
========================= */

.woocommerce-tabs {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

/* Tabs */
.wc-tabs {
    display: flex;
    justify-content: center;
    gap: 25px;
    border-bottom: 1px solid #f2f2f2;
    margin-bottom: 25px;
}

.wc-tabs li {
    list-style: none;
}

/* Tab links */
.wc-tabs li a {
    text-decoration: none;
    font-size: 14px;
    color: #999;
    padding-bottom: 8px;
    transition: 0.2s ease;
}

/* Active tab */
.wc-tabs li.active a {
    color: #222;
    border-bottom: 1.5px solid #222;
}

/* Hover */
.wc-tabs li a:hover {
    color: #444;
}

/* REMOVE BOX LOOK */
.woocommerce-Tabs-panel {
    padding: 0;
    border: none;
    background: none;
}

/* Description title */
.woocommerce-Tabs-panel h2 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #222;
}

/* Description text */
.woocommerce-Tabs-panel p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    max-width: 650px;
}

/* =========================
   REVIEWS (LIGHT STYLE)
========================= */

.woocommerce-Reviews-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.woocommerce-noreviews {
    color: #888;
    font-size: 14px;
}

/* Review form */
.comment-form textarea {
    width: 100%;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 8px;
}

/* Button minimal */
.comment-form .submit {
    background: transparent;
    color: #222;
    border: 1px solid #ddd;
    padding: 8px 18px;
    border-radius: 4px;
    transition: 0.2s;
}

.comment-form .submit:hover {
    border-color: #999;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
    .wc-tabs {
        gap: 15px;
    }

    .woocommerce-Tabs-panel p {
        max-width: 100%;
    }
}


/* NAVIGATION */
.wp-block-navigation__container {
  display: flex;
  gap: 20px;
}

/* NAV LINKS */
.wp-block-navigation-item__content {
  font-size: 14px;
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* NAV HOVER */
.wp-block-navigation-item__content:hover {
  color: #fff;
}

/* ACTIVE LINK */
.current-menu-item a {
  color: #fff;
  font-weight: 500;
}

/* ICONS (ACCOUNT + CART) */
.wc-block-customer-account a,
.wc-block-mini-cart__button {
  color: #fff;
  display: flex;
  align-items: center;
}

/* ICON SIZE */
.wc-block-customer-account svg,
.wc-block-mini-cart svg {
  width: 20px;
  height: 20px;
}

/* REMOVE EXTRA SPACE FROM GROUPS */
.wp-block-group {
  margin: 0 !important;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .wp-block-navigation__container {
    display: none; /* hide menu (uses WP mobile menu) */
  }

  .wp-block-site-title {
    font-size: 18px;
  }

  .wp-block-site-logo img {
    width: 40px;
    height: 40px;
  }
}

/* ===== FORCE HEADER HEIGHT FIX ===== */
.wp-block-group.alignfull.has-black-background-color {
  padding: 8px 20px !important;
}

/* REMOVE EXTRA INNER SPACING */
.wp-block-group.alignwide {
  margin: 0 auto !important;
  padding: 0 !important;
}

/* MAIN HEADER FLEX FIX */
.wp-block-group.alignwide.is-layout-flex {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* LEFT SIDE FIX (LOGO + TITLE) */
.wp-block-group.is-layout-flex.wp-container-core-group-is-layout-b585a4aa {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

/* LOGO SIZE (VERY IMPORTANT FIX) */
.wp-block-site-logo img {
  width: 40px !important;
  height: 40px !important;
  object-fit: contain;
}

/* REMOVE BIG IMAGE DEFAULT SIZE */
.wp-block-site-logo {
  line-height: 0 !important;
}

/* SITE TITLE */
.wp-block-site-title {
  font-size: 18px !important;
  margin: 0 !important;
}

/* RIGHT SIDE (NAV + ICONS) */
.wp-block-group.is-layout-flex:last-child {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
}

/* NAV MENU */
.wp-block-navigation__container {
  gap: 18px !important;
}

/* NAV LINKS */
.wp-block-navigation-item__content {
  font-size: 13px !important;
  color: #ccc !important;
}

/* HOVER */
.wp-block-navigation-item__content:hover {
  color: #fff !important;
}

/* ICONS SIZE */
.wc-block-customer-account svg,
.wc-block-mini-cart svg {
  width: 18px !important;
  height: 18px !important;
}

/* REMOVE ALL EXTRA HEIGHT SOURCES */
.wp-block-group,
.wp-block-group * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* ===== SUPER IMPORTANT (FIXES BIG HEADER ISSUE) ===== */
header,
.wp-block-group.alignfull {
  min-height: auto !important;
  height: auto !important;
}


/* Sticky header */
.wp-block-group.is-layout-flex {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ===== FULL WIDTH HEADER FIX ===== */
.wp-block-group.is-layout-flex {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 15px 60px;
  box-sizing: border-box;
}

/* ===== HEADER CONTAINER ===== */
.wp-block-group.is-layout-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #0d1b2a, #1b263b);
  padding: 18px 60px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* ===== LOGO ===== */
.wp-block-site-logo img {
  height: 55px;
}

/* ===== NAV LINKS ===== */
.wp-block-group a {
  color: #e0e1dd;
  text-decoration: none;
  font-size: 16px;
  margin: 0 18px;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

/* ===== UNDERLINE HOVER ANIMATION ===== */
.wp-block-group a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: #4cc9f0;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

.wp-block-group a:hover::after {
  width: 100%;
}

/* ===== HOVER COLOR ===== */
.wp-block-group a:hover {
  color: #ffffff;
}

/* ===== CART BUTTON ===== */
.wc-block-cart-link {
  background: #4cc9f0;
  padding: 8px 14px;
  border-radius: 8px;
  color: #000;
  font-weight: 600;
  transition: 0.3s;
}

.wc-block-cart-link:hover {
  background: #38bdf8;
}

/* ===== ACCOUNT ===== */
.wp-block-woocommerce-customer-account a {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ===== ICON SIZE ===== */
.wc-block-cart-link svg,
.wc-block-customer-account__account-icon {
  width: 20px;
  height: 20px;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .wp-block-group.is-layout-flex {
    flex-wrap: wrap;
    justify-content: center;
    padding: 15px;
  }

  .wp-block-group a {
    display: block;
    margin: 10px 0;
  }
}

/* Remove grey background from cart block */
.wp-block-woocommerce-cart-link {
  background: transparent !important;
  padding: 0 !important;

}



/* FORCE CENTER MAIN BLOCK */
.wp-container-core-group-is-layout-5fb0786f {
    max-width: 1200px !important;
    width: 100% !important;

    margin-left: auto !important;
    margin-right: auto !important;

    display: block !important;
}

/* FORCE CENTER INNER CONTENT */
.wp-container-core-columns-is-layout-28f84493 {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 60px;

    margin-left: auto !important;
    margin-right: auto !important;
}

/* FORCE BOTH COLUMNS CENTER */
.wp-container-core-columns-is-layout-28f84493 .wp-block-column {
    flex: 0 1 500px !important;
    text-align: center !important;
}

/* IMAGE CENTER FIX */
.wp-block-image {
    text-align: center !important;
}

.wp-block-image img {
    margin: 0 auto !important;
    display: block !important;
}

/* TEXT CENTER */
.wp-block-column.is-layout-flow {
    text-align: center !important;
}

/* PARAGRAPH CENTER */
.wp-elements-c8b32f1406d97877b2d51a8c966e1bd6 {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

/* BUTTON CENTER */
.wp-block-buttons {
    display: flex !important;
    justify-content: center !important;
}


/* =========================
   PRODUCT PAGE FIXED LAYOUT
========================= */

/* Main container - center everything */
.wp-block-columns.alignwide {
    max-width: 1100px;
    margin: 60px auto !important;
    padding: 0 20px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

/* Force 2-column clean layout */
.wp-block-columns.alignwide .wp-block-column {
    flex: 1;
}

/* LEFT SIDE - IMAGE */
.woocommerce-product-gallery {
    width: 100%;
}

.woocommerce-product-gallery__wrapper {
    border-radius: 12px;
    overflow: hidden;
}

.woocommerce-product-gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

/* Remove zoom weird overlay */
.zoomImg {
    display: none !important;
}

/* RIGHT SIDE - CONTENT */
.wp-block-post-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 15px;
}

.wp-block-woocommerce-product-price {
    font-size: 22px;
    margin-bottom: 20px;
}

.wp-block-post-excerpt {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Price styling */
.woocommerce-Price-amount {
    font-weight: 600;
}

del {
    color: #999;
    margin-right: 10px;
}

ins {
    text-decoration: none;
    color: #000;
}

/* ADD TO CART AREA */
.cart {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

/* Quantity input */
.quantity input {
    width: 70px;
    height: 45px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 20px !important;
}

/* Button */
.single_add_to_cart_button {
    background: black !important;
    color: white !important;
    border-radius: 6px !important;
    padding: 12px 25px !important;
    margin-bottom: 20px !important;
    font-size: 14px;
    transition: 0.3s;
}

.single_add_to_cart_button:hover {
    background: #333 !important;
}

/* Stripe button spacing */
#wc-stripe-express-checkout-element {
    margin-top: 10px;
}

/* CATEGORY */
.wp-block-woocommerce-product-meta {
    margin-top: 20px;
    font-size: 14px;
    color: #777;
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 768px) {
    .wp-block-columns.alignwide {
        flex-direction: column !important;
        gap: 30px;
        text-align: center;
    }

    .cart {
        justify-content: center;
    }
}



/* =========================
   KEEP 3-COLUMN LAYOUT (NO STACKING)
========================= */

.wc-block-product-template {
    max-width: 1100px;
    margin: 60px auto !important;
    padding: 0 20px;

    display: grid !important;
    grid-template-columns: repeat(3, 1fr); /* FORCE 3 columns */
    gap: 40px;
    justify-content: center;
}

/* =========================
   PRODUCT CARD (REMOVE HEAVY LOOK)
========================= */

.wc-block-product {
    text-align: center;
    background: transparent !important;
    padding: 0;
}

/* =========================
   IMAGE
========================= */

.wc-block-components-product-image img {
    width: 100%;
    border-radius: 12px;
    transition: 0.3s ease;
}

.wc-block-components-product-image img:hover {
    transform: scale(1.03);
}

/* =========================
   TEXT
========================= */

.wp-block-post-title {
    font-size: 16px;
    font-weight: 500;
    margin: 12px 0 5px;
}

.wp-block-post-title a {
    color: #ffffff;
    text-decoration: none;
}

.wc-block-components-product-price {
    font-size: 14px;
    color: #ffffff;
}

/* =========================
   BUTTON FIX (IMPORTANT)
========================= */

.wc-block-components-product-button__button {
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid #ccc !important;
    padding: 9px 18px !important;
    border-radius: 6px !important;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s ease;
    margin-bottom: 10px !important;
}

/* hover */
.wc-block-components-product-button__button:hover {
    border-color: #000 !important;
    color: #ffffff !important;
}

/* REMOVE DISABLED LOOK */
.wc-block-components-product-button__button:disabled {
    opacity: 1 !important;
    background: transparent !important;
    color: #ffffff !important;
}

/* =========================
   SALE BADGE CLEAN
========================= */

.wc-block-components-product-sale-badge__text {
    background: white !important;
    color: #ff0000 !important;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 11px;
}

/* =========================
   CENTER PAGE HEADER
========================= */

h1 {
    text-align: center;
}

.woocommerce-result-count {
    text-align: center;
    color: #ffffff;
    margin-bottom: 30px;
}

/* =========================
   RESPONSIVE (CONTROLLED)
========================= */

@media (max-width: 900px) {
    .wc-block-product-template {
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
    }
}

@media (max-width: 500px) {
    .wc-block-product-template {
        grid-template-columns: 1fr; /* 1 column */
    }

}

/* Main container styling */
.entry-content.wp-block-post-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.8;
  color: #d1d5db;
}

/* Headings */
.entry-content h2.wp-block-heading {
  font-size: 28px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 15px;
  color: #ffffff;
  position: relative;
}

/* Nice underline accent under headings */
.entry-content h2.wp-block-heading::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #3b82f6;
  margin-top: 8px;
  border-radius: 2px;
}

/* Paragraph styling */
.entry-content p {
  font-size: 16px;
  margin-bottom: 18px;
  color: #cbd5e1;
}

/* Strong text (Last updated) */
.entry-content strong {
  color: #ffffff;
}

/* Add spacing between sections */
.entry-content h2 + p {
  margin-top: 10px;
}

/* Optional: subtle card feel */
.entry-content {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  padding: 40px;
}

@media (max-width: 768px) {
  .entry-content.wp-block-post-content {
    padding: 25px 15px;
  }

  .entry-content h2.wp-block-heading {
    font-size: 22px;
  }

  .entry-content p {
    font-size: 15px;
  }
};