/*
Theme Name: Hundikuu Agentuur
Theme URI: 
Author: Hundikuu Agentuur
Author URI: 
Description: Hundikuu.ee veebilehe alateema
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 5.7
Version: 2.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: hundikuu-agentuur
Tags: 
*/

/* ===== FONTS ===== */

@font-face {
  font-display: optional;
  font-family: 'Judson';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/judson-v20-latin-regular.woff2') format('woff2');
}

@font-face {
  font-display: optional;
  font-family: 'Judson';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/judson-v20-latin-700.woff2') format('woff2');
}

@font-face {
  font-display: optional;
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/source-sans-3-v19-latin-regular.woff2') format('woff2');
}

@font-face {
  font-display: optional;
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/source-sans-3-v19-latin-600.woff2') format('woff2');
}

@font-face {
  font-display: optional;
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/source-sans-3-v19-latin-700.woff2') format('woff2');
}

@font-face {
  font-display: optional;
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/source-sans-3-v19-latin-italic.woff2') format('woff2');
}

/* ===== CSS VARIABLES ===== */

:root {
    --hnd-purple: #9900E0;
    --hnd-purple-dark: #5b21b6;
    --hnd-blue: #18A5FF;
    
    --hnd-white: #ffffff;
    --hnd-gray-50: #f9fafb;
    --hnd-gray-100: #f3f4f6;
    --hnd-gray-200: #e5e7eb;
    --hnd-gray-300: #d1d5db;
    --hnd-gray-400: #9ca3af;
    --hnd-gray-500: #6b7280;
    --hnd-gray-600: #4b5563;
    --hnd-gray-700: #374151;
    --hnd-gray-800: #1f2937;
    --hnd-gray-900: #111827;
    --hnd-blue-heading: #2c3e50;
    --hnd-overlay-gradient: linear-gradient(135deg, rgba(24, 165, 255, 0.5) 0%, rgba(153, 0, 224, 0.5) 100%);
    --hnd-primary-gradient: linear-gradient(135deg, #18A5FF 0%, #9900E0 100%);
    --hnd-primary-button-gradient: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    --hnd-secondary-gradient: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
    --hnd-gradient-light: linear-gradient(135deg, rgba(24, 165, 255, 0.1) 0%, rgba(153, 0, 224, 0.1) 100%);
    --hnd-featured-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --hnd-font-xs: 0.75rem;
    --hnd-font-sm: 0.875rem;
    --hnd-font-base: 0.95rem;
    --hnd-font-md: 1rem;
    --hnd-font-lg: 1.125rem;
    --hnd-font-xl: 1.25rem;
    --hnd-font-2xl: 1.5rem;
    --hnd-font-3xl: 2rem;
    --hnd-font-4xl: 2.5rem;
    --hnd-font-5xl: 3rem;
    --hnd-font-6xl: 4rem;
    
    --hnd-font-normal: 400;
    --hnd-font-medium: 500;
    --hnd-font-semibold: 600;
    --hnd-font-bold: 700;
    
    --hnd-leading-tight: 1.3;
    --hnd-leading-normal: 1.5;
    --hnd-leading-relaxed: 1.7;
    --spacing-none: 0;


    --hnd-space-xs: 0.5rem;
    --hnd-space-sm: 0.75rem;
    --hnd-space-md: 1rem;
    --hnd-space-lg: 1.5rem;
    --hnd-space-xl: 2rem;
    --hnd-space-2xl: 2.5rem;
    --hnd-space-3xl: 3rem;
    --hnd-space-4xl: 4rem;
    
    --hnd-border-width: 2px;
    --hnd-border-width-thin: 1px;
    
    --hnd-radius-sm: 6px;
    --hnd-radius-md: 8px;
    --hnd-radius-lg: 12px;
    --hnd-radius-xl: 16px;
    --hnd-radius-full: 50%;
        --hnd-border-standard: 2px solid #e5e7eb;
    --hnd-border-featured: 3px solid rgba(153, 0, 224, 0.4);
    --hnd-border-featured-blue: 3px solid #667eea;
    --hnd-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --hnd-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --hnd-shadow-lg: 0 8px 30px rgba(24, 165, 255, 0.15);
    --hnd-shadow-xl: 0 12px 40px rgba(24, 165, 255, 0.15);
    --hnd-shadow-blue: 0 8px 20px rgba(24, 165, 255, 0.3);
    --hnd-shadow-purple: 0 10px 25px rgba(139, 92, 246, 0.3);
   --hnd-box-shadow-focus: 0 8px 30px rgba(102, 126, 234, 0.2);
   --hnd-box-shadow-cards: 0 4px 20px rgba(0,0,0,0.08);
   --hnd-box-shadow-cards-hover: 0 12px 40px rgba(0,0,0,0.12);
    --hnd-transition-fast: 0.15s ease;
    --hnd-transition-base: 0.3s ease;
    --hnd-transition-slow: 0.4s ease;
    
    --header-height: 70px;
    --hnd-container-max: 1340px;
    --hnd-container-sm: 800px;
    --hnd-container-md: 1200px;
    
    --hnd-z-dropdown: 1000;
    --hnd-z-modal: 9999;
    --hnd-z-header: 100;
}

/* ===== GLOBAL COLOR UTILITIES ===== */

.has-secondary-gradient h1,
.has-secondary-gradient h2,
.has-secondary-gradient h3,
.has-secondary-gradient h4,
.has-secondary-gradient h5,
.has-secondary-gradient h6,
.has-secondary-gradient p,
.has-secondary-gradient li,
.has-secondary-gradient a,
.teenus-card h3,
.portfolio-card h3,
.hnd-footer a,
.hnd-footer p {
    color: var(--hnd-white);
}

.has-secondary-gradient {
    background: var(--hnd-secondary-gradient);
    color: var(--hnd-white);
}


/* ===== NAVIGATION ===== */

.wp-block-navigation__container .wp-block-navigation-link a,
.wp-block-navigation__container .wp-block-navigation-item a {
    color: var(--hnd-white) !important;
    font-weight: var(--hnd-font-normal);
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
    font-size: var(--hnd-font-md) !important;
}

.wp-block-navigation-link a:hover,
.wp-block-navigation-link a:focus,
.wp-block-navigation-item a:hover,
.wp-block-navigation-item a:focus {
    outline: none;
}

.wp-block-navigation__container .wp-block-navigation-link a:hover,
.wp-block-navigation__container .wp-block-navigation-item a:hover {
    opacity: 0.8;
}

.wp-block-navigation__submenu-container {
    border-radius: var(--hnd-radius-md);
    padding: var(--hnd-space-md) !important;
    left: 0 !important;
    right: auto !important;
}

@media (min-width: 600px) {
    .wp-block-navigation__submenu-container {
        background: var(--hnd-secondary-gradient) !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }
}

/* ===== GRID SYSTEM ===== */

.hnd-grid {
    display: grid;
    gap: var(--hnd-space-xl);
    max-width: var(--hnd-container-max);
    margin: 0 auto;
}

/* Mobile first - 1 column default */
.hnd-grid.hnd-columns-2,
.hnd-grid.hnd-columns-3,
.hnd-grid.hnd-columns-4 {
    grid-template-columns: 1fr;
}

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

.wp-block-button a,
.nav-koostoo a,
.wc-block-components-checkout-place-order-button--full-width {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--hnd-space-md) var(--hnd-space-xl);
    font-size: var(--hnd-font-md);
    font-weight: var(--hnd-font-semibold);
    text-decoration: none;
    border-radius: var(--hnd-radius-md);
    transition: all var(--hnd-transition-base);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.wp-block-button.button-primary a {
    background: var(--hnd-white);
    color: var(--hnd-purple-dark);
    border: none;
}

.button-primary.inverted a,
.nav-koostoo a,
.wc-block-components-checkout-place-order-button--full-width {
    background: var(--hnd-primary-button-gradient);
    color: var(--hnd-white);
}

.button-primary.inverted a:hover,
.nav-koostoo a:hover,
.wc-block-components-checkout-place-order-button--full-width:hover {
    box-shadow: var(--hnd-shadow-purple);
    transform: translateY(-2px);
}

.button-primary.inverted a:active,
.nav-koostoo a:active,
.wc-block-components-checkout-place-order-button--full-width:active {
    transform: translateY(0);
}

.wp-block-button.button-primary a:before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--hnd-primary-button-gradient);
    opacity: 0;
    transition: opacity var(--hnd-transition-base);
    z-index: -1;
}

.button-primary.inverted a:before,
.nav-koostoo a:before,
.wc-block-components-checkout-place-order-button--full-width:before {
    background: var(--hnd-primary-gradient);
}

.wp-block-button.button-primary a:hover {
    transform: translateY(-2px);
    box-shadow: var(--hnd-shadow-purple);
    color: var(--hnd-white);
}

.wp-block-button.button-primary a:hover:before {
    opacity: 1;
}

.wp-block-button.button-secondary a {
    background: var(--hnd-gradient-light);
    color: var(--hnd-white);
    border: var(--hnd-border-width) solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
}

.button-secondary.inverted a {
    background: transparent;
    border: var(--hnd-border-width) solid var(--hnd-blue);
    color: var(--hnd-gray-800);
    transition: all var(--hnd-transition-base);
}

.wp-block-button.button-secondary a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.button-secondary.inverted a:hover {
    background: var(--hnd-overlay-gradient);
    border: var(--hnd-border-width) solid transparent;
    color: var(--hnd-white);
    box-shadow: var(--hnd-shadow-blue);
}

.wp-block-button.button-secondary a:active,
.wp-block-button.button-primary a:active,
.button-secondary.inverted a:active,
.button-primary.inverted a:active,
.nav-koostoo a:active {
    transform: translateY(0);
}

.nav-koostoo {
    max-height: 10px;
    overflow: visible !important;
}

.bg-blue {
            background-color: rgba(15, 23, 42, 0.95) !important;
}

/* ===== MOBILE MENU ===== */

@media (max-width: 599px) {
    .nav-koostoo a {
        width: 100%;
        padding: var(--hnd-space-md) var(--hnd-space-xl) !important;
        color: var(--hnd-white) !important;
    }
    
    .nav-koostoo {
        max-height: none;
        width: 100%;
    }
    
    .wp-block-navigation__responsive-container-overlay {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
    }
    
    .wp-block-navigation__responsive-container-content {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        max-width: none !important;
        margin: 0 !important;
        padding: var(--hnd-space-xl) !important;
        background: var(--hnd-secondary-gradient) !important;
        overflow-y: auto !important;
    }
    
    .wp-block-navigation__responsive-container-inner {
        max-width: 400px !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }
    
    .wp-block-navigation__responsive-container-content .wp-block-navigation-item a {
        color: var(--hnd-white) !important;
        font-weight: var(--hnd-font-semibold) !important;
    }
    
    .wp-block-navigation__responsive-container-close svg {
        fill: var(--hnd-white) !important;
    }
    
    ul.wp-block-navigation__container {
        flex-direction: column !important;
        gap: var(--hnd-space-lg) !important;
        margin-top: 5rem !important;
    }
}

/* ===== GLOBAL UTILITIES ===== */

.hnd-lines:before,
.hnd-lines:after,
.hnd-heading-lines:before,
.hnd-heading-lines:after {
    content: '';
    display: inline-block;
    width: 100px;
    height: 1px;
    background: #000;
    margin: 0 0.5em 0.25em 0;
}

.hnd-lines.invertedlines:before,
.hnd-heading-lines.invertedlines:before,
.hnd-lines.invertedlines:after,
.hnd-heading-lines.invertedlines:after {
    background: var(--hnd-white);
}

.hnd-lines:after,
.hnd-heading-lines:after {
    margin: 0 0 0.25em 0.5em;
}

.hnd-lines {
    font-weight: var(--hnd-font-bold);
    text-transform: uppercase;
}

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

.hnd-footer a,
.hnd-footer p {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--hnd-transition-base);
}

.hnd-footer a:hover {
    color: #22d3ee;
}

.hnd-footer h3 {
    color: rgba(255, 255, 255, 0.77);
    margin-bottom: var(--hnd-space-md);
}

footer {
    margin-top: 0 !important;
}

/* ===== HEADER ===== */

.hnd-header .wp-block-site-logo {
    height: 30px;
    overflow: visible;
}

.hnd-header .custom-logo {
    height: 44px !important;
    width: auto !important;
    transform: translateY(-0.5rem);
}

.headerwithbackground {
    background: var(--hnd-secondary-gradient) !important;
    margin-bottom: 2rem !important;
}

/* ===== HERO BANNER ===== */

.hnd-banner {

    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--hnd-white);
    text-align: center;
    overflow: hidden; 
    contain: layout style;
}

.hnd-banner-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;

}

.hnd-banner-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    will-change: transform;
}

/* Gradient overlay */
.hnd-banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--hnd-overlay-gradient);
    pointer-events: none; /* Allow clicks through */
}

/* Content on top */
.hnd-inner {
    position: relative;
    z-index: 2;
    max-width: 80vw !important;
    overflow: visible; /* Changed from hidden */
}

.hnd-content {
    position: relative;
    z-index: 2;
}

.hnd-content-bottom {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-buttons {
    display: flex;
    gap: var(--hnd-space-xl);
    margin-top: var(--hnd-space-xl);
    flex-wrap: wrap;
    justify-content: center;
    
}

.home-hero-text p {
    font-size: var(--hnd-font-2xl);
    line-height: 1.6;
}


.hnd-inner {
    max-width: 80vw !important;
    overflow: hidden;
}

.home-banner-img {
    max-width: 80vw;
    height: auto;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--hnd-space-xs);
    cursor: pointer;
    transition: opacity var(--hnd-transition-base);
}

.scroll-indicator:hover {
    opacity: 0.7;
}

.mouse-border {
    width: 24px;
    height: 40px;
    border: var(--hnd-border-width) solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.mouse-wheel {
    width: 4px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    50% {
        opacity: 0.5;
        transform: translateY(12px);
    }
    100% {
        opacity: 0;
        transform: translateY(12px);
    }
}

.scroll-text {
    font-size: var(--hnd-font-xs);
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: var(--hnd-font-normal);
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

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

.hnd-text a {
    text-decoration: none;
    position: relative;
    padding: 0.125rem 0;
    background: linear-gradient(135deg, var(--hnd-purple-dark) 0%, var(--hnd-purple-dark) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 100%;
    transition: all var(--hnd-transition-slow);
    font-weight: var(--hnd-font-normal);
}

.hnd-text a:hover {
    background: var(--hnd-primary-gradient);
    background-clip: text;
    background-size: 200% 200%;
    -webkit-background-clip: text;
    animation: gradient 3s ease infinite;
}

@keyframes gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ===== DESKTOP HEADER & PAGE HERO ===== */

@media (min-width: 600px) {
    body:not(.home) main {
        margin-top: calc(var(--header-height) * -1) !important;
    }
    
    section.has-secondary-gradient {
        padding-top: calc(6rem + var(--header-height)) !important;
    }
    
    .avaleht-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: var(--hnd-z-dropdown);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    background-color var(--hnd-transition-slow),
                    box-shadow var(--hnd-transition-slow);
        transform: translateY(-100%);
        background-color: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(10px);
    }
    
    .avaleht-header.is-visible {
        transform: translateY(0);
        box-shadow: var(--hnd-shadow-md);
    }
    
    .avaleht-header.is-hiding {
        transform: translateY(-100%);
    }
    
    .logged-in.admin-bar .avaleht-header {
        top: 32px;
    }
    
    .standard-header {
        position: sticky;
        top: 0;
        z-index: var(--hnd-z-dropdown);
        transition: background-color var(--hnd-transition-base),
                    box-shadow var(--hnd-transition-base),
                    backdrop-filter var(--hnd-transition-base);
        background-color: transparent;
    }
    
    .standard-header.is-scrolled {
        background-color: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: var(--hnd-shadow-md);
    }
    
    .admin-bar .standard-header {
        top: 32px;
    }
    
    .page-hero-section {
        background: var(--hnd-secondary-gradient);
        padding: 8rem var(--hnd-space-xl) var(--hnd-space-4xl);
        text-align: center;
        color: var(--hnd-white);
        position: relative;
    }
    
    .page-hero-content h1 {
        font-size: var(--hnd-font-5xl);
        font-weight: var(--hnd-font-bold);
        margin-bottom: var(--hnd-space-md);
    }
    
    .page-hero-content .subtitle {
        font-size: var(--hnd-font-lg);
        opacity: 0.9;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        position: relative;
        display: inline-block;
        padding-bottom: var(--hnd-space-lg);
    }
    
    .page-hero-content .subtitle::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background: linear-gradient(90deg, var(--hnd-blue), var(--hnd-purple));
    }
}

/* ===== RESPONSIVE - MOBILE ===== */

@media (max-width: 599px) {
    .hnd-header .header-outer {
        background: var(--hnd-secondary-gradient);
    }
    
    .hero-buttons {
        flex-direction: column;
        max-width: 80vw;
        gap: var(--hnd-space-md);
    }
    
    .hero-buttons .wp-block-button a,
    .hero-buttons .wp-block-button {
        width: 80%;
        max-width: 100%;
    }
    
    .scroll-indicator {
        bottom: var(--hnd-space-md);
    }
    
    .hnd-header .custom-logo {
        max-height: 32px !important;
        width: auto !important;
        transform: translateY(5px) !important;
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--hnd-space-md);
    }
    
    .footer-disclaimer {
        text-align: center;
        flex-wrap: wrap;
    }
    
    .hnd-lines,
    .hnd-heading-lines {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
    
    .hnd-lines:before,
    .hnd-lines:after,
    .hnd-heading-lines:before,
    .hnd-heading-lines:after {
        text-align: center;
        width: 80%;
        margin: 0.25em auto;
    }
    
    .wp-block-buttons > .wp-block-button.wp-block-button__width-25 {
        flex-basis: 100% !important;
    }
        .services-content {
        padding: 0 1rem;
    }

}

/* ===== RESPONSIVE - TABLET & DESKTOP ===== */

@media screen and (min-width: 600px) {
    
    
    .footer-disclaimer .separator-right {
        border-right: var(--hnd-border-width) solid rgba(255, 255, 255, 0.2);
        padding-right: 0.85rem;
    }
}

@media screen and (min-width: 600px) and (max-width: 1023px) {
   
    
}

@media screen and (min-width: 1024px) and (max-width: 99999px) {
    
    
}


@media (max-width: 768px) {
    .page-hero-section {
        padding: 6rem var(--hnd-space-lg) var(--hnd-space-3xl);
    }
    
    .page-hero-content h1 {
        font-size: var(--hnd-font-3xl);
    }
    
    .page-hero-content .subtitle {
        font-size: var(--hnd-font-sm);
    }

    .hnd-blog-archive-content  {
        padding: 0 var(--hnd-space-md);
    }
    .product-template-default .hnd-blog-archive-content  {
        padding: 0; 
    }

    .footer-first, .footer-fourth {
            flex-basis: 90% !important;
            max-width: 100% !important;
    }
    .footer-second, .footer-third {
            flex-basis: 40% !important;
    }

    .footer-fourth {
        align-items: center !important;
         
    }

    .wp-container-core-group-is-layout-f9cbcf19 {
        padding: 0 var(--hnd-space-sm) !important;
    }
}

/* Tablet (641-1023px) */
@media screen and (min-width: 641px) and (max-width: 1023px) {
    .hnd-grid.hnd-columns-2,
    .hnd-grid.hnd-columns-3,
    .hnd-grid.hnd-columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop small (1024px+) */
@media screen and (min-width: 1024px) {

.wp-block-navigation__submenu-container {
    min-width: 250px !important;
}
    
    .hnd-grid.hnd-columns-2 { grid-template-columns: repeat(2, 1fr); }
    .hnd-grid.hnd-columns-3 { grid-template-columns: repeat(3, 1fr); }
    .hnd-grid.hnd-columns-4 { grid-template-columns: repeat(4, 1fr); }
}

.wp-block-social-link-label.screen-reader-text {
    display: none !important;
}



.social-icons {
  display: flex !important;
  gap: 15px !important; 
  align-items: center !important;
}

.social-icon {
  width: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  position: relative !important;
  overflow: hidden !important;
  background-clip: unset !important;
}

.social-icon svg {
  width: 20px !important;
  height: 20px !important;
  fill: white !important;
  position: relative !important;
  z-index: 1 !important;
}

.social-icon:hover {
  transform: translateY(-3px)   !important;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4) !important;
}

.social-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent) !important;
  transition: left 0.5s !important;
}

.social-icon:hover::before {
  left: 100% !important;
}

/* Size variants */
.social-icon-small {
  width: 36px !important;
  height: 36px !important;
}

.social-icon-small svg {
  width: 16px !important;
  height: 16px !important;
}

.social-icon-large {
  width: 52px !important;
  height: 52px !important;
}

.social-icon-large svg {
  width: 24px !important;
  height: 24px !important;
}

.cart-header {
    background: var(--hnd-secondary-gradient);
    margin-bottom: 6rem !important;
}

/* ---- COM site rules ---- */


.hnd-com-cta .button-secondary a,
.button-secondary.inverted a {
    background: transparent;
    border: 2px solid var(--hnd-gray-200);
    color: var(--wp--preset--color--contrast);
}

.hnd-com-hero-wrap .button-secondary a {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}

.hnd-com-hero-wrap .button-secondary a:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.6);
}

.hnd-com-hero-wrap {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    color: #fff;
    padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--50);
}

.hnd-com-hero-wrap h1 {
    color: #fff;
}

.hnd-com-hero-wrap .hnd-com-hero-sub {
    color: rgba(255,255,255,0.75);
}

.hnd-com-hero-wrap .hnd-com-badge {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    border-color: rgba(255,255,255,0.2);
}

.hnd-com-hero-wrap .hnd-com-trust-item {
    color: rgba(255,255,255,0.65);
}



.hnd-com-hero {
  padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--50);
  text-align: center;
}

.hnd-com-section-heading {
    font-size: var(--wp--preset--font-size--x-large);
    line-height: 1.25;
}

.hnd-com-section-sub {
    font-weight: 400;
    text-transform: none;
    font-size: 0.95rem;
    color: var(--wp--preset--color--accent-4);
    max-width: 600px;
    margin: 0 auto;
}

.hnd-com-section-sub::before,
.hnd-com-section-sub::after {
    display: none;
}



.hnd-com-badge {
  display: inline-block;
  font-size: 0.8rem;
  padding: 4px 14px;
  border-radius: 20px;
  background: #f3f4f6;
  color: var(--wp--preset--color--accent-4);
  border: 1px solid #e5e7eb;
  margin-bottom: 1rem;
}

.hnd-com-grad {
  background: var(--wp--preset--gradient--custom-solid);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hnd-com-hero-sub {
  font-size: 1.1rem;
  color: var(--wp--preset--color--accent-4);
  max-width: 540px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.hnd-com-trust-row {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hnd-com-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--wp--preset--color--accent-4);
}

.hnd-section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wp--preset--color--accent-4);
  margin-bottom: 0.25rem;
}

/* ---- Plugin kaardid ---- */

.hnd-com-plugin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .hnd-com-plugin-grid { grid-template-columns: 1fr; }
}

.hnd-com-plugin-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hnd-com-plugin-card.hnd-com-plugin-featured {
  border: 2px solid var(--wp--preset--color--accent-1);
}

.hnd-com-plugin-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 4px;
}

.hnd-com-badge-blue  { background: #E6F1FB; color: #0C447C; }
.hnd-com-badge-amber { background: #FAEEDA; color: #633806; }
.hnd-com-badge-green { background: #EAF3DE; color: #27500A; }

.hnd-com-plugin-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(24,165,255,0.12), rgba(153,0,224,0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wp--preset--color--accent-1);
  margin-bottom: 4px;
}

.hnd-com-plugin-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--wp--preset--color--contrast);
  margin: 0;
}

.hnd-com-plugin-card p {
  font-size: 0.875rem;
  color: var(--wp--preset--color--accent-4);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.hnd-com-plugin-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--wp--preset--color--contrast);
  margin-top: 4px;
}

.hnd-com-from {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--wp--preset--color--accent-4);
}

.hnd-com-plugin-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--wp--preset--color--accent-1);
  text-decoration: none;
}

.hnd-com-plugin-link:hover { text-decoration: underline; }

/* ---- Why kaardid ---- */

.hnd-com-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .hnd-com-why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .hnd-com-why-grid { grid-template-columns: 1fr; }
}

.hnd-com-why-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
}

.hnd-com-why-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(24,165,255,0.12), rgba(153,0,224,0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wp--preset--color--accent-1);
  margin-bottom: 12px;
}

.hnd-com-why-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--wp--preset--color--contrast);
  margin-bottom: 6px;
}

.hnd-com-why-card p {
  font-size: 0.85rem;
  color: var(--wp--preset--color--accent-4);
  line-height: 1.55;
  margin: 0;
}

/* ---- Blogi kaardid ---- */

.hnd-com-blog-query .wp-block-post-template {
  gap: 1.5rem;
}

.hnd-com-blog-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.hnd-com-blog-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.hnd-com-blog-cat {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--wp--preset--color--accent-4);
  margin-bottom: 4px;
}

.hnd-com-blog-title {
  font-size: 0.95rem !important;
  line-height: 1.35;
  margin-bottom: 8px;
}

.hnd-com-blog-title a {
  text-decoration: none;
  color: var(--wp--preset--color--contrast);
}

.hnd-com-blog-excerpt {
  font-size: 0.825rem;
  color: var(--wp--preset--color--accent-4);
  line-height: 1.5;
}

/* ---- Hover efektid — kõik kaardid ---- */

.hnd-com-plugin-card,
.hnd-com-why-card,
.hnd-com-blog-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Plugin kaardid */
.hnd-com-plugin-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(24, 165, 255, 0.12);
    border-color: var(--wp--preset--color--accent-1);
}

.hnd-com-plugin-card.hnd-com-plugin-featured:hover {
    box-shadow: 0 12px 32px rgba(24, 165, 255, 0.25);
}

/* Why kaardid */
.hnd-com-why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(153, 0, 224, 0.1);
    border-color: var(--wp--preset--color--accent-2);
}

/* Blogi kaardid */
.hnd-com-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
    border-color: var(--wp--preset--color--accent-1);
}

.hnd-com-blog-card:hover .hnd-com-blog-title a {
    color: var(--wp--preset--color--accent-1);
}


/* ===== CHECKOUT ===== */

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields {
    display: none;
}

/* Trust sidebar */
.hnd-checkout-trust {
    margin-top: 2rem;
    border: 1px solid var(--hnd-gray-200);
    border-radius: var(--hnd-radius-lg);
    padding: 1.5rem;
    background: var(--hnd-gray-50);
}

.hnd-trust-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--hnd-gray-200);
}

.hnd-trust-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hnd-trust-item:first-child {
    padding-top: 0;
}

.hnd-trust-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: var(--hnd-radius-md);
    background: linear-gradient(135deg, rgba(24,165,255,0.1), rgba(153,0,224,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wp--preset--color--accent-1);
}

.hnd-trust-item strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--wp--preset--color--contrast);
    margin-bottom: 2px;
}

.hnd-trust-item p {
    font-size: 0.8rem;
    color: var(--wp--preset--color--accent-4);
    margin: 0;
    line-height: 1.45;
}


.woocommerce-additional-fields__field-wrapper, .woocommerce-additional-fields h3, #billing_phone_field, #billing_address_2_field  {
    display: none;
}   

.hnd-hidden-field#billing_address_2_field {
    display: none !important;
}


/* Kompaktsemad väljad */
.woocommerce-checkout .form-row {
    margin-bottom: 8px !important;
}

.woocommerce-checkout .form-row label {
    margin-bottom: 3px;
    font-size: 0.85rem;
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    padding: 8px 12px;
    font-size: 0.9rem;
}

/* Väljad tihedamalt */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper {
    row-gap: 0;
}

/* Eemaldame "Billing details" ja "Additional information" headingud */
.woocommerce-billing-fields > h3,
.woocommerce-additional-fields > h3 {
    display: none;
}

/* Kupongi riba kompaktsemaks */
.woocommerce-form-coupon-toggle {
    margin-bottom: 1rem;
}

.woocommerce-form-coupon-toggle .wc-block-components-notice-banner {
    padding: 10px 14px;
    font-size: 0.875rem;
}

/* ===== MAKSEMOODUL SAMA LAI KUI VASAK TULP ===== */

/* Klassikaline checkout 2-tulba layout */
.woocommerce-checkout .col2-set {
    width: 100%;
}

/* Payment section — sama lai kui vasak tulp */
#order_review_heading,
#order_review {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* ================================================
   HUNDIKUU.COM — CHECKOUT CSS
   Täielik ümberkujundus
   ================================================ */

/* ===== LAYOUT ===== */

.woocommerce-checkout form.checkout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 2rem;
    align-items: start;
    max-width: 1340px;
    margin: 0 auto;
}

.woocommerce-checkout form.checkout .col2-set {
    grid-column: 1;
    grid-row: 1 / 4;
    width: 100% !important;
    float: none !important;
}

.woocommerce-checkout form.checkout #order_review_heading {
    grid-column: 2;
    grid-row: 1;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--wp--preset--color--accent-4);
    margin: 0 0 0.5rem;
}

.woocommerce-checkout form.checkout #order_review {
    grid-column: 2;
    grid-row: 2;
    width: 100% !important;
    float: none !important;
    position: sticky;
    top: 2rem;
}

/* ===== LEHE TAUST ===== */

.woocommerce-checkout {
    background: var(--hnd-gray-50);
}

.woocommerce-checkout .wp-block-group {
    background: var(--hnd-gray-50);
}

/* ===== KUPONGI RIBA ===== */

.woocommerce-form-coupon-toggle {
    margin-bottom: 1.5rem;
}

.woocommerce-form-coupon-toggle .wc-block-components-notice-banner {
    background: var(--hnd-white);
    border: 1px solid var(--hnd-gray-200);
    border-radius: var(--hnd-radius-md);
    padding: 10px 16px;
    font-size: 0.875rem;
    box-shadow: none;
}

.woocommerce-form-coupon-toggle .wc-block-components-notice-banner svg {
    color: var(--hnd-blue);
}

/* ===== HEADINGUD peidus ===== */

.woocommerce-billing-fields > h3,
.woocommerce-additional-fields > h3 {
    display: none;
}

/* ===== VORMI VÄLJAD ===== */

.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 {
    float: none !important;
    width: 100% !important;
}

.woocommerce-checkout .col2-set {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.woocommerce-checkout .form-row {
    margin-bottom: 10px !important;
    padding: 0 !important;
}

.woocommerce-checkout .form-row label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--hnd-gray-700);
    margin-bottom: 4px;
    display: block;
    letter-spacing: 0.01em;
}

.woocommerce-checkout .form-row label .optional {
    font-weight: 400;
    color: var(--hnd-gray-400);
}

.woocommerce-checkout .form-row label .required {
    color: var(--hnd-purple);
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    padding: 9px 12px !important;
    font-size: 0.9rem !important;
    border: 1.5px solid var(--hnd-gray-200) !important;
    border-radius: var(--hnd-radius-md) !important;
    background: var(--hnd-white) !important;
    color: var(--hnd-gray-800) !important;
    transition: border-color 0.15s, box-shadow 0.15s !important;
    width: 100% !important;
    box-shadow: none !important;
    height: auto !important;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row select:focus {
    border-color: var(--hnd-blue) !important;
    box-shadow: 0 0 0 3px rgba(24,165,255,0.12) !important;
    outline: none !important;
}

.woocommerce-checkout .form-row.woocommerce-validated input.input-text {
    border-color: #22c55e !important;
}

.woocommerce-checkout .form-row.woocommerce-invalid input.input-text {
    border-color: #ef4444 !important;
}

/* Select2 styling */
.woocommerce-checkout .select2-container--default .select2-selection--single {
    height: auto !important;
    padding: 9px 12px !important;
    border: 1.5px solid var(--hnd-gray-200) !important;
    border-radius: var(--hnd-radius-md) !important;
    background: var(--hnd-white) !important;
    font-size: 0.9rem !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.5 !important;
    padding: 0 !important;
    color: var(--hnd-gray-800) !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    top: 0 !important;
}

/* VAT valid tekst */
#alg_wc_eu_vat_progress.alg-wc-eu-vat-valid {
    font-size: 0.75rem;
    color: #22c55e;
    margin-top: 3px;
    font-weight: 600;
}

/* Checkbox */
.woocommerce-checkout .form-row input[type="checkbox"] {
    width: auto !important;
    height: auto !important;
    margin-right: 6px;
    accent-color: var(--hnd-blue);
}

/* ===== ORDER REVIEW PAREM TULP ===== */

.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    background: var(--hnd-white);
    border-radius: var(--hnd-radius-lg);
    overflow: hidden;
    border: 1px solid var(--hnd-gray-200);
}

.woocommerce-checkout-review-order-table thead {
    background: var(--hnd-gray-800);
    color: var(--hnd-white);
}

.woocommerce-checkout-review-order-table thead th {
    padding: 10px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.8);
    border: none;
}

.woocommerce-checkout-review-order-table tbody td,
.woocommerce-checkout-review-order-table tfoot td,
.woocommerce-checkout-review-order-table tfoot th {
    padding: 10px 14px;
    border-bottom: 1px solid var(--hnd-gray-100);
    border-top: none;
}

.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td {
    font-weight: 700;
    font-size: 1rem;
    border-bottom: none;
    background: var(--hnd-gray-50);
}

.woocommerce-checkout-review-order-table .product-total {
    text-align: right;
}

/* ===== MAKSEMOODUL ===== */

#payment {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-top: 1rem;
}

#payment .wc_payment_methods {
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    list-style: none !important;
}

#payment .wc_payment_method {
    background: var(--hnd-white);
    border: 1.5px solid var(--hnd-gray-200);
    border-radius: var(--hnd-radius-lg);
    margin-bottom: 8px;
    overflow: hidden;
}

#payment .wc_payment_method label {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 12px 14px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: var(--hnd-gray-800) !important;
    cursor: pointer;
    background: transparent !important;
    margin: 0 !important;
}

#payment .wc_payment_method label img {
    height: 20px;
    width: auto;
}

#payment .payment_box {
    background: var(--hnd-gray-50) !important;
    border-top: 1px solid var(--hnd-gray-200);
    padding: 14px !important;
    margin: 0 !important;
}

/* Stripe iframe container */
#payment .wc-stripe-upe-form,
#payment .wc-upe-form {
    background: transparent;
}

/* ===== PLACE ORDER SEKTION ===== */

.form-row.place-order {
    margin-top: 1rem !important;
    padding: 0 !important;
}

.woocommerce-privacy-policy-text {
    font-size: 0.78rem;
    color: var(--hnd-gray-400);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.woocommerce-privacy-policy-text a {
    color: var(--hnd-blue);
}

.woocommerce-terms-and-conditions-wrapper .form-row {
    margin-bottom: 1rem !important;
}

.woocommerce-terms-and-conditions-wrapper label {
    font-size: 0.825rem !important;
    color: var(--hnd-gray-600) !important;
    font-weight: 400 !important;
}

.woocommerce-terms-and-conditions-wrapper a {
    color: var(--hnd-blue);
}

#place_order {
    width: 100%;
    padding: 14px 24px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    background: var(--hnd-primary-button-gradient) !important;
    border: none !important;
    border-radius: var(--hnd-radius-md) !important;
    letter-spacing: 0.03em;
    transition: all 0.2s ease !important;
    text-transform: uppercase;
}

#place_order:hover {
    transform: translateY(-2px);
    box-shadow: var(--hnd-shadow-purple) !important;
}

/* ===== TRUST ELEMENTS STICKY ===== */

.hnd-checkout-trust {
    margin-top: 1.25rem;
    border: 1px solid var(--hnd-gray-200);
    border-radius: var(--hnd-radius-lg);
    background: var(--hnd-white);
    overflow: hidden;
}

.hnd-trust-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 16px;
    border-bottom: 1px solid var(--hnd-gray-100);
}

.hnd-trust-item:last-child {
    border-bottom: none;
}

.hnd-trust-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: var(--hnd-radius-md);
    background: linear-gradient(135deg, rgba(24,165,255,0.1), rgba(153,0,224,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hnd-blue);
}

.hnd-trust-item strong {
    display: block;
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--hnd-gray-800);
    margin-bottom: 1px;
}

.hnd-trust-item p {
    font-size: 0.775rem;
    color: var(--hnd-gray-400);
    margin: 0;
    line-height: 1.4;
}

/* ===== NOTICES ===== */

.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error {
    border-radius: var(--hnd-radius-md);
    font-size: 0.875rem;
}

/* ===== MOBIIL ===== */

@media (max-width: 768px) {
    .woocommerce-checkout form.checkout {
        grid-template-columns: 1fr;
    }

    .woocommerce-checkout form.checkout .col2-set {
        grid-row: 1;
    }

    .woocommerce-checkout form.checkout #order_review_heading {
        grid-column: 1;
        grid-row: 2;
        margin-top: 1.5rem;
    }

    .woocommerce-checkout form.checkout #order_review {
        grid-column: 1;
        grid-row: 3;
        position: static; /* ei ole sticky mobiilis */
    }

    .hnd-checkout-trust {
        display: none; /* trust peidetud mobiilis — on juba billing all */
    }
}

select#billing_country {
    width: 100% !important;
    max-width: 648px !important;
}


#add_payment_method #payment ul.payment_methods li input, .woocommerce-cart #payment ul.payment_methods li input, .woocommerce-checkout #payment ul.payment_methods li input {
    margin: 0 1em 0 2em !important;
}

.form-row.woocommerce-SavedPaymentMethods-saveNew.woocommerce-validated {
    display: flex !important;
}

#wc-stripe-new-payment-method:focus, #wc-stripe-new-payment-method:focus-visible {
    outline: 0px solid transparent !important;
    border: 0px solid transparent !important;
    outline-offset: 2px !important;
}

.hnd-contact-forms {
    max-width: 720px !important;
    margin: 0 auto !important;
}


.hnd-com-contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .hnd-com-contact-cards { grid-template-columns: 1fr; }
}

.hnd-com-contact-card {
    border: 1px solid var(--hnd-gray-200);
    border-radius: var(--hnd-radius-lg);
    padding: 24px;
    background: var(--hnd-white);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hnd-com-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(24,165,255,0.1);
    border-color: var(--wp--preset--color--accent-1);
}

.hnd-com-contact-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--hnd-radius-md);
    background: linear-gradient(135deg, rgba(24,165,255,0.12), rgba(153,0,224,0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wp--preset--color--accent-1);
    margin-bottom: 4px;
}

.hnd-com-contact-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--wp--preset--color--contrast);
    margin: 0;
}

.hnd-com-contact-card p {
    font-size: 0.875rem;
    color: var(--wp--preset--color--accent-4);
    line-height: 1.55;
    margin: 0;
    flex: 1;
}

.hnd-com-contact-card a {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--wp--preset--color--accent-1);
    text-decoration: none;
    margin-top: auto;
}

.hnd-com-contact-card a:hover {
    text-decoration: underline;
}

/* FAQ accordion */
.hnd-com-faq {
    margin-top: 2rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hnd-com-faq-item {
    border: 1px solid var(--hnd-gray-200);
    border-radius: var(--hnd-radius-md);
    margin-bottom: 8px;
    background: var(--hnd-white);
    overflow: hidden;
}

.hnd-com-faq-item summary {
    padding: 16px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--wp--preset--color--contrast);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.hnd-com-faq-item summary::-webkit-details-marker {
    display: none;
}

.hnd-com-faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--wp--preset--color--accent-1);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.hnd-com-faq-item[open] summary::after {
    transform: rotate(45deg);
}

.hnd-com-faq-item[open] summary {
    border-bottom: 1px solid var(--hnd-gray-100);
}

.hnd-com-faq-body {
    padding: 16px 20px;
}

.hnd-com-faq-body p {
    font-size: 0.875rem;
    color: var(--wp--preset--color--accent-4);
    line-height: 1.65;
    margin: 0;
}

.hnd-com-faq-body a {
    color: var(--wp--preset--color--accent-1);
}

.hnd-com-contact-cards {
    margin-top: 2rem;
    margin-bottom: 0;
}

/* ===== ABOUT PAGE ===== */

.hnd-com-about-story {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.hnd-com-about-block {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 540px) {
    .hnd-com-about-block {
        grid-template-columns: 1fr;
    }
    .hnd-com-about-icon {
        display: none;
    }
}

.hnd-com-about-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--hnd-radius-md);
    background: linear-gradient(135deg, rgba(24,165,255,0.12), rgba(153,0,224,0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wp--preset--color--accent-1);
    flex-shrink: 0;
    margin-top: 4px;
}

.hnd-com-about-block h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--wp--preset--color--contrast);
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.hnd-com-about-block p {
    font-size: 0.95rem;
    color: var(--wp--preset--color--accent-4);
    line-height: 1.7;
    margin: 0 0 0.75rem;
}

.hnd-com-about-block p:last-child {
    margin-bottom: 0;
}

.hnd-com-about-block strong {
    color: var(--wp--preset--color--contrast);
    font-weight: 600;
}


/* ===== PRODUCT GALLERY ===== */

.toode-galerii-wrapper {
    margin: 2rem 0;
}

.toode-galerii {
    border-radius: var(--hnd-radius-lg);
    overflow: hidden;
    background: var(--hnd-gray-50);
    border: 1px solid var(--hnd-gray-200);
}

.toode-galerii__slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.toode-galerii__slide {
    position: relative;
    min-width: 100%;
}

.toode-galerii__slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--hnd-gray-50);
    display: block;
}

/* Pealkiri + kirjeldus */
.toode-galerii__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.65));
    padding: 2rem 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toode-galerii__title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

.toode-galerii__desc {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.4;
}

/* Nav */
.toode-galerii__nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 12px;
    background: var(--hnd-white);
    border-top: 1px solid var(--hnd-gray-200);
}

.toode-galerii__prev,
.toode-galerii__next {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--hnd-gray-200);
    border-radius: var(--hnd-radius-md);
    background: var(--hnd-white);
    color: var(--hnd-gray-700);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s, background 0.15s;
}

.toode-galerii__prev:hover,
.toode-galerii__next:hover {
    border-color: var(--hnd-blue);
    color: var(--hnd-blue);
}

.toode-galerii__thumbs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    flex: 1;
    scrollbar-width: none;
}

.toode-galerii__thumbs::-webkit-scrollbar {
    display: none;
}

.toode-galerii__thumb {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border: 2px solid transparent;
    border-radius: var(--hnd-radius-sm);
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    background: none;
    opacity: 0.6;
    transition: opacity 0.15s, border-color 0.15s;
}

.toode-galerii__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.toode-galerii__thumb.is-active {
    border-color: var(--hnd-blue);
    opacity: 1;
}

.toode-galerii__thumb:hover {
    opacity: 0.85;
}

span.hnd-price-from {
    width: 100%;
    text-align: center;
    font-weight: 400;
    font-size: 1rem;
    color: var(--wp--preset--color--accent-1);
    margin-bottom: 0.5rem;
}

.hnd-price-from-value {
    background: var(--hnd-primary-gradient);
    background-clip: text;
    font-weight: 600;
    font-size: 1.15rem;
    line-height: 1.4;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}