/*
Theme Name: قالب حرفه ای کالاف
Theme URI: https://emad1401.ir
Author: عماد عزیزیان
Author URI: https://emad1401.ir
Description: بهترین فروشگاه وردپرسی برای فروش محصولات گیمی
Version: 1.0.0
Text Domain: emadgem
*/

/* =========================================================
   VARIABLES
========================================================= */

:root {
    --emad-green: #00ff88;
    --emad-green-dark: #00c96b;

    --emad-black: #050505;
    --emad-dark: #0b0b0b;
    --emad-card: #111111;
    --emad-card-light: #171717;

    --emad-white: #ffffff;
    --emad-gray: #a8a8a8;

    --emad-border: rgba(255,255,255,.08);

    --emad-radius: 18px;
    --emad-container: 1200px;
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: var(--emad-black);
    color: var(--emad-white);
    direction: rtl;
    font-family: Tahoma, Arial, sans-serif;
    line-height: 1.8;
    -webkit-overflow-scrolling: touch;
}

body.emadgem-menu-open,
body.emadgem-cart-modal-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

ul,
ol {
    margin-top: 0;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/* =========================================================
   FOCUS
========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--emad-green);
    outline-offset: 3px;
}


/* =========================================================
   CONTAINERS
========================================================= */

.emadgem-container,
.emadgem-header-container,
.emadgem-footer-container {
    width: min(calc(100% - 40px), var(--emad-container));
    margin-inline: auto;
}


/* =========================================================
   TOP NOTICE
========================================================= */

.emadgem-top-notice {
    position: relative;
    width: 100%;
    min-height: 38px;
    overflow: hidden;
    display: flex;
    align-items: center;

    background: linear-gradient(
        90deg,
        #003d29,
        #001f16,
        #003d29
    );

    color: #fff;
}

.emadgem-top-notice-track {
    display: flex;
    width: max-content;
    direction: rtl;
    animation: emadgem-notice-scroll 22s linear infinite;
}

.emadgem-top-notice-text {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 0 45px;
    font-size: 13px;
    font-weight: 600;
}

.emadgem-top-notice-text b {
    margin: 0 18px;
    color: var(--emad-green);
}

@keyframes emadgem-notice-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(50%);
    }
}


/* =========================================================
   HEADER
========================================================= */

.emadgem-header {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    background: rgba(5,5,5,.97);
    border-bottom: 1px solid var(--emad-border);
}

.emadgem-header-container {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 22px;
}


/* =========================================================
   LOGO
========================================================= */

.emadgem-logo {
    flex: 0 0 auto;
}

.emadgem-logo a,
.emadgem-logo .custom-logo-link {
    display: flex;
    align-items: center;
}

.emadgem-logo a {
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    white-space: nowrap;
}

.emadgem-logo a:hover {
    color: var(--emad-green);
}

.emadgem-logo img,
.emadgem-logo .custom-logo {
    width: auto;
    max-width: 150px;
    max-height: 58px;
    object-fit: contain;
}


/* =========================================================
   SEARCH
========================================================= */

.emadgem-search {
    position: relative;
    flex: 1;
    max-width: 620px;
    margin-inline: auto;
}

.emadgem-search input[type="search"] {
    width: 100%;
    height: 48px;
    padding: 0 18px 0 55px;

    background: var(--emad-card);
    border: 1px solid #292929;
    border-radius: 14px;

    color: #fff;
    font-size: 14px;
    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.emadgem-search input[type="search"]::placeholder {
    color: #777;
}

.emadgem-search input[type="search"]:focus {
    border-color: var(--emad-green);
    box-shadow: 0 0 0 3px rgba(0,255,136,.07);
}

.emadgem-search button {
    position: absolute;
    left: 8px;
    top: 8px;

    width: 32px;
    height: 32px;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 9px;
    background: transparent;

    color: #aaa;
}

.emadgem-search button:hover {
    color: var(--emad-green);
}


/* =========================================================
   HEADER ACTIONS
========================================================= */

.emadgem-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.emadgem-account,
.emadgem-cart {
    position: relative;

    min-height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    color: #ccc;
    text-decoration: none;

    transition:
        color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.emadgem-account {
    padding: 0 13px;

    background: #101010;
    border: 1px solid var(--emad-border);
    border-radius: 12px;
}

.emadgem-cart {
    width: 44px;

    background: #101010;
    border: 1px solid var(--emad-border);
    border-radius: 12px;
}

.emadgem-account:hover,
.emadgem-cart:hover {
    color: var(--emad-green);
    border-color: rgba(0,255,136,.35);
}

.emadgem-cart:hover {
    transform: translateY(-2px);
}

.emadgem-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;

    min-width: 18px;
    height: 18px;
    padding: 0 4px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--emad-green);
    color: #000;

    border-radius: 50px;

    font-size: 10px;
    font-weight: 900;
}


/* =========================================================
   DESKTOP NAV
========================================================= */

.emadgem-navigation {
    border-top: 1px solid rgba(255,255,255,.04);
}

.emadgem-navigation-container {
    width: min(calc(100% - 40px), 1250px);
    margin-inline: auto;
}

.emadgem-menu {
    min-height: 48px;
    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    gap: 5px;

    list-style: none;
}

.emadgem-menu > li {
    position: relative;
    margin: 0;
    padding: 0;
}

.emadgem-menu a {
    display: block;
    padding: 12px 15px;

    color: #aaa;
    font-size: 13px;
    font-weight: 600;

    border-radius: 9px;

    transition:
        color .2s ease,
        background .2s ease;
}

.emadgem-menu a:hover,
.emadgem-menu > li.current-menu-item > a,
.emadgem-menu > li.current-menu-ancestor > a {
    color: var(--emad-green);
    background: rgba(0,255,136,.07);
}


/* =========================================================
   MOBILE TOGGLE
========================================================= */

.emadgem-mobile-toggle {
    display: none;
    align-items: center;
    gap: 7px;

    padding: 8px;

    border: 0;
    background: transparent;
    color: #b4b4b4;

    font-size: 13px;
    font-weight: 600;
}

.emadgem-mobile-toggle svg {
    flex: 0 0 auto;
}


/* =========================================================
   MOBILE MENU
========================================================= */

.emadgem-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 9999;

    visibility: hidden;
    pointer-events: none;
}

.emadgem-mobile-menu.is-open {
    visibility: visible;
    pointer-events: auto;
}

.emadgem-mobile-menu-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0,0,0,.72);

    opacity: 0;

    transition: opacity .25s ease;
}

.emadgem-mobile-menu.is-open .emadgem-mobile-menu-overlay {
    opacity: 1;
}

.emadgem-mobile-drawer {
    position: absolute;
    top: 0;
    right: 0;

    width: min(88%, 360px);
    height: 100%;

    padding: 20px;
    overflow-y: auto;

    background: #101010;
    border-left: 1px solid var(--emad-border);

    transform: translateX(100%);

    transition: transform .28s ease;
}

.emadgem-mobile-menu.is-open .emadgem-mobile-drawer {
    transform: translateX(0);
}

.emadgem-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 20px;

    border-bottom: 1px solid #242424;
}

.emadgem-mobile-logo img {
    width: auto;
    max-width: 125px;
    max-height: 50px;
    object-fit: contain;
}

.emadgem-mobile-close {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 10px;

    background: #1b1b1b;
    color: #aaa;

    font-size: 28px;
}

.emadgem-mobile-close:hover {
    color: var(--emad-green);
}

.emadgem-mobile-navigation {
    padding-top: 15px;
}

.emadgem-mobile-menu-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.emadgem-mobile-menu-list li {
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.emadgem-mobile-menu-list a {
    display: block;
    padding: 15px 8px;

    color: #ddd;
    font-size: 14px;
    font-weight: 600;
}

.emadgem-mobile-menu-list a:hover,
.emadgem-mobile-menu-list .current-menu-item > a {
    color: var(--emad-green);
}

.emadgem-mobile-account-button,
.emadgem-mobile-shop-button {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    margin-top: 12px;
    padding: 0 14px;

    border-radius: 12px;

    text-align: center;
    text-decoration: none;

    font-size: 13px;
    font-weight: 800;
}

.emadgem-mobile-account-button {
    background: var(--emad-green);
    color: #000;
}

.emadgem-mobile-shop-button {
    background: #1c1c1c;
    color: #fff;
}


/* =========================================================
   HERO
========================================================= */

.emadgem-hero {
    position: relative;
    overflow: hidden;

    padding: 100px 0;

    background:
        radial-gradient(
            circle at 80% 40%,
            rgba(0,255,136,.10),
            transparent 35%
        ),
        #080808;
}

.emadgem-hero-content {
    max-width: 720px;
}

.emadgem-hero-label {
    display: inline-block;

    margin-bottom: 18px;
    padding: 7px 14px;

    background: rgba(0,255,136,.06);
    border: 1px solid rgba(0,255,136,.25);
    border-radius: 999px;

    color: var(--emad-green);

    font-size: 13px;
    font-weight: 800;
}

.emadgem-hero h1 {
    margin: 0 0 20px;

    color: #fff;

    font-size: clamp(34px,5vw,62px);
    line-height: 1.2;
    font-weight: 900;
}

.emadgem-hero p {
    max-width: 650px;
    margin: 0 0 32px;

    color: var(--emad-gray);
    font-size: 17px;
}


/* =========================================================
   BUTTONS
========================================================= */

.emadgem-hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.emadgem-button {
    min-height: 50px;
    padding: 0 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    font-size: 14px;
    font-weight: 900;

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease;
}

.emadgem-button:hover {
    transform: translateY(-2px);
}

.emadgem-button-primary {
    background: var(--emad-green);
    color: #000;
}

.emadgem-button-primary:hover {
    background: #36ff9f;
}

.emadgem-button-secondary {
    background: var(--emad-card);
    border: 1px solid var(--emad-border);
    color: #fff;
}

.emadgem-button-secondary:hover {
    border-color: var(--emad-green);
}


/* =========================================================
   SECTIONS
========================================================= */

.emadgem-categories,
.emadgem-products {
    padding: 80px 0;
}

.emadgem-categories {
    background: #080808;
}

.emadgem-products {
    background: var(--emad-black);
}

.emadgem-section-heading {
    margin-bottom: 35px;
    text-align: center;
}

.emadgem-section-heading > span {
    display: block;
    margin-bottom: 8px;

    color: var(--emad-green);
    font-size: 13px;
    font-weight: 800;
}

.emadgem-section-heading h2 {
    margin: 0 0 8px;

    color: #fff;
    font-size: 32px;
    font-weight: 900;
}

.emadgem-section-heading p {
    margin: 0;
    color: var(--emad-gray);
}


/* =========================================================
   CATEGORIES
========================================================= */

.emadgem-category-grid {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 15px;
}

.emadgem-category-card {
    min-height: 170px;
    padding: 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: var(--emad-card);
    border: 1px solid var(--emad-border);
    border-radius: var(--emad-radius);

    text-align: center;

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.emadgem-category-card:hover {
    transform: translateY(-4px);
    background: var(--emad-card-light);
    border-color: rgba(0,255,136,.45);
}

.emadgem-category-image {
    width: 86px;
    height: 86px;
    margin-bottom: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #111;
    border: 1px solid var(--emad-border);
    border-radius: 50%;
}

.emadgem-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.emadgem-category-icon {
    font-size: 38px;
}

.emadgem-category-card h3 {
    margin: 0;

    color: #fff;
    font-size: 14px;
    font-weight: 900;
}

.emadgem-category-card:hover h3 {
    color: var(--emad-green);
}


/* =========================================================
   PRODUCTS GRID
========================================================= */

.emadgem-products-grid,
.emadgem-shop .products {
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 20px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.emadgem-products-grid {
    margin-top: 35px;
}

.emadgem-products-grid::before,
.emadgem-products-grid::after,
.emadgem-shop .products::before,
.emadgem-shop .products::after {
    display: none !important;
}

.emadgem-products-grid .emadgem-product-card,
.emadgem-shop .products .product {
    width: auto !important;
    margin: 0 !important;
    float: none !important;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.emadgem-product-card {
    position: relative;
    overflow: hidden;

    background: var(--emad-card);
    border: 1px solid var(--emad-border);
    border-radius: var(--emad-radius);

    list-style: none;

    transition:
        transform .2s ease,
        border-color .2s ease;
}

.emadgem-product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0,255,136,.4);
}

.emadgem-product-image {
    position: relative;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: #0d0d0d;
}

.emadgem-product-image img {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;

    object-fit: cover;

    transition: transform .25s ease;
}

.emadgem-product-card:hover .emadgem-product-image img {
    transform: scale(1.03);
}

.emadgem-product-info {
    padding: 18px;
}

.emadgem-product-title {
    margin: 0 0 8px !important;

    color: #fff !important;

    font-size: 16px !important;
    line-height: 1.6 !important;
    font-weight: 900 !important;
}

.emadgem-product-description {
    min-height: 42px;
    margin-bottom: 15px;

    color: #888;
    font-size: 12px;
    line-height: 1.7;
}

.emadgem-product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.emadgem-product-price {
    color: var(--emad-green);
    font-size: 14px;
    font-weight: 900;
}

.emadgem-product-price del {
    color: #666;
}

.emadgem-product-price ins {
    color: var(--emad-green);
    text-decoration: none;
}

.emadgem-product-arrow {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: rgba(0,255,136,.08);
    border-radius: 9px;

    color: var(--emad-green);
    font-weight: 900;
}


/* =========================================================
   PRODUCT SINGLE
========================================================= */

.emadgem-single-product {
    padding: 70px 0 90px;
    background: var(--emad-black);
}

.emadgem-product-layout {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 55px;
    align-items: start;
}

.emadgem-single-product-image {
    min-height: 420px;
    padding: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #101010;
    border: 1px solid var(--emad-border);
    border-radius: 20px;
}

.emadgem-single-product-image img {
    max-width: 100%;
    height: auto;
}

.emadgem-single-product-info {
    padding-top: 15px;
}

.emadgem-product-categories {
    margin-bottom: 14px;

    color: var(--emad-green);
    font-size: 12px;
    font-weight: 800;
}

.emadgem-product-categories a {
    color: inherit;
}

.emadgem-single-product-title {
    margin: 0;

    color: #fff;

    font-size: clamp(25px,3vw,38px);
    line-height: 1.5;
    font-weight: 900;
}

.emadgem-single-product-short-description {
    margin-top: 22px;

    color: #aaa;

    font-size: 14px;
    line-height: 2;
}

.emadgem-single-product-price {
    margin-top: 25px;

    color: var(--emad-green);

    font-size: 25px;
    font-weight: 900;
}

.emadgem-single-product-price del {
    color: #777;
    font-size: 15px;
}

.emadgem-single-product-price ins {
    color: var(--emad-green);
    text-decoration: none;
}


/* =========================================================
   ADD TO CART
========================================================= */

.emadgem-single-product-cart {
    margin-top: 28px;
    padding: 22px;

    background: var(--emad-card);
    border: 1px solid var(--emad-border);
    border-radius: 18px;
}

.emadgem-single-product-cart form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.emadgem-single-product-cart .quantity {
    margin: 0;
}

.emadgem-single-product-cart .quantity input,
.woocommerce .quantity .qty {
    width: 65px;
    min-height: 44px;

    padding: 0 8px;

    background: #181818;
    border: 1px solid var(--emad-border);
    border-radius: 8px;

    color: #fff;
    text-align: center;
}

.emadgem-single-product-cart .single_add_to_cart_button {
    min-height: 48px;
    padding: 0 28px;

    background: var(--emad-green);
    border: 0;
    border-radius: 10px;

    color: #000;
    font-size: 13px;
    font-weight: 900;

    transition:
        transform .2s ease,
        background .2s ease;
}

.emadgem-single-product-cart .single_add_to_cart_button:hover {
    background: #fff;
    transform: translateY(-2px);
}

.emadgem-single-product-cart .single_add_to_cart_button.loading {
    opacity: .7;
    cursor: wait;
}

.emadgem-single-product-cart .single_add_to_cart_button.added {
    background: var(--emad-green-dark);
}


/* =========================================================
   VARIABLE PRODUCTS
========================================================= */

.emadgem-single-product-cart .variations {
    width: 100%;
    margin-bottom: 20px;
}

.emadgem-single-product-cart .variations td,
.emadgem-single-product-cart .variations th {
    padding: 8px;
}

.emadgem-single-product-cart .variations select {
    min-height: 45px;
    padding: 0 12px;

    background: #080808;
    border: 1px solid var(--emad-border);
    border-radius: 9px;

    color: #fff;
}

.emadgem-single-product-cart .reset_variations {
    color: var(--emad-green);
}


/* =========================================================
   PRODUCT FEATURES
========================================================= */

.emadgem-product-features {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 10px;
    margin-top: 35px;
}

.emadgem-feature {
    padding: 15px 10px;

    background: #101010;
    border: 1px solid var(--emad-border);
    border-radius: 12px;

    text-align: center;
}

.emadgem-feature span {
    display: block;
    margin-bottom: 8px;

    color: var(--emad-green);
    font-size: 18px;
    font-weight: 900;
}

.emadgem-feature p {
    margin: 0;

    color: #aaa;
    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   PRODUCT DESCRIPTION
========================================================= */

.emadgem-product-description-section {
    max-width: 950px;
    margin: 70px auto 0;
    padding: 35px;

    background: #101010;
    border: 1px solid var(--emad-border);
    border-radius: 20px;
}

.emadgem-description-heading {
    margin-bottom: 25px;
    padding-bottom: 20px;

    border-bottom: 1px solid var(--emad-border);
}

.emadgem-description-heading span {
    color: var(--emad-green);
    font-size: 12px;
    font-weight: 900;
}

.emadgem-description-heading h2 {
    margin: 8px 0 0;

    color: #fff;
    font-size: 25px;
    font-weight: 900;
}

.emadgem-product-description-content {
    color: #bbb;

    font-size: 14px;
    line-height: 2.2;
}

.emadgem-product-description-content h2,
.emadgem-product-description-content h3,
.emadgem-product-description-content h4 {
    margin-top: 30px;
    color: #fff;
}

.emadgem-product-description-content a {
    color: var(--emad-green);
}

.emadgem-product-description-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}


/* =========================================================
   SHOP
========================================================= */

.emadgem-shop,
.emadgem-search-page {
    min-height: 60vh;
    padding: 65px 0 90px;
    background: var(--emad-black);
}

.emadgem-shop-header,
.emadgem-search-header {
    padding: 35px 25px;

    background: #101010;
    border: 1px solid var(--emad-border);
    border-radius: 20px;

    text-align: center;
}

.emadgem-shop-label,
.emadgem-search-header span {
    display: inline-block;

    color: var(--emad-green);
    font-size: 12px;
    font-weight: 900;
}

.emadgem-shop-title {
    margin: 8px 0 0;

    color: #fff;
    font-size: clamp(28px,4vw,42px);
    font-weight: 900;
}

.emadgem-shop-description {
    margin: 15px 0 0;

    color: #999;
    font-size: 14px;
}

.emadgem-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
    margin: 35px 0 20px;
    padding: 15px 18px;

    background: #101010;
    border: 1px solid var(--emad-border);
    border-radius: 12px;
}

.emadgem-result-count {
    color: #999;
    font-size: 13px;
}

.emadgem-ordering select {
    min-height: 40px;
    padding: 0 12px;

    background: #181818;
    border: 1px solid var(--emad-border);
    border-radius: 8px;

    color: #ddd;
    font-size: 12px;
}


/* =========================================================
   PAGINATION
========================================================= */

.emadgem-pagination,
.emadgem-search-pagination {
    margin-top: 40px;
    text-align: center;
}

.emadgem-pagination .page-numbers,
.emadgem-search-pagination .page-numbers {
    min-width: 38px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 3px;
    padding: 0 10px;

    background: #111;
    border: 1px solid var(--emad-border);
    border-radius: 8px;

    color: #ccc;
    font-size: 12px;
    font-weight: 800;
}

.emadgem-pagination .page-numbers:hover,
.emadgem-pagination .page-numbers.current,
.emadgem-search-pagination .page-numbers:hover,
.emadgem-search-pagination .page-numbers.current {
    background: var(--emad-green);
    border-color: var(--emad-green);
    color: #000;
}


/* =========================================================
   MAIN CONTENT
========================================================= */

.emadgem-main {
    min-height: 500px;
    padding: 70px 0;
}

.emadgem-post,
.emadgem-page-content,
.emadgem-single-post {
    max-width: 900px;
    margin-inline: auto;
}

.emadgem-post-title,
.emadgem-page-title,
.emadgem-single-title {
    margin: 0 0 30px;

    color: #fff;

    font-size: clamp(30px,4vw,46px);
    line-height: 1.35;
    font-weight: 900;
}

.emadgem-page-header,
.emadgem-single-header {
    margin-bottom: 30px;
}

.emadgem-single-meta {
    margin-bottom: 15px;
}

.emadgem-single-meta span {
    padding: 5px 10px;

    background: var(--emad-card);
    border: 1px solid var(--emad-border);
    border-radius: 8px;

    color: var(--emad-gray);
    font-size: 12px;
}

.emadgem-single-image {
    margin-bottom: 35px;
    overflow: hidden;
    border-radius: var(--emad-radius);
}

.emadgem-single-image img {
    width: 100%;
}

.emadgem-content,
.emadgem-post-content {
    color: #d5d5d5;

    font-size: 16px;
    line-height: 2;
}

.emadgem-content h2,
.emadgem-content h3,
.emadgem-content h4 {
    margin-top: 35px;
    margin-bottom: 15px;
    color: #fff;
}

.emadgem-content a {
    color: var(--emad-green);
}

.emadgem-content img {
    border-radius: 12px;
}

.emadgem-content ul,
.emadgem-content ol {
    padding-right: 25px;
}


/* =========================================================
   SEARCH PAGE
========================================================= */

.emadgem-search-header h1 {
    margin: 10px 0 0;

    color: #fff;
    font-size: clamp(22px,3vw,32px);
    font-weight: 900;
}

.emadgem-search-empty {
    padding: 60px 25px;

    background: #101010;
    border: 1px solid var(--emad-border);
    border-radius: 18px;

    text-align: center;
}

.emadgem-search-empty-icon {
    margin-bottom: 15px;
    font-size: 35px;
}

.emadgem-search-empty h2 {
    margin: 0;

    color: #fff;
    font-size: 22px;
}

.emadgem-search-empty p {
    margin: 10px 0 25px;

    color: #999;
    font-size: 13px;
}


/* =========================================================
   WOOCOMMERCE GLOBAL
========================================================= */

.woocommerce-cart,
.woocommerce-checkout,
.woocommerce-account {
    min-height: 60vh;
    padding: 65px 0 90px;
}

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-account .woocommerce {
    color: #ddd;
}


/* =========================================================
   WOOCOMMERCE TABLE
========================================================= */

.woocommerce table.shop_table {
    width: 100%;

    background: #101010;
    border: 1px solid var(--emad-border);
    border-radius: 16px;

    border-collapse: separate;
    border-spacing: 0;

    color: #ddd;
    font-size: 13px;

    overflow: hidden;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    padding: 18px;
    border-color: var(--emad-border);
}

.woocommerce table.shop_table th {
    background: #171717;
    color: #fff;
    font-weight: 900;
}

.woocommerce table.shop_table td {
    background: #101010;
}

.woocommerce table.shop_table a:hover {
    color: var(--emad-green);
}

.woocommerce table.shop_table img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
}


/* =========================================================
   WOOCOMMERCE FORMS
========================================================= */

.woocommerce form .form-row {
    margin-bottom: 18px;
}

.woocommerce form .form-row label {
    display: block;
    margin-bottom: 8px;

    color: #ddd;
    font-size: 12px;
    font-weight: 800;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce form input.input-text,
.woocommerce form select {
    width: 100%;
    min-height: 45px;

    padding: 10px 13px;

    background: #181818;
    border: 1px solid var(--emad-border);
    border-radius: 9px;

    color: #fff;
    font-size: 13px;
}

.woocommerce form .form-row textarea {
    min-height: 120px;
    resize: vertical;
}

.woocommerce form .form-row input:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    outline: none;
    border-color: var(--emad-green);
}


/* =========================================================
   WOOCOMMERCE BUTTONS
========================================================= */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .button {
    min-height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 20px;

    background: var(--emad-green);
    border: 0;
    border-radius: 9px;

    color: #000 !important;

    font-size: 12px;
    font-weight: 900;

    transition:
        transform .2s ease,
        background .2s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: #fff;
    color: #000 !important;
    transform: translateY(-2px);
}


/* =========================================================
   CART TOTALS
========================================================= */

.woocommerce .cart-collaterals .cart_totals {
    width: 100%;
    max-width: 450px;

    margin-top: 30px;
    margin-right: auto;

    padding: 25px;

    background: #101010;
    border: 1px solid var(--emad-border);
    border-radius: 16px;
}

.woocommerce .cart_totals h2 {
    margin: 0 0 20px;

    color: #fff;
    font-size: 22px;
    font-weight: 900;
}

.woocommerce .cart_totals table {
    border: 0;
}

.woocommerce .cart_totals th,
.woocommerce .cart_totals td {
    padding: 14px 0;
    border-color: var(--emad-border);
}

.woocommerce .cart_totals th {
    background: transparent;
    color: #aaa;
}

.woocommerce .cart_totals td {
    text-align: left;
}

.woocommerce .order-total .amount {
    color: var(--emad-green);
    font-size: 20px;
    font-weight: 900;
}


/* =========================================================
   CHECKOUT
========================================================= */

.woocommerce .col2-set,
.woocommerce-page .col2-set {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 25px;

    width: 100%;
}

.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-1,
.woocommerce-page .col2-set .col-2 {
    width: 100%;
    float: none;
}

.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce-additional-fields,
#order_review {
    padding: 25px;

    background: #101010;
    border: 1px solid var(--emad-border);
    border-radius: 16px;
}

.woocommerce-checkout h3 {
    margin: 0 0 22px;

    color: #fff;
    font-size: 20px;
    font-weight: 900;
}

.woocommerce-checkout #payment {
    margin-top: 25px;
    padding: 20px;

    background: #101010;
    border: 1px solid var(--emad-border);
    border-radius: 16px;
}

.woocommerce-checkout #payment ul.payment_methods {
    border-color: var(--emad-border);
}

.woocommerce-checkout #payment div.payment_box {
    background: #181818;
    color: #aaa;
}

.woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: #181818;
}

.woocommerce-checkout #place_order {
    width: 100%;
    min-height: 52px;
    margin-top: 20px;
}


/* =========================================================
   CHECKOUT WALLET
========================================================= */

.emadgem-checkout-wallet {
    width: 100%;
    margin: 15px 0;
}

.emadgem-wallet-checkout-row {
    display: flex;
    align-items: center;
    gap: 12px;

    width: 100%;
    padding: 16px;

    background: #111;
    border: 1px solid #292929;
    border-radius: 14px;

    cursor: pointer;
}

.emadgem-wallet-checkout-row input {
    width: 19px;
    height: 19px;
    margin: 0;
    flex: 0 0 19px;

    accent-color: var(--emad-green);
}

.emadgem-wallet-check-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.emadgem-wallet-check-content strong {
    color: #fff;
    font-size: 14px;
}

.emadgem-wallet-check-content small {
    color: #888;
    font-size: 12px;
}


/* =========================================================
   WOOCOMMERCE MESSAGES
========================================================= */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    margin-bottom: 25px;
    padding: 16px 20px;

    background: #101010;
    border: 1px solid var(--emad-border);
    border-radius: 12px;

    color: #ddd;
    font-size: 13px;
}

.woocommerce-message {
    border-top-color: var(--emad-green);
}

.woocommerce-info {
    border-top-color: #4da6ff;
}

.woocommerce-error {
    border-top-color: #ff5555;
}


/* =========================================================
   MY ACCOUNT
========================================================= */

.woocommerce-account .woocommerce {
    max-width: 1100px;
    margin: 0 auto;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 240px;
    float: right;

    padding: 15px;

    background: #101010;
    border: 1px solid var(--emad-border);
    border-radius: 16px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0 0 6px;
}

.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
    margin-bottom: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 13px 14px;

    border-radius: 9px;

    color: #aaa;

    font-size: 12px;
    font-weight: 800;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    background: rgba(0,255,136,.08);
    color: var(--emad-green);
}

.woocommerce-account .woocommerce-MyAccount-content {
    width: calc(100% - 265px);
    float: left;

    padding: 28px;

    background: #101010;
    border: 1px solid var(--emad-border);
    border-radius: 16px;

    color: #bbb;
    font-size: 13px;
    line-height: 2;
}

.woocommerce-account .woocommerce-MyAccount-content strong {
    color: #fff;
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 900;
}

.woocommerce-account .u-columns {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 25px;
}

.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
    width: 100%;
    padding: 28px;

    background: #101010;
    border: 1px solid var(--emad-border);
    border-radius: 16px;
}

.woocommerce-account .u-column1 h2,
.woocommerce-account .u-column2 h2 {
    margin-top: 0;

    color: #fff;
    font-size: 22px;
    font-weight: 900;
}

.woocommerce-account form.login,
.woocommerce-account form.register {
    margin: 0;
    padding: 0;
    border: 0;
}

.woocommerce-account .woocommerce-LostPassword a {
    color: var(--emad-green);
}


/* =========================================================
   FOOTER
========================================================= */

.emadgem-footer {
    margin-top: 50px;

    background: #080808;
    color: #fff;

    border-top: 1px solid rgba(255,255,255,.06);
}

.emadgem-footer-top,
.emadgem-footer-info,
.emadgem-footer-content,
.emadgem-footer-copyright {
    width: min(calc(100% - 40px), var(--emad-container));
    margin-inline: auto;
}

.emadgem-footer-top {
    min-height: 150px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
    padding: 35px 0;

    border-bottom: 1px solid var(--emad-border);
}

.emadgem-footer-logo img {
    width: auto;
    max-width: 160px;
    max-height: 70px;
}

.emadgem-footer-logo a {
    color: #fff;
    font-size: 20px;
    font-weight: 900;
}

.emadgem-footer-info {
    min-height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    border-bottom: 1px solid rgba(255,255,255,.05);

    color: #aaa;
    font-size: 13px;

    text-align: center;
}

.emadgem-footer-info strong {
    color: var(--emad-green);
}

.emadgem-footer-divider {
    color: #333;
}

.emadgem-footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 45px;

    padding: 45px 0;
}

.emadgem-footer-column {
    min-width: 0;
}

.emadgem-footer-column h2,
.emadgem-footer-column h3 {
    position: relative;

    margin: 0 0 20px;
    padding-right: 12px;

    color: #fff;

    font-size: 17px;
    font-weight: 800;
}

.emadgem-footer-column h2::before,
.emadgem-footer-column h3::before {
    content: "";

    position: absolute;
    right: 0;
    top: 4px;

    width: 3px;
    height: 16px;

    background: var(--emad-green);
    border-radius: 5px;
}

.emadgem-footer-about-text {
    max-height: 110px;
    overflow: hidden;

    color: #999;

    font-size: 13px;
    line-height: 2.1;

    transition: max-height .35s ease;
}

.emadgem-footer-about.is-open .emadgem-footer-about-text,
.emadgem-footer-about-text.is-open {
    max-height: 1000px;
}

.emadgem-footer-about-text p {
    margin: 0 0 10px;
}

.emadgem-about-toggle {
    margin-top: 12px;
    padding: 7px 15px;

    border: 1px solid rgba(0,255,136,.35);
    border-radius: 8px;

    background: transparent;
    color: var(--emad-green);

    font-size: 12px;
    font-weight: 700;
}

.emadgem-about-toggle:hover {
    background: var(--emad-green);
    color: #000;
}

.emadgem-footer-links,
.emadgem-footer-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

.emadgem-footer-links li,
.emadgem-footer-nav li {
    margin-bottom: 11px;
}

.emadgem-footer-links a,
.emadgem-footer-nav a {
    color: #999;
    font-size: 13px;

    transition: color .2s ease;
}

.emadgem-footer-links a:hover,
.emadgem-footer-nav a:hover {
    color: var(--emad-green);
}


/* =========================================================
   FOOTER SYMBOLS
========================================================= */

.emadgem-symbols-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.emadgem-symbol {
    width: 88px;
    min-height: 88px;
    padding: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #111;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 12px;

    transition:
        transform .2s ease,
        border-color .2s ease;
}

.emadgem-symbol:hover {
    transform: translateY(-3px);
    border-color: rgba(0,255,136,.4);
}

.emadgem-symbol img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    width: auto;
    max-width: 100%;
    max-height: 75px;

    object-fit: contain;
}

.emadgem-symbols-grid .emadgem-symbol:last-child img {
    width: 120px;
    height: 120px;
    max-height: 120px;
}


/* =========================================================
   BACK TO TOP
========================================================= */

.emadgem-back-top {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 11px 17px;

    border: 1px solid rgba(0,255,136,.35);
    border-radius: 10px;

    background: rgba(0,255,136,.06);
    color: var(--emad-green);

    font-size: 13px;
    font-weight: 700;

    transition:
        transform .2s ease,
        background .2s ease;
}

.emadgem-back-top:hover {
    transform: translateY(-2px);
    background: var(--emad-green);
    color: #000;
}

.emadgem-back-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    border-radius: 50%;
    background: var(--emad-green);
    color: #000;
    font-weight: 900;
}


/* =========================================================
   FOOTER COPYRIGHT
========================================================= */

.emadgem-footer-copyright {
    padding: 20px 0 25px;

    border-top: 1px solid rgba(255,255,255,.05);

    color: #666;
    font-size: 11px;
    line-height: 1.9;

    text-align: center;
}

.emadgem-footer-copyright p {
    margin: 0 0 5px;
}

.emadgem-footer-copyright span {
    color: #444;
}


/* =========================================================
   CART SUCCESS MODAL
========================================================= */

.emadgem-cart-success {
    position: fixed;
    inset: 0;
    z-index: 100000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    visibility: hidden;
    pointer-events: none;
}

.emadgem-cart-success.is-open {
    visibility: visible;
    pointer-events: auto;
}

.emadgem-cart-success-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0,0,0,.48);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    opacity: 0;

    transition: opacity .3s ease;
}

.emadgem-cart-success.is-open .emadgem-cart-success-overlay {
    opacity: 1;
}

.emadgem-cart-success-box {
    position: relative;
    z-index: 2;

    width: min(470px,100%);

    padding: 30px;

    background: #fff;
    color: #111;

    border-radius: 24px;

    box-shadow: 0 30px 80px rgba(0,0,0,.35);

    transform: translateY(25px) scale(.96);
    opacity: 0;

    transition:
        transform .3s ease,
        opacity .3s ease;
}

.emadgem-cart-success.is-open .emadgem-cart-success-box {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.emadgem-cart-success-close {
    position: absolute;
    top: 12px;
    left: 12px;

    width: 34px;
    height: 34px;

    border: 0;
    border-radius: 10px;

    background: #f1f1f1;
    color: #555;

    font-size: 24px;
}

.emadgem-cart-success-check {
    width: 65px;
    height: 65px;
    margin: 0 auto 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--emad-green);
    color: #000;

    font-size: 34px;
    font-weight: 900;

    animation: emadgem-success-pop .45s ease;
}

@keyframes emadgem-success-pop {
    0% {
        transform: scale(.4);
        opacity: 0;
    }

    70% {
        transform: scale(1.12);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.emadgem-cart-success-title {
    margin-bottom: 8px;

    text-align: center;

    font-size: 22px;
    font-weight: 800;
}

.emadgem-cart-success-message {
    margin-bottom: 24px;

    color: #777;

    font-size: 14px;
    text-align: center;
}

.emadgem-cart-success-product {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 22px;
    padding: 14px;

    background: #f6f6f6;
    border-radius: 16px;
}

.emadgem-cart-success-image {
    width: 70px;
    height: 70px;
    flex: 0 0 70px;

    overflow: hidden;

    background: #fff;
    border-radius: 13px;
}

.emadgem-cart-success-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.emadgem-cart-success-info {
    min-width: 0;
}

.emadgem-cart-success-product-title {
    margin-bottom: 6px;

    font-size: 14px;
    font-weight: 800;
    line-height: 1.7;
}

.emadgem-cart-success-price {
    color: #00a95b;
    font-size: 14px;
    font-weight: 800;
}

.emadgem-cart-success-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.emadgem-cart-success-cart,
.emadgem-cart-success-continue {
    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 15px;

    border-radius: 13px;

    font-size: 13px;
    font-weight: 800;

    text-align: center;
}

.emadgem-cart-success-cart {
    background: #080808;
    color: #fff;
}

.emadgem-cart-success-cart:hover {
    background: var(--emad-green);
    color: #000;
}

.emadgem-cart-success-continue {
    border: 1px solid #ddd;
    background: #fff;
    color: #222;
}

.emadgem-cart-success-continue:hover {
    border-color: var(--emad-green);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .emadgem-products-grid,
    .emadgem-shop .products {
        grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    }

    .emadgem-category-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }

}


/* =========================================================
   HEADER MOBILE / TABLET
========================================================= */

@media (max-width: 900px) {

    .emadgem-header-container {
        min-height: 68px;
        gap: 12px;
    }

    .emadgem-mobile-toggle {
        display: inline-flex;
        flex: 0 0 auto;
    }

    .emadgem-navigation,
    .emadgem-search {
        display: none;
    }

    .emadgem-logo {
        flex: 1;
        min-width: 0;
        justify-content: center;
    }

    .emadgem-logo img,
    .emadgem-logo .custom-logo {
        max-width: 120px;
        max-height: 48px;
        margin-inline: auto;
    }

    .emadgem-header-actions {
        flex: 0 0 auto;
    }

    .emadgem-account {
        display: none;
    }

    .emadgem-cart {
        width: 42px;
        height: 42px;
    }

    .emadgem-product-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .emadgem-single-product-info {
        padding-top: 0;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content {
        width: 100%;
        float: none;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        margin-bottom: 20px;
    }

    .woocommerce .col2-set,
    .woocommerce-page .col2-set,
    .woocommerce-account .u-columns {
        grid-template-columns: 1fr;
    }

    .emadgem-footer-content {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .emadgem-container,
    .emadgem-header-container,
    .emadgem-footer-container,
    .emadgem-footer-top,
    .emadgem-footer-info,
    .emadgem-footer-content,
    .emadgem-footer-copyright {
        width: calc(100% - 24px);
    }

    .emadgem-top-notice {
        min-height: 34px;
    }

    .emadgem-top-notice-text {
        padding: 0 25px;
        font-size: 11px;
    }

    .emadgem-hero {
        padding: 60px 0;
    }

    .emadgem-hero h1 {
        font-size: 35px;
    }

    .emadgem-hero p {
        font-size: 15px;
    }

    .emadgem-hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .emadgem-button {
        width: 100%;
    }

    .emadgem-categories,
    .emadgem-products {
        padding: 60px 0;
    }

    .emadgem-section-heading h2 {
        font-size: 26px;
    }

    .emadgem-category-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 10px;
    }

    .emadgem-category-card {
        min-height: 145px;
    }

    .emadgem-category-image {
        width: 72px;
        height: 72px;
        margin-bottom: 12px;
    }

    .emadgem-category-card h3 {
        font-size: 12px;
    }

    .emadgem-products-grid,
    .emadgem-shop .products {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
        gap: 12px !important;
    }

    .emadgem-product-info {
        padding: 12px;
    }

    .emadgem-product-title {
        font-size: 13px !important;
    }

    .emadgem-product-description {
        font-size: 11px;
    }

    .emadgem-product-price {
        font-size: 12px;
    }

    .emadgem-shop {
        padding: 45px 0 65px;
    }

    .emadgem-shop-header {
        padding: 28px 18px;
    }

    .emadgem-shop-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .emadgem-ordering select {
        width: 100%;
    }

    .emadgem-single-product {
        padding: 45px 0 60px;
    }

    .emadgem-single-product-image {
        min-height: 280px;
        padding: 18px;
    }

    .emadgem-single-product-title {
        font-size: 30px;
    }

    .emadgem-single-product-cart {
        padding: 15px;
    }

    .emadgem-single-product-cart form.cart {
        flex-direction: column;
        align-items: stretch;
    }

    .emadgem-single-product-cart .quantity,
    .emadgem-single-product-cart .quantity input,
    .emadgem-single-product-cart .single_add_to_cart_button {
        width: 100%;
    }

    .emadgem-product-features {
        gap: 7px;
    }

    .emadgem-feature {
        padding: 12px 6px;
    }

    .emadgem-product-description-section {
        margin-top: 45px;
        padding: 24px 18px;
    }

    .woocommerce-cart,
    .woocommerce-checkout,
    .woocommerce-account {
        padding: 40px 0 60px;
    }

    .woocommerce table.shop_table {
        font-size: 11px;
    }

    .woocommerce table.shop_table th,
    .woocommerce table.shop_table td {
        padding: 10px 7px;
    }

    .woocommerce table.shop_table img {
        width: 48px;
        height: 48px;
    }

    .woocommerce .cart-collaterals .cart_totals {
        max-width: 100%;
    }

    .woocommerce-billing-fields,
    .woocommerce-shipping-fields,
    .woocommerce-additional-fields,
    #order_review {
        padding: 18px;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 20px;
    }

    .emadgem-footer-top {
        min-height: auto;
        padding: 25px 0;

        flex-direction: column;
        justify-content: center;

        gap: 25px;
    }

    .emadgem-footer-info {
        min-height: auto;
        padding: 18px 0;

        flex-direction: column;
        gap: 8px;
    }

    .emadgem-footer-divider {
        display: none;
    }

    .emadgem-footer-content {
        padding: 35px 0;
        gap: 30px;
        text-align: center;
    }

    .emadgem-footer-column h2,
    .emadgem-footer-column h3 {
        text-align: center;
    }

    .emadgem-footer-about-text {
        text-align: center;
    }

    .emadgem-about-toggle {
        margin-inline: auto;
    }

    .emadgem-symbols-grid {
        justify-content: center;
    }

    .emadgem-cart-success {
        padding: 14px;
    }

    .emadgem-cart-success-box {
        padding: 24px 18px;
        border-radius: 20px;
    }

    .emadgem-cart-success-title {
        font-size: 19px;
    }

    .emadgem-cart-success-actions {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 500px) {

    .emadgem-header-container {
        width: calc(100% - 20px);
    }

    .emadgem-mobile-toggle,
    .emadgem-cart {
        width: 40px;
        height: 40px;
    }

    .emadgem-logo img,
    .emadgem-logo .custom-logo {
        max-width: 105px;
        max-height: 45px;
    }

    .emadgem-single-product-title {
        font-size: 27px;
    }

    .emadgem-footer-top,
    .emadgem-footer-info,
    .emadgem-footer-content,
    .emadgem-footer-copyright {
        width: calc(100% - 30px);
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
/* =========================================================
   EmadGem 404
========================================================= */

.emadgem-404-page {
    min-height: 70vh;
    padding: 80px 0 100px;

    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(0,255,136,.07),
            transparent 38%
        ),
        var(--emad-black);
}


.emadgem-404-card {
    width: min(100%, 850px);

    margin: 0 auto;
    padding: 50px 35px;

    background: rgba(17,17,17,.92);

    border: 1px solid var(--emad-border);
    border-radius: 24px;

    text-align: center;

    box-shadow:
        0 25px 70px rgba(0,0,0,.28);
}


/* =========================================================
   Illustration
========================================================= */

.emadgem-404-illustration {
    width: min(100%, 500px);

    margin: 0 auto 15px;
}

.emadgem-404-svg {
    display: block;

    width: 100%;
    height: auto;
}


/* =========================================================
   Label
========================================================= */

.emadgem-404-label {
    display: inline-block;

    margin-bottom: 12px;
    padding: 6px 13px;

    background: rgba(0,255,136,.06);

    border: 1px solid rgba(0,255,136,.25);
    border-radius: 999px;

    color: var(--emad-green);

    font-size: 12px;
    font-weight: 900;
}


/* =========================================================
   Title
========================================================= */

.emadgem-404-content h1 {
    margin: 0 0 12px;

    color: #fff;

    font-size: clamp(26px,4vw,42px);
    line-height: 1.4;

    font-weight: 900;
}

.emadgem-404-content p {
    max-width: 610px;

    margin: 0 auto;

    color: #999;

    font-size: 14px;
    line-height: 2;
}


/* =========================================================
   Buttons
========================================================= */

.emadgem-404-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 28px;
}

.emadgem-404-primary,
.emadgem-404-secondary {
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 22px;

    border-radius: 11px;

    font-size: 13px;
    font-weight: 900;

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease;
}

.emadgem-404-primary {
    background: var(--emad-green);
    color: #000;
}

.emadgem-404-primary:hover {
    background: #36ff9f;
    transform: translateY(-2px);
}

.emadgem-404-secondary {
    background: #151515;

    border: 1px solid var(--emad-border);

    color: #fff;
}

.emadgem-404-secondary:hover {
    border-color: var(--emad-green);
    color: var(--emad-green);
    transform: translateY(-2px);
}


/* =========================================================
   Search
========================================================= */

.emadgem-404-search {
    position: relative;

    width: min(100%, 560px);

    margin: 28px auto 0;
}

.emadgem-404-search input {
    width: 100%;
    height: 50px;

    padding: 0 18px 0 58px;

    background: #0d0d0d;

    border: 1px solid #292929;
    border-radius: 12px;

    color: #fff;

    font-family: inherit;
    font-size: 13px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.emadgem-404-search input::placeholder {
    color: #666;
}

.emadgem-404-search input:focus {
    border-color: var(--emad-green);

    box-shadow:
        0 0 0 3px rgba(0,255,136,.06);
}

.emadgem-404-search button {
    position: absolute;

    left: 7px;
    top: 7px;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 9px;

    background: transparent;
    color: #aaa;
}

.emadgem-404-search button:hover {
    color: var(--emad-green);
}


/* =========================================================
   Mobile
========================================================= */

@media (max-width: 700px) {

    .emadgem-404-page {
        min-height: 65vh;
        padding: 50px 0 70px;
    }

    .emadgem-404-card {
        padding: 30px 18px;

        border-radius: 20px;
    }

    .emadgem-404-illustration {
        margin-bottom: 5px;
    }

    .emadgem-404-content h1 {
        font-size: 27px;
    }

    .emadgem-404-content p {
        font-size: 13px;
    }

    .emadgem-404-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .emadgem-404-primary,
    .emadgem-404-secondary {
        width: 100%;
    }

    .emadgem-404-search {
        margin-top: 20px;
    }

}


/* =========================================================
   Reduced Motion
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .emadgem-404-primary,
    .emadgem-404-secondary,
    .emadgem-404-search input {
        transition: none;
    }

}
/* ========================================
   EmadGem - Single Blog
======================================== */

.emadgem-single-post {
	padding: 45px 0 80px;
}

.emadgem-breadcrumb {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 9px;
	margin-bottom: 30px;
	font-size: 14px;
	color: var(--emad-gray);
	direction: rtl;
}

.emadgem-breadcrumb a {
	color: var(--emad-green);
	text-decoration: none;
}

.emadgem-breadcrumb a:hover {
	color: var(--emad-white);
}

.emadgem-breadcrumb-current {
	max-width: 500px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.emadgem-post-layout {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 30px;
	align-items: start;
	direction: ltr;
}

/* Sidebar */

.emadgem-post-sidebar {
	direction: rtl;
	position: sticky;
	top: 25px;
}

.emadgem-sidebar-box {
	margin-bottom: 20px;
	padding: 20px;
	background: rgba(255, 255, 255, .055);
	border: 1px solid rgba(255, 255, 255, .09);
	border-radius: 18px;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.emadgem-sidebar-box h2 {
	margin: 0 0 17px;
	font-size: 17px;
	color: var(--emad-white);
}

.emadgem-post-search {
	display: flex;
	position: relative;
}

.emadgem-post-search input[type="search"] {
	width: 100%;
	height: 45px;
	padding: 0 14px 0 48px;
	border: 1px solid var(--emad-border);
	border-radius: 11px;
	outline: none;
	background: rgba(0, 0, 0, .35);
	color: #fff;
	font-family: inherit;
}

.emadgem-post-search button {
	position: absolute;
	left: 5px;
	top: 5px;
	width: 35px;
	height: 35px;
	border: 0;
	border-radius: 9px;
	background: var(--emad-green);
	color: #000;
	cursor: pointer;
	font-size: 18px;
}

.emadgem-sidebar-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.emadgem-sidebar-list li {
	margin-bottom: 8px;
}

.emadgem-sidebar-list li:last-child {
	margin-bottom: 0;
}

.emadgem-sidebar-list a {
	display: block;
	padding: 9px 10px;
	border-radius: 9px;
	color: var(--emad-gray);
	text-decoration: none;
	background: rgba(255, 255, 255, .025);
}

.emadgem-sidebar-list a:hover {
	color: var(--emad-green);
	background: rgba(0, 255, 136, .05);
}

.emadgem-latest-post {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 13px;
	text-decoration: none;
}

.emadgem-latest-post:last-child {
	margin-bottom: 0;
}

.emadgem-latest-post-image {
	flex: 0 0 60px;
	height: 55px;
	overflow: hidden;
	border-radius: 9px;
}

.emadgem-latest-post-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.emadgem-latest-post-info {
	min-width: 0;
}

.emadgem-latest-post-info h3 {
	margin: 0 0 5px;
	font-size: 13px;
	line-height: 1.6;
	color: var(--emad-white);
}

.emadgem-latest-post-info span {
	font-size: 11px;
	color: var(--emad-gray);
}

.emadgem-ad-placeholder {
	min-height: 170px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 7px;
	border: 1px dashed rgba(255, 255, 255, .12);
	border-radius: 12px;
	color: var(--emad-gray);
	text-align: center;
}

.emadgem-ad-placeholder span {
	color: var(--emad-green);
	font-weight: 700;
}

.emadgem-ad-placeholder small {
	font-size: 11px;
}

.emadgem-empty-box {
	padding: 18px;
	text-align: center;
	color: var(--emad-gray);
	border-radius: 11px;
	background: rgba(255, 255, 255, .025);
}

.emadgem-random-products {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	padding-bottom: 5px;
	scrollbar-width: thin;
}

.emadgem-random-product {
	flex: 0 0 105px;
	text-decoration: none;
}

.emadgem-random-product img {
	display: block;
	width: 105px;
	height: 90px;
	object-fit: cover;
	border-radius: 10px;
	margin-bottom: 7px;
}

.emadgem-random-product span {
	display: block;
	font-size: 12px;
	line-height: 1.6;
	color: var(--emad-white);
}

/* Article */

.emadgem-post-content {
	min-width: 0;
	direction: rtl;
}

.emadgem-post-header-glass {
	padding: 30px;
	margin-bottom: 20px;
	background: rgba(255, 255, 255, .065);
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 22px;
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	box-shadow: 0 18px 50px rgba(0, 0, 0, .16);
}

.emadgem-post-category {
	display: inline-flex;
	padding: 6px 12px;
	margin-bottom: 14px;
	border-radius: 50px;
	background: rgba(0, 255, 136, .1);
	color: var(--emad-green);
	font-size: 12px;
	font-weight: 700;
}

.emadgem-post-title {
	margin: 0 0 18px;
	font-size: clamp(28px, 4vw, 44px);
	line-height: 1.45;
	font-weight: 900;
	color: var(--emad-white);
}

.emadgem-post-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 20px;
	color: var(--emad-gray);
	font-size: 13px;
}

.emadgem-post-meta span {
	position: relative;
}

.emadgem-post-meta strong {
	color: var(--emad-white);
}

.emadgem-post-featured-image {
	margin: 0 0 25px;
	overflow: hidden;
	border-radius: 22px;
	background: #0b0b0b;
}

.emadgem-post-featured-image img {
	display: block;
	width: 100%;
	height: auto;
}

.emadgem-post-body {
	padding: 28px;
	background: rgba(255, 255, 255, .035);
	border: 1px solid rgba(255, 255, 255, .07);
	border-radius: 20px;
	color: #e8e8e8;
	font-size: 17px;
	line-height: 2.15;
}

.emadgem-post-body h2,
.emadgem-post-body h3,
.emadgem-post-body h4 {
	margin-top: 30px;
	color: var(--emad-white);
	line-height: 1.7;
}

.emadgem-post-body a {
	color: var(--emad-green);
}

.emadgem-post-body img {
	max-width: 100%;
	height: auto;
	border-radius: 14px;
}

.emadgem-post-body blockquote {
	margin: 25px 0;
	padding: 18px 20px;
	border-right: 3px solid var(--emad-green);
	background: rgba(0, 255, 136, .04);
	border-radius: 10px;
	color: #ddd;
}

.emadgem-post-footer-meta {
	margin-top: 22px;
	color: var(--emad-gray);
}

.emadgem-post-categories a {
	color: var(--emad-green);
	text-decoration: none;
}

.emadgem-category-separator {
	color: var(--emad-gray);
}

/* Share */

.emadgem-post-share {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	flex-wrap: wrap;
	margin-top: 20px;
	padding: 18px 20px;
	background: rgba(255, 255, 255, .04);
	border: 1px solid var(--emad-border);
	border-radius: 16px;
}

.emadgem-share-title {
	color: var(--emad-white);
	font-weight: 700;
}

.emadgem-share-buttons {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.emadgem-share-buttons a,
.emadgem-share-buttons button {
	border: 0;
	padding: 9px 13px;
	border-radius: 9px;
	background: rgba(255, 255, 255, .07);
	color: #fff;
	text-decoration: none;
	font-family: inherit;
	cursor: pointer;
}

.emadgem-share-buttons a:hover,
.emadgem-share-buttons button:hover {
	background: var(--emad-green);
	color: #000;
}

/* Navigation */

.emadgem-post-navigation {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
	margin-top: 25px;
}

.emadgem-post-nav-item {
	padding: 18px;
	background: rgba(255, 255, 255, .04);
	border: 1px solid var(--emad-border);
	border-radius: 16px;
}

.emadgem-post-nav-item span {
	display: block;
	margin-bottom: 8px;
	color: var(--emad-gray);
	font-size: 12px;
}

.emadgem-post-nav-item a {
	color: var(--emad-white);
	font-weight: 700;
	line-height: 1.7;
	text-decoration: none;
}

.emadgem-post-nav-item a:hover {
	color: var(--emad-green);
}

/* Author */

.emadgem-post-author {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-top: 25px;
	padding: 20px;
	background: rgba(255, 255, 255, .04);
	border: 1px solid var(--emad-border);
	border-radius: 16px;
}

.emadgem-author-avatar img {
	display: block;
	border-radius: 50%;
}

.emadgem-author-info span {
	display: block;
	margin-bottom: 5px;
	font-size: 12px;
	color: var(--emad-gray);
}

.emadgem-author-info strong {
	color: var(--emad-white);
}

/* Related */

.emadgem-related-posts {
	margin-top: 45px;
}

.emadgem-related-posts > h2 {
	margin: 0 0 20px;
	color: var(--emad-white);
	font-size: 25px;
}

.emadgem-related-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
}

.emadgem-related-card {
	overflow: hidden;
	background: rgba(255, 255, 255, .04);
	border: 1px solid var(--emad-border);
	border-radius: 16px;
}

.emadgem-related-image {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.emadgem-related-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.emadgem-related-content {
	padding: 17px;
}

.emadgem-related-content h3 {
	margin: 0 0 7px;
	font-size: 17px;
	line-height: 1.6;
}

.emadgem-related-content h3 a {
	color: var(--emad-white);
	text-decoration: none;
}

.emadgem-related-content h3 a:hover {
	color: var(--emad-green);
}

.emadgem-related-content span {
	display: block;
	margin-bottom: 8px;
	font-size: 11px;
	color: var(--emad-gray);
}

.emadgem-related-content p {
	margin: 0;
	color: var(--emad-gray);
	font-size: 13px;
	line-height: 1.8;
}

/* Comments */

.emadgem-post-comments {
	margin-top: 50px;
	padding: 28px;
	background: rgba(255, 255, 255, .035);
	border: 1px solid var(--emad-border);
	border-radius: 20px;
}

.emadgem-comments-header h2 {
	margin: 0 0 8px;
	color: var(--emad-white);
	font-size: 25px;
}

.emadgem-comments-header p {
	margin: 0 0 25px;
	color: var(--emad-gray);
}

.emadgem-post-comments .comment-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Responsive */

@media (max-width: 900px) {

	.emadgem-post-layout {
		grid-template-columns: 1fr;
	}

	.emadgem-post-sidebar {
		position: static;
		order: 2;
	}

	.emadgem-post-content {
		order: 1;
	}

	.emadgem-sidebar-box {
		margin-bottom: 15px;
	}

}

@media (max-width: 600px) {

	.emadgem-single-post {
		padding: 30px 0 55px;
	}

	.emadgem-post-header-glass {
		padding: 21px;
		border-radius: 18px;
	}

	.emadgem-post-title {
		font-size: 27px;
	}

	.emadgem-post-meta {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}

	.emadgem-post-featured-image {
		border-radius: 17px;
	}

	.emadgem-post-body {
		padding: 20px;
		font-size: 16px;
		line-height: 2;
	}

	.emadgem-post-share {
		align-items: flex-start;
		flex-direction: column;
	}

	.emadgem-post-navigation {
		grid-template-columns: 1fr;
	}

	.emadgem-related-grid {
		grid-template-columns: 1fr;
	}

	.emadgem-post-comments {
		padding: 20px;
	}

}
/* =========================================
   Article Two Column Layout
========================================= */

.emadgem-article-columns {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        340px;

    gap: 30px;

    width: 100%;

    align-items: start;
}


/* =========================================
   Main Article - RIGHT
========================================= */

.emadgem-article-main {
    min-width: 0;
    width: 100%;
}


/* =========================================
   Sidebar - LEFT
========================================= */

.emadgem-article-sidebar {
    width: 100%;

    position: sticky;

    top: 25px;

    display: flex;

    flex-direction: column;

    gap: 20px;
}


/* =========================================
   Article Header
========================================= */

.emadgem-post-header {
    padding: 30px;

    margin-bottom: 25px;

    background: #0b0f0d;

    border: 1px solid rgba(0, 255, 136, 0.15);

    border-radius: 18px;
}


.emadgem-post-title {
    margin: 15px 0;

    color: #ffffff;

    font-size: clamp(28px, 4vw, 46px);

    line-height: 1.4;

    font-weight: 900;
}


.emadgem-post-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    color: #89958e;

    font-size: 13px;
}


.emadgem-post-meta strong {
    color: #00ff88;
}


/* =========================================
   Featured Image
========================================= */

.emadgem-post-featured-image {
    width: 100%;

    margin: 0 0 25px;

    overflow: hidden;

    border-radius: 18px;

    background: #080b0a;
}


.emadgem-post-featured-image img {
    display: block;

    width: 100%;

    height: auto;

    margin: 0;
}


/* =========================================
   Article Text
========================================= */

.emadgem-post-body {
    width: 100%;

    padding: 35px;

    box-sizing: border-box;

    background: #0b0f0d;

    border: 1px solid rgba(0, 255, 136, 0.12);

    border-radius: 18px;

    color: #dce5df;

    line-height: 2;

    font-size: 16px;
}


/* =========================================
   Sidebar Boxes
========================================= */

.emadgem-sidebar-box {
    padding: 22px;

    background: #0b0f0d;

    border: 1px solid rgba(0, 255, 136, 0.12);

    border-radius: 16px;

    box-sizing: border-box;
}


.emadgem-sidebar-box h3 {
    margin: 0 0 18px;

    padding-bottom: 12px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.07);

    color: #ffffff;

    font-size: 18px;
}


.emadgem-sidebar-box h3::before {
    content: "";

    display: inline-block;

    width: 4px;

    height: 18px;

    margin-left: 9px;

    vertical-align: -3px;

    background: #00ff88;

    border-radius: 5px;

    box-shadow: 0 0 10px rgba(0, 255, 136, 0.7);
}


/* =========================================
   Share
========================================= */

.emadgem-share-box {
    display: flex;

    flex-direction: column;

    gap: 10px;
}


.emadgem-share-box a,
.emadgem-share-box button {
    width: 100%;

    min-height: 45px;

    padding: 0 15px;

    box-sizing: border-box;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 10px;

    background: #101512;

    color: #ffffff;

    font-family: inherit;

    font-weight: 700;

    cursor: pointer;

    text-decoration: none;

    transition: 0.2s ease;
}


.emadgem-share-box a:hover,
.emadgem-share-box button:hover {
    color: #00ff88;

    border-color: #00ff88;

    background: #0d2119;

    transform: translateY(-2px);

    box-shadow: 0 0 18px rgba(0, 255, 136, 0.15);
}


/* =========================================
   Sidebar Author
========================================= */

.emadgem-sidebar-author {
    display: flex;

    align-items: center;

    gap: 12px;
}


.emadgem-sidebar-author img {
    width: 60px;

    height: 60px;

    border-radius: 50%;

    border: 2px solid #00ff88;
}


/* =========================================
   Related
========================================= */

.emadgem-sidebar-related {
    display: flex;

    flex-direction: column;

    gap: 12px;
}


.emadgem-sidebar-related-item {
    display: flex;

    align-items: center;

    gap: 10px;

    color: #ffffff;

    text-decoration: none;
}


.emadgem-sidebar-related-item img {
    width: 65px;

    height: 55px;

    object-fit: cover;

    border-radius: 8px;
}


.emadgem-sidebar-related-item span {
    font-size: 13px;

    line-height: 1.6;
}


.emadgem-sidebar-related-item:hover span {
    color: #00ff88;
}


/* =========================================
   Comments
========================================= */

.emadgem-sidebar-comments {
    overflow: hidden;
}


.emadgem-sidebar-comments .comment-list {
    padding: 0;

    margin: 0 0 20px;

    list-style: none;
}


.emadgem-sidebar-comments .comment {
    padding: 14px;

    margin-bottom: 10px;

    background: #080b0a;

    border: 1px solid rgba(255, 255, 255, 0.06);

    border-radius: 10px;
}


.emadgem-sidebar-comments .comment-author {
    display: flex;

    align-items: center;

    gap: 8px;
}


.emadgem-sidebar-comments .comment-author img {
    width: 38px;

    height: 38px;

    border-radius: 50%;
}


.emadgem-comment-form {
    display: flex;

    flex-direction: column;

    gap: 12px;
}


.emadgem-comment-form p {
    margin: 0;
}


.emadgem-comment-form label {
    display: block;

    margin-bottom: 6px;

    color: #bfcac3;

    font-size: 13px;
}


.emadgem-comment-form input,
.emadgem-comment-form textarea {
    width: 100%;

    box-sizing: border-box;

    padding: 12px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 9px;

    background: #050706;

    color: #ffffff;

    font-family: inherit;

    outline: none;
}


.emadgem-comment-form input:focus,
.emadgem-comment-form textarea:focus {
    border-color: #00ff88;

    box-shadow:
        0 0 0 3px rgba(0, 255, 136, 0.08);
}


.emadgem-comment-form .submit {
    width: 100%;

    min-height: 45px;

    border: 0;

    border-radius: 9px;

    background: #00ff88;

    color: #03100a;

    font-family: inherit;

    font-weight: 900;

    cursor: pointer;
}


/* =========================================
   Mobile
========================================= */

@media (max-width: 900px) {

    .emadgem-article-columns {
        grid-template-columns: 1fr;
    }

    .emadgem-article-sidebar {
        position: static;
    }

}
/* =========================================================
   EmadGem Article Layout
========================================================= */

.emadgem-single-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}


/* دو ستون */

.emadgem-article-columns {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        340px;

    gap: 30px;

    width: 100%;

    align-items: start;
}


/* مقاله - سمت راست */

.emadgem-article-main {
    min-width: 0;
    width: 100%;
}


/* سایدبار - سمت چپ */

.emadgem-article-sidebar {
    width: 100%;

    display: flex;

    flex-direction: column;

    gap: 20px;

    position: sticky;

    top: 25px;
}


/* =========================================================
   Article Header
========================================================= */

.emadgem-post-header {
    padding: 30px;

    margin-bottom: 25px;

    background: #0b0f0d;

    border: 1px solid rgba(0, 255, 136, 0.14);

    border-radius: 18px;

    box-sizing: border-box;
}


.emadgem-post-category {
    margin-bottom: 12px;
}


.emadgem-post-category a {
    display: inline-block;

    padding: 6px 12px;

    border-radius: 7px;

    background: rgba(0, 255, 136, 0.08);

    border: 1px solid rgba(0, 255, 136, 0.2);

    color: #00ff88;

    text-decoration: none;

    font-size: 13px;

    font-weight: 800;
}


.emadgem-post-title {
    margin: 0 0 18px;

    color: #ffffff;

    font-size: clamp(28px, 4vw, 46px);

    line-height: 1.45;

    font-weight: 900;
}


.emadgem-post-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    color: #8c9891;

    font-size: 13px;
}


.emadgem-post-meta strong {
    color: #00ff88;
}


/* =========================================================
   Featured Image
========================================================= */

.emadgem-post-featured-image {
    width: 100%;

    margin: 0 0 25px;

    padding: 0;

    overflow: hidden;

    background: #080b0a;

    border-radius: 18px;

    border: 1px solid rgba(255, 255, 255, 0.05);
}


.emadgem-post-featured-image img {
    display: block;

    width: 100%;

    height: auto;

    margin: 0;
}


/* =========================================================
   Article Body
========================================================= */

.emadgem-post-body {
    width: 100%;

    padding: 35px;

    box-sizing: border-box;

    background: #0b0f0d;

    border: 1px solid rgba(0, 255, 136, 0.12);

    border-radius: 18px;

    color: #dce5df;

    font-size: 16px;

    line-height: 2;
}


.emadgem-post-body p {
    margin: 0 0 22px;
}


.emadgem-post-body h2,
.emadgem-post-body h3,
.emadgem-post-body h4 {
    color: #ffffff;

    margin-top: 35px;

    margin-bottom: 18px;
}


.emadgem-post-body h2::after,
.emadgem-post-body h3::after {
    content: "";

    display: block;

    width: 50px;

    height: 3px;

    margin-top: 9px;

    background: #00ff88;

    border-radius: 10px;
}


.emadgem-post-body img {
    max-width: 100%;

    height: auto;

    border-radius: 12px;
}


.emadgem-post-body a {
    color: #00ff88;

    text-decoration: none;
}


.emadgem-post-body blockquote {
    margin: 25px 0;

    padding: 20px;

    background: #080b0a;

    border-right: 3px solid #00ff88;

    border-radius: 10px;

    color: #bfcac3;
}


/* =========================================================
   Sidebar
========================================================= */

.emadgem-sidebar-box {
    width: 100%;

    padding: 22px;

    box-sizing: border-box;

    background: #0b0f0d;

    border: 1px solid rgba(0, 255, 136, 0.12);

    border-radius: 16px;
}


.emadgem-sidebar-box h3 {
    margin: 0 0 18px;

    padding-bottom: 12px;

    color: #ffffff;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    font-size: 18px;
}


.emadgem-sidebar-box h3::before {
    content: "";

    display: inline-block;

    width: 4px;

    height: 18px;

    margin-left: 8px;

    vertical-align: -3px;

    background: #00ff88;

    border-radius: 5px;

    box-shadow: 0 0 10px rgba(0, 255, 136, 0.6);
}


/* =========================================================
   Share
========================================================= */

.emadgem-share-box {
    display: flex;

    flex-direction: column;

    gap: 10px;
}


.emadgem-share-box a,
.emadgem-share-box button {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    width: 100%;

    min-height: 44px;

    padding: 0 12px;

    box-sizing: border-box;

    border: 1px solid rgba(255, 255, 255, 0.07);

    border-radius: 9px;

    background: #101512;

    color: #ffffff;

    font-family: inherit;

    font-weight: 700;

    text-decoration: none;

    cursor: pointer;

    transition: 0.2s ease;
}


.emadgem-share-box a:hover,
.emadgem-share-box button:hover {
    color: #00ff88;

    border-color: #00ff88;

    background: #0d2119;

    transform: translateY(-2px);

    box-shadow:
        0 0 18px rgba(0, 255, 136, 0.15);
}


/* =========================================================
   Author
========================================================= */

.emadgem-sidebar-author {
    display: flex;

    align-items: center;

    gap: 12px;
}


.emadgem-sidebar-author img {
    width: 60px;

    height: 60px;

    border-radius: 50%;

    border: 2px solid #00ff88;

    box-shadow:
        0 0 12px rgba(0, 255, 136, 0.2);
}


.emadgem-sidebar-author div {
    display: flex;

    flex-direction: column;

    gap: 5px;
}


.emadgem-sidebar-author strong {
    color: #ffffff;
}


.emadgem-sidebar-author span {
    color: #7f8b84;

    font-size: 12px;
}


/* =========================================================
   Related Posts
========================================================= */

.emadgem-sidebar-related {
    display: flex;

    flex-direction: column;

    gap: 12px;
}


.emadgem-sidebar-related-item {
    display: flex;

    align-items: center;

    gap: 10px;

    color: #ffffff;

    text-decoration: none;
}


.emadgem-sidebar-related-item img {
    width: 65px;

    height: 55px;

    object-fit: cover;

    border-radius: 8px;
}


.emadgem-sidebar-related-item span {
    color: #dce5df;

    font-size: 13px;

    line-height: 1.6;
}


.emadgem-sidebar-related-item:hover span {
    color: #00ff88;
}


/* =========================================================
   Comments
========================================================= */

.emadgem-sidebar-comments {
    overflow: hidden;
}


.emadgem-comments-list {
    margin-bottom: 20px;
}


.emadgem-comments-list .comment-list {
    padding: 0;

    margin: 0;

    list-style: none;
}


.emadgem-comments-list .comment {
    padding: 14px;

    margin-bottom: 10px;

    background: #080b0a;

    border: 1px solid rgba(255, 255, 255, 0.06);

    border-radius: 10px;
}


.emadgem-comments-list .comment-author {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 8px;
}


.emadgem-comments-list .comment-author img {
    width: 38px;

    height: 38px;

    border-radius: 50%;
}


.emadgem-comments-list .comment-content {
    color: #bdc8c1;

    font-size: 13px;

    line-height: 1.8;
}


/* فرم دیدگاه */

.emadgem-comment-form {
    display: flex;

    flex-direction: column;

    gap: 12px;
}


.emadgem-comment-form p {
    margin: 0;
}


.emadgem-comment-form label {
    display: block;

    margin-bottom: 6px;

    color: #cbd5cf;

    font-size: 13px;
}


.emadgem-comment-form input,
.emadgem-comment-form textarea {
    display: block;

    width: 100%;

    box-sizing: border-box;

    padding: 12px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 9px;

    background: #050706;

    color: #ffffff;

    font-family: inherit;

    outline: none;

    transition: 0.2s ease;
}


.emadgem-comment-form input:focus,
.emadgem-comment-form textarea:focus {
    border-color: #00ff88;

    box-shadow:
        0 0 0 3px rgba(0, 255, 136, 0.08);
}


.emadgem-comment-form textarea {
    min-height: 140px;

    resize: vertical;
}


.emadgem-comment-form .submit {
    width: 100%;

    min-height: 46px;

    border: 0;

    border-radius: 9px;

    background: #00ff88;

    color: #03100a;

    font-family: inherit;

    font-weight: 900;

    cursor: pointer;

    transition: 0.2s ease;
}


.emadgem-comment-form .submit:hover {
    transform: translateY(-2px);

    box-shadow:
        0 0 25px rgba(0, 255, 136, 0.35);
}


/* =========================================================
   Mobile
========================================================= */

@media (max-width: 900px) {

    .emadgem-article-columns {
        grid-template-columns: 1fr;
    }

    .emadgem-article-sidebar {
        position: static;
    }

}


@media (max-width: 600px) {

    .emadgem-post-header {
        padding: 22px 18px;
    }

    .emadgem-post-title {
        font-size: 27px;
    }

    .emadgem-post-body {
        padding: 24px 18px;

        font-size: 15px;
    }

}