/*
Theme Name: Edge Child
Theme URI: https://themefreesia.com/themes/edge
Description: Child theme for the Edge theme
Author: Ark Electron
Author URI: https://arkelectron.com
Template: edge
Version: 1.0.0
Requires at least: 6.7
Requires PHP: 5.6
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: edge-child
*/

/* ==========================================================================
   CSS Custom Properties (Brand Tokens)
   ========================================================================== */
:root {
    --ark-green: #00bb31;
    --ark-green-dark: #009a28;
    --ark-green-light: #e6f9ec;
    --ark-grey-900: #1a1a1a;
    --ark-grey-800: #2d2d2d;
    --ark-grey-700: #3d3d3d;
    --ark-grey-600: #555;
    --ark-grey-500: #777;
    --ark-grey-400: #999;
    --ark-grey-300: #ccc;
    --ark-grey-200: #e5e5e5;
    --ark-grey-100: #f5f5f5;
    --ark-grey-50: #fafafa;
    --ark-white: #fff;
    --ark-radius: 8px;
    --ark-radius-lg: 12px;
    --ark-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --ark-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --ark-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --ark-transition: 0.2s ease;
    --ark-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ==========================================================================
   1. Global Typography
   ========================================================================== */
body,
button,
input,
select,
textarea {
    font-family: var(--ark-font) !important;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ark-grey-700);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Preserve Font Awesome on icon buttons */
.header-search,
.header-search-x,
.go-to-top a {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ark-font) !important;
    font-weight: 700;
    color: var(--ark-grey-900);
    letter-spacing: -0.02em;
    line-height: 1.3;
    padding-bottom: 12px;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
    margin-bottom: 1.25em;
    line-height: 1.75;
}

a {
    color: var(--ark-green);
    transition: color var(--ark-transition);
}
a:hover,
a:focus {
    color: var(--ark-green-dark);
}

::selection {
    background: var(--ark-green);
    color: var(--ark-white);
}
::-moz-selection {
    background: var(--ark-green);
    color: var(--ark-white);
}

/* ==========================================================================
   2. Layout — Wider container, more breathing room
   ========================================================================== */
.container {
    max-width: 1200px;
    padding: 0 24px;
}

#content {
    padding: 24px 0 40px;
}

/* Tighter top spacing on the front page */
.front-page-fullwidth #content {
    padding-top: 0;
    padding-bottom: 0;
}

/* Hide the empty page content area and page header on the front page */
.front-page-fullwidth .page-header,
.front-page-fullwidth #primary {
    display: none;
}

/* Let the front page outer container go full-width so sections
   like trust badges and CTA can have edge-to-edge backgrounds */
.front-page-fullwidth #content > .container {
    max-width: none;
    padding: 0;
}

/* Constrain inner front page content sections */
.front-page-fullwidth .section-heading,
.front-page-fullwidth .promonational-area,
.front-page-fullwidth .ark-cta-banner > .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}
/* Wider container for product category grid */
.front-page-fullwidth .ark-featured-products > .container {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Full-width layout — no sidebar on any page */
.ark-fullwidth #primary {
    width: 100% !important;
    float: none !important;
}
.ark-fullwidth #secondary {
    display: none !important;
}

/* ==========================================================================
   3. Top Header Bar
   ========================================================================== */
.top-header {
    border-bottom: 1px solid var(--ark-grey-200);
    background: var(--ark-white);
}

.top-header .widget_contact ul li a {
    color: var(--ark-grey-600);
    font-size: 13px;
    font-weight: 500;
    transition: color var(--ark-transition);
}
.top-header .widget_contact ul li a:hover {
    color: var(--ark-green);
}

/* Social links in header */
.social-links a {
    color: var(--ark-grey-500);
    border-radius: 50%;
    transition: all var(--ark-transition);
}
.social-links a:hover {
    color: var(--ark-white) !important;
    transform: translateY(-1px);
}
.social-links a[href*="discord"]:hover {
    background-color: #5865F2;
}
.social-links a[href*="youtube"]:hover {
    background-color: #FF0000;
}
.social-links a[href*="x.com"]:hover,
.social-links a[href*="twitter.com"]:hover {
    background-color: #000000;
}

/* ==========================================================================
   4. Site Branding
   ========================================================================== */
#site-branding {
    padding: 16px 0;
}

#site-title {
    font-family: var(--ark-font) !important;
    font-weight: 800;
    letter-spacing: -0.03em;
}
#site-title a {
    color: var(--ark-grey-900);
}

#site-description {
    font-family: var(--ark-font) !important;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--ark-grey-500);
    text-transform: uppercase;
    font-size: 11px;
}

/* ==========================================================================
   5. Navigation — Modern clean nav
   ========================================================================== */
#sticky_header {
    background-color: var(--ark-white);
    border-bottom: 1px solid var(--ark-grey-200);
    transition: all 0.3s ease;
}

/* Tighter nav spacing so all items fit in one row */
.main-navigation {
    padding: 0 30px 0 0;
}
.main-navigation a {
    padding: 16px 10px;
}

.is-sticky #sticky_header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--ark-shadow-sm);
    border-bottom: none;
}

/* Align sticky header: logo left, nav right */
.is-sticky #sticky_header > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.is-sticky .nav-site-title {
    float: none;
}
.is-sticky .main-navigation {
    float: none;
}
.is-sticky .main-navigation .menu {
    float: none;
}

/* Replace text site title with SVG logo in the sticky nav bar */
.is-sticky .nav-site-title a {
    font-size: 0;
    color: transparent;
    display: block;
    width: 120px;
    height: 36px;
    background: url('ark-logo.svg') no-repeat center / contain;
}

.main-navigation a {
    font-family: var(--ark-font) !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--ark-grey-700);
    padding: 16px 10px;
    text-transform: uppercase;
    transition: color var(--ark-transition);
    position: relative;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current_page_item > a,
.main-navigation ul li.current-menu-ancestor > a,
.main-navigation ul li:hover > a {
    color: var(--ark-green) !important;
}

/* Active item underline indicator */
.main-navigation ul > li.current-menu-item > a::after,
.main-navigation ul > li.current_page_item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10px;
    right: 10px;
    height: 2px;
    background: var(--ark-green);
    border-radius: 1px;
}

/* Dropdown menus */
.main-navigation ul li ul {
    border-radius: var(--ark-radius);
    box-shadow: var(--ark-shadow-lg);
    border: 1px solid var(--ark-grey-200);
    overflow: visible;
    transition: none !important;
}
/* Round only the first-level dropdown corners (sub-sub-menus inherit) */
.main-navigation > ul > li > ul {
    border-radius: var(--ark-radius);
}
.main-navigation ul li ul li:first-child > a {
    border-radius: var(--ark-radius) var(--ark-radius) 0 0;
}
.main-navigation ul li ul li:last-child > a {
    border-radius: 0 0 var(--ark-radius) var(--ark-radius);
}
.main-navigation ul li ul li:before {
    border-top-color: var(--ark-grey-100);
}
.main-navigation ul li ul li a {
    font-size: 13px !important;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 10px 16px;
    transition: all var(--ark-transition);
}
.main-navigation ul li ul li a:hover,
.main-navigation ul li ul li:hover > a {
    background: var(--ark-grey-50);
    color: var(--ark-green) !important;
}

/* Sub-sub-menus (flyouts) */
.main-navigation ul li ul li ul {
    border-radius: var(--ark-radius);
    box-shadow: var(--ark-shadow-lg);
    border: 1px solid var(--ark-grey-200);
}

/* Re-hide deeper sub-menus when hovering a different parent */
.main-navigation ul li:hover > ul > li > ul,
.main-navigation ul ul li:hover > ul > li > ul {
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Show only the directly hovered item's submenu */
.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
    opacity: 1 !important;
    visibility: visible !important;
    top: 0;
    transition: none !important;
}

/* Sub-menu arrow indicators */
.main-navigation li.menu-item-has-children > a:after,
.main-navigation li li.menu-item-has-children > a:after {
    color: var(--ark-grey-400);
}
.main-navigation li:hover > a:after {
    color: var(--ark-green);
}

/* Search toggle */
.header-search:hover,
.header-search-x:hover {
    color: var(--ark-green);
}

/* Mobile menu button */
.menu-toggle {
    border-radius: var(--ark-radius) !important;
}

/* ==========================================================================
   6. Slider / Hero — Modern overlay with gradient
   ========================================================================== */
.main-slider {
    border-radius: 0;
    margin: 0;
}

/* Dark gradient overlay on each slide for text readability */
.main-slider .image-slider::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.5) 70%,
        rgba(0, 0, 0, 0.65) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Slider content sits above the overlay */
.slider-content {
    z-index: 2;
    width: 80%;
}

.slider-content .slider-title,
.slider-content .slider-title a,
.slider-content h2.slider-title a,
.main-slider .slider-content .slider-title a {
    font-family: var(--ark-font) !important;
    font-weight: 800 !important;
    font-size: 2.75rem !important;
    letter-spacing: -0.02em;
    color: var(--ark-white) !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
    text-decoration: none !important;
    border-bottom: none !important;
}
.slider-content .slider-title a:hover,
.main-slider .slider-content .slider-title a:hover {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
}

.slider-content .slider-text h3 {
    font-family: var(--ark-font) !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Slider CTA buttons */
.slider-content .btn-default {
    margin-top: 16px;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    border: 2px solid var(--ark-white);
    border-radius: var(--ark-radius);
    color: var(--ark-white);
    background: transparent;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
}
.slider-content .btn-default:hover {
    background: var(--ark-green);
    border-color: var(--ark-green);
    color: var(--ark-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 187, 49, 0.4);
}
/* Secondary slider button */
.slider-content .btn-default + .btn-default {
    background: var(--ark-green);
    border-color: var(--ark-green);
}
.slider-content .btn-default + .btn-default:hover {
    background: var(--ark-green-dark);
    border-color: var(--ark-green-dark);
}

/* Slider nav arrows */
a.slider-prev,
a.slider-next {
    color: rgba(255, 255, 255, 0.7);
    z-index: 10;
}
.main-slider:hover a.slider-prev,
.main-slider:hover a.slider-next {
    opacity: 0.7;
}
.main-slider a.slider-prev:hover,
.main-slider a.slider-next:hover {
    color: var(--ark-white);
    opacity: 1;
}

/* Slider pagination dots */
.slider-button a {
    border-color: rgba(255, 255, 255, 0.6);
}
.slider-button a.activeSlide {
    background-color: var(--ark-white);
    border-color: var(--ark-white);
}

/* ==========================================================================
   6b. Hero Section
   ========================================================================== */
.ark-hero {
    position: relative;
    background-color: #2d2d2d;
    background-size: 85%;
    background-position: right center;
    background-repeat: no-repeat;
    min-height: 480px;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Break out of .container */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}
.ark-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(30, 30, 30, 0.92) 0%,
        rgba(30, 30, 30, 0.80) 40%,
        rgba(30, 30, 30, 0.50) 65%,
        rgba(30, 30, 30, 0.30) 100%
    );
    z-index: 1;
}
.ark-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 72px 24px;
    margin: 0 auto 0 max(24px, calc((100% - 1320px) / 2));
}
.ark-hero__title {
    font-family: var(--ark-font) !important;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--ark-white);
    margin: 0 0 20px;
}
.ark-hero__title br {
    display: block;
}
.ark-hero__subtitle {
    font-family: var(--ark-font) !important;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 32px;
    max-width: 560px;
}
.ark-hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.ark-hero__btn {
    font-family: var(--ark-font) !important;
    font-size: 15px;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 8px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: background 0.2s, transform 0.15s;
    display: inline-block;
}
.ark-hero__btn--primary {
    background: var(--ark-green);
    color: var(--ark-white);
    border: 2px solid var(--ark-green);
}
.ark-hero__btn--primary:hover {
    background: var(--ark-green-dark);
    border-color: var(--ark-green-dark);
    color: var(--ark-white);
    transform: translateY(-1px);
}

/* Responsive hero */
@media (max-width: 768px) {
    .ark-hero {
        background-position: center center;
        background-size: 140%;
        min-height: 380px;
    }
    .ark-hero__overlay {
        background: linear-gradient(
            180deg,
            rgba(30, 30, 30, 0.85) 0%,
            rgba(30, 30, 30, 0.55) 100%
        );
    }
    .ark-hero__inner {
        padding: 64px 20px;
        margin-left: 20px;
    }
    .ark-hero__title {
        font-size: 1.75rem;
    }
    .ark-hero__subtitle {
        font-size: 1rem;
    }
}

/* ==========================================================================
   7. Trust Badges Bar (replaces sidebar on front page)
   ========================================================================== */
.trust-badges {
    background: var(--ark-grey-50);
    border-top: none;
    border-bottom: 1px solid var(--ark-grey-200);
    padding: 48px 24px;
    margin: 0;
    overflow: hidden;
}

.trust-badges__heading {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ark-grey-400);
    margin-bottom: 32px;
    padding-bottom: 0;
}

.trust-badges__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-badges__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform var(--ark-transition);
    min-width: 0;
}

@media (max-width: 1024px) {
    .trust-badges__inner {
        gap: 24px 20px;
    }
    .trust-badges__img {
        max-height: 44px;
        max-width: 120px;
    }
}
.trust-badges__item:hover {
    transform: translateY(-2px);
}

.trust-badges__img {
    max-height: 64px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    transition: filter var(--ark-transition);
}
.trust-badges__img--flag {
    max-height: 48px;
    border-radius: 4px;
}

.trust-badges__label {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ark-grey-500);
    text-align: center;
}

@media (max-width: 767px) {
    .trust-badges {
        padding: 24px 16px;
        margin: 0 0 24px;
    }
    .trust-badges__heading {
        font-size: 0.7rem;
        margin-bottom: 20px;
        text-align: center;
    }
    .trust-badges__inner {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px 28px;
    }
    .trust-badges__item {
        flex: 0 0 auto;
        width: calc(50% - 14px);
        align-items: center;
        text-align: center;
    }
    .trust-badges__item:last-child:nth-child(odd) {
        width: auto;
    }
    .trust-badges__img {
        max-height: 36px;
        max-width: 100px;
    }
    .trust-badges__label {
        font-size: 9px;
        margin-top: 6px;
    }
}

/* ==========================================================================
   8. Buttons — Modern rounded, solid fills
   ========================================================================== */
.btn-default,
input[type="reset"],
input[type="button"],
input[type="submit"] {
    font-family: var(--ark-font) !important;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.06em;
    border-radius: var(--ark-radius);
    padding: 10px 24px;
    transition: all var(--ark-transition);
    text-transform: uppercase;
}

input[type="reset"],
input[type="button"],
input[type="submit"],
.btn-default.vivid {
    background-color: var(--ark-green);
    border-color: var(--ark-green);
    color: var(--ark-white);
}
input[type="reset"]:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:focus,
input[type="button"]:focus,
input[type="submit"]:focus,
.btn-default.vivid:hover {
    background-color: var(--ark-green-dark);
    border-color: var(--ark-green-dark);
    color: var(--ark-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 187, 49, 0.3);
}

.btn-default {
    border-color: var(--ark-grey-300);
    color: var(--ark-grey-700);
    border-radius: var(--ark-radius);
}
.btn-default:hover,
.btn-default:focus {
    background-color: var(--ark-green);
    border-color: var(--ark-green);
    color: var(--ark-white);
}

/* Go-to-top */
.go-to-top a {
    border-color: var(--ark-green);
    color: var(--ark-green);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    line-height: 42px;
    box-shadow: var(--ark-shadow-sm);
}
.go-to-top a:hover,
.go-to-top a:focus {
    background-color: var(--ark-green);
    color: var(--ark-white);
    transform: translateY(-2px);
    box-shadow: var(--ark-shadow-md);
}

/* Read More link */
a.more-link {
    font-family: var(--ark-font) !important;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ark-green);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
a.more-link:hover {
    color: var(--ark-green-dark);
    letter-spacing: 0.06em;
}
a.more-link::after {
    content: '→';
    transition: transform var(--ark-transition);
}
a.more-link:hover::after {
    transform: translateX(3px);
}

/* ==========================================================================
   9. Posts & Blog Content — Card-style posts
   ========================================================================== */

/* Remove old decorative drop-cap on first post */
#primary .post:first-child .entry-content::first-letter {
    float: none !important;
    font-size: inherit !important;
    line-height: inherit !important;
    padding: 0 !important;
    border: none !important;
    margin: 0 !important;
}

/* Card-style post items */
#primary .post {
    background: var(--ark-white);
    border: 1px solid var(--ark-grey-200);
    border-radius: var(--ark-radius-lg);
    overflow: hidden;
    transition: box-shadow var(--ark-transition), transform var(--ark-transition);
    margin-bottom: 32px;
}
#primary .post:hover {
    box-shadow: var(--ark-shadow-md);
    transform: translateY(-2px);
}

/* Post featured image */
.post-featured-image {
    border-radius: 0;
    overflow: hidden;
}
.post-featured-image img {
    transition: transform 0.4s ease;
}
.post-featured-image:hover img {
    transform: scale(1.03);
}

/* Entry header */
.entry-header {
    padding: 24px 24px 0;
}

.entry-title {
    font-family: var(--ark-font) !important;
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
    padding-bottom: 8px;
}
.entry-title a {
    color: var(--ark-grey-900);
}
.entry-title a:hover {
    color: var(--ark-green);
}

.entry-meta {
    font-size: 13px;
    color: var(--ark-grey-500);
}
.entry-meta a {
    color: var(--ark-grey-500);
    font-weight: 500;
}
.entry-meta a:hover {
    color: var(--ark-green);
}

/* Entry content inside cards */
.entry-content,
.entry-summary {
    padding: 0 24px 24px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--ark-grey-600);
}

/* Sticky post highlight */
.sticky {
    border-left: 3px solid var(--ark-green);
    background: var(--ark-grey-50) !important;
}

/* ==========================================================================
   10. Page Headers
   ========================================================================== */
.page-header {
    padding-bottom: 24px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--ark-grey-200);
}

.page-title {
    font-family: var(--ark-font) !important;
    font-weight: 800;
    font-size: 1.75rem;
    letter-spacing: -0.02em;
    color: var(--ark-grey-900);
}

/* Breadcrumb */
.breadcrumb {
    font-size: 13px;
    color: var(--ark-grey-400);
}
.breadcrumb a {
    color: var(--ark-grey-600);
    font-weight: 500;
}
.breadcrumb a:hover {
    color: var(--ark-green);
}

/* ==========================================================================
   11. Sidebar Widgets — Modern clean look
   ========================================================================== */
#secondary .widget {
    margin-bottom: 32px;
    background: var(--ark-white);
    border: 1px solid var(--ark-grey-200);
    border-radius: var(--ark-radius-lg);
    padding: 24px;
    overflow: hidden;
}

/* Replace dark block title with modern underline style */
#secondary .widget-title {
    background: none !important;
    color: var(--ark-grey-900) !important;
    font-family: var(--ark-font) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    text-align: left !important;
    padding: 0 0 12px 0 !important;
    margin-bottom: 16px !important;
    border-bottom: 2px solid var(--ark-green) !important;
    display: block !important;
}
/* Hide the old CSS triangle arrow */
#secondary .widget-title::after {
    display: none !important;
}

#secondary .widget ul li a {
    color: var(--ark-grey-600);
    font-weight: 500;
    font-size: 14px;
    padding: 6px 0;
    display: block;
    transition: color var(--ark-transition);
}
#secondary .widget ul li a:hover {
    color: var(--ark-green);
}

/* Search widget */
#secondary .widget_search .search-submit {
    background-color: var(--ark-green);
    border-radius: 0 var(--ark-radius) var(--ark-radius) 0;
}

/* ==========================================================================
   12a. Section Headings
   ========================================================================== */
.section-heading {
    text-align: center;
    padding: 24px 0 24px;
}
.section-heading__title {
    font-family: var(--ark-font) !important;
    font-weight: 800;
    font-size: 1.75rem;
    letter-spacing: -0.02em;
    color: var(--ark-grey-900);
    padding-bottom: 8px;
    margin: 0;
}
.section-heading__subtitle {
    font-family: var(--ark-font) !important;
    font-size: 1rem;
    color: var(--ark-grey-500);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ==========================================================================
   12b. Promotional / Featured Area (Product Categories on Front Page)
   ========================================================================== */
.promonational-area {
    margin-bottom: 0;
    padding: 0 0 48px;
}

.promonational-area .column {
    display: flex;
    gap: 24px;
    margin: 0;
}

.promonational-area .three-column {
    float: none;
    padding: 0;
    flex: 1;
}

.promonational-img {
    position: relative;
    border-radius: var(--ark-radius-lg);
    overflow: hidden;
    height: 280px;
    transition: transform 0.4s ease, box-shadow 0.3s ease;
    box-shadow: var(--ark-shadow-sm);
}
.promonational-img:hover {
    transform: translateY(-4px);
    box-shadow: var(--ark-shadow-lg);
}

/* Dark overlay on promo images */
.promonational-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.55) 100%
    );
    z-index: 1;
    border-radius: var(--ark-radius-lg);
    transition: background 0.3s ease;
    pointer-events: none;
}
.promonational-img:hover::before {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
}

/* Promo link covers the card */
.promonational-area .promonational-link {
    z-index: 50;
}

.promonational-overlay {
    border: none;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 24px;
}

.promonational-overlay h4 {
    font-family: var(--ark-font) !important;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: none;
    color: var(--ark-white);
    position: static;
    transform: none;
    padding: 0;
    max-width: 100%;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   12c. Product Categories Section
   ========================================================================== */
.ark-featured-products {
    padding: 0 0 56px;
    background: var(--ark-white);
}
.ark-featured-products .section-heading {
    padding: 56px 0 36px;
}

/* Category grid */
.ark-category-grid {
    display: flex;
    gap: 28px;
}

.ark-category-card {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background: var(--ark-grey-50);
    border: 1px solid var(--ark-grey-200);
    border-radius: var(--ark-radius-lg);
    padding: 32px 24px 26px;
    transition: transform var(--ark-transition), box-shadow var(--ark-transition);
}
.ark-category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ark-shadow-md);
}

.ark-category-card__img-wrap {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: var(--ark-radius);
    background: var(--ark-grey-100);
    border: 1px solid var(--ark-grey-200);
}
.ark-category-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ark-category-card__title {
    font-family: var(--ark-font) !important;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--ark-grey-900);
    text-align: center;
    margin: 0;
}

@media (max-width: 768px) {
    .ark-category-grid {
        flex-wrap: wrap;
    }
    .ark-category-card {
        flex: 1 1 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }
}

/* ==========================================================================
   12d. CTA Banner
   ========================================================================== */
.ark-cta-banner {
    background: var(--ark-grey-100) !important;
    padding: 64px 24px;
    text-align: center;
}
.ark-cta-banner__title {
    font-family: var(--ark-font) !important;
    font-weight: 800;
    font-size: 2rem;
    color: var(--ark-grey-900) !important;
    letter-spacing: -0.02em;
    padding-bottom: 12px;
    margin: 0;
}
.ark-cta-banner__text {
    font-family: var(--ark-font) !important;
    color: var(--ark-grey-600);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 28px;
    line-height: 1.6;
}
.ark-cta-banner__btn {
    display: inline-block;
    padding: 14px 36px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em;
}

/* ==========================================================================
   13. Footer — Clean modern footer
   ========================================================================== */
#colophon .widget-wrap {
    background: var(--ark-white);
    border: none;
    border-top: 1px solid var(--ark-grey-200);
}

#colophon .widget-area {
    display: flex;
    flex-wrap: wrap;
    padding: 56px 0 32px;
}

#colophon .widget-title {
    font-family: var(--ark-font) !important;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ark-grey-900);
}
#colophon .widget-title::after {
    background: var(--ark-green) !important;
}

#colophon .widget,
#colophon .widget a,
#colophon .widget p,
#colophon .widget li {
    color: var(--ark-grey-600);
    font-size: 14px;
}
#colophon .widget a:hover {
    color: var(--ark-green);
}

/* Footer columns — remove old border */
#colophon .widget-area > div {
    border-right: none !important;
}

/* Site info / copyright bar */
.site-info {
    background: var(--ark-grey-50) !important;
    border-top: 1px solid var(--ark-grey-200);
    padding: 24px 0;
}
.site-info,
.site-info a,
.site-info .copyright,
.site-info .copyright a {
    color: var(--ark-grey-600) !important;
    font-size: 13px;
}
.site-info a:hover,
.site-info .copyright a:hover {
    color: var(--ark-green) !important;
}

/* Footer nav */
.footer-navigation a {
    font-family: var(--ark-font) !important;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--ark-grey-600);
}
.footer-navigation a:hover {
    color: var(--ark-green);
}

/* Footer social links */
.site-info .social-links a {
    color: var(--ark-grey-500);
}
.site-info .social-links a:hover {
    color: var(--ark-grey-900) !important;
}

/* Footer email */
.footer-email {
    color: var(--ark-grey-500);
    text-decoration: none;
    font-size: 14px;
}
.footer-email:hover {
    color: var(--ark-green);
}
.footer-sep {
    margin: 0 8px;
    color: var(--ark-grey-400);
}

/* ==========================================================================
   14. Forms — Cleaner inputs
   ========================================================================== */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="password"],
input[type="search"],
textarea,
select {
    font-family: var(--ark-font) !important;
    border: 1px solid var(--ark-grey-300);
    border-radius: var(--ark-radius);
    padding: 10px 14px;
    font-size: 14px;
    background: var(--ark-white);
    transition: border-color var(--ark-transition), box-shadow var(--ark-transition);
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
textarea:focus {
    border-color: var(--ark-green);
    box-shadow: 0 0 0 3px rgba(0, 187, 49, 0.1);
    background: var(--ark-white);
    outline: none;
}

/* ==========================================================================
   15. WooCommerce Overrides
   ========================================================================== */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .button.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit,
.woocommerce .cart .button,
.woocommerce .checkout-button,
.woocommerce #payment #place_order {
    font-family: var(--ark-font) !important;
    font-weight: 600;
    border-radius: var(--ark-radius);
    letter-spacing: 0.04em;
    transition: all var(--ark-transition);
    background-color: var(--ark-green) !important;
    border-color: var(--ark-green) !important;
    color: var(--ark-white) !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce .button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .cart .button:hover,
.woocommerce .checkout-button:hover,
.woocommerce #payment #place_order:hover {
    background-color: var(--ark-green-dark) !important;
    border-color: var(--ark-green-dark) !important;
    color: var(--ark-white) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 187, 49, 0.3);
}

/* Quantity input — ensure number is visible */
.woocommerce .quantity .qty,
.woocommerce-cart .quantity .qty,
.woocommerce div.product .quantity .qty {
    width: 60px;
    min-height: 40px;
    padding: 6px 8px;
    text-align: center;
    font-size: 16px;
    color: var(--ark-grey-900);
    background: var(--ark-white);
    border: 1px solid var(--ark-grey-300);
    border-radius: var(--ark-radius);
    -moz-appearance: textfield;
}
.woocommerce .quantity .qty::-webkit-inner-spin-button,
.woocommerce .quantity .qty::-webkit-outer-spin-button {
    opacity: 1;
    height: auto;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--ark-font) !important;
    font-weight: 600;
}

/* Product prices — dark grey (override parent inline CSS) */
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price .amount,
.woocommerce ul.products li.product .price .woocommerce-Price-amount,
.woocommerce ul.products li.product .price ins,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce div.product .price .amount,
.woocommerce div.product .price .woocommerce-Price-amount,
.woocommerce div.product p.price .woocommerce-Price-amount.amount,
.woocommerce div.product span.price .woocommerce-Price-amount.amount,
.woocommerce .product .summary .price,
.woocommerce .product .summary .price .amount,
.woocommerce .product .summary p.price,
.woocommerce .product .summary span.price {
    color: var(--ark-grey-900) !important;
    font-family: var(--ark-font) !important;
    font-weight: 700;
}
/* In-stock badge */
.woocommerce div.product .stock,
.woocommerce div.product p.stock {
    color: var(--ark-green) !important;
}
/* Sale original price — lighter */
.woocommerce ul.products li.product .price del,
.woocommerce div.product .price del,
.woocommerce div.product .price del .amount {
    color: var(--ark-grey-400) !important;
    font-weight: 400;
}

.woocommerce ul.products li.product {
    border-radius: var(--ark-radius-lg);
    overflow: hidden;
    border: 1px solid var(--ark-grey-200);
    transition: box-shadow var(--ark-transition), transform var(--ark-transition);
}
.woocommerce ul.products li.product:hover {
    box-shadow: var(--ark-shadow-md);
    transform: translateY(-2px);
}

/* Single product page — hide duplicate page-level title */
.single-product .entry-header,
.single-product #primary > .entry-title,
.single-product #primary > article > .entry-header,
.single-product .page-header {
    display: none !important;
}

/* Single product page — consistent typography */
.woocommerce div.product .product_title {
    font-family: var(--ark-font) !important;
    font-weight: 800;
    font-size: 1.75rem;
    letter-spacing: -0.02em;
    color: var(--ark-grey-900);
    line-height: 1.3;
    padding-bottom: 4px;
}

.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce div.product .woocommerce-product-details__short-description p {
    font-family: var(--ark-font) !important;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ark-grey-600);
}

/* Product meta (SKU, categories, tags) */
.woocommerce div.product .product_meta {
    font-family: var(--ark-font) !important;
    font-size: 13px;
    color: var(--ark-grey-500);
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--ark-grey-200);
    line-height: 2;
}
.woocommerce div.product .product_meta > span {
    display: block;
    margin-bottom: 2px;
}
/* Hide tags row — too many tags clutters the summary */
.woocommerce div.product .product_meta .tagged_as {
    display: none;
}
.woocommerce div.product .product_meta a {
    color: var(--ark-green);
    text-decoration: none;
}
.woocommerce div.product .product_meta a:hover {
    color: var(--ark-green-dark);
    text-decoration: underline;
}

/* Payment gateway buttons area */
.woocommerce div.product form.cart {
    margin-bottom: 16px;
}
.woocommerce div.product div.summary #wc-stripe-payment-request-wrapper,
.woocommerce div.product div.summary .wc_ppcp_mini_cart,
.woocommerce div.product div.summary .ppcp-messages,
.woocommerce div.product div.summary [id*="paypal"],
.woocommerce div.product div.summary [id*="stripe"] {
    margin-top: 12px;
}
.woocommerce div.product div.summary .woocommerce-variation-add-to-cart ~ div,
.woocommerce div.product div.summary form.cart ~ div:not(.product_meta):not(.woocommerce-tabs) {
    padding: 12px 0 4px;
    border-radius: 6px;
}

/* Product tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-family: var(--ark-font) !important;
    font-weight: 600;
    font-size: 14px;
    color: var(--ark-grey-600);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--ark-grey-900);
}
.woocommerce div.product .woocommerce-tabs .panel h2 {
    font-family: var(--ark-font) !important;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--ark-grey-900);
}
.woocommerce div.product .woocommerce-tabs .panel,
.woocommerce div.product .woocommerce-tabs .panel p,
.woocommerce div.product .woocommerce-tabs .panel li {
    font-family: var(--ark-font) !important;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ark-grey-600);
}

/* ==========================================================================
   16. Comments — Modernized
   ========================================================================== */
.comment-body {
    border-radius: var(--ark-radius);
    padding: 20px;
}

.comments-title,
#reply-title {
    font-family: var(--ark-font) !important;
    font-weight: 700;
    font-size: 1.5rem;
}

/* ==========================================================================
   17. Blockquotes
   ========================================================================== */
blockquote {
    font-family: var(--ark-font) !important;
    font-style: italic;
    border-left: 3px solid var(--ark-green);
    padding: 20px 24px;
    margin: 24px 0;
    background: var(--ark-grey-50);
    border-radius: 0 var(--ark-radius) var(--ark-radius) 0;
}

/* ==========================================================================
   18. Code blocks
   ========================================================================== */
pre {
    border-radius: var(--ark-radius);
    font-size: 13px;
}
code, kbd, tt, var {
    font-size: 13px;
    background: var(--ark-grey-100);
    padding: 2px 6px;
    border-radius: 4px;
}

/* ==========================================================================
   19. Responsive Refinements
   ========================================================================== */
@media (max-width: 1023px) {
    .trust-badges__inner {
        gap: 36px;
    }
    .trust-badges__img {
        max-height: 48px;
    }
}

@media (max-width: 767px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.375rem; }

    .container {
        padding: 0 16px;
    }

    #content {
        padding: 24px 0 16px;
    }

    .trust-badges {
        padding: 24px 16px;
    }

    /* Trust badge mobile layout handled in dedicated block above */

    #primary .post {
        margin-bottom: 24px;
    }

    .entry-header {
        padding: 16px 16px 0;
    }
    .entry-content,
    .entry-summary {
        padding: 0 16px 16px;
    }

    #secondary .widget {
        padding: 16px;
    }

    /* Slider title: white, no underline on mobile */
    .slider-content .slider-title,
    .slider-content .slider-title a,
    .slider-content h2.slider-title a,
    .main-slider .slider-content .slider-title a {
        font-size: 1.75rem !important;
        color: var(--ark-white) !important;
        text-decoration: none !important;
        border-bottom: none !important;
    }

    .promonational-area {
        padding: 24px 0;
    }
    .promonational-area .column {
        flex-direction: column;
        gap: 16px;
    }
    .promonational-img {
        height: 200px;
    }

    /* Reduce gap between slider and content */
    .main-slider {
        margin-bottom: 0;
    }

    /* Shorter slider on mobile */
    .main-slider .image-slider {
        height: 300px !important;
        min-height: 300px !important;
    }
    .slider-content .btn-default {
        padding: 10px 20px;
        font-size: 12px;
    }

    /* Section headings on mobile */
    .section-heading {
        padding: 32px 16px 16px;
    }
    .section-heading__title {
        font-size: 1.5rem;
    }
    .section-heading__subtitle {
        font-size: 0.9rem;
    }

    /* CTA banner on mobile */
    .ark-cta-banner {
        padding: 40px 16px;
    }
    .ark-cta-banner__title {
        font-size: 1.5rem;
    }
    .ark-cta-banner__text {
        font-size: 0.95rem;
    }

    /* Featured products on mobile */
    .ark-featured-products {
        padding: 0 0 32px;
    }
}
