/*
Theme Name: SCDev Theme Sheer
Theme URI: https://scdev.pro
Author: scdev
Author URI: https://scdev.pro
Description: A premium commerce-oriented WordPress theme with a 3-row header, no sidebars, FCommerce integration, dark mode support, and full Customizer configurability.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sheer
Requires at least: 6.0
Requires PHP: 8.0
*/

/* ═══════════════════════════════════════════════════════════════════════
   CSS CUSTOM PROPERTIES
   ═══════════════════════════════════════════════════════════════════════ */

:root {
    /* Top utility bar */
    --sheer-topbar-bg: #1a1a1a;
    --sheer-topbar-text: #cccccc;
    --sheer-topbar-accent: #ffffff;
    --sheer-topbar-height: 38px;

    /* Main header bar */
    --sheer-header-bg: #222222;
    --sheer-header-text: #ffffff;
    --sheer-header-height: 64px;

    /* Navigation bar */
    --sheer-nav-bg: #ffffff;
    --sheer-nav-text: #222222;
    --sheer-nav-hover: #e63946;
    --sheer-nav-height: 48px;

    /* Brand / accent */
    --sheer-accent: #e63946;
    --sheer-accent-hover: #c5303c;
    --sheer-accent-soft: rgba(230, 57, 70, 0.08);

    /* Body */
    --sheer-body-bg: #f5f5f7;
    --sheer-body-text: #1d1d1f;
    --sheer-body-muted: #6e6e73;
    --sheer-card-bg: #ffffff;
    --sheer-card-shadow: 0 2px 12px rgba(0,0,0,0.06);
    --sheer-card-radius: 12px;
    --sheer-border: rgba(0,0,0,0.08);

    /* Footer */
    --sheer-footer-bg: #1a1a1a;
    --sheer-footer-text: #b0b0b0;
    --sheer-footer-heading: #ffffff;
    --sheer-footer-link: #cccccc;
    --sheer-footer-link-hover: #ffffff;

    /* Search */
    --sheer-search-bg: #ffffff;
    --sheer-search-border: #cccccc;
    --sheer-search-btn: #febd69;
    --sheer-search-btn-hover: #f3a847;

    /* Cart button */
    --sheer-cart-bg: transparent;
    --sheer-cart-border: #ffffff;
    --sheer-cart-text: #ffffff;

    /* Transitions */
    --sheer-transition: 0.25s cubic-bezier(.4,0,.2,1);

    /* Layout */
    --sheer-content-max: 1280px;
    --sheer-content-padding: 0 20px;

    /* Font */
    --sheer-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Dark mode */
body.sheer-dark {
    --sheer-nav-bg: #2a2a2a;
    --sheer-nav-text: #e0e0e0;
    --sheer-body-bg: #121212;
    --sheer-body-text: #e0e0e0;
    --sheer-body-muted: #999999;
    --sheer-card-bg: #1e1e1e;
    --sheer-card-shadow: 0 2px 12px rgba(0,0,0,0.3);
    --sheer-border: rgba(255,255,255,0.08);
    --sheer-search-bg: #333333;
    --sheer-search-border: #555555;
}

/* ═══════════════════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════════════════ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--sheer-font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--sheer-body-text);
    background: var(--sheer-body-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--sheer-transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ═══════════════════════════════════════════════════════════════════════
   TOP UTILITY BAR (Row 1)
   ═══════════════════════════════════════════════════════════════════════ */

.sheer-topbar {
    background: var(--sheer-topbar-bg);
    color: var(--sheer-topbar-text);
    font-size: 12px;
    height: var(--sheer-topbar-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sheer-topbar__inner {
    max-width: var(--sheer-content-max);
    margin: 0 auto;
    padding: var(--sheer-content-padding);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sheer-topbar__left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sheer-topbar__left svg {
    width: 14px;
    height: 14px;
    fill: var(--sheer-accent);
    flex-shrink: 0;
}

.sheer-topbar__phone {
    color: var(--sheer-topbar-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 11px;
}

.sheer-topbar__phone a {
    color: var(--sheer-topbar-accent);
}
.sheer-topbar__phone a:hover {
    color: var(--sheer-accent);
}

.sheer-topbar__center {
    flex: 1;
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.3px;
}

.sheer-topbar__center a {
    color: var(--sheer-topbar-accent);
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.3);
    text-underline-offset: 2px;
}
.sheer-topbar__center a:hover {
    color: var(--sheer-accent);
    text-decoration-color: var(--sheer-accent);
}

.sheer-topbar__right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sheer-topbar__link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--sheer-topbar-text);
    font-size: 12px;
    transition: color var(--sheer-transition);
    white-space: nowrap;
}

.sheer-topbar__link svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.sheer-topbar__link:hover {
    color: var(--sheer-topbar-accent);
}

/* ═══════════════════════════════════════════════════════════════════════
   MAIN HEADER BAR (Row 2)
   ═══════════════════════════════════════════════════════════════════════ */

.sheer-header {
    background: var(--sheer-header-bg);
    color: var(--sheer-header-text);
    height: var(--sheer-header-height);
    display: flex;
    align-items: center;
}

.sheer-header__inner {
    max-width: var(--sheer-content-max);
    margin: 0 auto;
    padding: var(--sheer-content-padding);
    width: 100%;
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Logo */
.sheer-header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.sheer-header__logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--sheer-header-text);
}

.sheer-header__logo img {
    max-height: 40px;
    width: auto;
}

.sheer-header__logo-text {
    font-size: var(--sheer-title-size, 24px);
    font-weight: 800;
    white-space: nowrap;
}

.sheer-header__logo-text sup {
    font-size: 10px;
    font-weight: 600;
    vertical-align: super;
    opacity: 0.6;
    margin-left: 2px;
}

.sheer-header__tagline {
    font-size: var(--sheer-tagline-size, 14px) !important;
    color: var(--sheer-tagline-text, #bbbbbb) !important;
    margin-left: 5px;
    font-weight: 400;
}

/* Social icons */
.sheer-header__social {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.sheer-header__social a {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter var(--sheer-transition), transform var(--sheer-transition);
}

.sheer-header__social a:hover {
    filter: brightness(1.15);
    transform: translateY(-1px);
}

.sheer-header__social svg {
    width: 12px;
    height: 12px;
    fill: #ffffff;
}

/* Search bar */
.sheer-header__search {
    flex: 1;
    display: flex;
    align-items: center;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--sheer-search-bg);
}

.sheer-header__search-cat {
    height: 100%;
    padding: 0 14px;
    border: none;
    background: #f0f0f0;
    color: #333;
    font-size: 13px;
    cursor: pointer;
    border-right: 1px solid #ddd;
    min-width: 130px;
    appearance: auto;
}

body.sheer-dark .sheer-header__search-cat {
    background: #3a3a3a;
    color: #ddd;
    border-right-color: #555;
}

.sheer-header__search-input {
    flex: 1;
    height: 100%;
    padding: 0 14px;
    border: none;
    outline: none;
    background: transparent;
    color: #333;
    font-size: 14px;
}

body.sheer-dark .sheer-header__search-input {
    color: #eee;
}

.sheer-header__search-input::placeholder {
    color: #999;
}

.sheer-header__search-btn {
    height: 100%;
    width: 48px;
    border: none;
    background: var(--sheer-search-btn);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--sheer-transition);
    flex-shrink: 0;
}

.sheer-header__search-btn:hover {
    background: var(--sheer-search-btn-hover);
}

.sheer-header__search-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #333;
    stroke-width: 2.5;
}

/* Cart button */
.sheer-header__cart {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border: 1.5px solid var(--sheer-cart-border);
    border-radius: 6px;
    color: var(--sheer-cart-text);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: all var(--sheer-transition);
    background: var(--sheer-cart-bg);
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
}

.sheer-header__cart:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--sheer-accent);
    color: var(--sheer-accent);
}

.sheer-header__cart svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.sheer-header__cart-count {
    background: var(--sheer-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ═══════════════════════════════════════════════════════════════════════
   NAVIGATION BAR (Row 3)
   ═══════════════════════════════════════════════════════════════════════ */

.sheer-nav {
    background: var(--sheer-nav-bg);
    border-bottom: 1px solid var(--sheer-border);
    height: var(--sheer-nav-height);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.sheer-nav__inner {
    max-width: var(--sheer-content-max);
    margin: 0 auto;
    padding: var(--sheer-content-padding);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sheer-nav__menu {
    display: flex;
    align-items: center;
    gap: 0;
}

.sheer-nav__menu li {
    position: relative;
}

.sheer-nav__menu li a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    height: var(--sheer-nav-height);
    color: var(--sheer-nav-text);
    font-size: var(--sheer-nav-size, 12.5px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color var(--sheer-transition), background var(--sheer-transition);
    white-space: nowrap;
}

.sheer-nav__menu li a:hover {
    color: var(--sheer-accent);
    background: var(--sheer-accent-soft);
}

.sheer-nav__menu li a svg,
.sheer-nav__menu li a .nav-icon {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

/* Dropdown submenus */
.sheer-nav__menu li .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--sheer-card-bg);
    border: 1px solid var(--sheer-border);
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 1001;
}

.sheer-nav__menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sheer-nav__menu li .sub-menu li a {
    padding: 10px 20px;
    height: auto;
    font-size: 13px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}

.sheer-nav__menu li .sub-menu li a:hover {
    background: var(--sheer-accent-soft);
    color: var(--sheer-accent);
}

/* Sale badge */
.sheer-nav__sale {
    display: inline-flex;
    align-items: center;
    padding: 6px 18px;
    border: 2px solid var(--sheer-accent);
    border-radius: 4px;
    color: var(--sheer-accent);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--sheer-transition);
    white-space: nowrap;
    animation: sheer-pulse 2s ease-in-out infinite;
}

.sheer-nav__sale:hover {
    background: var(--sheer-accent);
    color: #fff;
}

@keyframes sheer-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(230,57,70,0.3); }
    50% { box-shadow: 0 0 0 6px rgba(230,57,70,0); }
}

/* ═══════════════════════════════════════════════════════════════════════
   MOBILE HEADER
   ═══════════════════════════════════════════════════════════════════════ */

.sheer-mobile-bar {
    display: none;
    background: var(--sheer-header-bg);
    height: 56px;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    position: sticky;
    top: 0;
    z-index: 10000;
}

.sheer-mobile-bar__hamburger {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px;
}

.sheer-mobile-bar__hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.sheer-mobile-bar__hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.sheer-mobile-bar__hamburger.active span:nth-child(2) {
    opacity: 0;
}
.sheer-mobile-bar__hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.sheer-mobile-bar__logo {
    display: flex;
    align-items: center;
}

.sheer-mobile-bar__logo a {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.sheer-mobile-bar__logo img {
    max-height: 32px;
    width: auto;
}

.sheer-mobile-bar__right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sheer-mobile-bar__right a,
.sheer-mobile-bar__right button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

.sheer-mobile-bar__right svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

/* Mobile slide-down menu */
.sheer-mobile-menu {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--sheer-header-bg);
    z-index: 9999;
    overflow-y: auto;
    padding: 16px 0;
    transform: translateY(-100%);
    transition: transform 0.35s cubic-bezier(.4,0,.2,1);
}

.sheer-mobile-menu.active {
    transform: translateY(0);
}

.sheer-mobile-menu__search {
    padding: 0 16px 16px;
}

.sheer-mobile-menu__search form {
    display: flex;
    height: 42px;
    border-radius: 6px;
    overflow: hidden;
    background: rgba(255,255,255,0.1);
}

.sheer-mobile-menu__search input {
    flex: 1;
    padding: 0 14px;
    border: none;
    background: transparent;
    color: #fff;
    outline: none;
}

.sheer-mobile-menu__search input::placeholder {
    color: rgba(255,255,255,0.5);
}

.sheer-mobile-menu__search button {
    width: 44px;
    border: none;
    background: var(--sheer-search-btn);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sheer-mobile-menu__search button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #333;
    stroke-width: 2.5;
}

.sheer-mobile-menu__nav {
    padding: 0;
}

.sheer-mobile-menu__nav li {
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sheer-mobile-menu__nav li a {
    display: block;
    padding: 14px 20px;
    color: #eee;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}

.sheer-mobile-menu__nav li a:hover {
    background: rgba(255,255,255,0.05);
    color: var(--sheer-accent);
}

.sheer-mobile-menu__nav li .sub-menu {
    display: none;
    padding-left: 20px;
}

.sheer-mobile-menu__nav li .sub-menu li a {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.8;
}

.sheer-mobile-menu__actions {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 10px;
}

.sheer-mobile-menu__actions a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #ccc;
    font-size: 14px;
    border-radius: 8px;
    transition: background 0.2s;
}

.sheer-mobile-menu__actions a:hover {
    background: rgba(255,255,255,0.06);
    color: #fff;
}

.sheer-mobile-menu__actions svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   MAIN CONTENT AREA
   ═══════════════════════════════════════════════════════════════════════ */

.sheer-content {
    max-width: var(--sheer-content-max);
    margin: 0 auto;
    padding: 30px 20px;
    min-height: 60vh;
}

.sheer-content--wide {
    max-width: 100%;
    padding: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   POST CARDS / GRID
   ═══════════════════════════════════════════════════════════════════════ */

.sheer-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.sheer-post-card {
    background: var(--sheer-card-bg);
    border-radius: var(--sheer-card-radius);
    box-shadow: var(--sheer-card-shadow);
    overflow: hidden;
    transition: transform var(--sheer-transition), box-shadow var(--sheer-transition);
}

.sheer-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.sheer-post-card__thumb {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.sheer-post-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.sheer-post-card:hover .sheer-post-card__thumb img {
    transform: scale(1.05);
}

.sheer-post-card__body {
    padding: 20px;
}

.sheer-post-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 12px;
    color: var(--sheer-body-muted);
}

.sheer-post-card__cat {
    background: var(--sheer-accent);
    color: #fff;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sheer-post-card__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
    color: var(--sheer-body-text);
}

.sheer-post-card__title a {
    color: inherit;
}

.sheer-post-card__title a:hover {
    color: var(--sheer-accent);
}

.sheer-post-card__excerpt {
    font-size: 14px;
    color: var(--sheer-body-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.sheer-post-card__readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--sheer-accent);
    transition: gap var(--sheer-transition);
}

.sheer-post-card__readmore:hover {
    gap: 10px;
}

/* ═══════════════════════════════════════════════════════════════════════
   SINGLE POST
   ═══════════════════════════════════════════════════════════════════════ */

.sheer-single {
    max-width: 900px;
    margin: 0 auto;
}

.sheer-single__header {
    margin-bottom: 30px;
}

.sheer-single__title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
    color: var(--sheer-body-text);
}

.sheer-single__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--sheer-body-muted);
}

.sheer-single__meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.sheer-single__thumb {
    width: 100%;
    border-radius: var(--sheer-card-radius);
    overflow: hidden;
    margin-bottom: 30px;
}

.sheer-single__thumb img {
    width: 100%;
    height: auto;
}

.sheer-single__content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--sheer-body-text);
}

.sheer-single__content p {
    margin-bottom: 1.2em;
}

.sheer-single__content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 1.5em 0 0.7em;
}

.sheer-single__content h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 1.3em 0 0.6em;
}

.sheer-single__content img {
    border-radius: 8px;
    margin: 1.2em 0;
}

.sheer-single__content blockquote {
    border-left: 4px solid var(--sheer-accent);
    padding: 16px 20px;
    margin: 1.5em 0;
    background: var(--sheer-accent-soft);
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.sheer-single__content ul,
.sheer-single__content ol {
    padding-left: 1.5em;
    margin-bottom: 1.2em;
}

.sheer-single__content ul {
    list-style: disc;
}

.sheer-single__content ol {
    list-style: decimal;
}

.sheer-single__content li {
    margin-bottom: 0.4em;
}

.sheer-single__content pre {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.2em 0;
    font-size: 14px;
}

.sheer-single__content code {
    background: rgba(0,0,0,0.06);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

.sheer-single__content pre code {
    background: none;
    padding: 0;
}

.sheer-single__tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--sheer-border);
}

.sheer-single__tags a {
    display: inline-block;
    padding: 4px 14px;
    border: 1px solid var(--sheer-border);
    border-radius: 20px;
    font-size: 12px;
    color: var(--sheer-body-muted);
    transition: all var(--sheer-transition);
}

.sheer-single__tags a:hover {
    border-color: var(--sheer-accent);
    color: var(--sheer-accent);
    background: var(--sheer-accent-soft);
}

/* Post navigation */
.sheer-postnav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--sheer-border);
}

.sheer-postnav a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 45%;
    padding: 16px;
    border-radius: 8px;
    transition: background var(--sheer-transition);
}

.sheer-postnav a:hover {
    background: var(--sheer-accent-soft);
}

.sheer-postnav__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sheer-body-muted);
    font-weight: 600;
}

.sheer-postnav__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--sheer-body-text);
    line-height: 1.4;
}

.sheer-postnav a.next {
    text-align: right;
    margin-left: auto;
}

/* ═══════════════════════════════════════════════════════════════════════
   PAGE HEADER / ARCHIVE HEADER
   ═══════════════════════════════════════════════════════════════════════ */

.sheer-page-header {
    background: linear-gradient(135deg, var(--sheer-header-bg) 0%, #333 100%);
    color: #fff;
    padding: 40px 20px;
    margin-bottom: 30px;
}

body.sheer-dark .sheer-page-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

.sheer-page-header__inner {
    max-width: var(--sheer-content-max);
    margin: 0 auto;
}

.sheer-page-header__title {
    font-size: 28px;
    font-weight: 800;
}

.sheer-page-header__desc {
    font-size: 14px;
    opacity: 0.7;
    margin-top: 6px;
}

/* ═══════════════════════════════════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════════════════════════════════ */

.sheer-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
    padding-top: 30px;
}

.sheer-pagination a,
.sheer-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all var(--sheer-transition);
}

.sheer-pagination a {
    background: var(--sheer-card-bg);
    color: var(--sheer-body-text);
    border: 1px solid var(--sheer-border);
}

.sheer-pagination a:hover {
    background: var(--sheer-accent);
    color: #fff;
    border-color: var(--sheer-accent);
}

.sheer-pagination span.current {
    background: var(--sheer-accent);
    color: #fff;
}

/* ═══════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════ */

.sheer-footer {
    background: var(--sheer-footer-bg);
    color: var(--sheer-footer-text);
    padding: 60px 0 0;
    margin-top: 60px;
}

.sheer-footer__inner {
    max-width: var(--sheer-content-max);
    margin: 0 auto;
    padding: var(--sheer-content-padding);
}

.sheer-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
}

.sheer-footer__heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--sheer-footer-heading);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sheer-footer__map-container iframe {
    border-radius: var(--sheer-radius);
    filter: grayscale(0.2) contrast(1.2);
    box-shadow: var(--sheer-shadow-sm);
}

.sheer-footer__about p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.sheer-footer__social {
    display: flex;
    gap: 10px;
}

.sheer-footer__social a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter var(--sheer-transition), transform var(--sheer-transition);
}

.sheer-footer__social a:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.sheer-footer__social svg {
    width: 14px;
    height: 14px;
    fill: #fff;
}

.sheer-footer__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sheer-footer__links a {
    color: var(--sheer-footer-link);
    font-size: var(--sheer-footer-nav-size, 14px);
    transition: color var(--sheer-transition), padding-left var(--sheer-transition);
}

.sheer-footer__links a:hover {
    color: var(--sheer-footer-link-hover);
    padding-left: 6px;
}

/* Newsletter */
.sheer-footer__newsletter p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 14px;
}

.sheer-footer__newsletter-form {
    display: flex;
    gap: 0;
    border-radius: 6px;
    overflow: hidden;
}

.sheer-footer__newsletter-form input {
    flex: 1;
    padding: 10px 14px;
    border: none;
    background: rgba(255,255,255,0.08);
    color: #fff;
    outline: none;
    font-size: 13px;
}

.sheer-footer__newsletter-form input::placeholder {
    color: #999;
}

.sheer-footer__newsletter-form button {
    padding: 10px 18px;
    background: var(--sheer-accent);
    color: #fff;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--sheer-transition);
}

.sheer-footer__newsletter-form button:hover {
    background: var(--sheer-accent-hover);
}

.scdev-newsletter[data-subscribed="0"] .scdev-newsletter__unsubscribe-view {
    display: none;
}

.scdev-newsletter[data-subscribed="1"] .scdev-newsletter__subscribe-view {
    display: none;
}

.sheer-footer__subscribed-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 13px;
    color: #fff;
}

.sheer-footer__unsubscribe-btn {
    background: transparent;
    border: none;
    color: #999;
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    transition: color 0.2s;
}

.sheer-footer__unsubscribe-btn:hover {
    color: #fff;
}

.scdev-newsletter__status {
    margin-top: 10px;
    font-size: 13px;
    color: #fff;
}


/* Footer bottom bar */
.sheer-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    margin-top: 10px;
}

.sheer-footer__bottom-inner {
    max-width: var(--sheer-content-max);
    margin: 0 auto;
    padding: var(--sheer-content-padding);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 13px;
}

.sheer-footer__copyright {
    color: var(--sheer-footer-text);
}

.sheer-footer__bottom-links {
    display: flex;
    gap: 20px;
}

.sheer-footer__bottom-links a {
    color: var(--sheer-footer-link);
    font-size: 13px;
}

.sheer-footer__bottom-links a:hover {
    color: var(--sheer-footer-link-hover);
}

/* Dark mode toggle in footer */
.sheer-dark-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--sheer-card-bg);
    border: 1px solid var(--sheer-border);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 9999;
    transition: transform var(--sheer-transition), box-shadow var(--sheer-transition);
}

.sheer-dark-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

/* ═══════════════════════════════════════════════════════════════════════
   404 PAGE
   ═══════════════════════════════════════════════════════════════════════ */

.sheer-404 {
    text-align: center;
    padding: 80px 20px;
}

.sheer-404__code {
    font-size: 120px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--sheer-accent), #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.sheer-404__title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--sheer-body-text);
}

.sheer-404__text {
    font-size: 16px;
    color: var(--sheer-body-muted);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.sheer-404__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--sheer-accent);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: background var(--sheer-transition), transform var(--sheer-transition);
}

.sheer-404__btn:hover {
    background: var(--sheer-accent-hover);
    transform: translateY(-2px);
    color: #fff;
}

/* ═══════════════════════════════════════════════════════════════════════
   SEARCH RESULTS
   ═══════════════════════════════════════════════════════════════════════ */

.sheer-search-header {
    margin-bottom: 30px;
}

.sheer-search-header__query {
    color: var(--sheer-accent);
}

/* ═══════════════════════════════════════════════════════════════════════
   COMMENTS
   ═══════════════════════════════════════════════════════════════════════ */

.sheer-comments {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--sheer-border);
}

.sheer-comments .comment-list {
    list-style: none;
    padding: 0;
}

.sheer-comments .comment-body {
    padding: 20px;
    background: var(--sheer-card-bg);
    border-radius: 10px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.sheer-comments .comment-author {
    font-weight: 600;
    font-size: 15px;
}

.sheer-comments .comment-meta {
    font-size: 12px;
    color: var(--sheer-body-muted);
    margin-bottom: 10px;
}

.sheer-comments .comment-content p {
    font-size: 14px;
    line-height: 1.6;
}

.sheer-comments .comment-reply-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--sheer-accent);
}

.sheer-comments .comment-respond {
    margin-top: 30px;
}

.sheer-comments .comment-form label {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 600;
}

.sheer-comments .comment-form input[type="text"],
.sheer-comments .comment-form input[type="email"],
.sheer-comments .comment-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--sheer-border);
    border-radius: 8px;
    background: var(--sheer-card-bg);
    color: var(--sheer-body-text);
    margin-bottom: 14px;
    outline: none;
    transition: border-color var(--sheer-transition);
}

.sheer-comments .comment-form input:focus,
.sheer-comments .comment-form textarea:focus {
    border-color: var(--sheer-accent);
}

.sheer-comments .comment-form .submit {
    padding: 10px 28px;
    background: var(--sheer-accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--sheer-transition);
}

.sheer-comments .comment-form .submit:hover {
    background: var(--sheer-accent-hover);
}

/* ═══════════════════════════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════════════════════════ */

.screen-reader-text {
    clip: rect(1px,1px,1px,1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 992px) {
    .sheer-topbar,
    .sheer-header,
    .sheer-nav {
        display: none !important;
    }

    .sheer-mobile-bar {
        display: flex !important;
    }

    .sheer-mobile-menu {
        display: block;
    }

    .sheer-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .sheer-single__title {
        font-size: 24px;
    }

    .sheer-posts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .sheer-footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .sheer-footer__bottom-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .sheer-postnav {
        flex-direction: column;
    }

    .sheer-postnav a {
        max-width: 100%;
    }

    .sheer-404__code {
        font-size: 80px;
    }

    .sheer-page-header {
        padding: 24px 16px;
    }

    .sheer-page-header__title {
        font-size: 22px;
    }
}

/* WordPress alignment classes */
.alignleft {
    float: left;
    margin: 0 20px 20px 0;
}
.alignright {
    float: right;
    margin: 0 0 20px 20px;
}
.aligncenter {
    display: block;
    margin: 20px auto;
}
.wp-caption {
    max-width: 100%;
}
.wp-caption-text {
    font-size: 12px;
    color: var(--sheer-body-muted);
    text-align: center;
    margin-top: 6px;
}

/* Social native colors */
.sheer-social-btn--facebook { background: #1877F2; }
.sheer-social-btn--instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.sheer-social-btn--tiktok { background: #000000; }
.sheer-social-btn--youtube { background: #FF0000; }
.sheer-social-btn--telegram { background: #26A5E4; }
