/* ==========================================================================
   GanjehKala - Account Dashboard Styles
   Modern App-Style Design (Digikala-inspired)
   Version: 3.1.0
   ========================================================================== */

/* ==========================================================================
   0. CSS RESET & BASE for Account Area
   ========================================================================== */

.gk-account-page *,
.gk-account-page *::before,
.gk-account-page *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.gk-account-page {
    direction: rtl;
    text-align: right;
    font-family: inherit;
    font-size: var(--gk-font-size, 15px);
    line-height: var(--gk-line-height, 1.7);
    color: var(--gk-text, #0B1220);
    background-color: var(--gk-background, #f0f0f1);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   1. LAYOUT - Container & Grid
   ========================================================================== */

.gk-account-page .gk-container {
    display: flex;
    gap: var(--gk-grid-gap-x, 24px);
    max-width: var(--gk-site-width, 1200px);
    margin: 0 auto;
    padding: var(--gk-container-gap, 24px);
    align-items: flex-start;
}

/* محتوای اصلی */
.gk-account-page .woocommerce-MyAccount-content {
    flex: 1;
    min-width: 0;
    background: transparent;
}

/* ==========================================================================
   2. DESKTOP SIDEBAR NAVIGATION (.gk-desktop-nav)
   ========================================================================== */

.gk-desktop-nav {
    flex: 0 0 330px;
    width: 330px;
    top: calc(var(--gk-z-header, 80) * 1px + 24px);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    background: var(--gk-surface, #fff);
    border-radius: var(--gk-radius-lg, 12px);
    border: 1px solid var(--gk-border-color, #E5E7EB);
    box-shadow: var(--gk-shadow-sm, 0 2px 8px rgba(0,0,0,.04));
    scrollbar-width: thin;
    scrollbar-color: var(--gk-neutral-200, #e5e5e5) transparent;
}

/* --- Scrollbar (Webkit) --- */
.gk-desktop-nav::-webkit-scrollbar {
    width: 4px;
}

.gk-desktop-nav::-webkit-scrollbar-track {
    background: transparent;
}

.gk-desktop-nav::-webkit-scrollbar-thumb {
    background: var(--gk-neutral-200, #e5e5e5);
    border-radius: var(--gk-radius-round, 999px);
}

.gk-desktop-nav::-webkit-scrollbar-thumb:hover {
    background: var(--gk-neutral-300, #d4d4d4);
}

/* ==========================================================================
   2.1 PROFILE BOX (بالای سایدبار)
   ========================================================================== */

.gk-profile-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px 20px;
    border-bottom: 1px solid var(--gk-border-color, #E5E7EB);
    background: linear-gradient(180deg, var(--gk-primary-50, #EFF6FF) 0%, var(--gk-surface, #fff) 100%);
}

.gk-profile-box img {
    width: 72px !important;
    height: 72px !important;
    border-radius: var(--gk-radius-round, 999px) !important;
    object-fit: cover;
    border: 3px solid var(--gk-surface, #fff) !important;
    box-shadow:
            0 0 0 2px var(--gk-primary-200, #BFDBFE),
            0 4px 16px rgba(59, 130, 246, 0.12);
    transition:
            box-shadow var(--gk-duration, 250ms) var(--gk-ease-standard),
            transform var(--gk-duration, 250ms) var(--gk-ease-standard);
}

.gk-profile-box img:hover {
    transform: scale(1.05);
    box-shadow:
            0 0 0 3px var(--gk-primary-300, #93C5FD),
            0 6px 24px rgba(59, 130, 246, 0.2);
}

.gk-profile-box strong {
    display: block;
    margin-top: 12px !important;
    font-size: 15px;
    font-weight: 700;
    color: var(--gk-text, #0B1220);
    line-height: 1.5;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ==========================================================================
   2.2 NAV MENU (آیتم‌های ناوبری)
   ========================================================================== */

.gk-nav-menu {
    padding: 8px 0;
}

.gk-nav-item {
    margin: 0;
    padding: 0;
    position: relative;
}

.gk-nav-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--gk-neutral-700, #404040);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    border-right: 3px solid transparent;
    transition:
            color var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            background var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            border-color var(--gk-duration-fast, 150ms) var(--gk-ease-standard);
}

.gk-nav-item a:hover {
    background: #FEF2F2;
    color: #DC2626;
    border-right-color: #EF4444;
}

/* --- Active State --- */
.gk-nav-item.is-active a {
    color: var(--gk-primary, #3B82F6);
    background: var(--gk-primary-50, #EFF6FF);
    border-right-color: var(--gk-primary, #3B82F6);
    font-weight: 600;
}

/* --- Dashicons Styling --- */
.gk-nav-item .dashicons {
    width: 20px;
    height: 20px;
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.55;
    transition: opacity var(--gk-duration-fast, 150ms);
}

.gk-nav-item a:hover .dashicons,
.gk-nav-item.is-active a .dashicons {
    opacity: 1;
}

/* --- Logout Item (آخرین آیتم) --- */
.gk-nav-item:last-child {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid var(--gk-border-color, #E5E7EB);
}

.gk-nav-item:last-child a {
    color: var(--gk-danger, #EF4444);
}

.gk-nav-item:last-child a:hover {
    background: #FEF2F2;
    color: #DC2626;
    border-right-color: #EF4444;
}

.gk-nav-item:last-child .dashicons {
    opacity: 0.7;
}

.gk-nav-item:last-child a:hover .dashicons {
    opacity: 1;
}

/* ==========================================================================
   3. MOBILE PAGE HEADER (Back Arrow + Title)
   ========================================================================== */

.gk-mobile-page-header {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--gk-surface, #fff);
    border-bottom: 1px solid var(--gk-border-color, #E5E7EB);
    position: sticky;
    top: 0;
    z-index: var(--gk-z-header, 1000);
}

.gk-m-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--gk-text, #0B1220);
    text-decoration: none;
    border-radius: var(--gk-radius-round, 999px);
    transition: background var(--gk-duration-fast, 150ms);
}

.gk-m-back:hover {
    background: var(--gk-neutral-100, #f3f3f3);
}

.gk-m-back .dashicons {
    font-size: 22px;
    width: 22px;
    height: 22px;
}

.gk-m-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--gk-text, #0B1220);
}

/* ==========================================================================
   4. APP HEADER (Avatar + Greeting + Notifications)
   ========================================================================== */

.gk-app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    margin-bottom: 8px;
}

.gk-app-header__right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.gk-app-header__avatar {
    flex-shrink: 0;
}

.gk-app-header__avatar img {
    width: 48px;
    height: 48px;
    border-radius: var(--gk-radius-round, 999px);
    object-fit: cover;
    border: 2px solid var(--gk-border-color, #E5E7EB);
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transition: border-color var(--gk-duration-fast, 150ms);
}

.gk-app-header__avatar img:hover {
    border-color: var(--gk-primary, #3B82F6);
}

.gk-app-header__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gk-app-header__greeting {
    font-size: 12px;
    color: var(--gk-neutral-500, #737373);
    font-weight: 400;
    line-height: 1.4;
}

.gk-app-header__name {
    font-size: 16px;
    font-weight: 700;
    color: var(--gk-text, #0B1220);
    line-height: 1.4;
}

/* دکمه اعلان‌ها */
.gk-app-header__left {
    display: flex;
    align-items: center;
}

.gk-app-header__notif {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--gk-radius-round, 999px);
    color: var(--gk-neutral-600, #525252);
    text-decoration: none;
    background: var(--gk-surface, #fff);
    border: 1px solid var(--gk-border-color, #E5E7EB);
    transition:
            background var(--gk-duration-fast, 150ms),
            color var(--gk-duration-fast, 150ms),
            border-color var(--gk-duration-fast, 150ms),
            box-shadow var(--gk-duration-fast, 150ms);
}

.gk-app-header__notif:hover {
    color: var(--gk-primary, #3B82F6);
    border-color: var(--gk-primary-200, #BFDBFE);
    background: var(--gk-primary-50, #EFF6FF);
    box-shadow: 0 0 0 3px var(--gk-primary-50, #EFF6FF);
}

.gk-app-header__notif .gk-icon {
    width: 22px;
    height: 22px;
}

.gk-app-header__badge {
    position: absolute;
    top: 6px;
    right: 6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    color: var(--gk-white, #fff);
    background: #EF4444;
    border-radius: var(--gk-radius-round, 999px);
    border: 2px solid var(--gk-surface, #fff);
    animation: gk-badge-pulse 2s ease-in-out infinite;
}

@keyframes gk-badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ==========================================================================
   5. MOBILE GRID MENU (App-Style Icon Grid)
   ========================================================================== */

.gk-mobile-grid-wrapper {
    display: none;
    margin-bottom: 16px;
}

.gk-mobile-grid-menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    background: var(--gk-surface, #fff);
    border-radius: var(--gk-radius-lg, 12px);
    border: 1px solid var(--gk-border-color, #E5E7EB);
    padding: 16px 8px;
    overflow: hidden;
}

.gk-mobile-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 6px;
    text-decoration: none;
    color: var(--gk-neutral-700, #404040);
    border-radius: var(--gk-radius-md, 8px);
    transition:
            background var(--gk-duration-fast, 150ms),
            transform var(--gk-duration-fast, 150ms);
    -webkit-tap-highlight-color: transparent;
}

.gk-mobile-grid-item:active {
    transform: scale(0.95);
    background: var(--gk-neutral-50, #fafafa);
}

.gk-mobile-grid-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--gk-radius-lg, 12px);
    background: var(--gk-primary-50, #EFF6FF);
    color: var(--gk-primary, #3B82F6);
    transition:
            background var(--gk-duration, 250ms),
            color var(--gk-duration, 250ms),
            box-shadow var(--gk-duration, 250ms);
}

.gk-mobile-grid-item__icon svg {
    width: 26px;
    height: 26px;
}

.gk-mobile-grid-item:hover .gk-mobile-grid-item__icon,
.gk-mobile-grid-item:focus .gk-mobile-grid-item__icon {
    background: var(--gk-primary-100, #DBEAFE);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.gk-mobile-grid-item__label {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    color: var(--gk-neutral-700, #404040);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* آیتم خروج */
.gk-mobile-grid-item--logout .gk-mobile-grid-item__icon {
    background: #FEF2F2;
    color: #EF4444;
}

.gk-mobile-grid-item--logout:hover .gk-mobile-grid-item__icon {
    background: #FEE2E2;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}

.gk-mobile-grid-item--logout .gk-mobile-grid-item__label {
    color: #EF4444;
}

/* ==========================================================================
   6. DASHBOARD GRID (Widget Layout)
   ========================================================================== */

.gk-dashboard {
    width: 100%;
}

.gk-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.gk-dashboard-widget {
    min-width: 0;
}

.gk-widget-full {
    grid-column: 1 / -1;
}

.gk-widget-half {
    grid-column: span 1;
}

.gk-dashboard-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 24px;
    color: var(--gk-neutral-400, #a3a3a3);
    font-size: 14px;
}

/* ==========================================================================
   7. CARD COMPONENT (Base)
   ========================================================================== */

.gk-card {
    background: var(--gk-surface, #fff);
    border-radius: var(--gk-radius-lg, 12px);
    border: 1px solid var(--gk-border-color, #E5E7EB);
    overflow: hidden;
    transition:
            box-shadow var(--gk-duration, 250ms) var(--gk-ease-standard),
            border-color var(--gk-duration, 250ms) var(--gk-ease-standard);
}

.gk-card:hover {
    box-shadow: var(--gk-shadow-sm, 0 2px 8px rgba(0,0,0,.06));
}

/* Card Head */
.gk-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 0;
    gap: 12px;
}

.gk-card-title {
    font-size: 15px;
    font-weight: var(--gk-heading-weight, 700);
    color: var(--gk-text, #0B1220);
    line-height: 1.5;
    margin: 0;
}

.gk-card-action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gk-primary, #3B82F6);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--gk-duration-fast, 150ms);
    flex-shrink: 0;
}

.gk-card-action:hover {
    color: var(--gk-primary-700, #1D4ED8);
}

.gk-card-action svg {
    transition: transform var(--gk-duration-fast, 150ms);
}

.gk-card-action:hover svg {
    transform: translateX(-3px);
}

/* Card Body */
.gk-card-body {
    padding: 16px 20px 20px;
}

/* ==========================================================================
   8. STATUS BAR WIDGET (سفارش‌های من)
   ========================================================================== */

.gk-card--status {
    border: 1px solid var(--gk-border-color, #E5E7EB);
}

.gk-order-status-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    gap: 16px;
    padding-top: 8px;
}

.gk-status-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--gk-neutral-600, #525252);
    padding: 12px 16px;
    border-radius: var(--gk-radius-md, 8px);
    transition:
            background var(--gk-duration-fast, 150ms),
            color var(--gk-duration-fast, 150ms),
            transform var(--gk-duration-fast, 150ms);
    flex: 1;
    min-width: 0;
}

.gk-status-item:hover {
    background: var(--gk-neutral-50, #fafafa);
    color: var(--gk-primary, #3B82F6);
    transform: translateY(-2px);
}

.gk-status-item:active {
    transform: scale(0.97);
}

.gk-status-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--gk-radius-round, 999px);
    background: var(--gk-neutral-50, #fafafa);
    border: 1.5px solid var(--gk-border-color, #E5E7EB);
    transition:
            background var(--gk-duration-fast, 150ms),
            border-color var(--gk-duration-fast, 150ms);
}

.gk-status-item:hover .gk-status-icon-wrap {
    background: var(--gk-primary-50, #EFF6FF);
    border-color: var(--gk-primary-200, #BFDBFE);
}

.gk-status-icon-wrap svg {
    width: 20px;
    height: 20px;
}

.gk-status-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    font-size: 11px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    color: var(--gk-white, #fff);
    background: var(--gk-primary, #3B82F6);
    border-radius: var(--gk-radius-round, 999px);
    border: 2px solid var(--gk-surface, #fff);
}

.gk-status-label {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    color: var(--gk-neutral-600, #525252);
    white-space: nowrap;
}

.gk-status-item:hover .gk-status-label {
    color: var(--gk-primary, #3B82F6);
}

/* ==========================================================================
   9. LAST ORDER WIDGET (آخرین سفارش)
   ========================================================================== */

.gk-card--last-order {
    border: 1px solid var(--gk-border-color, #E5E7EB);
}

/* Order Status Tag */
.gk-order-status-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    border-radius: var(--gk-radius-round, 999px);
    white-space: nowrap;
    background: var(--gk-neutral-100, #f3f3f3);
    color: var(--gk-neutral-600, #525252);
}

.gk-order-status-tag--processing {
    background: #FFF3CD;
    color: #856404;
}

.gk-order-status-tag--on-hold {
    background: #FFF3CD;
    color: #856404;
}

.gk-order-status-tag--pending {
    background: #FEF3C7;
    color: #92400E;
}

.gk-order-status-tag--completed {
    background: #D1FAE5;
    color: #065F46;
}

.gk-order-status-tag--cancelled {
    background: #FEE2E2;
    color: #991B1B;
}

.gk-order-status-tag--refunded {
    background: #EDE9FE;
    color: #5B21B6;
}

.gk-order-status-tag--failed {
    background: #FEE2E2;
    color: #991B1B;
}

/* Last Order Info */
.gk-last-order-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gk-last-order-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.gk-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--gk-neutral-500, #737373);
    line-height: 1.5;
}

.gk-meta-item svg {
    flex-shrink: 0;
    color: var(--gk-neutral-400, #a3a3a3);
}

.gk-last-order-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--gk-neutral-50, #fafafa);
    border-radius: var(--gk-radius-md, 8px);
    border: 1px solid var(--gk-border-color, #E5E7EB);
}

.gk-total-label {
    font-size: 13px;
    color: var(--gk-neutral-500, #737373);
    font-weight: 500;
}

.gk-total-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--gk-primary, #3B82F6);
}

.gk-total-value .woocommerce-Price-currencySymbol {
    font-size: 12px;
    font-weight: 500;
    margin-right: 2px;
}

/* ==========================================================================
   10. WALLET WIDGET (کیف پول)
   ========================================================================== */

.gk-card--wallet {
    background: linear-gradient(145deg, var(--gk-primary, #3B82F6), var(--gk-primary-700, #1D4ED8));
    border: none;
    color: var(--gk-white, #fff);
    overflow: hidden;
    position: relative;
}

.gk-card--wallet::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 180px;
    height: 180px;
    border-radius: var(--gk-radius-round, 999px);
    background: rgba(255,255,255,0.08);
    pointer-events: none;
}

.gk-card--wallet::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -10%;
    width: 120px;
    height: 120px;
    border-radius: var(--gk-radius-round, 999px);
    background: rgba(255,255,255,0.05);
    pointer-events: none;
}

.gk-card--wallet:hover {
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
}

.gk-wallet-hero {
    position: relative;
    z-index: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gk-wallet-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gk-wallet-icon {
    opacity: 0.85;
}

.gk-wallet-title {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.9;
}

.gk-wallet-balance {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.gk-wallet-amount {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.gk-wallet-currency {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.75;
}

.gk-wallet-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gk-primary, #3B82F6);
    background: rgba(255,255,255,0.95);
    border-radius: var(--gk-radius-md, 8px);
    text-decoration: none;
    transition:
            background var(--gk-duration-fast, 150ms),
            transform var(--gk-duration-fast, 150ms),
            box-shadow var(--gk-duration-fast, 150ms);
    align-self: flex-start;
}

.gk-wallet-action:hover {
    background: var(--gk-white, #fff);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.gk-wallet-action:active {
    transform: scale(0.97);
}

/* ==========================================================================
   11. PROFILE COMPLETION WIDGET (تکمیل پروفایل)
   ========================================================================== */

.gk-card--profile {
    border: 1px solid var(--gk-border-color, #E5E7EB);
}

.gk-profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.gk-profile-header strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--gk-text, #0B1220);
}

.gk-profile-percent {
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}

.gk-profile-percent--low {
    color: #EF4444;
}

.gk-profile-percent--medium {
    color: var(--gk-accent, #F59E0B);
}

.gk-profile-percent--high {
    color: var(--gk-success, #22C55E);
}

/* Progress Bar */
.gk-progress-bar {
    width: 100%;
    height: 8px;
    background: var(--gk-neutral-100, #f3f3f3);
    border-radius: var(--gk-radius-round, 999px);
    overflow: hidden;
    margin-bottom: 14px;
}

.gk-progress-fill {
    height: 100%;
    border-radius: var(--gk-radius-round, 999px);
    transition: width var(--gk-duration-slow, 500ms) var(--gk-ease-standard);
    position: relative;
}

.gk-progress-fill--low {
    background: linear-gradient(90deg, #EF4444, #F87171);
}

.gk-progress-fill--medium {
    background: linear-gradient(90deg, #F59E0B, #FBBF24);
}

.gk-progress-fill--high {
    background: linear-gradient(90deg, #22C55E, #4ADE80);
}

/* پروفایل کامل */
.gk-profile-complete {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gk-success, #22C55E);
    padding: 4px 0;
}

/* ==========================================================================
   12. CUSTOM WIDGET (محتوای دلخواه)
   ========================================================================== */

.gk-card--custom {
    border: 1px solid var(--gk-border-color, #E5E7EB);
}

.gk-card--custom .gk-card-body p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--gk-neutral-600, #525252);
    margin-bottom: 12px;
}

.gk-card--custom .gk-card-body p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   13. EMPTY STATE
   ========================================================================== */

.gk-card--empty {
    border: 1px dashed var(--gk-border-color, #E5E7EB);
    background: var(--gk-neutral-50, #fafafa);
}

.gk-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px 20px !important;
    gap: 12px;
}

.gk-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: var(--gk-radius-round, 999px);
    background: var(--gk-neutral-100, #f3f3f3);
    color: var(--gk-neutral-300, #d4d4d4);
    margin-bottom: 4px;
}

.gk-empty-icon svg {
    width: 36px;
    height: 36px;
}

.gk-empty-state p {
    font-size: 14px;
    color: var(--gk-neutral-400, #a3a3a3);
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================================
   14. BUTTONS (gk-btn)
   ========================================================================== */

.gk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: inherit;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    outline: none;
    border-radius: var(--gk-radius-md, 8px);
    padding: 10px 20px;
    font-size: 14px;
    color: var(--gk-white, #fff);
    background: var(--gk-primary, #3B82F6);
    transition:
            background var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            color var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            border-color var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            box-shadow var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            transform var(--gk-duration-fast, 150ms) var(--gk-ease-standard);
    -webkit-tap-highlight-color: transparent;
}

.gk-btn:hover {
    background: var(--gk-primary-600, #2563EB);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
    transform: translateY(-1px);
}

.gk-btn:active {
    transform: scale(0.98) translateY(0);
    box-shadow: none;
}

.gk-btn:focus-visible {
    outline: var(--gk-focus-width, 3px) var(--gk-focus-style, auto) var(--gk-focus-color, #2563EB);
    outline-offset: var(--gk-focus-offset, 1px);
}

/* Outline Variant */
.gk-btn--outline {
    background: transparent;
    color: var(--gk-primary, #3B82F6);
    border: 1.5px solid var(--gk-primary-200, #BFDBFE);
}

.gk-btn--outline:hover {
    background: var(--gk-primary-50, #EFF6FF);
    border-color: var(--gk-primary, #3B82F6);
    box-shadow: none;
    transform: none;
}

.gk-btn--outline:active {
    background: var(--gk-primary-100, #DBEAFE);
}

/* Text Variant */
.gk-btn--text {
    background: transparent;
    color: var(--gk-primary, #3B82F6);
    padding: 6px 8px;
}

.gk-btn--text:hover {
    background: var(--gk-primary-50, #EFF6FF);
    box-shadow: none;
    transform: none;
}

/* Size: Small */
.gk-btn--sm {
    padding: 7px 14px;
    font-size: 13px;
}

/* Block: Full Width */
.gk-btn--block {
    width: 100%;
}

/* ==========================================================================
   15. MOBILE BOTTOM NAVIGATION (.gk-mobile-nav)
   ========================================================================== */

.gk-mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--gk-z-header, 1000);
    background: var(--gk-surface, #fff);
    border-top: 1px solid var(--gk-border-color, #E5E7EB);
    box-shadow: 0 -4px 20px rgba(0,0,0,.06);
    padding-bottom: env(safe-area-inset-bottom, 0);
    justify-content: space-around;
    align-items: stretch;
    max-width: 100%;
}

.gk-mob-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
    padding: 10px 4px 8px;
    text-decoration: none;
    color: var(--gk-neutral-400, #a3a3a3);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    position: relative;
    transition:
            color var(--gk-duration-fast, 150ms),
            transform var(--gk-duration-fast, 150ms);
    -webkit-tap-highlight-color: transparent;
}

/* خط بالای آیتم فعال */
.gk-mob-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 36px;
    height: 3px;
    background: var(--gk-primary, #3B82F6);
    border-radius: 0 0 var(--gk-radius-sm, 4px) var(--gk-radius-sm, 4px);
    transition: transform var(--gk-duration, 250ms) var(--gk-ease-standard);
}

.gk-mob-item.is-active::before {
    transform: translateX(-50%) scaleX(1);
}

.gk-mob-item:active {
    transform: scale(0.92);
}

/* Active */
.gk-mob-item.is-active {
    color: var(--gk-primary, #3B82F6);
}

/* Dashicons inside mobile nav */
.gk-mob-item .dashicons {
    font-size: 22px;
    width: 22px;
    height: 22px;
    line-height: 1;
    transition: transform var(--gk-duration-fast, 150ms);
}

.gk-mob-item.is-active .dashicons {
    transform: scale(1.1);
}

/* Label */
.gk-mob-item span:last-child {
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

/* ==========================================================================
   15.1 BOTTOM NAVIGATION (Alternative .gk-bottom-nav)
   ========================================================================== */

.gk-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--gk-z-header, 1000);
    background: var(--gk-surface, #fff);
    border-top: 1px solid var(--gk-border-color, #E5E7EB);
    box-shadow: 0 -4px 20px rgba(0,0,0,.06);
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.gk-bottom-nav__inner {
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 4px;
}

.gk-bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
    padding: 10px 4px 8px;
    text-decoration: none;
    color: var(--gk-neutral-400, #a3a3a3);
    transition:
            color var(--gk-duration-fast, 150ms),
            transform var(--gk-duration-fast, 150ms);
    -webkit-tap-highlight-color: transparent;
    position: relative;
}

.gk-bottom-nav__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 36px;
    height: 3px;
    background: var(--gk-primary, #3B82F6);
    border-radius: 0 0 var(--gk-radius-sm, 4px) var(--gk-radius-sm, 4px);
    transition: transform var(--gk-duration, 250ms) var(--gk-ease-standard);
}

.gk-bottom-nav__item.is-active::before {
    transform: translateX(-50%) scaleX(1);
}

.gk-bottom-nav__item:active {
    transform: scale(0.92);
}

.gk-bottom-nav__item.is-active {
    color: var(--gk-primary, #3B82F6);
}

.gk-bottom-nav__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.gk-bottom-nav__icon svg {
    width: 22px;
    height: 22px;
}

.gk-bottom-nav__label {
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

/* ==========================================================================
   16. WOOCOMMERCE OVERRIDES (Account Area)
   ========================================================================== */

/* حذف استایل پیش‌فرض ووکامرس */
.gk-account-page .woocommerce-MyAccount-content > .woocommerce-notices-wrapper:empty {
    display: none;
}

/* Notice/Alert */
.gk-account-page .woocommerce-message,
.gk-account-page .woocommerce-info,
.gk-account-page .woocommerce-error {
    padding: 14px 20px;
    margin-bottom: 16px;
    border-radius: var(--gk-radius-md, 8px);
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gk-account-page .woocommerce-message {
    background: #F0FDF4;
    border-color: #BBF7D0;
    color: #166534;
}

.gk-account-page .woocommerce-info {
    background: #EFF6FF;
    border-color: #BFDBFE;
    color: #1E40AF;
}

.gk-account-page .woocommerce-error {
    background: #FEF2F2;
    border-color: #FECACA;
    color: #991B1B;
    list-style: none;
}

.gk-account-page .woocommerce-error li {
    list-style: none;
}

/* ==========================================================================
   17. FOCUS & ACCESSIBILITY
   ========================================================================== */

.gk-account-page a:focus-visible,
.gk-account-page button:focus-visible,
.gk-account-page input:focus-visible,
.gk-account-page select:focus-visible,
.gk-account-page textarea:focus-visible {
    outline: var(--gk-focus-width, 3px) var(--gk-focus-style, auto) var(--gk-focus-color, #2563EB);
    outline-offset: var(--gk-focus-offset, 1px);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .gk-account-page *,
    .gk-account-page *::before,
    .gk-account-page *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   18. RESPONSIVE - Tablet (max-width: 992px)
   ========================================================================== */

@media (max-width: 992px) {

    /* مخفی کردن سایدبار و نشون دادن منوی گرید */
    .gk-desktop-nav {
        display: none;
    }

    .gk-mobile-grid-wrapper {
        display: block;
    }

    .gk-account-page .gk-container {
        flex-direction: column;
        padding: 16px;
        gap: 0;
    }

    .gk-account-page .woocommerce-MyAccount-content {
        width: 100%;
    }

    /* نمایش هدر موبایل */
    .gk-mobile-page-header {
        display: flex;
    }

    /* ویجت grid */
    .gk-dashboard-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .gk-widget-half {
        grid-column: span 1;
    }

    .gk-widget-full {
        grid-column: 1 / -1;
    }

    /* نمایش bottom nav */
    .gk-mobile-nav {
        display: flex;
    }

    .gk-bottom-nav {
        display: block;
    }

    /* فضا برای bottom nav */
    .gk-account-page {
        padding-bottom: 80px;
    }
}

/* ==========================================================================
   19. RESPONSIVE - Mobile (max-width: 576px)
   ========================================================================== */

@media (max-width: 576px) {

    .gk-account-page .gk-container {
        padding: 12px;
    }

    /* هدر اپلیکیشنی */
    .gk-app-header {
        padding: 16px 4px;
        margin-bottom: 4px;
    }

    .gk-app-header__avatar img {
        width: 42px;
        height: 42px;
    }

    .gk-app-header__name {
        font-size: 15px;
    }

    .gk-app-header__greeting {
        font-size: 11px;
    }

    .gk-app-header__notif {
        width: 40px;
        height: 40px;
    }

    /* منوی گرید */
    .gk-mobile-grid-menu {
        grid-template-columns: repeat(4, 1fr);
        padding: 12px 6px;
        gap: 2px;
    }

    .gk-mobile-grid-item {
        padding: 10px 4px;
        gap: 6px;
    }

    .gk-mobile-grid-item__icon {
        width: 46px;
        height: 46px;
        border-radius: var(--gk-radius-md, 8px);
    }

    .gk-mobile-grid-item__icon svg {
        width: 22px;
        height: 22px;
    }

    .gk-mobile-grid-item__label {
        font-size: 10px;
    }

    /* ویجت‌ها تک ستونی */
    .gk-dashboard-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gk-widget-half {
        grid-column: 1 / -1;
    }

    /* کارت‌ها */
    .gk-card-head {
        padding: 14px 16px 0;
    }

    .gk-card-body {
        padding: 12px 16px 16px;
    }

    .gk-card-title {
        font-size: 14px;
    }

    /* Status row */
    .gk-order-status-row {
        gap: 8px;
    }

    .gk-status-item {
        padding: 10px 8px;
    }

    .gk-status-icon-wrap {
        width: 42px;
        height: 42px;
    }

    .gk-status-label {
        font-size: 11px;
    }

    /* آخرین سفارش */
    .gk-last-order-meta {
        gap: 10px;
    }

    .gk-meta-item {
        font-size: 12px;
    }

    .gk-last-order-total {
        padding: 10px 14px;
    }

    .gk-total-value {
        font-size: 14px;
    }

    /* کیف پول */
    .gk-wallet-hero {
        padding: 18px 16px;
    }

    .gk-wallet-amount {
        font-size: 24px;
    }

    .gk-wallet-action {
        padding: 9px 16px;
        font-size: 12px;
    }

    /* Progress */
    .gk-progress-bar {
        height: 6px;
    }

    /* Mobile page header */
    .gk-mobile-page-header {
        padding: 12px 14px;
    }

    .gk-m-title {
        font-size: 15px;
    }

    .gk-m-back {
        width: 32px;
        height: 32px;
    }

    /* Mobile bottom nav */
    .gk-mob-item .dashicons {
        font-size: 20px;
        width: 20px;
        height: 20px;
    }

    .gk-mob-item span:last-child {
        font-size: 9px;
    }

    .gk-mob-item {
        padding: 8px 4px 6px;
    }

    /* Bottom nav alt */
    .gk-bottom-nav__icon svg {
        width: 20px;
        height: 20px;
    }

    .gk-bottom-nav__label {
        font-size: 9px;
    }

    .gk-bottom-nav__item {
        padding: 8px 4px 6px;
    }

    /* فضای bottom nav بیشتر */
    .gk-account-page {
        padding-bottom: 72px;
    }

    /* Empty state */
    .gk-empty-icon {
        width: 60px;
        height: 60px;
    }

    .gk-empty-icon svg {
        width: 30px;
        height: 30px;
    }

    /* Profile box */
    .gk-profile-box img {
        width: 60px !important;
        height: 60px !important;
    }

    .gk-profile-box strong {
        font-size: 14px;
    }
}

/* ==========================================================================
   20. RESPONSIVE - Very Small (max-width: 380px)
   ========================================================================== */

@media (max-width: 380px) {

    .gk-mobile-grid-menu {
        grid-template-columns: repeat(3, 1fr);
    }

    .gk-app-header__avatar img {
        width: 38px;
        height: 38px;
    }

    .gk-app-header__name {
        font-size: 14px;
    }

    .gk-wallet-amount {
        font-size: 22px;
    }

    .gk-status-item {
        padding: 8px 4px;
    }

    .gk-status-icon-wrap {
        width: 38px;
        height: 38px;
    }

    .gk-status-icon-wrap svg {
        width: 18px;
        height: 18px;
    }

    .gk-status-label {
        font-size: 10px;
    }

    .gk-mob-item .dashicons {
        font-size: 18px;
        width: 18px;
        height: 18px;
    }
}

/* ==========================================================================
   21. PRINT STYLES
   ========================================================================== */

@media print {

    .gk-mobile-nav,
    .gk-bottom-nav,
    .gk-mobile-page-header,
    .gk-mobile-grid-wrapper,
    .gk-app-header__notif {
        display: none !important;
    }

    .gk-desktop-nav {
        position: static !important;
        max-height: none !important;
        box-shadow: none !important;
    }

    .gk-account-page {
        padding-bottom: 0 !important;
        background: #fff !important;
    }

    .gk-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }

    .gk-card--wallet {
        background: #f0f0f0 !important;
        color: #000 !important;
    }
}

/* ==========================================================================
   22. DARK MODE SUPPORT (optional)
   ========================================================================== */

@media (prefers-color-scheme: dark) {
    .gk-account-page[data-theme="auto"] {
        --gk-surface: #1C1C1E;
        --gk-background: #000000;
        --gk-text: #F5F5F7;
        --gk-border-color: #38383A;
        --gk-neutral-50: #1C1C1E;
        --gk-neutral-100: #2C2C2E;
        --gk-neutral-200: #3A3A3C;
        --gk-neutral-300: #48484A;
        --gk-neutral-400: #636366;
        --gk-neutral-500: #8E8E93;
        --gk-neutral-600: #AEAEB2;
        --gk-neutral-700: #C7C7CC;
        --gk-neutral-800: #D1D1D6;
        --gk-neutral-900: #F5F5F7;
    }
}

/* ==========================================================================
   23. SMOOTH ANIMATIONS & MICRO-INTERACTIONS
   ========================================================================== */

/* انیمیشن ورود کارت‌ها */
@keyframes gk-card-enter {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gk-dashboard-widget {
    animation: gk-card-enter var(--gk-duration, 250ms) var(--gk-ease-standard) both;
}

.gk-dashboard-widget:nth-child(1) { animation-delay: 0ms; }
.gk-dashboard-widget:nth-child(2) { animation-delay: 60ms; }
.gk-dashboard-widget:nth-child(3) { animation-delay: 120ms; }
.gk-dashboard-widget:nth-child(4) { animation-delay: 180ms; }
.gk-dashboard-widget:nth-child(5) { animation-delay: 240ms; }
.gk-dashboard-widget:nth-child(6) { animation-delay: 300ms; }

/* انیمیشن ورود منوی گرید */
@keyframes gk-grid-item-enter {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gk-mobile-grid-item {
    animation: gk-grid-item-enter var(--gk-duration, 250ms) var(--gk-ease-standard) both;
}

.gk-mobile-grid-item:nth-child(1) { animation-delay: 0ms; }
.gk-mobile-grid-item:nth-child(2) { animation-delay: 40ms; }
.gk-mobile-grid-item:nth-child(3) { animation-delay: 80ms; }
.gk-mobile-grid-item:nth-child(4) { animation-delay: 120ms; }
.gk-mobile-grid-item:nth-child(5) { animation-delay: 160ms; }
.gk-mobile-grid-item:nth-child(6) { animation-delay: 200ms; }
.gk-mobile-grid-item:nth-child(7) { animation-delay: 240ms; }
.gk-mobile-grid-item:nth-child(8) { animation-delay: 280ms; }

/* انیمیشن آیتم‌های ناوبری */
@keyframes gk-nav-slide-in {
    from {
        opacity: 0;
        transform: translateX(8px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.gk-nav-item {
    animation: gk-nav-slide-in var(--gk-duration, 250ms) var(--gk-ease-standard) both;
}

/* ==========================================================================
   24. ORDERS PAGE – Tabs, Container & Loading
   Version: 3.2.0
   ========================================================================== */

/* --- Page Wrapper --- */
.gk-orders-page {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ==========================================================================
   24.1 ORDERS TABS (فیلتر وضعیت سفارش)
   ========================================================================== */

.gk-orders-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    background: var(--gk-surface, #fff);
    border-radius: var(--gk-radius-lg, 12px);
    border: 1px solid var(--gk-border-color, #E5E7EB);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gk-orders-tabs::-webkit-scrollbar {
    display: none;
}

/* --- Tab Button --- */
.gk-tab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 18px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--gk-neutral-500, #737373);
    background: transparent;
    border: 1.5px solid transparent;
    border-radius: var(--gk-radius-md, 8px);
    cursor: pointer;
    white-space: nowrap;
    transition:
            color var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            background var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            border-color var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            box-shadow var(--gk-duration-fast, 150ms) var(--gk-ease-standard);
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}

.gk-tab-btn:hover {
    color: var(--gk-neutral-700, #404040);
    background: var(--gk-neutral-50, #fafafa);
}

/* --- Active Tab --- */
.gk-tab-btn.active {
    color: var(--gk-primary, #3B82F6);
    background: var(--gk-primary-50, #EFF6FF);
    border-color: var(--gk-primary-200, #BFDBFE);
    box-shadow: 0 1px 3px rgba(59, 130, 246, 0.08);
}

/* --- Focus --- */
.gk-tab-btn:focus-visible {
    outline: var(--gk-focus-width, 3px) var(--gk-focus-style, auto) var(--gk-focus-color, #2563EB);
    outline-offset: var(--gk-focus-offset, 1px);
}

/* ==========================================================================
   24.2 ORDERS LIST CONTAINER
   ========================================================================== */

.gk-orders-list-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 200px;
    position: relative;
}

/* ==========================================================================
   24.3 LOADING SPINNER
   ========================================================================== */

.gk-loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 48px 20px;
    color: var(--gk-neutral-400, #a3a3a3);
    text-align: center;
}

.gk-loading-spinner p {
    font-size: 13px;
    font-weight: 500;
    color: var(--gk-neutral-400, #a3a3a3);
    margin: 0;
}

/* --- Spinning Icon --- */
.gk-spin-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    width: 28px;
    height: 28px;
    color: var(--gk-primary, #3B82F6);
    animation: gk-spin 1s linear infinite;
}

@keyframes gk-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- Container Loading State (وقتی AJAX در حال بارگذاری) --- */
.gk-orders-list-container.is-loading {
    pointer-events: none;
}

.gk-orders-list-container.is-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--gk-radius-lg, 12px);
    z-index: 5;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    animation: gk-fade-in 200ms ease;
}

@keyframes gk-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==========================================================================
   24.4 ORDERS EMPTY STATE (وقتی سفارشی نیست)
   ========================================================================== */

.gk-orders-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 56px 24px;
    background: var(--gk-surface, #fff);
    border-radius: var(--gk-radius-lg, 12px);
    border: 1px dashed var(--gk-border-color, #E5E7EB);
    gap: 14px;
}

.gk-orders-empty__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: var(--gk-radius-round, 999px);
    background: var(--gk-neutral-50, #fafafa);
    color: var(--gk-neutral-300, #d4d4d4);
    margin-bottom: 4px;
}

.gk-orders-empty__icon svg,
.gk-orders-empty__icon .dashicons {
    width: 40px;
    height: 40px;
    font-size: 40px;
}

.gk-orders-empty__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--gk-text, #0B1220);
    margin: 0;
}

.gk-orders-empty__desc {
    font-size: 13px;
    color: var(--gk-neutral-400, #a3a3a3);
    margin: 0;
    line-height: 1.6;
    max-width: 280px;
}

.gk-orders-empty .gk-btn {
    margin-top: 8px;
}

/* ==========================================================================
   24.5 RESPONSIVE – Tabs
   ========================================================================== */

@media (max-width: 576px) {

    .gk-orders-tabs {
        gap: 4px;
        padding: 5px;
        border-radius: var(--gk-radius-md, 8px);
    }

    .gk-tab-btn {
        padding: 8px 14px;
        font-size: 12px;
        border-radius: var(--gk-radius-sm, 6px);
    }

    .gk-loading-spinner {
        padding: 36px 16px;
    }

    .gk-spin-icon {
        font-size: 24px;
        width: 24px;
        height: 24px;
    }

    .gk-orders-empty {
        padding: 40px 20px;
    }

    .gk-orders-empty__icon {
        width: 64px;
        height: 64px;
    }

    .gk-orders-empty__icon svg,
    .gk-orders-empty__icon .dashicons {
        width: 32px;
        height: 32px;
        font-size: 32px;
    }

    .gk-orders-empty__title {
        font-size: 14px;
    }

    .gk-orders-empty__desc {
        font-size: 12px;
    }
}

@media (max-width: 380px) {

    .gk-tab-btn {
        padding: 7px 11px;
        font-size: 11px;
    }
}
/* ==========================================================================
   25. ORDER DETAILS PAGE – View Single Order
   Version: 3.3.0
   ========================================================================== */

/* --- Page Wrapper --- */
.gk-order-details-page {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

/* ==========================================================================
   25.1 HEADER – Back Button & Date
   ========================================================================== */

.gk-od-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    background: var(--gk-surface, #fff);
    border-radius: var(--gk-radius-lg, 12px);
    border: 1px solid var(--gk-border-color, #E5E7EB);
}

/* --- Back Button --- */
.gk-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--gk-text, #0B1220);
    text-decoration: none;
    transition: color var(--gk-duration-fast, 150ms) var(--gk-ease-standard);
    line-height: 1.4;
}

.gk-back-btn:hover {
    color: var(--gk-primary, #3B82F6);
}

.gk-back-btn .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: var(--gk-neutral-400, #a3a3a3);
    transition: color var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
    transform var(--gk-duration-fast, 150ms) var(--gk-ease-standard);
}

.gk-back-btn:hover .dashicons {
    color: var(--gk-primary, #3B82F6);
    transform: translateX(3px);
}

/* --- Date --- */
.gk-od-date {
    font-size: 12px;
    font-weight: 500;
    color: var(--gk-neutral-400, #a3a3a3);
    white-space: nowrap;
    direction: ltr;
}

/* ==========================================================================
   25.2 SUMMARY CARD – Order Number & Date
   ========================================================================== */

.gk-od-summary {
    padding: 20px 24px;
}

.gk-od-row {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    flex-wrap: wrap;
}

.gk-od-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 120px;
}

.gk-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--gk-neutral-400, #a3a3a3);
    line-height: 1.4;
}

.gk-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--gk-text, #0B1220);
    line-height: 1.5;
}

.gk-value.big {
    font-size: 18px;
    font-weight: 800;
    color: var(--gk-primary, #3B82F6);
    letter-spacing: -0.02em;
}

/* ==========================================================================
   25.3 INFO GRID – Recipient, Address, Amount, Payment
   ========================================================================== */

.gk-od-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 0;
    overflow: hidden;
}

/* --- Single Info Block --- */
.gk-info-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 24px;
    position: relative;
}

/* Separator Lines (grid internal borders) */
.gk-info-block:nth-child(1),
.gk-info-block:nth-child(2) {
    border-bottom: 1px solid var(--gk-border-color, #E5E7EB);
}

.gk-info-block:nth-child(odd) {
    border-left: 1px solid var(--gk-border-color, #E5E7EB);
}

/* --- Info Head (Icon + Label) --- */
.gk-info-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--gk-text, #0B1220);
    line-height: 1.4;
}

.gk-info-head .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: var(--gk-primary, #3B82F6);
    flex-shrink: 0;
}

/* --- Info Body --- */
.gk-info-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 26px; /* align with text after icon */
}

.gk-info-body p {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--gk-text, #0B1220);
    line-height: 1.6;
}

.gk-info-body p strong {
    font-weight: 700;
}

.gk-text-muted {
    color: var(--gk-neutral-400, #a3a3a3) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
}

.gk-address-text {
    font-size: 12.5px !important;
    line-height: 1.8 !important;
    color: var(--gk-neutral-500, #737373) !important;
}

/* --- Price Big --- */
.gk-price-big {
    font-size: 17px;
    font-weight: 800;
    color: var(--gk-text, #0B1220);
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.gk-price-big .woocommerce-Price-currencySymbol {
    font-size: 11px;
    font-weight: 600;
    color: var(--gk-neutral-400, #a3a3a3);
    margin-right: 2px;
}

/* ==========================================================================
   25.4 SHIPMENT BOX – Products List
   ========================================================================== */

.gk-shipment-box {
    padding: 0;
    overflow: hidden;
}

/* --- Shipment Header --- */
.gk-shipment-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--gk-border-color, #E5E7EB);
    background: var(--gk-neutral-50, #fafafa);
}

.gk-shipment-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--gk-text, #0B1220);
    line-height: 1.4;
}

.gk-shipment-title .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: var(--gk-neutral-400, #a3a3a3);
}

/* --- Status Badge --- */
.gk-shipment-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

.gk-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: var(--gk-radius-round, 999px);
    flex-shrink: 0;
    animation: gk-dot-pulse 2s ease-in-out infinite;
}

@keyframes gk-dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(0.8); }
}

/* --- Products Grid --- */
.gk-products-grid {
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   25.5 PRODUCT ITEM – Single Order Item
   ========================================================================== */

.gk-product-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gk-border-color, #E5E7EB);
    transition: background var(--gk-duration-fast, 150ms) var(--gk-ease-standard);
}

.gk-product-item:last-child {
    border-bottom: none;
}

.gk-product-item:hover {
    background: var(--gk-neutral-50, #fafafa);
}

/* --- Product Thumbnail --- */
.gk-prod-thumb {
    position: relative;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: var(--gk-radius-md, 8px);
    overflow: hidden;
    border: 1px solid var(--gk-border-color, #E5E7EB);
    background: var(--gk-neutral-50, #fafafa);
}

.gk-prod-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Quantity Badge --- */
.gk-prod-qty {
    position: absolute;
    top: -4px;
    right: -4px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    background: var(--gk-primary, #3B82F6);
    border-radius: var(--gk-radius-round, 999px);
    border: 2px solid var(--gk-surface, #fff);
    line-height: 1;
    z-index: 2;
}

/* --- Product Details --- */
.gk-prod-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0; /* allow text truncation */
}

/* --- Product Title --- */
.gk-prod-title {
    margin: 0;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--gk-text, #0B1220);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Product Meta (Variations) --- */
.gk-prod-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
}

.gk-prod-meta span {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--gk-neutral-400, #a3a3a3);
    line-height: 1.5;
}

/* --- Product Price --- */
.gk-prod-price {
    font-size: 14px;
    font-weight: 800;
    color: var(--gk-text, #0B1220);
    line-height: 1.4;
    margin-top: 2px;
}

.gk-prod-price .woocommerce-Price-currencySymbol {
    font-size: 10px;
    font-weight: 600;
    color: var(--gk-neutral-400, #a3a3a3);
    margin-right: 2px;
}

/* ==========================================================================
   25.6 ORDER ACTIONS – Invoice Button
   ========================================================================== */

.gk-od-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.gk-btn-invoice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--gk-primary, #3B82F6);
    background: var(--gk-primary-50, #EFF6FF);
    border: 1.5px solid var(--gk-primary-200, #BFDBFE);
    border-radius: var(--gk-radius-md, 8px);
    text-decoration: none;
    cursor: pointer;
    transition:
            color var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            background var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            border-color var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            box-shadow var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            transform var(--gk-duration-fast, 150ms) var(--gk-ease-standard);
}

.gk-btn-invoice:hover {
    color: #fff;
    background: var(--gk-primary, #3B82F6);
    border-color: var(--gk-primary, #3B82F6);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
    transform: translateY(-1px);
}

.gk-btn-invoice:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.2);
}

.gk-btn-invoice .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    transition: inherit;
}

.gk-btn-invoice:focus-visible {
    outline: var(--gk-focus-width, 3px) var(--gk-focus-style, auto) var(--gk-focus-color, #2563EB);
    outline-offset: var(--gk-focus-offset, 2px);
}

/* ==========================================================================
   25.7 RESPONSIVE – Order Details Page
   ========================================================================== */

/* ---- Tablet & below (768px) ---- */
@media (max-width: 768px) {

    .gk-od-info-grid {
        grid-template-columns: 1fr;
    }

    /* Reset grid borders for single-column */
    .gk-info-block:nth-child(odd) {
        border-left: none;
    }

    .gk-info-block:nth-child(1),
    .gk-info-block:nth-child(2),
    .gk-info-block:nth-child(3) {
        border-bottom: 1px solid var(--gk-border-color, #E5E7EB);
    }

    .gk-info-block:last-child {
        border-bottom: none;
    }

    .gk-info-block {
        padding: 16px 20px;
    }

    .gk-info-body {
        padding-right: 26px;
    }
}

/* ---- Mobile (576px) ---- */
@media (max-width: 576px) {

    .gk-order-details-page {
        gap: 12px;
    }

    /* Header */
    .gk-od-header {
        padding: 12px 16px;
        border-radius: var(--gk-radius-md, 8px);
    }

    .gk-back-btn {
        font-size: 13px;
    }

    .gk-back-btn .dashicons {
        font-size: 18px;
        width: 18px;
        height: 18px;
    }

    .gk-od-date {
        font-size: 11px;
    }

    /* Summary */
    .gk-od-summary {
        padding: 16px 18px;
    }

    .gk-od-row {
        gap: 20px;
    }

    .gk-value.big {
        font-size: 16px;
    }

    /* Info grid */
    .gk-info-block {
        padding: 14px 16px;
        gap: 8px;
    }

    .gk-info-head {
        font-size: 12.5px;
    }

    .gk-info-head .dashicons {
        font-size: 16px;
        width: 16px;
        height: 16px;
    }

    .gk-info-body {
        padding-right: 24px;
    }

    .gk-info-body p {
        font-size: 12px;
    }

    .gk-price-big {
        font-size: 15px;
    }

    /* Shipment */
    .gk-shipment-head {
        padding: 14px 16px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .gk-shipment-title {
        font-size: 13px;
    }

    .gk-shipment-title .dashicons {
        font-size: 18px;
        width: 18px;
        height: 18px;
    }

    .gk-shipment-status {
        font-size: 11.5px;
    }

    .gk-dot {
        width: 7px;
        height: 7px;
    }

    /* Product Items */
    .gk-product-item {
        padding: 16px;
        gap: 12px;
    }

    .gk-prod-thumb {
        width: 64px;
        height: 64px;
        border-radius: var(--gk-radius-sm, 6px);
    }

    .gk-prod-qty {
        min-width: 20px;
        height: 20px;
        font-size: 10px;
        top: -3px;
        right: -3px;
    }

    .gk-prod-title {
        font-size: 12.5px;
    }

    .gk-prod-meta span {
        font-size: 11px;
    }

    .gk-prod-price {
        font-size: 13px;
    }

    /* Actions */
    .gk-od-actions {
        justify-content: center;
    }

    .gk-btn-invoice {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 13px;
        border-radius: var(--gk-radius-md, 8px);
    }
}

/* ---- Small mobile (380px) ---- */
@media (max-width: 380px) {

    .gk-od-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .gk-prod-thumb {
        width: 56px;
        height: 56px;
    }

    .gk-prod-title {
        font-size: 12px;
        -webkit-line-clamp: 1;
    }

    .gk-prod-price {
        font-size: 12.5px;
    }

    .gk-value.big {
        font-size: 15px;
    }

    .gk-price-big {
        font-size: 14px;
    }
}
/* ==========================================================================
   26. ADDRESS MANAGER – View Card + Edit Form
   Version: 3.4.0
   ========================================================================== */

/* --- Manager Wrapper --- */
.gk-address-manager {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

/* ==========================================================================
   26.1 SHARED CARD STRUCTURE (.gk-card reuse)
   ========================================================================== */

.gk-address-manager .gk-card {
    background: var(--gk-surface, #fff);
    border-radius: var(--gk-radius-lg, 12px);
    border: 1px solid var(--gk-border-color, #E5E7EB);
    overflow: hidden;
}

/* --- Card Head --- */
.gk-address-manager .gk-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--gk-border-color, #E5E7EB);
}

/* --- Card Title with Left Accent Line --- */
.gk-card-title.has-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: var(--gk-text, #0B1220);
    line-height: 1.4;
    position: relative;
    padding-right: 14px;
}

.gk-card-title.has-line::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--gk-primary, #3B82F6);
    border-radius: var(--gk-radius-round, 999px);
}

/* --- Close Button (in Edit Mode Head) --- */
.gk-btn-close-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: var(--gk-neutral-50, #fafafa);
    border: 1px solid var(--gk-border-color, #E5E7EB);
    border-radius: var(--gk-radius-round, 999px);
    color: var(--gk-neutral-400, #a3a3a3);
    cursor: pointer;
    flex-shrink: 0;
    transition:
            color var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            background var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            border-color var(--gk-duration-fast, 150ms) var(--gk-ease-standard);
}

.gk-btn-close-icon:hover {
    color: var(--gk-danger, #ef4056);
    background: #FEF2F2;
    border-color: #FECACA;
}

.gk-btn-close-icon .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* --- Card Body --- */
.gk-address-manager .gk-card-body {
    padding: 24px;
}

/* ==========================================================================
   26.2 VIEW MODE – Address Preview Card
   ========================================================================== */

.gk-addr-preview {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

/* --- Icon Box --- */
.gk-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: var(--gk-primary-50, #EFF6FF);
    border-radius: var(--gk-radius-md, 8px);
    color: var(--gk-primary, #3B82F6);
}

.gk-icon-box .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

/* --- Address Content --- */
.gk-addr-content-view {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.gk-addr-text {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--gk-text, #0B1220);
    line-height: 1.8;
    word-break: break-word;
}

/* --- Phone Row --- */
.gk-addr-phone {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gk-neutral-400, #a3a3a3);
    direction: ltr;
    text-align: left;
}

.gk-addr-phone .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    color: var(--gk-neutral-300, #d4d4d4);
}

/* --- Edit Toggle Button --- */
.gk-addr-actions-view {
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gk-border-color, #E5E7EB);
}

.gk-btn-edit-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--gk-primary, #3B82F6);
    background: var(--gk-primary-50, #EFF6FF);
    border: 1.5px solid var(--gk-primary-200, #BFDBFE);
    border-radius: var(--gk-radius-md, 8px);
    cursor: pointer;
    transition:
            color var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            background var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            border-color var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            box-shadow var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            transform var(--gk-duration-fast, 150ms) var(--gk-ease-standard);
}

.gk-btn-edit-toggle:hover {
    color: #fff;
    background: var(--gk-primary, #3B82F6);
    border-color: var(--gk-primary, #3B82F6);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
    transform: translateY(-1px);
}

.gk-btn-edit-toggle:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.15);
}

.gk-btn-edit-toggle .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    transition: inherit;
}

.gk-btn-edit-toggle:focus-visible {
    outline: var(--gk-focus-width, 3px) var(--gk-focus-style, auto) var(--gk-focus-color, #2563EB);
    outline-offset: var(--gk-focus-offset, 2px);
}

/* ==========================================================================
   26.3 EDIT MODE – Form Grid & Fields
   ========================================================================== */

/* --- WooCommerce Notices inside form --- */
#gk-edit-box .woocommerce-error,
#gk-edit-box .woocommerce-message,
#gk-edit-box .woocommerce-info {
    margin: 0 0 20px 0;
    padding: 12px 16px;
    border-radius: var(--gk-radius-md, 8px);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
    list-style: none;
}

#gk-edit-box .woocommerce-error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #DC2626;
}

#gk-edit-box .woocommerce-message {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: #16A34A;
}

#gk-edit-box .woocommerce-error li,
#gk-edit-box .woocommerce-message li {
    list-style: none;
}

/* --- Form Grid --- */
.gk-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
}

/* Full-width fields */
.gk-form-grid .form-row-wide,
.gk-form-grid .address-field {
    grid-column: 1 / -1;
}

/* Half-width fields */
.gk-form-grid .form-row-first {
    grid-column: 1 / 2;
}

.gk-form-grid .form-row-last {
    grid-column: 2 / 3;
}

/* ==========================================================================
   26.4 FORM FIELD STYLING – Labels, Inputs, Selects
   ========================================================================== */

/* --- Row Wrapper (WooCommerce default) --- */
.gk-form-grid .form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
}

/* --- Labels --- */
.gk-form-grid .form-row label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--gk-text, #0B1220);
    line-height: 1.4;
}

.gk-form-grid .form-row label .required {
    color: var(--gk-danger, #ef4056);
    font-weight: 800;
    margin-right: 2px;
}

.gk-form-grid .form-row label .optional {
    font-size: 11px;
    font-weight: 500;
    color: var(--gk-neutral-400, #a3a3a3);
    margin-right: 4px;
}

/* --- Text Inputs & Textareas --- */
.gk-form-grid .form-row input[type="text"],
.gk-form-grid .form-row input[type="email"],
.gk-form-grid .form-row input[type="tel"],
.gk-form-grid .form-row input[type="number"],
.gk-form-grid .form-row input[type="password"],
.gk-form-grid .form-row input[type="url"],
.gk-form-grid .form-row textarea {
    width: 100%;
    padding: 11px 14px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--gk-text, #0B1220);
    line-height: 1.5;
    background: var(--gk-surface, #fff);
    border: 1.5px solid var(--gk-border-color, #E5E7EB);
    border-radius: var(--gk-radius-md, 8px);
    outline: none;
    transition:
            border-color var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            box-shadow var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            background var(--gk-duration-fast, 150ms) var(--gk-ease-standard);
    -webkit-appearance: none;
    appearance: none;
}

.gk-form-grid .form-row input::placeholder,
.gk-form-grid .form-row textarea::placeholder {
    color: var(--gk-neutral-300, #d4d4d4);
    font-weight: 400;
}

/* Focus */
.gk-form-grid .form-row input:focus,
.gk-form-grid .form-row textarea:focus {
    border-color: var(--gk-primary, #3B82F6);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: #fff;
}

/* Hover (non-focus) */
.gk-form-grid .form-row input:hover:not(:focus),
.gk-form-grid .form-row textarea:hover:not(:focus) {
    border-color: var(--gk-neutral-300, #d4d4d4);
}

/* Textarea specific */
.gk-form-grid .form-row textarea {
    min-height: 90px;
    resize: vertical;
}

/* --- Select / Dropdown --- */
.gk-form-grid .form-row select {
    width: 100%;
    padding: 11px 14px;
    padding-left: 36px; /* space for arrow */
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--gk-text, #0B1220);
    line-height: 1.5;
    background: var(--gk-surface, #fff);
    border: 1.5px solid var(--gk-border-color, #E5E7EB);
    border-radius: var(--gk-radius-md, 8px);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23a3a3a3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 14px center;
    background-size: 12px;
    cursor: pointer;
    transition:
            border-color var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            box-shadow var(--gk-duration-fast, 150ms) var(--gk-ease-standard);
}

.gk-form-grid .form-row select:focus {
    border-color: var(--gk-primary, #3B82F6);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.gk-form-grid .form-row select:hover:not(:focus) {
    border-color: var(--gk-neutral-300, #d4d4d4);
}

/* --- Select2 Override (if WooCommerce loads it) --- */
.gk-form-grid .select2-container {
    width: 100% !important;
}

.gk-form-grid .select2-container--default .select2-selection--single {
    height: auto;
    padding: 11px 14px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--gk-text, #0B1220);
    background: var(--gk-surface, #fff);
    border: 1.5px solid var(--gk-border-color, #E5E7EB);
    border-radius: var(--gk-radius-md, 8px);
    transition:
            border-color var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            box-shadow var(--gk-duration-fast, 150ms) var(--gk-ease-standard);
}

.gk-form-grid .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0;
    line-height: 1.5;
    color: var(--gk-text, #0B1220);
}

.gk-form-grid .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    left: 10px;
    right: auto;
}

.gk-form-grid .select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--gk-primary, #3B82F6);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Select2 Dropdown */
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background: var(--gk-primary, #3B82F6);
    color: #fff;
}

.select2-dropdown {
    border: 1.5px solid var(--gk-border-color, #E5E7EB);
    border-radius: var(--gk-radius-md, 8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.select2-search--dropdown .select2-search__field {
    padding: 10px 12px;
    font-family: inherit;
    font-size: 13px;
    border: 1.5px solid var(--gk-border-color, #E5E7EB);
    border-radius: var(--gk-radius-sm, 6px);
}

.select2-results__option {
    padding: 10px 14px;
    font-size: 13px;
}

/* --- Validation Error State --- */
.gk-form-grid .form-row.woocommerce-invalid input,
.gk-form-grid .form-row.woocommerce-invalid select,
.gk-form-grid .form-row.woocommerce-invalid .select2-selection--single {
    border-color: var(--gk-danger, #ef4056) !important;
    box-shadow: 0 0 0 3px rgba(239, 64, 86, 0.1) !important;
}

/* --- Validation Success State --- */
.gk-form-grid .form-row.woocommerce-validated input,
.gk-form-grid .form-row.woocommerce-validated select,
.gk-form-grid .form-row.woocommerce-validated .select2-selection--single {
    border-color: var(--gk-success, #00a049) !important;
}

/* ==========================================================================
   26.5 FORM ACTIONS – Save & Cancel Buttons
   ========================================================================== */

.gk-form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--gk-border-color, #E5E7EB);
    flex-wrap: wrap;
}

/* --- Save Button (Primary) --- */
.gk-btn-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 32px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    background: var(--gk-primary, #3B82F6);
    border: 1.5px solid var(--gk-primary, #3B82F6);
    border-radius: var(--gk-radius-md, 8px);
    cursor: pointer;
    transition:
            background var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            border-color var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            box-shadow var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            transform var(--gk-duration-fast, 150ms) var(--gk-ease-standard);
}

.gk-btn-save:hover {
    background: var(--gk-primary-600, #2563EB);
    border-color: var(--gk-primary-600, #2563EB);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

.gk-btn-save:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.gk-btn-save:focus-visible {
    outline: var(--gk-focus-width, 3px) var(--gk-focus-style, auto) var(--gk-focus-color, #2563EB);
    outline-offset: var(--gk-focus-offset, 2px);
}

/* --- Cancel Button (Ghost) --- */
.gk-btn-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--gk-neutral-500, #737373);
    background: transparent;
    border: 1.5px solid var(--gk-border-color, #E5E7EB);
    border-radius: var(--gk-radius-md, 8px);
    cursor: pointer;
    transition:
            color var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            background var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            border-color var(--gk-duration-fast, 150ms) var(--gk-ease-standard);
}

.gk-btn-cancel:hover {
    color: var(--gk-danger, #ef4056);
    background: #FEF2F2;
    border-color: #FECACA;
}

.gk-btn-cancel:focus-visible {
    outline: var(--gk-focus-width, 3px) var(--gk-focus-style, auto) var(--gk-focus-color, #2563EB);
    outline-offset: var(--gk-focus-offset, 2px);
}

/* ==========================================================================
   26.6 RESPONSIVE – Address Manager
   ========================================================================== */

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

    .gk-form-grid {
        grid-template-columns: 1fr;
    }

    .gk-form-grid .form-row-first,
    .gk-form-grid .form-row-last {
        grid-column: 1 / -1;
    }

    .gk-address-manager .gk-card-head {
        padding: 16px 20px;
    }

    .gk-address-manager .gk-card-body {
        padding: 20px;
    }
}

/* ---- Mobile (576px) ---- */
@media (max-width: 576px) {

    .gk-address-manager {
        gap: 12px;
    }

    .gk-address-manager .gk-card-head {
        padding: 14px 16px;
    }

    .gk-card-title.has-line {
        font-size: 14px;
        padding-right: 12px;
    }

    .gk-card-title.has-line::before {
        width: 3px;
        height: 16px;
    }

    .gk-btn-close-icon {
        width: 32px;
        height: 32px;
    }

    .gk-btn-close-icon .dashicons {
        font-size: 18px;
        width: 18px;
        height: 18px;
    }

    .gk-address-manager .gk-card-body {
        padding: 16px;
    }

    /* View Mode */
    .gk-addr-preview {
        flex-direction: column;
        gap: 12px;
    }

    .gk-icon-box {
        width: 42px;
        height: 42px;
    }

    .gk-icon-box .dashicons {
        font-size: 20px;
        width: 20px;
        height: 20px;
    }

    .gk-addr-text {
        font-size: 13px;
    }

    .gk-addr-phone {
        font-size: 12px;
    }

    .gk-addr-actions-view {
        margin-top: 16px;
        padding-top: 16px;
    }

    .gk-btn-edit-toggle {
        width: 100%;
        justify-content: center;
        padding: 11px 20px;
    }

    /* Form Fields */
    .gk-form-grid {
        gap: 14px;
    }

    .gk-form-grid .form-row label {
        font-size: 12px;
    }

    .gk-form-grid .form-row input[type="text"],
    .gk-form-grid .form-row input[type="email"],
    .gk-form-grid .form-row input[type="tel"],
    .gk-form-grid .form-row input[type="number"],
    .gk-form-grid .form-row input[type="password"],
    .gk-form-grid .form-row input[type="url"],
    .gk-form-grid .form-row textarea,
    .gk-form-grid .form-row select {
        padding: 10px 12px;
        font-size: 13px;
    }

    .gk-form-grid .form-row select {
        padding-left: 32px;
    }

    .gk-form-grid .select2-container--default .select2-selection--single {
        padding: 10px 12px;
    }

    /* Actions */
    .gk-form-actions {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
        padding-top: 20px;
    }

    .gk-btn-save {
        width: 100%;
        padding: 13px 24px;
        font-size: 14px;
    }

    .gk-btn-cancel {
        width: 100%;
        padding: 12px 24px;
        text-align: center;
        justify-content: center;
    }
}

/* ---- Small Mobile (380px) ---- */
@media (max-width: 380px) {

    .gk-address-manager .gk-card-head {
        padding: 12px 14px;
    }

    .gk-card-title.has-line {
        font-size: 13px;
    }

    .gk-address-manager .gk-card-body {
        padding: 14px;
    }

    .gk-addr-text {
        font-size: 12px;
        line-height: 1.7;
    }

    .gk-form-grid .form-row input[type="text"],
    .gk-form-grid .form-row input[type="email"],
    .gk-form-grid .form-row input[type="tel"],
    .gk-form-grid .form-row input[type="number"],
    .gk-form-grid .form-row input[type="password"],
    .gk-form-grid .form-row input[type="url"],
    .gk-form-grid .form-row textarea,
    .gk-form-grid .form-row select {
        padding: 9px 11px;
        font-size: 12.5px;
    }

    .gk-btn-save {
        font-size: 13px;
        padding: 12px 20px;
    }
}
/* ==========================================================================
   27. NOTIFICATIONS PAGE
   Version: 3.5.0
   ========================================================================== */

/* --- Page Wrapper --- */
.gk-notifications-page {
    width: 100%;
}

/* --- Spin Keyframe (reused) --- */
@keyframes gk-spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   27.1 HEADER – Title + Action Buttons
   ========================================================================== */

.gk-notifications-page .gk-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--gk-border-color, #E5E7EB);
    flex-wrap: wrap;
}

/* --- Top Actions Group --- */
.gk-notif-actions-top {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* --- Ghost Small Button (Reusable) --- */
.gk-btn-ghost-sm {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--gk-primary, #3B82F6);
    background: var(--gk-primary-50, #EFF6FF);
    border: 1px solid var(--gk-primary-200, #BFDBFE);
    border-radius: var(--gk-radius-sm, 6px);
    cursor: pointer;
    white-space: nowrap;
    transition:
            color var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            background var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            border-color var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            opacity var(--gk-duration-fast, 150ms) var(--gk-ease-standard);
}

.gk-btn-ghost-sm:hover {
    color: #fff;
    background: var(--gk-primary, #3B82F6);
    border-color: var(--gk-primary, #3B82F6);
}

.gk-btn-ghost-sm:active {
    opacity: 0.85;
}

.gk-btn-ghost-sm:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.gk-btn-ghost-sm:focus-visible {
    outline: var(--gk-focus-width, 3px) var(--gk-focus-style, auto) var(--gk-focus-color, #2563EB);
    outline-offset: var(--gk-focus-offset, 2px);
}

/* --- Danger Variant --- */
.gk-btn-ghost-sm.danger {
    color: var(--gk-danger, #ef4056);
    background: #FEF2F2;
    border-color: #FECACA;
}

.gk-btn-ghost-sm.danger:hover {
    color: #fff;
    background: var(--gk-danger, #ef4056);
    border-color: var(--gk-danger, #ef4056);
}

/* ==========================================================================
   27.2 NOTIFICATIONS CONTAINER
   ========================================================================== */

#gk-notifications-container {
    padding: 0;
    min-height: 200px;
    position: relative;
    transition: opacity var(--gk-duration-normal, 200ms) var(--gk-ease-standard);
}

/* --- Loading Spinner --- */
#gk-notifications-container .gk-loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
}

#gk-notifications-container .gk-loading-spinner .dashicons {
    animation: gk-spin 1s infinite linear;
    font-size: 30px;
    width: 30px;
    height: 30px;
    color: var(--gk-neutral-300, #d4d4d4);
}

/* ==========================================================================
   27.3 NOTIFICATION ITEM
   ========================================================================== */

.gk-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--gk-border-color, #E5E7EB);
    background: var(--gk-surface, #fff);
    position: relative;
    transition:
            background var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            opacity var(--gk-duration-normal, 200ms) var(--gk-ease-standard),
            border-color var(--gk-duration-fast, 150ms) var(--gk-ease-standard);
}

.gk-notif-item:last-child {
    border-bottom: none;
}

.gk-notif-item:hover {
    background: var(--gk-neutral-50, #fafafa);
}

/* --- Unread State (Blue Right Border) --- */
.gk-notif-item.unread {
    border-right: 4px solid var(--gk-primary, #3B82F6);
    background: var(--gk-primary-50, #EFF6FF);
}

.gk-notif-item.unread:hover {
    background: #E8F2FF;
}

/* --- Notification Icon --- */
.gk-notif-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: var(--gk-radius-round, 999px);
    background: var(--gk-neutral-100, #f5f5f5);
    color: var(--gk-neutral-400, #a3a3a3);
    transition: background var(--gk-duration-fast, 150ms) var(--gk-ease-standard);
}

.gk-notif-item.unread .gk-notif-icon {
    background: var(--gk-primary-100, #DBEAFE);
    color: var(--gk-primary, #3B82F6);
}

.gk-notif-icon .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* --- Icon Color Variants based on type --- */
.gk-notif-icon.type-order {
    background: #EFF6FF;
    color: #3B82F6;
}

.gk-notif-icon.type-success {
    background: #F0FDF4;
    color: #16A34A;
}

.gk-notif-icon.type-warning {
    background: #FFFBEB;
    color: #F59E0B;
}

.gk-notif-icon.type-danger {
    background: #FEF2F2;
    color: #DC2626;
}

.gk-notif-icon.type-info {
    background: #F0F9FF;
    color: #0EA5E9;
}

.gk-notif-icon.type-promo {
    background: #FDF4FF;
    color: #A855F7;
}

/* --- Notification Content --- */
.gk-notif-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gk-notif-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--gk-text, #0B1220);
    line-height: 1.5;
    margin: 0;
}

.gk-notif-item.unread .gk-notif-title {
    color: var(--gk-primary-700, #1D4ED8);
}

.gk-notif-text {
    font-size: 12.5px;
    font-weight: 400;
    color: var(--gk-neutral-500, #737373);
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Notification Meta (Time + Link) --- */
.gk-notif-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.gk-notif-time {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--gk-neutral-400, #a3a3a3);
    line-height: 1.4;
    direction: ltr;
    text-align: right;
}

.gk-notif-meta-separator {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gk-neutral-300, #d4d4d4);
    flex-shrink: 0;
}

.gk-notif-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--gk-primary, #3B82F6);
    text-decoration: none;
    transition: color var(--gk-duration-fast, 150ms) var(--gk-ease-standard);
}

.gk-notif-link:hover {
    color: var(--gk-primary-600, #2563EB);
    text-decoration: underline;
}

/* ==========================================================================
   27.4 NOTIFICATION ITEM ACTIONS (Right Side)
   ========================================================================== */

.gk-notif-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    margin-right: auto;
    margin-left: 0;
    opacity: 0;
    transition: opacity var(--gk-duration-fast, 150ms) var(--gk-ease-standard);
}

.gk-notif-item:hover .gk-notif-actions {
    opacity: 1;
}

/* --- Action Button (Small Icon) --- */
.gk-notif-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--gk-radius-sm, 6px);
    color: var(--gk-neutral-400, #a3a3a3);
    cursor: pointer;
    transition:
            color var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            background var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            border-color var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            opacity var(--gk-duration-fast, 150ms) var(--gk-ease-standard);
}

.gk-notif-action-btn:hover {
    background: var(--gk-neutral-100, #f5f5f5);
    border-color: var(--gk-border-color, #E5E7EB);
    color: var(--gk-text, #0B1220);
}

.gk-notif-action-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.gk-notif-action-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* --- Read Toggle Specific --- */
.gk-notice-read-toggle:hover {
    color: var(--gk-primary, #3B82F6);
    background: var(--gk-primary-50, #EFF6FF);
    border-color: var(--gk-primary-200, #BFDBFE);
}

/* --- Remove Button Specific --- */
.gk-notice-remove:hover {
    color: var(--gk-danger, #ef4056);
    background: #FEF2F2;
    border-color: #FECACA;
}

/* ==========================================================================
   27.5 UNREAD BADGE / PULSE DOT
   ========================================================================== */

.gk-notif-item.unread .gk-notif-icon::after {
    content: '';
    position: absolute;
    top: 18px;
    right: 20px;
    width: 8px;
    height: 8px;
    background: var(--gk-primary, #3B82F6);
    border-radius: 50%;
    border: 2px solid var(--gk-primary-50, #EFF6FF);
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    animation: gk-pulse-dot 2s infinite;
}

@keyframes gk-pulse-dot {
    0%   { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
    70%  { box-shadow: 0 0 0 6px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

/* ==========================================================================
   27.6 EMPTY STATE
   ========================================================================== */

.gk-notifications-page .gk-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 60px 24px;
    text-align: center;
}

.gk-notifications-page .gk-empty-state .gk-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: var(--gk-radius-round, 999px);
    background: var(--gk-neutral-100, #f5f5f5);
    color: var(--gk-neutral-300, #d4d4d4);
    margin-bottom: 4px;
}

.gk-notifications-page .gk-empty-state .gk-empty-icon .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
}

.gk-notifications-page .gk-empty-state .gk-empty-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--gk-text, #0B1220);
    margin: 0;
}

.gk-notifications-page .gk-empty-state .gk-empty-desc {
    font-size: 13px;
    font-weight: 400;
    color: var(--gk-neutral-400, #a3a3a3);
    margin: 0;
    max-width: 280px;
    line-height: 1.6;
}

/* ==========================================================================
   27.7 AJAX PAGINATION
   ========================================================================== */

.gk-pagination-ajax {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 20px 24px;
    border-top: 1px solid var(--gk-border-color, #E5E7EB);
    flex-wrap: wrap;
}

.gk-ajax-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 6px 12px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--gk-text, #0B1220);
    text-decoration: none;
    background: var(--gk-surface, #fff);
    border: 1px solid var(--gk-border-color, #E5E7EB);
    border-radius: var(--gk-radius-sm, 6px);
    cursor: pointer;
    transition:
            color var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            background var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            border-color var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            box-shadow var(--gk-duration-fast, 150ms) var(--gk-ease-standard);
}

.gk-ajax-page:hover {
    color: var(--gk-primary, #3B82F6);
    border-color: var(--gk-primary-200, #BFDBFE);
    background: var(--gk-primary-50, #EFF6FF);
}

/* Active / Current Page */
.gk-ajax-page.current {
    color: #fff;
    background: var(--gk-primary, #3B82F6);
    border-color: var(--gk-primary, #3B82F6);
    cursor: default;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

/* Disabled page */
.gk-ajax-page.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Ellipsis */
.gk-pagination-ajax .gk-page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gk-neutral-400, #a3a3a3);
    letter-spacing: 2px;
    cursor: default;
    user-select: none;
}

/* ==========================================================================
   27.8 NOTIFICATION TYPE-SPECIFIC STYLES
   ========================================================================== */

/* --- Order Notification --- */
.gk-notif-item[data-type="order"] .gk-notif-icon {
    background: #EFF6FF;
    color: #3B82F6;
}

/* --- Delivery Notification --- */
.gk-notif-item[data-type="delivery"] .gk-notif-icon {
    background: #F0FDF4;
    color: #16A34A;
}

/* --- Payment / Wallet Notification --- */
.gk-notif-item[data-type="payment"] .gk-notif-icon,
.gk-notif-item[data-type="wallet"] .gk-notif-icon {
    background: #FFFBEB;
    color: #F59E0B;
}

/* --- Return / Refund Notification --- */
.gk-notif-item[data-type="return"] .gk-notif-icon {
    background: #FEF2F2;
    color: #DC2626;
}

/* --- Promotion / Discount Notification --- */
.gk-notif-item[data-type="promo"] .gk-notif-icon {
    background: #FDF4FF;
    color: #A855F7;
}

/* --- System / Info Notification --- */
.gk-notif-item[data-type="system"] .gk-notif-icon,
.gk-notif-item[data-type="info"] .gk-notif-icon {
    background: #F0F9FF;
    color: #0EA5E9;
}

/* ==========================================================================
   27.9 SLIDE OUT ANIMATION (for remove)
   ========================================================================== */

.gk-notif-item.is-removing {
    opacity: 0;
    transform: translateX(30px);
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
    overflow: hidden;
    transition:
            opacity 250ms var(--gk-ease-standard),
            transform 250ms var(--gk-ease-standard),
            max-height 300ms 100ms var(--gk-ease-standard),
            padding 300ms 100ms var(--gk-ease-standard);
}

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

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

    .gk-notifications-page .gk-card-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px 20px;
    }

    .gk-notif-actions-top {
        width: 100%;
    }

    .gk-notif-actions-top .gk-btn-ghost-sm {
        flex: 1;
        justify-content: center;
        text-align: center;
    }

    .gk-notif-item {
        padding: 16px 20px;
        gap: 12px;
    }

    .gk-pagination-ajax {
        padding: 16px 20px;
    }
}

/* ---- Mobile (576px) ---- */
@media (max-width: 576px) {

    .gk-notifications-page .gk-card-head {
        padding: 14px 16px;
        gap: 10px;
    }

    .gk-notif-actions-top {
        gap: 6px;
    }

    .gk-btn-ghost-sm {
        padding: 6px 10px;
        font-size: 11px;
    }

    /* Notification item */
    .gk-notif-item {
        padding: 14px 16px;
        gap: 10px;
        flex-wrap: wrap;
    }

    .gk-notif-icon {
        width: 36px;
        height: 36px;
    }

    .gk-notif-icon .dashicons {
        font-size: 18px;
        width: 18px;
        height: 18px;
    }

    .gk-notif-title {
        font-size: 13px;
    }

    .gk-notif-text {
        font-size: 12px;
        -webkit-line-clamp: 3;
    }

    .gk-notif-time {
        font-size: 11px;
    }

    /* Show actions always on mobile (no hover) */
    .gk-notif-actions {
        opacity: 1;
        width: 100%;
        justify-content: flex-end;
        margin-top: 4px;
        padding-top: 10px;
        border-top: 1px solid var(--gk-border-color, #E5E7EB);
    }

    .gk-notif-action-btn {
        width: 34px;
        height: 34px;
    }

    /* Unread pulse dot - reposition */
    .gk-notif-item.unread .gk-notif-icon::after {
        top: 14px;
        right: 12px;
        width: 7px;
        height: 7px;
    }

    /* Pagination */
    .gk-pagination-ajax {
        padding: 14px 16px;
        gap: 4px;
    }

    .gk-ajax-page {
        min-width: 32px;
        height: 32px;
        padding: 4px 8px;
        font-size: 12px;
    }

    /* Empty state */
    .gk-notifications-page .gk-empty-state {
        padding: 40px 20px;
    }

    .gk-notifications-page .gk-empty-state .gk-empty-icon {
        width: 60px;
        height: 60px;
    }

    .gk-notifications-page .gk-empty-state .gk-empty-icon .dashicons {
        font-size: 28px;
        width: 28px;
        height: 28px;
    }

    .gk-notifications-page .gk-empty-state .gk-empty-title {
        font-size: 14px;
    }

    .gk-notifications-page .gk-empty-state .gk-empty-desc {
        font-size: 12px;
    }
}

/* ---- Small Mobile (380px) ---- */
@media (max-width: 380px) {

    .gk-notifications-page .gk-card-head {
        padding: 12px 14px;
    }

    .gk-notif-item {
        padding: 12px 14px;
    }

    .gk-notif-icon {
        width: 32px;
        height: 32px;
    }

    .gk-notif-icon .dashicons {
        font-size: 16px;
        width: 16px;
        height: 16px;
    }

    .gk-notif-title {
        font-size: 12.5px;
    }

    .gk-notif-text {
        font-size: 11.5px;
    }

    .gk-notif-action-btn {
        width: 30px;
        height: 30px;
    }

    .gk-notif-action-btn .dashicons {
        font-size: 14px;
        width: 14px;
        height: 14px;
    }

    .gk-ajax-page {
        min-width: 28px;
        height: 28px;
        padding: 3px 6px;
        font-size: 11px;
    }
}
/* ==========================================================================
   28. WALLET PAGE – Balance Card + Transactions
   Version: 3.6.0
   ========================================================================== */

/* --- Page Wrapper --- */
.gk-wallet-page {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

/* ==========================================================================
   28.1 WALLET HERO CARD – Balance Display
   ========================================================================== */

.gk-wallet-hero {
    position: relative;
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 50%, #60A5FA 100%);
    border-radius: var(--gk-radius-lg, 12px);
    border: none !important;
    overflow: hidden;
    color: #fff;
}

/* --- Decorative Background Pattern --- */
.gk-wallet-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.gk-wallet-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

/* --- Top Section (Label + Amount) --- */
.gk-wallet-top {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 24px 20px;
    text-align: center;
}

/* --- Label --- */
.gk-wallet-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.gk-wallet-label .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

/* --- Amount Box --- */
.gk-wallet-amount-box {
    display: flex;
    align-items: baseline;
    gap: 8px;
    direction: ltr;
}

.gk-amount-large {
    font-size: 38px;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.5px;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gk-wallet-amount-box .gk-currency {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1;
}

/* --- Actions (Button + Note) --- */
.gk-wallet-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 0 24px 28px;
}

/* --- Deposit Button --- */
.gk-btn-deposit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 32px;
    min-width: 180px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: #1E40AF;
    background: #fff;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--gk-radius-md, 8px);
    cursor: pointer;
    transition:
            color var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            background var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            border-color var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            box-shadow var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            transform var(--gk-duration-fast, 150ms) var(--gk-ease-standard);
}

.gk-btn-deposit:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.gk-btn-deposit:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gk-btn-deposit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.gk-btn-deposit .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.gk-btn-deposit:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}

/* --- Wallet Note --- */
.gk-wallet-note {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    text-align: center;
    line-height: 1.5;
}

/* ==========================================================================
   28.2 DEPOSIT FORM (Hidden by default)
   ========================================================================== */

#gk-deposit-form {
    position: relative;
    z-index: 1;
    display: none;
    margin-top: 0 !important;
    padding: 20px 24px 28px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.08);
}

/* --- Deposit Input --- */
#gk-deposit-amount {
    width: 220px !important;
    max-width: 100%;
    padding: 12px 16px !important;
    font-family: inherit;
    font-size: 14px !important;
    font-weight: 600;
    color: var(--gk-text, #0B1220) !important;
    text-align: center;
    background: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: var(--gk-radius-md, 8px) !important;
    outline: none;
    direction: ltr;
    transition:
            border-color var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            box-shadow var(--gk-duration-fast, 150ms) var(--gk-ease-standard);
    -moz-appearance: textfield;
}

#gk-deposit-amount::-webkit-inner-spin-button,
#gk-deposit-amount::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#gk-deposit-amount::placeholder {
    color: var(--gk-neutral-400, #a3a3a3);
    font-weight: 400;
    font-size: 12px;
}

#gk-deposit-amount:focus {
    border-color: #fff !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25) !important;
}

/* --- Deposit Submit Button (Green variant) --- */
#gk-deposit-submit {
    background: var(--gk-success, #00a049) !important;
    border-color: var(--gk-success, #00a049) !important;
    color: #fff !important;
    min-width: auto !important;
    margin-right: 8px;
}

#gk-deposit-submit:hover {
    background: #008c3f !important;
    border-color: #008c3f !important;
    box-shadow: 0 4px 14px rgba(0, 160, 73, 0.3);
}

/* --- Deposit Form Layout --- */
#gk-deposit-form .gk-deposit-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* --- Deposit Message --- */
#gk-deposit-msg {
    margin-top: 12px !important;
    font-size: 12.5px !important;
    font-weight: 600;
    line-height: 1.5;
}

/* ==========================================================================
   28.3 TRANSACTIONS LIST
   ========================================================================== */

.gk-tx-list {
    display: flex;
    flex-direction: column;
}

/* --- Single Transaction Item --- */
.gk-tx-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--gk-border-color, #E5E7EB);
    background: var(--gk-surface, #fff);
    transition: background var(--gk-duration-fast, 150ms) var(--gk-ease-standard);
}

.gk-tx-item:last-child {
    border-bottom: none;
}

.gk-tx-item:hover {
    background: var(--gk-neutral-50, #fafafa);
}

/* ==========================================================================
   28.4 TRANSACTION ICON
   ========================================================================== */

.gk-tx-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: var(--gk-radius-round, 999px);
    transition: transform var(--gk-duration-fast, 150ms) var(--gk-ease-standard);
}

.gk-tx-item:hover .gk-tx-icon-wrap {
    transform: scale(1.05);
}

.gk-tx-icon-wrap .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* --- Deposit (Green) --- */
.gk-tx-icon-wrap.deposit {
    background: #F0FDF4;
    color: #16A34A;
}

/* --- Withdraw (Red) --- */
.gk-tx-icon-wrap.withdraw {
    background: #FEF2F2;
    color: #DC2626;
}

/* ==========================================================================
   28.5 TRANSACTION DETAILS
   ========================================================================== */

.gk-tx-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gk-tx-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--gk-text, #0B1220);
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- Meta Row (Date + Order Link) --- */
.gk-tx-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.gk-tx-date {
    font-size: 12px;
    font-weight: 400;
    color: var(--gk-neutral-400, #a3a3a3);
    line-height: 1.4;
    direction: ltr;
    text-align: right;
}

.gk-tx-meta .gk-sep {
    font-size: 10px;
    color: var(--gk-neutral-300, #d4d4d4);
    line-height: 1;
}

.gk-tx-meta a {
    font-size: 12px;
    font-weight: 600;
    color: var(--gk-primary, #3B82F6);
    text-decoration: none;
    transition: color var(--gk-duration-fast, 150ms) var(--gk-ease-standard);
}

.gk-tx-meta a:hover {
    color: var(--gk-primary-600, #2563EB);
    text-decoration: underline;
}

/* ==========================================================================
   28.6 TRANSACTION AMOUNT
   ========================================================================== */

.gk-tx-amount {
    flex-shrink: 0;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    white-space: nowrap;
    direction: ltr;
    text-align: left;
    font-variant-numeric: tabular-nums;
}

.gk-tx-amount .small {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.7;
}

/* --- Amount Color Variants --- */
.gk-text-green {
    color: #16A34A;
}

.gk-text-red {
    color: #DC2626;
}

/* ==========================================================================
   28.7 EMPTY STATE (Transactions)
   ========================================================================== */

.gk-wallet-page .gk-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 50px 24px;
    text-align: center;
}

.gk-wallet-page .gk-empty-state .dashicons {
    font-size: 36px;
    width: 36px;
    height: 36px;
    color: var(--gk-neutral-300, #d4d4d4);
}

.gk-wallet-page .gk-empty-state p {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--gk-neutral-400, #a3a3a3);
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================================
   28.8 SHIMMER LOADING EFFECT (Optional)
   ========================================================================== */

.gk-tx-item.is-loading .gk-tx-title,
.gk-tx-item.is-loading .gk-tx-date,
.gk-tx-item.is-loading .gk-tx-amount {
    background: linear-gradient(
            90deg,
            var(--gk-neutral-100, #f5f5f5) 25%,
            var(--gk-neutral-50, #fafafa) 50%,
            var(--gk-neutral-100, #f5f5f5) 75%
    );
    background-size: 200% 100%;
    animation: gk-shimmer 1.5s infinite ease-in-out;
    color: transparent !important;
    border-radius: 4px;
    user-select: none;
}

@keyframes gk-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

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

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

    .gk-wallet-page {
        gap: 16px;
    }

    .gk-wallet-top {
        padding: 28px 20px 18px;
    }

    .gk-amount-large {
        font-size: 32px;
    }

    .gk-wallet-actions {
        padding: 0 20px 24px;
    }

    .gk-btn-deposit {
        padding: 11px 28px;
        font-size: 13px;
    }

    .gk-tx-item {
        padding: 14px 20px;
        gap: 12px;
    }

    .gk-tx-amount {
        font-size: 14px;
    }

    #gk-deposit-form {
        padding: 18px 20px 24px;
    }
}

/* ---- Mobile (576px) ---- */
@media (max-width: 576px) {

    .gk-wallet-page {
        gap: 12px;
    }

    /* Hero Card */
    .gk-wallet-hero::before {
        width: 200px;
        height: 200px;
        top: -30%;
        right: -25%;
    }

    .gk-wallet-hero::after {
        width: 160px;
        height: 160px;
    }

    .gk-wallet-top {
        padding: 24px 16px 16px;
        gap: 10px;
    }

    .gk-wallet-label {
        font-size: 12px;
        gap: 6px;
    }

    .gk-wallet-label .dashicons {
        font-size: 16px;
        width: 16px;
        height: 16px;
    }

    .gk-amount-large {
        font-size: 28px;
        letter-spacing: -0.3px;
    }

    .gk-wallet-amount-box .gk-currency {
        font-size: 12px;
    }

    .gk-wallet-actions {
        padding: 0 16px 22px;
        gap: 10px;
    }

    .gk-btn-deposit {
        width: 100%;
        padding: 12px 24px;
        font-size: 13px;
        min-width: unset;
    }

    .gk-wallet-note {
        font-size: 11px;
    }

    /* Deposit Form */
    #gk-deposit-form {
        padding: 16px 16px 22px;
    }

    #gk-deposit-amount {
        width: 100% !important;
        margin-bottom: 10px;
    }

    #gk-deposit-submit {
        width: 100%;
        margin-right: 0 !important;
    }

    /* Transactions */
    .gk-tx-item {
        padding: 14px 16px;
        gap: 10px;
        flex-wrap: wrap;
    }

    .gk-tx-icon-wrap {
        width: 36px;
        height: 36px;
    }

    .gk-tx-icon-wrap .dashicons {
        font-size: 16px;
        width: 16px;
        height: 16px;
    }

    .gk-tx-title {
        font-size: 13px;
    }

    .gk-tx-date {
        font-size: 11px;
    }

    .gk-tx-meta a {
        font-size: 11px;
    }

    /* Amount goes full-width below content on very small */
    .gk-tx-amount {
        font-size: 14px;
    }

    .gk-tx-amount .small {
        font-size: 10px;
    }

    /* Empty State */
    .gk-wallet-page .gk-empty-state {
        padding: 40px 16px;
    }

    .gk-wallet-page .gk-empty-state .dashicons {
        font-size: 30px;
        width: 30px;
        height: 30px;
    }

    .gk-wallet-page .gk-empty-state p {
        font-size: 13px;
    }
}

/* ---- Small Mobile (380px) ---- */
@media (max-width: 380px) {

    .gk-wallet-top {
        padding: 20px 14px 14px;
    }

    .gk-amount-large {
        font-size: 24px;
    }

    .gk-wallet-actions {
        padding: 0 14px 20px;
    }

    .gk-tx-item {
        padding: 12px 14px;
    }

    .gk-tx-icon-wrap {
        width: 32px;
        height: 32px;
    }

    .gk-tx-icon-wrap .dashicons {
        font-size: 14px;
        width: 14px;
        height: 14px;
    }

    .gk-tx-title {
        font-size: 12px;
    }

    .gk-tx-amount {
        font-size: 13px;
    }

    #gk-deposit-amount {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }
}
/* ==========================================================================
   29. WISHLIST PAGE – Product Grid + Remove Button
   Version: 3.7.0
   ========================================================================== */

/* --- Page Wrapper --- */
.gk-wishlist-page {
    width: 100%;
}

/* ==========================================================================
   29. WISHLIST PAGE – Product Grid + Remove Button
   ========================================================================== */

/* Page Wrapper */
.gk-wishlist-page {
    width: 100%;
}

/* Card body spacing */
.gk-wishlist-page .gk-card-body {
    padding: 20px !important;
}

/* ==========================================================================
   29.1 PRODUCT GRID
   ========================================================================== */

.gk-wishlist-page .gk-card-body ul.products {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    width: 100% !important;
}

/* حذف clearfix ووکامرس */
.gk-wishlist-page .gk-card-body ul.products::before,
.gk-wishlist-page .gk-card-body ul.products::after {
    display: none !important;
    content: none !important;
}

/* ==========================================================================
   29.2 PRODUCT CARD ITEM
   ========================================================================== */

.gk-wishlist-page .gk-card-body ul.products > li {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column;
}

/* اطمینان از اینکه inner card فضای کامل را بگیرد */
.gk-wishlist-page .gk-card-body ul.products > li .gk-dk-card__inner {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Hover effect */
.gk-wishlist-page .gk-card-body ul.products > li:hover {
    transform: translateY(-3px);
    transition: transform 150ms ease, box-shadow 150ms ease;
}

/* ==========================================================================
   29.3 REMOVE BUTTON
   ========================================================================== */

.gk-wish-remove-btn {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    z-index: 20 !important;
    width: 34px !important;
    height: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    background: #fff !important;
    border: 1px solid #E5E7EB !important;
    color: #ef4056 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: background 150ms ease,
    color 150ms ease,
    transform 150ms ease,
    box-shadow 150ms ease;
}

.gk-wish-remove-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.gk-wish-remove-btn:hover {
    background: #ef4056 !important;
    color: #fff !important;
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(239, 64, 86, 0.35);
}

.gk-wish-remove-btn:active {
    transform: scale(0.95);
}

/* ==========================================================================
   29.4 EMPTY STATE
   ========================================================================== */

.gk-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 60px 20px;
    text-align: center;
}

.gk-empty-state .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: #d4d4d4;
}

.gk-empty-text {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    margin: 0;
}

.gk-btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: var(--gk-primary, #3B82F6);
    border-radius: 8px;
    text-decoration: none;
    transition: background 150ms ease,
    transform 150ms ease,
    box-shadow 150ms ease;
}

.gk-btn-link:hover {
    background: #2563EB;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(59, 130, 246, 0.3);
}

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

/* Tablet */
@media (max-width: 1024px) {
    .gk-wishlist-page .gk-card-body ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .gk-wishlist-page .gk-card-body {
        padding: 16px !important;
    }

    .gk-wishlist-page .gk-card-body ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    .gk-wish-remove-btn {
        width: 30px !important;
        height: 30px !important;
        top: 8px !important;
        left: 8px !important;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .gk-wishlist-page .gk-card-body ul.products {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .gk-empty-state {
        padding: 40px 16px;
    }
}


/* ==========================================================================
   30. SECURITY PAGE – Sessions & Tips
   Version: 3.8.0
   ========================================================================== */

/* ==========================================================================
   30.1 SECURITY SESSION BLOCK
   ========================================================================== */

.gk-security {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    background: var(--gk-neutral-50, #F8FAFC);
    border: 1px solid var(--gk-border-color, #E5E7EB);
    border-radius: var(--gk-radius-lg, 12px);
    flex-wrap: wrap;
}

/* Session text */
.gk-security > p {
    margin: 0 !important;
    font-size: 14px;
    font-weight: 500;
    color: var(--gk-neutral-700, #374151);
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.6;
}

/* Shield icon before session text */
.gk-security > p::before {
    content: "\f332";
    font-family: dashicons;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    font-size: 20px;
    border-radius: var(--gk-radius-round, 999px);
    background: linear-gradient(135deg, #DBEAFE 0%, #EFF6FF 100%);
    color: var(--gk-primary, #3B82F6);
}

/* ==========================================================================
   30.2 KILL SESSIONS BUTTON (Destructive Style)
   ========================================================================== */

#gk-kill-others.gk-btn.gk-btn-primary {
    background: #FEE2E2 !important;
    color: #DC2626 !important;
    border: 1px solid #FECACA !important;
    border-radius: var(--gk-radius-md, 8px) !important;
    padding: 10px 20px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition:
            background var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
            color var(--gk-duration-fast, 150ms),
            box-shadow var(--gk-duration-fast, 150ms),
            transform var(--gk-duration-fast, 150ms);
}

#gk-kill-others.gk-btn.gk-btn-primary::before {
    content: "\f228";
    font-family: dashicons;
    font-size: 16px;
    line-height: 1;
}

#gk-kill-others.gk-btn.gk-btn-primary:hover {
    background: #DC2626 !important;
    color: #fff !important;
    border-color: #DC2626 !important;
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.3);
    transform: translateY(-1px);
}

#gk-kill-others.gk-btn.gk-btn-primary:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.2);
}

/* ==========================================================================
   30.3 DIVIDER (Override inline hr)
   ========================================================================== */

.gk-card-body > hr {
    border: none !important;
    border-top: 1px solid var(--gk-border-color, #EEF2F7) !important;
    margin: 20px 0 !important;
}

/* ==========================================================================
   30.4 SECURITY TIPS SECTION
   ========================================================================== */

/* Heading */
.gk-card-body > div:last-child > h4 {
    margin: 0 0 14px !important;
    font-size: 15px;
    font-weight: 700;
    color: var(--gk-neutral-800, #1E293B);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Shield icon before heading */
.gk-card-body > div:last-child > h4::before {
    content: "\f528";
    font-family: dashicons;
    font-size: 18px;
    color: var(--gk-success, #22C55E);
}

/* Tips list */
.gk-card-body > div:last-child > ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Tip item */
.gk-card-body > div:last-child > ul > li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.7;
    color: var(--gk-neutral-600, #64748B) !important;
    background: var(--gk-neutral-50, #F8FAFC);
    border: 1px solid var(--gk-border-color, #E5E7EB);
    border-radius: var(--gk-radius-md, 8px);
    transition: background var(--gk-duration-fast, 150ms),
    border-color var(--gk-duration-fast, 150ms);
}

.gk-card-body > div:last-child > ul > li:hover {
    background: #EFF6FF;
    border-color: #BFDBFE;
}

/* Checkmark icon before each tip */
.gk-card-body > div:last-child > ul > li::before {
    content: "\f147";
    font-family: dashicons;
    font-size: 18px;
    color: var(--gk-success, #22C55E);
    flex-shrink: 0;
    line-height: 1.4;
}

/* Different icon for each tip */
.gk-card-body > div:last-child > ul > li:nth-child(1)::before {
    content: "\f160"; /* lock */
    color: var(--gk-primary, #3B82F6);
}

.gk-card-body > div:last-child > ul > li:nth-child(2)::before {
    content: "\f472"; /* desktop */
    color: #F59E0B;
}

.gk-card-body > div:last-child > ul > li:nth-child(3)::before {
    content: "\f228"; /* exit */
    color: #EF4444;
}

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

@media (max-width: 768px) {

    .gk-security {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 16px;
    }

    .gk-security > p {
        font-size: 13px;
    }

    #gk-kill-others.gk-btn.gk-btn-primary {
        width: 100% !important;
        justify-content: center;
        padding: 12px 16px !important;
    }

    .gk-card-body > div:last-child > ul > li {
        padding: 12px 14px;
        font-size: 12.5px;
    }

}

@media (max-width: 480px) {

    .gk-security > p::before {
        width: 36px;
        height: 36px;
        font-size: 17px;
    }

    .gk-card-body > div:last-child > ul > li {
        padding: 10px 12px;
        gap: 8px;
    }

}
/* ==========================================================================
   31. WOOCOMMERCE GLOBAL DEFAULTS — Modern App-Style Override
   Version: 3.9.0
   ========================================================================== */

/* ==========================================================================
   31.1 GLOBAL FORM FIELDS (All WooCommerce Inputs)
   ========================================================================== */

.woocommerce form .form-row,
.woocommerce-page form .form-row,
.woocommerce .woocommerce-form-row {
    margin-bottom: 16px !important;
    padding: 0 !important;
}

.woocommerce form .form-row label,
.woocommerce-page form .form-row label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gk-neutral-700, #374151);
    line-height: 1.5;
}

.woocommerce form .form-row label .required {
    color: #EF4444;
    font-weight: 700;
    margin-right: 2px;
}

/* --- Text Inputs, Selects, Textareas --- */
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce input[type="url"],
.woocommerce input[type="password"],
.woocommerce input[type="number"],
.woocommerce input[type="search"],
.woocommerce select,
.woocommerce textarea,
.woocommerce-page input[type="text"],
.woocommerce-page input[type="email"],
.woocommerce-page input[type="tel"],
.woocommerce-page input[type="password"],
.woocommerce-page select,
.woocommerce-page textarea {
    width: 100% !important;
    padding: 11px 14px !important;
    font-size: 14px !important;
    font-family: inherit !important;
    color: var(--gk-neutral-800, #1E293B) !important;
    background: #fff !important;
    border: 1.5px solid var(--gk-border-color, #E2E8F0) !important;
    border-radius: var(--gk-radius-md, 8px) !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
    box-shadow var(--gk-duration-fast, 150ms) var(--gk-ease-standard);
    -webkit-appearance: none;
    appearance: none;
}

.woocommerce input[type="text"]:focus,
.woocommerce input[type="email"]:focus,
.woocommerce input[type="tel"]:focus,
.woocommerce input[type="url"]:focus,
.woocommerce input[type="password"]:focus,
.woocommerce input[type="number"]:focus,
.woocommerce input[type="search"]:focus,
.woocommerce select:focus,
.woocommerce textarea:focus,
.woocommerce-page input:focus,
.woocommerce-page select:focus,
.woocommerce-page textarea:focus {
    border-color: var(--gk-primary, #3B82F6) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12) !important;
}

.woocommerce input::placeholder,
.woocommerce textarea::placeholder {
    color: var(--gk-neutral-400, #9CA3AF) !important;
    font-size: 13px;
}

.woocommerce textarea {
    min-height: 100px;
    resize: vertical;
}

/* --- Select Arrow --- */
.woocommerce select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: left 12px center !important;
    background-size: 12px !important;
    padding-left: 34px !important;
    cursor: pointer;
}

/* --- Checkbox & Radio --- */
.woocommerce input[type="checkbox"],
.woocommerce input[type="radio"] {
    width: 18px !important;
    height: 18px !important;
    border: 1.5px solid var(--gk-border-color, #D1D5DB) !important;
    border-radius: 4px !important;
    background: #fff !important;
    cursor: pointer;
    accent-color: var(--gk-primary, #3B82F6);
    vertical-align: middle;
    margin-left: 6px;
}

.woocommerce input[type="radio"] {
    border-radius: var(--gk-radius-round, 999px) !important;
}

/* ==========================================================================
   31.2 GLOBAL BUTTONS
   ========================================================================== */

.woocommerce .button,
.woocommerce button[type="submit"],
.woocommerce input[type="submit"],
.woocommerce-page .button,
.woocommerce #respond input#submit {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    line-height: 1.4 !important;
    color: #fff !important;
    background: var(--gk-primary, #3B82F6) !important;
    border: none !important;
    border-radius: var(--gk-radius-md, 8px) !important;
    cursor: pointer !important;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.18);
    transition: background var(--gk-duration-fast, 150ms) var(--gk-ease-standard),
    transform var(--gk-duration-fast, 150ms),
    box-shadow var(--gk-duration-fast, 150ms);
}

.woocommerce .button:hover,
.woocommerce button[type="submit"]:hover,
.woocommerce input[type="submit"]:hover,
.woocommerce-page .button:hover {
    background: #2563EB !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.3);
}

.woocommerce .button:active,
.woocommerce button[type="submit"]:active,
.woocommerce input[type="submit"]:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.15);
}

/* Disabled */
.woocommerce .button:disabled,
.woocommerce .button[disabled] {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Alt / Secondary Button */
.woocommerce .button.alt,
.woocommerce button.button.alt {
    background: var(--gk-primary, #3B82F6) !important;
}

.woocommerce .button.alt:hover {
    background: #1D4ED8 !important;
}

/* Outline / Ghost Buttons (checkout coupon etc.) */
.woocommerce .button:not(.alt):not([type="submit"]),
.woocommerce a.button:not(.alt) {
    background: #fff !important;
    color: var(--gk-primary, #3B82F6) !important;
    border: 1.5px solid var(--gk-primary, #3B82F6) !important;
    box-shadow: none;
}

.woocommerce .button:not(.alt):not([type="submit"]):hover,
.woocommerce a.button:not(.alt):hover {
    background: #EFF6FF !important;
    color: #1D4ED8 !important;
    border-color: #1D4ED8 !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.12);
}

/* ==========================================================================
   31.3 WOOCOMMERCE NOTICES (Success, Error, Info)
   ========================================================================== */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-error li {
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
    padding: 14px 18px !important;
    border-radius: var(--gk-radius-md, 8px) !important;
    margin-bottom: 16px !important;
    display: flex !important;
    align-items: center;
    gap: 10px;
    border-top: none !important;
}

/* Success */
.woocommerce-message {
    background: #F0FDF4 !important;
    color: #166534 !important;
    border: 1px solid #BBF7D0 !important;
    border-right: 4px solid #22C55E !important;
}

.woocommerce-message::before {
    content: "\f147" !important;
    font-family: dashicons !important;
    color: #22C55E !important;
    font-size: 20px;
    flex-shrink: 0;
}

/* Info */
.woocommerce-info {
    background: #EFF6FF !important;
    color: #1E40AF !important;
    border: 1px solid #BFDBFE !important;
    border-right: 4px solid #3B82F6 !important;
}

.woocommerce-info::before {
    content: "\f348" !important;
    font-family: dashicons !important;
    color: #3B82F6 !important;
    font-size: 20px;
    flex-shrink: 0;
}

/* Error */
.woocommerce-error {
    list-style: none !important;
    padding-inline-start: 0 !important;
}

.woocommerce-error,
.woocommerce-error li {
    background: #FEF2F2 !important;
    color: #991B1B !important;
    border: 1px solid #FECACA !important;
    border-right: 4px solid #EF4444 !important;
}

.woocommerce-error li::before {
    content: "\f335" !important;
    font-family: dashicons !important;
    color: #EF4444 !important;
    font-size: 20px;
    flex-shrink: 0;
}

/* Notice links */
.woocommerce-message a,
.woocommerce-info a {
    font-weight: 600;
    text-decoration: none;
    margin-right: auto;
    padding: 6px 14px;
    border-radius: var(--gk-radius-sm, 6px);
    font-size: 12px;
    transition: background 150ms;
}

.woocommerce-message a {
    color: #166534;
    background: rgba(34, 197, 94, 0.12);
}

.woocommerce-message a:hover {
    background: rgba(34, 197, 94, 0.22);
}

.woocommerce-info a {
    color: #1E40AF;
    background: rgba(59, 130, 246, 0.12);
}

.woocommerce-info a:hover {
    background: rgba(59, 130, 246, 0.22);
}

/* ==========================================================================
   31.4 TABLES (Orders, Downloads, etc.)
   ========================================================================== */

.woocommerce table.shop_table,
.woocommerce-page table.shop_table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid var(--gk-border-color, #E5E7EB) !important;
    border-radius: var(--gk-radius-lg, 12px) !important;
    overflow: hidden;
    font-size: 13px;
    margin-bottom: 20px;
}

.woocommerce table.shop_table thead {
    background: var(--gk-neutral-50, #F8FAFC) !important;
}

.woocommerce table.shop_table thead th {
    padding: 14px 16px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--gk-neutral-500, #6B7280) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    border-bottom: 1px solid var(--gk-border-color, #E5E7EB) !important;
    border-top: none !important;
    white-space: nowrap;
}

.woocommerce table.shop_table tbody td {
    padding: 14px 16px !important;
    color: var(--gk-neutral-700, #374151) !important;
    border-top: 1px solid var(--gk-border-color, #F1F5F9) !important;
    vertical-align: middle !important;
    font-weight: 500;
}

.woocommerce table.shop_table tbody tr:first-child td {
    border-top: none !important;
}

.woocommerce table.shop_table tbody tr:hover td {
    background: var(--gk-neutral-50, #F8FAFC);
}

.woocommerce table.shop_table tfoot th,
.woocommerce table.shop_table tfoot td {
    padding: 14px 16px !important;
    border-top: 1px solid var(--gk-border-color, #E5E7EB) !important;
    font-weight: 600 !important;
    background: var(--gk-neutral-50, #F8FAFC) !important;
}

/* ==========================================================================
   31.5 EDIT ACCOUNT FORM
   ========================================================================== */

.woocommerce-EditAccountForm {
    max-width: 600px;
}

.woocommerce-EditAccountForm fieldset {
    border: 1px solid var(--gk-border-color, #E5E7EB) !important;
    border-radius: var(--gk-radius-lg, 12px) !important;
    padding: 24px !important;
    margin: 24px 0 !important;
    background: var(--gk-neutral-50, #F8FAFC);
}

.woocommerce-EditAccountForm fieldset legend {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--gk-neutral-800, #1E293B) !important;
    padding: 0 10px !important;
    background: #fff;
    border-radius: var(--gk-radius-sm, 6px);
}

/* Password strength meter */
.woocommerce-EditAccountForm .woocommerce-password-strength {
    padding: 8px 14px;
    border-radius: var(--gk-radius-sm, 6px);
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
    text-align: center;
}

.woocommerce-password-strength.strong {
    background: #DCFCE7 !important;
    color: #166534 !important;
}

.woocommerce-password-strength.good {
    background: #DBEAFE !important;
    color: #1E40AF !important;
}

.woocommerce-password-strength.weak,
.woocommerce-password-strength.short {
    background: #FEF2F2 !important;
    color: #991B1B !important;
}

/* Save button full-width on form */
.woocommerce-EditAccountForm > p:last-child .button {
    width: 100% !important;
    padding: 14px 24px !important;
    font-size: 15px !important;
}

/* ==========================================================================
   31.6 LOGIN / REGISTER FORMS
   ========================================================================== */

.woocommerce form.login,
.woocommerce form.register {
    border: 1px solid var(--gk-border-color, #E5E7EB) !important;
    border-radius: var(--gk-radius-lg, 12px) !important;
    padding: 28px !important;
    margin: 0 !important;
    background: #fff !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* Two-column layout */
.woocommerce .col-1,
.woocommerce .col-2 {
    max-width: 100%;
}

.woocommerce .u-columns {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.woocommerce .u-columns .u-column1,
.woocommerce .u-columns .u-column2 {
    flex: 1;
    min-width: 280px;
}

/* Remember me */
.woocommerce form.login .woocommerce-form__label-for-checkbox {
    display: flex !important;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gk-neutral-600, #64748B);
    cursor: pointer;
}

/* Lost password link */
.woocommerce form.login .woocommerce-LostPassword a {
    font-size: 13px;
    font-weight: 500;
    color: var(--gk-primary, #3B82F6);
    text-decoration: none;
    transition: color 150ms;
}

.woocommerce form.login .woocommerce-LostPassword a:hover {
    color: #1D4ED8;
    text-decoration: underline;
}

/* ==========================================================================
   31.7 CART PAGE
   ========================================================================== */

/* Cart item image */
.woocommerce table.cart .product-thumbnail img {
    width: 64px !important;
    height: 64px !important;
    object-fit: cover;
    border-radius: var(--gk-radius-md, 8px) !important;
    border: 1px solid var(--gk-border-color, #E5E7EB);
}

/* Quantity input */
.woocommerce .quantity .qty {
    width: 56px !important;
    height: 42px !important;
    text-align: center !important;
    padding: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border: 1.5px solid var(--gk-border-color, #E2E8F0) !important;
    border-radius: var(--gk-radius-md, 8px) !important;
}

/* Remove item */
.woocommerce a.remove {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: var(--gk-radius-round, 999px) !important;
    background: #FEF2F2 !important;
    color: #EF4444 !important;
    text-decoration: none !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    transition: background 150ms, color 150ms, transform 150ms;
}

.woocommerce a.remove:hover {
    background: #EF4444 !important;
    color: #fff !important;
    transform: scale(1.08);
}

/* Coupon section */
.woocommerce .coupon {
    display: flex !important;
    gap: 10px !important;
    align-items: center;
    flex-wrap: wrap;
}

.woocommerce .coupon label {
    display: none !important;
}

.woocommerce .coupon #coupon_code {
    flex: 1;
    min-width: 160px;
}

/* Cart totals */
.woocommerce .cart_totals {
    border: 1px solid var(--gk-border-color, #E5E7EB) !important;
    border-radius: var(--gk-radius-lg, 12px) !important;
    padding: 24px !important;
    background: var(--gk-neutral-50, #F8FAFC);
}

.woocommerce .cart_totals h2 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--gk-neutral-800, #1E293B) !important;
    margin-bottom: 16px !important;
}

.woocommerce .cart_totals .wc-proceed-to-checkout a.button.alt {
    width: 100% !important;
    padding: 14px 24px !important;
    font-size: 15px !important;
    border-radius: var(--gk-radius-md, 8px) !important;
    background: var(--gk-success, #22C55E) !important;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.25);
}

.woocommerce .cart_totals .wc-proceed-to-checkout a.button.alt:hover {
    background: #16A34A !important;
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.35);
}

/* ==========================================================================
   31.8 CHECKOUT PAGE
   ========================================================================== */

.woocommerce form.checkout {
    font-size: 14px;
}

/* Checkout sections */
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3,
#order_review_heading {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--gk-neutral-800, #1E293B) !important;
    padding-bottom: 12px !important;
    margin-bottom: 20px !important;
    border-bottom: 2px solid var(--gk-border-color, #E5E7EB) !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Payment methods */
.woocommerce-checkout #payment {
    background: var(--gk-neutral-50, #F8FAFC) !important;
    border: 1px solid var(--gk-border-color, #E5E7EB) !important;
    border-radius: var(--gk-radius-lg, 12px) !important;
    padding: 0 !important;
    overflow: hidden;
}

.woocommerce-checkout #payment ul.payment_methods {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    border-bottom: 1px solid var(--gk-border-color, #E5E7EB) !important;
}

.woocommerce-checkout #payment ul.payment_methods li {
    padding: 16px 20px !important;
    margin: 0 !important;
    border-bottom: 1px solid #F1F5F9;
    transition: background 150ms;
}

.woocommerce-checkout #payment ul.payment_methods li:last-child {
    border-bottom: none;
}

.woocommerce-checkout #payment ul.payment_methods li:hover {
    background: #fff;
}

.woocommerce-checkout #payment ul.payment_methods li label {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--gk-neutral-700, #374151) !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.woocommerce-checkout #payment ul.payment_methods li .payment_box {
    padding: 14px 18px !important;
    margin: 12px 0 0 !important;
    background: #fff !important;
    border: 1px solid var(--gk-border-color, #E5E7EB) !important;
    border-radius: var(--gk-radius-md, 8px) !important;
    font-size: 13px;
    color: var(--gk-neutral-600, #64748B);
    line-height: 1.7;
}

.woocommerce-checkout #payment .place-order {
    padding: 20px !important;
}

#place_order {
    width: 100% !important;
    padding: 16px 24px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    background: var(--gk-success, #22C55E) !important;
    border-radius: var(--gk-radius-lg, 12px) !important;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.25);
}

#place_order:hover {
    background: #16A34A !important;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35);
}

/* Privacy policy */
.woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 16px;
}

.woocommerce-terms-and-conditions-wrapper .woocommerce-privacy-policy-text p {
    font-size: 12px !important;
    color: var(--gk-neutral-500, #6B7280) !important;
    line-height: 1.7;
}

/* ==========================================================================
   31.9 PAGINATION
   ========================================================================== */

.woocommerce nav.woocommerce-pagination {
    text-align: center;
    margin: 24px 0;
}

.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex !important;
    gap: 6px;
    padding: 0;
    margin: 0;
    list-style: none;
    border: none !important;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none !important;
    margin: 0 !important;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--gk-neutral-600, #64748B) !important;
    background: #fff !important;
    border: 1.5px solid var(--gk-border-color, #E5E7EB) !important;
    border-radius: var(--gk-radius-md, 8px) !important;
    text-decoration: none !important;
    transition: all 150ms;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: #EFF6FF !important;
    border-color: var(--gk-primary, #3B82F6) !important;
    color: var(--gk-primary, #3B82F6) !important;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--gk-primary, #3B82F6) !important;
    border-color: var(--gk-primary, #3B82F6) !important;
    color: #fff !important;
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.2);
}

/* ==========================================================================
   31.10 PRICE STYLING
   ========================================================================== */

.woocommerce .price,
.woocommerce .amount {
    font-weight: 700 !important;
    color: var(--gk-neutral-800, #1E293B) !important;
}

.woocommerce .price del {
    opacity: 0.45 !important;
    font-size: 0.85em;
    font-weight: 500 !important;
}

.woocommerce .price ins {
    text-decoration: none !important;
    color: #EF4444 !important;
    font-weight: 700 !important;
}

/* ==========================================================================
   31.11 ONSALE BADGE
   ========================================================================== */

.woocommerce span.onsale {
    background: #EF4444 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
    border-radius: var(--gk-radius-sm, 6px) !important;
    min-width: auto !important;
    min-height: auto !important;
    line-height: 1.4 !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
}

/* ==========================================================================
   31.12 STAR RATING
   ========================================================================== */

.woocommerce .star-rating {
    color: #F59E0B !important;
    font-size: 13px;
}

.woocommerce .star-rating::before {
    color: #E5E7EB !important;
}

/* ==========================================================================
   31.13 BREADCRUMB
   ========================================================================== */

.woocommerce .woocommerce-breadcrumb {
    font-size: 13px !important;
    color: var(--gk-neutral-500, #6B7280) !important;
    padding: 12px 0 !important;
    margin-bottom: 16px !important;
}

.woocommerce .woocommerce-breadcrumb a {
    color: var(--gk-primary, #3B82F6) !important;
    text-decoration: none !important;
    font-weight: 500;
}

.woocommerce .woocommerce-breadcrumb a:hover {
    text-decoration: underline !important;
}

/* ==========================================================================
   31.14 LOADING / OVERLAY
   ========================================================================== */

.woocommerce .blockUI.blockOverlay {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(2px);
    border-radius: var(--gk-radius-lg, 12px);
}

.woocommerce .loader,
.woocommerce .blockUI.blockOverlay::before {
    border-color: var(--gk-primary, #3B82F6) transparent transparent !important;
}

/* ==========================================================================
   31.15 RESPONSIVE — GLOBAL
   ========================================================================== */

@media (max-width: 768px) {

    /* Table scrollable */
    .woocommerce table.shop_table {
        display: block !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    /* Login/Register stack */
    .woocommerce .u-columns {
        flex-direction: column;
        gap: 20px;
    }

    .woocommerce .u-columns .u-column1,
    .woocommerce .u-columns .u-column2 {
        min-width: 100%;
    }

    /* Forms */
    .woocommerce form.login,
    .woocommerce form.register {
        padding: 20px !important;
    }

    /* Edit account max-width */
    .woocommerce-EditAccountForm {
        max-width: 100%;
    }

    .woocommerce-EditAccountForm fieldset {
        padding: 18px !important;
    }

    /* Checkout */
    .woocommerce-checkout #payment ul.payment_methods li {
        padding: 14px 16px !important;
    }

    /* Cart */
    .woocommerce .cart_totals {
        padding: 18px !important;
    }

    .woocommerce .coupon {
        width: 100%;
    }

    .woocommerce .coupon #coupon_code {
        min-width: 120px;
    }

    /* Pagination */
    .woocommerce nav.woocommerce-pagination ul li a,
    .woocommerce nav.woocommerce-pagination ul li span {
        min-width: 34px;
        height: 34px;
        font-size: 12px !important;
    }

}

@media (max-width: 480px) {

    /* Cart image smaller */
    .woocommerce table.cart .product-thumbnail img {
        width: 48px !important;
        height: 48px !important;
    }

    .woocommerce .quantity .qty {
        width: 48px !important;
        height: 38px !important;
    }

    #place_order {
        font-size: 14px !important;
        padding: 14px 20px !important;
    }

    .woocommerce-billing-fields h3,
    .woocommerce-shipping-fields h3,
    #order_review_heading {
        font-size: 14px !important;
    }

}
/* ==========================================================================
   GK SMS Subscriptions — Account Tab Styles
   ========================================================================== */

/* --- صفحه اصلی --- */
.gk-subscriptions-page {
    width: 100%;
    direction: rtl;
    font-family: inherit;
}

/* --- کارت --- */
.gk-subscriptions-page .gk-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.gk-subscriptions-page .gk-card-head {
    padding: 20px 24px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.gk-subscriptions-page .gk-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.gk-subscriptions-page .gk-card-title.has-line {
    position: relative;
    padding-bottom: 12px;
}

.gk-subscriptions-page .gk-card-title.has-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 48px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #6366f1, #818cf8);
}

.gk-subscriptions-page .gk-card-body {
    padding: 24px;
}

/* --- حالت خالی --- */
.gk-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    text-align: center;
}

.gk-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.gk-empty-icon .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: #6366f1;
}

.gk-empty-text {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.7;
}

.gk-btn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #6366f1;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 8px;
    background: #eef2ff;
    transition: all 0.2s ease;
}

.gk-btn-link:hover {
    background: #e0e7ff;
    color: #4f46e5;
    text-decoration: none;
}

/* --- متن مبهم --- */
.gk-text-muted {
    font-size: 14px;
    color: #9ca3af;
    text-align: center;
    padding: 32px 16px;
    margin: 0;
}

/* --- لیست اشتراک‌ها --- */
.gk-subs-list {
    display: flex;
    flex-direction: column;
}

/* --- آیتم اشتراک --- */
.gk-sub-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s ease;
}

.gk-sub-item:last-child {
    border-bottom: none;
}

.gk-sub-item:hover {
    background: #fafbfc;
}

/* --- تصویر محصول --- */
.gk-sub-thumb {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.gk-sub-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- جزئیات --- */
.gk-sub-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gk-sub-header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* --- بج نوع اشتراک --- */
.gk-sub-type-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    line-height: 1.6;
    white-space: nowrap;
}

.gk-sub-type-badge.back_in_stock {
    background: #ecfdf5;
    color: #059669;
}

.gk-sub-type-badge.on_sale {
    background: #fef3c7;
    color: #d97706;
}

.gk-sub-type-badge.price_drop {
    background: #ede9fe;
    color: #7c3aed;
}

/* --- وضعیت --- */
.gk-sub-status {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    line-height: 1.6;
    white-space: nowrap;
}

.gk-sub-status.pending {
    background: #dbeafe;
    color: #2563eb;
}

.gk-sub-status.notified {
    background: #d1fae5;
    color: #047857;
}

.gk-sub-status.cancelled {
    background: #fee2e2;
    color: #dc2626;
}

/* --- عنوان محصول --- */
.gk-sub-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.gk-sub-title:hover {
    color: #6366f1;
    text-decoration: none;
}

/* --- متا (تاریخ) --- */
.gk-sub-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.6;
}

.gk-sub-meta .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    color: #d1d5db;
}

/* --- دکمه عملیات --- */
.gk-sub-action {
    flex-shrink: 0;
}

.gk-btn-cancel-sub {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #ef4444;
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    cursor: pointer;
}

.gk-btn-cancel-sub:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
    text-decoration: none;
}

.gk-btn-cancel-sub .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.gk-btn-disabled {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
    color: #9ca3af;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 6px 14px;
    border-radius: 8px;
    white-space: nowrap;
    cursor: default;
}

/* ==========================================================================
   ریسپانسیو
   ========================================================================== */

@media (max-width: 768px) {

    .gk-sub-item {
        flex-wrap: wrap;
        gap: 12px;
        padding: 16px;
    }

    .gk-sub-thumb {
        width: 48px;
        height: 48px;
        border-radius: 8px;
    }

    .gk-sub-details {
        flex: 1;
        min-width: calc(100% - 76px);
    }

    .gk-sub-title {
        white-space: normal;
        overflow: visible;
    }

    .gk-sub-action {
        width: 100%;
        padding-top: 4px;
        border-top: 1px dashed #f0f0f0;
        margin-top: 4px;
    }

    .gk-btn-cancel-sub,
    .gk-btn-disabled {
        width: 100%;
        justify-content: center;
        padding: 8px 14px;
    }
}

@media (max-width: 480px) {

    .gk-subscriptions-page .gk-card-head {
        padding: 16px;
    }

    .gk-sub-item {
        padding: 14px;
    }

    .gk-sub-header {
        gap: 6px;
    }

    .gk-sub-type-badge,
    .gk-sub-status {
        font-size: 10px;
        padding: 2px 8px;
    }

    .gk-sub-title {
        font-size: 13px;
    }

    .gk-empty-state {
        padding: 36px 16px;
    }

    .gk-empty-icon {
        width: 60px;
        height: 60px;
    }

    .gk-empty-icon .dashicons {
        font-size: 26px;
        width: 26px;
        height: 26px;
    }
}
