/*
Theme Name: WP Coupon Mate Pro Child Advanced
Theme URI: https://hostingkodu.com/
Description: Gelişmiş SEO, Schema ve Core Web Vitals optimizasyonlu child tema
Author: Durmuş Yuğuran
Author URI: https://hostingkodu.com/
Template: wp-coupon-mate-pro
Version: 2.5.0
Text Domain: wp-coupon-mate-pro-child-advanced
*/

/* === GLOBAL HEADING HİYERARŞİSİ === */
h1 { font-size:32px; line-height:1.3; }
h2 { font-size:26px; margin-top:30px; }
h3 { font-size:22px; margin-top:20px; }

/* === SINGLE POST WRAPPER === */
.hk-single-wrap {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.hk-single {
    background: #fff;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.hk-single-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.hk-single-title {
    font-size: 34px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.hk-single-meta {
    font-size: 14px;
    color: #777;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* === SINGLE THUMB === */
.hk-single-thumb img {
    width: 100%;
    border-radius: 14px;
    margin: 25px 0;
}

/* === CONTENT === */
.hk-single-content {
    font-size: 18px;
    line-height: 1.8;
    color: #222;
}

.hk-single-content h2 {
    font-size: 26px;
    margin: 40px 0 15px;
}

.hk-single-content h3 {
    font-size: 22px;
    margin: 30px 0 10px;
}

.hk-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 25px 0;
}

.hk-single-content a {
    color: #2563eb;
    font-weight: 600;
}

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

/* === KUPON CTA (SADECE TASARIM) === */
.hk-coupon-cta {
    background: linear-gradient(135deg, #eef2ff, #ffffff);
    border: 2px solid #6366f1;
    border-radius: 16px;
    padding: 25px;
    margin: 35px 0;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.hk-coupon-cta strong {
    font-size: 22px;
    display: block;
    margin-bottom: 10px;
}

.hk-coupon-cta p {
    font-size: 16px;
    margin-bottom: 18px;
}

.hk-coupon-cta a {
    display: inline-block;
    background: #4f46e5;
    color: #fff !important;
    padding: 12px 22px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.hk-coupon-cta a:hover {
    background: #3730a3;
}

/* === POPÜLER / İLGİLİ YAZILAR === */
.hk-related-box {
    background: #f8fafc;
    border-left: 5px solid #2563eb;
    padding: 22px;
    margin-top: 40px;
    border-radius: 14px;
}

.hk-related-box strong {
    font-size: 20px;
    display: block;
    margin-bottom: 12px;
}

.hk-related-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hk-related-box li {
    margin-bottom: 10px;
}

.hk-related-box a {
    color: #1e40af;
    font-weight: 600;
    text-decoration: none;
}

.hk-related-box a:hover {
    text-decoration: underline;
}

/* === BLOG GRID === */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.blog-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.blog-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.blog-card-content {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-content h3 {
    font-size: 20px;
    margin: 0 0 10px;
}

.blog-card-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.blog-card-content p {
    flex: 1;
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
}

.blog-card-content .read-more {
    display: inline-block;
    padding: 10px 18px;
    background: #4f46e5;
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
}

.blog-card-content .read-more:hover {
    background: #3730a3;
}

/* === RESPONSIVE === */
@media (max-width:768px){
    h1{ font-size:26px; }
    h2{ font-size:22px; }
    h3{ font-size:18px; }
    .hk-single-wrap { padding: 0 15px; }
    .blog-grid { grid-template-columns: 1fr; gap: 15px; }
}

@media (max-width:500px){
    .hk-single-meta { flex-direction: column; gap: 8px; }
}
.store{
 display:grid;
 grid-template-columns:120px 1fr 180px;
 gap:20px;
 background:#fff;
 padding:20px;
 margin-bottom:15px;
 border-radius:12px;
 box-shadow:0 4px 10px rgba(0,0,0,.1);
}

.vote-btn{
 background:#16a34a;
 color:#fff;
 border:0;
 padding:10px;
 border-radius:8px;
 cursor:pointer;
}
.hk-container{
    max-width:1200px;
    margin:40px auto;
    display:grid;
    grid-template-columns:3fr 1fr;
    gap:30px;
}

.hk-tag-post{
    background:#fff;
    padding:20px;
    border-radius:12px;
    margin-bottom:20px;
    box-shadow:0 4px 12px rgba(0,0,0,.06);
}

.hk-widget{
    background:#fff;
    padding:18px;
    border-radius:12px;
    margin-bottom:20px;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
}

.hk-widget h3{
    font-size:18px;
    margin-bottom:12px;
}

.hk-cta{
    display:block;
    text-align:center;
    padding:12px;
    background:#4f46e5;
    color:#fff;
    border-radius:8px;
    color:#fff;
}
.hk-tax-sidebar{
    width:30%;
    background:#fff;
    padding:20px;
    border-radius:10px;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.hk-box{
    padding:12px;
    margin-bottom:15px;
    border:1px solid #eee;
    border-radius:8px;
    font-size:14px;
}

.hk-box.cta{
    background:#ff6b00;
    color:#fff;
    text-align:center;
    font-weight:bold;
}

@media(max-width:992px){
    .hk-tax-sidebar{
        width:100%;
    }
}

/* === FULL WIDTH FIX (iDeiy Hosting pages) === */
.hk-page-full{
    width:100%;
    max-width:none;
    margin:0;
    padding:0;
}
.hk-page-full .hk-fullwidth-wrap{
    width:100%;
    max-width:none;
    margin:0 auto;
    padding: 0 16px;
}

/* If parent theme or plugin output uses a .container wrapper, neutralize it on these pages */
body.page-web-hosting .container,
.hk-page-web-hosting .container,
body.page-reseller-hosting .container,
.hk-page-reseller-hosting .container,
body.page-wordpress-hosting .container,
.hk-page-wordpress-hosting .container,
body.page-sunucu .container,
.hk-page-sunucu .container,
body.page-domain .container,
.hk-page-domain .container,
body.page-ssl-sertifikasi .container,
.hk-page-ssl-sertifikasi .container,
body.page-kupon-ara .container,
.hk-page-kupon-ara .container{
    max-width: 100% !important;
    width: 100% !important;
}

/* Hide common title/breadcrumb blocks if the parent theme prints them */
body.page-web-hosting .page-title,
body.page-web-hosting .breadcrumb,
body.page-web-hosting .breadcrumbs,
body.page-web-hosting .rank-math-breadcrumb,
body.page-web-hosting .yoast-breadcrumb,
body.page-reseller-hosting .page-title,
body.page-reseller-hosting .breadcrumb,
body.page-reseller-hosting .breadcrumbs,
body.page-reseller-hosting .rank-math-breadcrumb,
body.page-reseller-hosting .yoast-breadcrumb,
body.page-wordpress-hosting .page-title,
body.page-wordpress-hosting .breadcrumb,
body.page-wordpress-hosting .breadcrumbs,
body.page-wordpress-hosting .rank-math-breadcrumb,
body.page-wordpress-hosting .yoast-breadcrumb,
body.page-sunucu .page-title,
body.page-sunucu .breadcrumb,
body.page-sunucu .breadcrumbs,
body.page-sunucu .rank-math-breadcrumb,
body.page-sunucu .yoast-breadcrumb,
body.page-domain .page-title,
body.page-domain .breadcrumb,
body.page-domain .breadcrumbs,
body.page-domain .rank-math-breadcrumb,
body.page-domain .yoast-breadcrumb,
body.page-ssl-sertifikasi .page-title,
body.page-ssl-sertifikasi .breadcrumb,
body.page-ssl-sertifikasi .breadcrumbs,
body.page-ssl-sertifikasi .rank-math-breadcrumb,
body.page-ssl-sertifikasi .yoast-breadcrumb,
body.page-kupon-ara .page-title,
body.page-kupon-ara .breadcrumb,
body.page-kupon-ara .breadcrumbs,
body.page-kupon-ara .rank-math-breadcrumb,
body.page-kupon-ara .yoast-breadcrumb{
    display:none !important;
}


.vote-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    padding:10px 14px;
    border:0;
    border-radius:8px;
    cursor:pointer;
    background:#4f46e5;
    color:#fff;
    font-weight:600;
}
.vote-btn.is-loading,
.vote-btn.is-voted,
.vote-btn:disabled{
    opacity:.8;
    cursor:not-allowed;
}
.hk-store-row{
    display:grid;
    grid-template-columns:140px 1fr auto;
    gap:20px;
    align-items:center;
    padding:20px 0;
    border-bottom:1px solid #eee;
}
.hk-store-logo img{max-width:100%;height:auto;border-radius:12px;}
@media(max-width:768px){
    .hk-store-row{grid-template-columns:1fr;}
}


/* === ACCOUNT PANEL === */
.hk-account-page { max-width: 1120px; }
.hk-account-subtitle { display: none; }
.hk-account-shell { max-width: 520px; margin: 0 auto; }
.hk-account-shell-logged { max-width: none; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; }
.hk-account-card,
.hk-account-sidebar {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    padding: 24px;
}
.hk-account-sidebar h2 { margin: 16px 0 8px; font-size: 24px; }
.hk-account-sidebar p { margin: 0 0 18px; color: #64748b; }
.hk-account-avatar img { border-radius: 999px; }
.hk-account-content { display: grid; gap: 24px; }
.hk-account-tabs { display: flex; gap: 12px; margin-bottom: 20px; }
.hk-account-tabs a {
    display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px;
    border-radius: 999px; background: #eef2ff; color: #3730a3; text-decoration: none; font-weight: 700;
}
.hk-account-tabs a.is-active { background: #4338ca; color: #fff; }
.hk-account-form label { display: block; margin-bottom: 8px; font-weight: 600; color: #0f172a; }
.hk-account-form input,
.hk-account-form textarea {
    width: 100%; border: 1px solid #cbd5e1; border-radius: 12px; padding: 12px 14px; font-size: 15px;
}
.hk-account-form p { margin-bottom: 16px; }
.hk-account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hk-account-inline label { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; }
.hk-account-inline input { width: auto; }
.hk-account-button,
.hk-google-button,
.hk-account-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 9px 14px;
    border-radius: 12px;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -.01em;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, #4f46e5, #4338ca);
    color: #fff;
}
.hk-account-button:hover,
.hk-google-button:hover,
.hk-account-link:hover {
    transform: translateY(-1px);
    color: #fff;
}
.hk-google-button {
    width: 100%;
    background: #ffffff;
    color: #111827;
    border-color: #dbe1ea;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}
.hk-account-button.secondary { background: #eef2ff; color: #3730a3; }
.hk-account-divider { position: relative; text-align: center; margin: 24px 0; }
.hk-account-divider:before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #e2e8f0; }
.hk-account-divider span { position: relative; padding: 0 12px; background: #fff; color: #64748b; }
.hk-account-helper { background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 14px; padding: 14px 16px; color: #475569; font-size: 14px; }
.hk-account-alert { margin-bottom: 18px; padding: 14px 16px; border-radius: 14px; font-weight: 600; }
.hk-account-alert-success { background: #ecfdf5; color: #166534; }
.hk-account-alert-error { background: #fef2f2; color: #b91c1c; }
.hk-account-stats { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.hk-account-stats li { background: #f8fafc; border-radius: 14px; padding: 14px; text-align: center; }
.hk-account-stats strong { display: block; font-size: 24px; color: #0f172a; }
.hk-account-stats span { color: #64748b; font-size: 14px; }
.hk-account-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 767px) {
    .hk-account-shell-logged { grid-template-columns: 1fr; }
    .hk-account-grid { grid-template-columns: 1fr; }
}

/* === BREADCRUMBS === */
.hk-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0 0 24px;
    font-size: 14px;
    color: #64748b;
}

.hk-breadcrumbs a {
    color: #475569;
    text-decoration: none;
}

.hk-breadcrumbs a:hover {
    text-decoration: underline;
}

.hk-breadcrumb-sep {
    margin-left: 8px;
    color: #94a3b8;
}

/* === FAVORITES === */
.hk-favorite-box {
    margin: 20px 0;
}

.hk-favorite-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    border: 1px solid #dbe1ea;
    background: #fff;
    color: #0f172a;
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.hk-favorite-button:hover {
    border-color: #4338ca;
    color: #4338ca;
}

.hk-favorite-button.is-active {
    background: #312e81;
    border-color: #312e81;
    color: #fff;
}

.hk-favorite-button.is-loading {
    opacity: .7;
    cursor: wait;
}

.hk-favorite-icon {
    font-size: 16px;
    line-height: 1;
}

.hk-favorite-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.hk-favorite-item {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px;
    background: #fff;
}

.hk-favorite-item-meta {
    font-size: 12px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #6366f1;
    margin-bottom: 8px;
    font-weight: 700;
}

.hk-favorite-item h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.hk-favorite-item h3 a {
    color: #0f172a;
    text-decoration: none;
}

.hk-favorite-item p {
    margin: 0;
    color: #475569;
    font-size: 15px;
}

/* === ACCOUNT PANEL V2 === */
.hk-account-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 22px;
}

.hk-account-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid #dbe1ea;
    background: #f8fafc;
    color: #334155;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.hk-account-nav a.is-active {
    background: #4338ca;
    color: #fff;
}

.hk-account-card-wide {
    min-width: 0;
}

.hk-account-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.hk-account-overview-card {
    background: linear-gradient(135deg, #eef2ff, #ffffff);
    border: 1px solid #c7d2fe;
    border-radius: 16px;
    padding: 18px;
}

.hk-account-overview-card span {
    display: block;
    color: #6366f1;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 700;
}

.hk-account-overview-card strong {
    display: block;
    font-size: 30px;
    line-height: 1;
    color: #0f172a;
}

.hk-account-pane h3 {
    margin-top: 0;
}

.hk-account-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hk-account-quick-links a,
.hk-account-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    text-decoration: none;
    background: #0f172a;
    color: #fff;
    padding: 9px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.hk-account-quick-links a:nth-child(2) {
    background: #4338ca;
}

.hk-account-quick-links a:nth-child(3),
.hk-account-logout {
    background: #ef4444;
}

@media (max-width: 900px) {
    .hk-favorite-list,
    .hk-account-overview {
        grid-template-columns: 1fr;
    }
}


/* === ACCOUNT ENTRY POINTS === */
.menu-item-hk-account > a {
    font-weight: 700;
}

.hk-account-floating-link {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 999px;
    background: #4338ca;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 14px 36px rgba(67, 56, 202, 0.28);
}

.hk-account-floating-link:hover {
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .hk-account-floating-link {
        right: 14px;
        left: 14px;
        bottom: 14px;
        text-align: center;
    }
}


/* === ACCOUNT PANEL V3 TUNING === */
.hk-single-wrap.hk-account-page {
    margin-top: 18px;
}

.hk-account-template .hk-single-header {
    padding-bottom: 14px;
    margin-bottom: 18px;
}

.hk-account-template .hk-single-title {
    margin-bottom: 0;
}

.hk-account-card > h2:first-child {
    margin-top: 0;
    margin-bottom: 18px;
}

.hk-account-nav-bottom {
    justify-content: center;
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid #e9eef5;
}

.hk-account-nav-bottom a {
    min-height: 34px;
    padding: 7px 11px;
    border-radius: 10px;
    background: #fff;
}

.hk-account-button,
.hk-google-button,
.hk-account-link {
    min-height: 38px;
    padding: 8px 13px;
    border-radius: 11px;
    font-size: 13px;
}

.hk-google-button {
    width: 100%;
    border: 0;
    color: #fff;
    background: linear-gradient(90deg, #4285f4 0%, #34a853 32%, #fbbc05 68%, #ea4335 100%);
    box-shadow: 0 10px 22px rgba(66, 133, 244, 0.20);
}

.hk-google-button:hover {
    color: #fff;
    box-shadow: 0 12px 24px rgba(66, 133, 244, 0.24);
}

.hk-google-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.28);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}


/* === ACCOUNT PANEL V4 PUBLIC UI === */
.hk-account-template-public {
    padding-top: 0;
}

.hk-account-template-public .hk-single-content {
    margin-top: 0;
}

.hk-account-panel-public .hk-account-shell {
    max-width: 460px;
}

.hk-account-panel-public .hk-account-card {
    padding: 18px 18px 16px;
    border-radius: 16px;
}

.hk-account-panel-public .hk-account-alert {
    margin-bottom: 12px;
}

.hk-account-form-public p {
    margin-bottom: 12px;
}

.hk-account-form-public .hk-account-inline {
    margin-bottom: 14px;
}

.hk-account-section-label {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
    color: #334155;
}

.hk-account-hero-action {
    margin: 0 0 14px;
}

.hk-account-button-block,
.hk-account-hero-action .hk-google-button {
    display: inline-flex;
    width: 100%;
}

.hk-account-button-brand,
.hk-account-hero-action .hk-google-button {
    min-height: 52px;
    justify-content: flex-start;
    padding: 8px 14px;
    border-radius: 12px;
    border: 1px solid #5d94fa;
    background: linear-gradient(180deg, #5f96fb 0%, #4f86f2 100%);
    color: #fff;
    box-shadow: 0 12px 26px rgba(79, 134, 242, 0.22);
}

.hk-account-button-brand {
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
}

.hk-account-hero-action .hk-google-button:hover,
.hk-account-button-brand:hover {
    color: #fff;
    box-shadow: 0 14px 28px rgba(79, 134, 242, 0.28);
}

.hk-account-hero-action .hk-google-button span:last-child {
    flex: 1;
    text-align: center;
    padding-right: 10px;
    font-size: 15px;
    font-weight: 700;
}

.hk-google-button-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 36px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(255,255,255,.65);
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.03);
}

.hk-google-button-icon svg {
    display: block;
}

.hk-account-nav-bottom {
    margin-top: 14px;
    padding-top: 12px;
}

.hk-account-panel-public .hk-account-nav-bottom a {
    min-height: 32px;
    padding: 6px 10px;
}

.hk-single-wrap.hk-account-page {
    margin-top: 10px;
}

@media (max-width: 640px) {
    .hk-account-panel-public .hk-account-shell {
        max-width: 100%;
    }

    .hk-account-panel-public .hk-account-card {
        padding: 16px 14px 14px;
    }

    .hk-account-hero-action .hk-google-button span:last-child {
        font-size: 14px;
        padding-right: 6px;
    }
}


/* === ACCOUNT PANEL V5 FEATURES === */
.hk-account-form select {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 15px;
    background: #fff;
}

.hk-account-pane-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.hk-inline-form { margin: 0; }
.hk-account-button-ghost {
    background: #fff;
    color: #334155;
    border: 1px solid #dbe1ea;
    box-shadow: none;
}
.hk-account-button-ghost:hover { color: #111827; }

.hk-history-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.hk-history-item {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px;
    background: #fff;
}

.hk-history-item-meta {
    font-size: 12px;
    font-weight: 700;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 8px;
}

.hk-history-item h3 { margin: 0 0 10px; font-size: 20px; }
.hk-history-item h3 a { color: #0f172a; text-decoration: none; }
.hk-history-item p { margin: 0; color: #475569; }

.hk-coupon-action-bar {
    margin: 0 0 18px;
}
.hk-coupon-used-box { margin: 0; }
.hk-coupon-used-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid #dbe1ea;
    background: #fff;
    color: #0f172a;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}
.hk-coupon-used-button.is-active {
    background: #065f46;
    border-color: #065f46;
    color: #fff;
}

.hk-account-overview-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hk-account-form-submit-coupon .hk-account-helper { margin-bottom: 16px; }

.hk-account-quick-links a:nth-child(4) { background: #2563eb; }
.hk-account-quick-links a:nth-child(5),
.hk-account-logout { background: #ef4444; }

.hk-account-sidebar > h1,
.hk-account-sidebar > .page-title,
.hk-account-template .hk-single-header,
.hk-account-template-public .hk-single-header { display: none; }

.hk-sidebar .hk-favorite-box,
.hk-widget .hk-favorite-box {
    margin: 8px 0 0;
}
.hk-store-action .hk-favorite-box,
.coupon-card-content .hk-favorite-box {
    margin: 0 0 12px;
}
.hk-store-action .hk-favorite-button,
.coupon-card-content .hk-favorite-button,
.hk-widget .hk-favorite-button {
    width: 100%;
    justify-content: center;
}

@media (max-width: 900px) {
    .hk-history-list,
    .hk-account-overview-four {
        grid-template-columns: 1fr;
    }
}


/* === ACCOUNT PANEL V14 PREMIUM === */
.hk-account-sidebar {
    position: sticky;
    top: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-color: rgba(148, 163, 184, 0.28);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.hk-account-avatar {
    margin-bottom: 14px;
}

.hk-account-avatar img {
    width: 96px;
    height: 96px;
    border-radius: 28px;
    border: 4px solid #ffffff;
    box-shadow: 0 20px 36px rgba(79, 70, 229, 0.22);
    object-fit: cover;
}

.hk-account-sidebar h2 {
    margin: 0 0 8px;
    font-size: 26px;
    line-height: 1.2;
}

.hk-account-sidebar p {
    margin: 0 0 18px;
    color: #64748b;
    word-break: break-word;
}

.hk-account-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.hk-account-nav a,
.hk-account-logout {
    display: flex;
    width: 100%;
    min-height: 54px;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: #0f172a;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.hk-account-nav a::after,
.hk-account-logout::after {
    content: '→';
    font-size: 16px;
    line-height: 1;
    color: #94a3b8;
    transition: transform .18s ease, color .18s ease;
}

.hk-account-nav a:hover,
.hk-account-logout:hover {
    transform: translateY(-1px);
    color: #111827;
    border-color: rgba(79, 70, 229, 0.28);
    box-shadow: 0 18px 32px rgba(79, 70, 229, 0.12);
}

.hk-account-nav a:hover::after,
.hk-account-nav a.is-active::after,
.hk-account-logout:hover::after {
    color: #ffffff;
    transform: translateX(2px);
}

.hk-account-nav a.is-active {
    border-color: rgba(79, 70, 229, 0.45);
    background: linear-gradient(135deg, #4f46e5 0%, #312e81 100%);
    color: #ffffff;
    box-shadow: 0 20px 34px rgba(79, 70, 229, 0.22);
}

.hk-account-logout {
    margin-top: 14px;
    background: linear-gradient(135deg, #fff1f2 0%, #ffffff 100%);
    color: #be123c;
    border-color: rgba(244, 63, 94, 0.24);
}

.hk-account-logout::after {
    color: #fb7185;
}

.hk-account-logout:hover {
    color: #9f1239;
    border-color: rgba(244, 63, 94, 0.34);
    box-shadow: 0 18px 32px rgba(244, 63, 94, 0.12);
}

.hk-account-pane {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid #e6edf5;
    border-radius: 20px;
    padding: 22px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}

.hk-account-pane + .hk-account-pane {
    margin-top: 18px;
}

/* === SEO INTERNAL LINKS === */
.hk-seo-links-box {
    margin-top: 32px;
    padding: 22px;
    border: 1px solid #dbe7f4;
    border-radius: 18px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.hk-seo-links-box h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.hk-seo-links-box p {
    margin: 0 0 14px;
    color: #64748b;
    font-size: 15px;
}

.hk-seo-links-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hk-seo-links-grid a {
    display: block;
    padding: 14px 16px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #d9e4f2;
    color: #0f172a;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.hk-seo-links-grid a:hover {
    border-color: #4f46e5;
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .hk-seo-links-grid {
        grid-template-columns: 1fr;
    }
}
