/* =============================================================
   Headgear — styles.css
   Merged stylesheet for all pages
   ============================================================= */

/* Brand Theme and Global Styles */
body {
    background-color: #292929;
    color: #a5a5af;
    font-family: 'Unica One', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: #a5a5af;
}

p {
    font-size: 1rem;
    margin: 0;
    font-family: 'Unica One';
    text-align: justify;
    padding: 5px;
}

.container {
    width: 100%;
    min-height: 100vh;
    background-image: linear-gradient(rgba(41, 41, 55, 0.18), rgba(31, 11, 41, 0.08)), url("../img/bg-med.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 2px 20px;
}

/* Header Section */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;

}

.logo {
    max-width: 450px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: start;
}

.logo img {
    width: 80%;
    height: auto;
    /*  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.05)); */
}

.tagline {
    margin: 0;
    padding: 0;
    text-align: center;
    margin-bottom: 0px;
    max-width: 574px;
}

.tagline img {
    width: 100%;
    height: auto;

}

/* Gallery Section & Grid */
.gallery-section {
    margin-top: 40px;
    margin-bottom: 80px;
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.gallery-header {
    text-align: center;
    margin-bottom: 45px;
}

.gallery-header h2 {
    width: 60%;
    max-width: 320px;
    font-family: 'Babylonica', cursive;
    font-size: 2.6rem;
    color: #000099;
    /* Neon yellow/gold */
    margin: 0 0 10px 0;
    /* text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.8), 0 0 2px rgba(255, 54, 0, 0.9); */
}

/*
.gallery-header p {
    font-size: 1.05rem;
    color: #b0b0bb;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}
*/
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    padding: 10px 0;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    aspect-ratio: 1 / 1;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.44, 0.84, 0.165, 1),
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    transition: border-color 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(51, 51, 255, 0.25);
}

.gallery-item:hover::after {
    border-color: rgba(51, 51, 255, 0.6);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.4s ease;
    filter: grayscale(15%) brightness(85%);
}

.gallery-item:hover img {
    filter: grayscale(0%) brightness(105%);
}

/* Image title overlay inside thumbnail */
.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.5px;
}

/* Shadowbox (Lightbox Modal) styling */
.shadowbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 15, 15, 0.96);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
}

.shadowbox.active {
    opacity: 1;
    pointer-events: auto;
}

.shadowbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 45px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.6;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1010;
}

.shadowbox-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.shadowbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.5;
    transition: all 0.2s ease;
    z-index: 1010;
}

.shadowbox-nav:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.05);
}

.shadowbox-nav svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.shadowbox-prev {
    left: 30px;
}

.shadowbox-next {
    right: 30px;
}

.shadowbox-content {
    max-width: 85%;
    max-height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0.96);
    transition: transform 0.35s cubic-bezier(0.44, 0.84, 0.165, 1);
}

.shadowbox.active .shadowbox-content {
    transform: scale(1);
}

.shadowbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Prevent image dragging */
    -webkit-user-drag: none;
}

.shadowbox-info {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 85%;
    max-width: 600px;
    z-index: 1010;
}

.shadowbox-caption {
    font-family: 'Cabin Sketch', cursive;
    font-size: 1.8rem;
    color: #fff;
    margin: 0 0 5px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), 0 0 10px rgba(255, 255, 255, 0.1);
}

.shadowbox-counter {
    font-size: 0.9rem;
    color: #888;
    letter-spacing: 1px;
}

/* about section */
.about-section {
    margin-top: 30px;
    margin-bottom: 30px;
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.about-section div {
    text-align: center;
    margin-bottom: 45px;
}

.about-tagline {
    margin: 0;
    padding: 0;
    text-align: center;
    margin-bottom: 20px;
}

.about-tagline img {
    width: 100%;
    height: auto;
    max-width: 574px;
}

/* Footer Section */
.footer {
    background-image: url('../img/pentanarchysymbol.png');
    background-position: center bottom 10px;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 15%;
    padding: 0;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer .menu {
    display: flex;
    width: 100%;
    height: auto;
    justify-content: space-evenly;
    text-align: left;
    font-size: 1.1rem;
    font-family: 'Unica One';
    padding: 5px;
}

.footer .cont {
    padding: 5px 5px 70px 5px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    width: 100%;
    height: auto;
    justify-content: space-between;
    text-align: left;
    font-size: 1.1rem;
    font-family: 'Unica One';
}

.footer p {
    font-size: 0.85rem;
    color: #777;
    margin: 0;
    letter-spacing: 0.5px;
}


/* Responsiveness & Mobile Tweaks */
@media (max-width: 768px) {
    .container {
        padding: 2px 20px;
    }

    .header {
        margin-top: 2px;
        margin-bottom: 10px;
    }

    .logo {
        max-width: 300px;
    }

    /*
    .glass-card {
        padding: 20px 30px;
        flex-direction: row;
        align-items: center;
        gap: 20px;
        width: 100%;
    }

    .intro-lead {
        text-align: right;
        width: 100%;
    }

    .glass-card p {
        font-size: 1.2em;
        line-height: normal;
    }
*/


    .gallery-header {
        margin-bottom: 30px;
    }

    .gallery-header h2 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
        gap: 16px;
    }

    .shadowbox-nav {
        width: 46px;
        height: 46px;
    }

    .shadowbox-prev {
        left: 15px;
    }

    .shadowbox-next {
        right: 15px;
    }

    .shadowbox-close {
        top: 15px;
        right: 20px;
        font-size: 38px;
    }

    .shadowbox-caption {
        font-size: 1.4rem;
    }

    .shadowbox-content img {
        max-height: 65vh;
    }

    .intro-text {
        display: none;
    }

}



}

/* ── Page Layout ─────────────────────────────────────────── */
.page-wrap {
    max-width: 860px;
    width: 100%;
    margin: 0 auto;
    padding: 48px 20px 80px;
    box-sizing: border-box;
}

.page-hero {
    text-align: center;
    margin-bottom: 48px;
}

.page-hero h1 {
    font-family: 'Sassy Frass', cursive;
    font-size: 3.8rem;
    color: #c8c8ff;
    margin: 0 0 10px;
    text-shadow: 0 0 40px rgba(100, 149, 237, 0.5);
    line-height: 1.1;
}

.page-hero .hero-sub {
    font-family: 'Unica One', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666680;
    margin: 0;
    padding: 0;
}

/* ── Glass Panel ─────────────────────────────────────────── */
.glass-panel {
    background: rgba(200, 200, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 38px 40px;
    box-sizing: border-box;
    margin-bottom: 32px;
}

/* ── Section Label ───────────────────────────────────────── */
.section-label {
    font-family: 'Unica One', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #555566;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ── Forms ───────────────────────────────────────────────── */
.community-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    font-family: 'Unica One', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #9090aa;
}

.form-group label .req {
    color: #6495ed;
    margin-left: 3px;
}

.form-group label .opt {
    color: #555566;
    font-size: 0.7rem;
    letter-spacing: 1px;
    margin-left: 4px;
    text-transform: none;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #d0d0e0;
    font-family: 'Unica One', sans-serif;
    font-size: 0.95rem;
    padding: 12px 16px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #44445a;
}

.form-group select option {
    background: #1e1a2e;
    color: #d0d0e0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(100, 149, 237, 0.5);
    box-shadow: 0 0 0 3px rgba(100, 149, 237, 0.1);
    background: rgba(255, 255, 255, 0.07);
}

.form-group input.invalid,
.form-group textarea.invalid {
    border-color: rgba(255, 80, 100, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 80, 100, 0.12);
}

.field-error {
    font-size: 0.75rem;
    color: #ff6080;
    font-family: 'Unica One', sans-serif;
    letter-spacing: 0.5px;
    display: none;
}

.field-error.visible {
    display: block;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-submit {
    background: linear-gradient(135deg, #3a68c0 0%, #6495ed 100%);
    color: #fff;
    font-family: 'Unica One', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border: none;
    border-radius: 10px;
    padding: 14px 32px;
    cursor: pointer;
    align-self: flex-start;
    transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 20px rgba(58, 104, 192, 0.35);
}

.btn-submit:hover {
    opacity: 0.88;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(58, 104, 192, 0.5);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #9090aa;
    font-family: 'Unica One', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.09);
    color: #c0c0d0;
    border-color: rgba(255, 255, 255, 0.2);
}

/* ── Confirm Message ─────────────────────────────────────── */
.confirm-message {
    display: none;
    text-align: center;
    padding: 40px 20px;
    animation: fadeInUp 0.5s ease forwards;
}

.confirm-message.visible {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.confirm-icon {
    font-size: 3rem;
    line-height: 1;
}

.confirm-message h2 {
    font-family: 'Babylonica', cursive;
    font-size: 2.8rem;
    color: #6495ed;
    margin: 0;
    text-shadow: 0 0 30px rgba(100, 149, 237, 0.4);
}

.confirm-message p {
    color: #8888a0;
    font-size: 0.9rem;
    text-align: center;
}

/* ── Blog: Feed & Cards ──────────────────────────────────── */
.blog-feed {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 48px;
}

.blog-post-card {
    background: rgba(200, 200, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.4s ease both;
}

.blog-post-card:hover {
    border-color: rgba(100, 149, 237, 0.2);
    box-shadow: 0 6px 30px rgba(120, 60, 180, 0.15);
}

.blog-post-header {
    padding: 26px 28px 18px;
}

.blog-post-title {
    font-family: 'Unica One', sans-serif;
    font-size: 1.3rem;
    color: #d8d8ee;
    margin: 0 0 8px;
    letter-spacing: 0.5px;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.blog-post-author {
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #6495ed;
    font-family: 'Unica One', sans-serif;
}

.blog-post-date {
    font-size: 0.75rem;
    color: #444458;
    font-family: 'Unica One', sans-serif;
    letter-spacing: 0.5px;
}

.blog-post-body {
    padding: 0 28px 20px;
    color: #9090a8;
    font-size: 0.95rem;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
    text-align: left;
}

.blog-post-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.15);
}

.btn-like {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: #666680;
    font-family: 'Unica One', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 1px;
    padding: 5px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-like:hover {
    border-color: rgba(100, 149, 237, 0.4);
    color: #6495ed;
    background: rgba(100, 149, 237, 0.06);
}

.btn-like.liked {
    border-color: rgba(100, 149, 237, 0.5);
    color: #6495ed;
    background: rgba(100, 149, 237, 0.1);
}

.btn-toggle-comments {
    background: none;
    border: none;
    color: #555570;
    font-family: 'Unica One', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    padding: 5px 0;
    transition: color 0.2s ease;
    margin-left: auto;
}

.btn-toggle-comments:hover {
    color: #9090b0;
}

/* ── Blog: Comments ──────────────────────────────────────── */
.comment-section {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 28px 24px;
    background: rgba(0, 0, 0, 0.1);
    display: none;
}

.comment-section.open {
    display: block;
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.comment-item {
    display: flex;
    gap: 12px;
}

.comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #243870, #5a8ae0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #fff;
    font-family: 'Unica One', sans-serif;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.comment-bubble {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 12px 16px;
    flex: 1;
}

.comment-author-line {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 6px;
}

.comment-author {
    font-family: 'Unica One', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #6495ed;
}

.comment-date {
    font-size: 0.7rem;
    color: #404050;
    font-family: 'Unica One', sans-serif;
}

.comment-text {
    font-size: 0.88rem;
    color: #8888a0;
    line-height: 1.6;
    word-break: break-word;
    margin: 0;
    padding: 0;
    text-align: left;
}

.no-comments {
    font-size: 0.82rem;
    color: #444455;
    font-family: 'Unica One', sans-serif;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-style: italic;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comment-form input,
.comment-form textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #d0d0e0;
    font-family: 'Unica One', sans-serif;
    font-size: 0.88rem;
    padding: 10px 14px;
    outline: none;
    transition: border-color 0.2s ease;
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
}

.comment-form input::placeholder,
.comment-form textarea::placeholder {
    color: #383848;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: rgba(100, 149, 237, 0.4);
}

.comment-form-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.comment-form-row input {
    flex: 1;
}

.btn-post-comment {
    background: rgba(100, 149, 237, 0.15);
    border: 1px solid rgba(100, 149, 237, 0.35);
    border-radius: 8px;
    color: #6495ed;
    font-family: 'Unica One', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 10px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-post-comment:hover {
    background: rgba(100, 149, 237, 0.25);
    border-color: rgba(100, 149, 237, 0.6);
    color: #d9a0ff;
}

.blog-empty {
    text-align: center;
    padding: 60px 20px;
    color: #444455;
    font-family: 'Unica One', sans-serif;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* ── Loading / Error States ──────────────────────────────── */
.blog-loading {
    text-align: center;
    padding: 60px 20px;
    font-family: 'Unica One', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #444458;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.loading-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3a68c0;
    display: inline-block;
    animation: dotPulse 1.2s ease-in-out infinite;
}

.loading-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotPulse {

    0%,
    80%,
    100% {
        opacity: 0.2;
        transform: scale(0.8);
    }

    40% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.sb-error {
    color: #ff6b80;
    font-family: 'Unica One', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 1px;
    margin-top: 10px;
    padding: 10px 14px;
    background: rgba(255, 80, 100, 0.07);
    border: 1px solid rgba(255, 80, 100, 0.2);
    border-radius: 8px;
}

.btn-submit:disabled,
.btn-post-comment:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ── Custom Request: Product Type ────────────────────────── */
.product-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.product-type-option {
    position: relative;
}

.product-type-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.product-type-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.product-type-label:hover {
    background: rgba(100, 149, 237, 0.06);
    border-color: rgba(100, 149, 237, 0.3);
}

.product-type-option input[type="radio"]:checked+.product-type-label {
    background: rgba(100, 149, 237, 0.12);
    border-color: rgba(100, 149, 237, 0.55);
    box-shadow: 0 0 16px rgba(100, 149, 237, 0.15);
}

.product-type-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.product-type-name {
    font-family: 'Unica One', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #8888a0;
}

.product-type-option input[type="radio"]:checked+.product-type-label .product-type-name {
    color: #6495ed;
}

/* ── Budget Slider ───────────────────────────────────────── */
.budget-display {
    font-family: 'Unica One', sans-serif;
    font-size: 1.1rem;
    color: #6495ed;
    text-align: right;
    letter-spacing: 1px;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    padding: 0;
    border: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #3a68c0, #6495ed);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(100, 149, 237, 0.4);
    transition: transform 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #3a68c0, #6495ed);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 8px rgba(100, 149, 237, 0.4);
}

/* ── Owner Actions (Edit / Delete) ───────────────────────── */
.owner-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 4px;
}

.btn-owner-edit,
.btn-owner-delete {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-family: 'Unica One', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-owner-edit {
    color: #8888bb;
}

.btn-owner-edit:hover,
.btn-owner-edit.active {
    background: rgba(100, 149, 237, 0.1);
    border-color: rgba(100, 149, 237, 0.4);
    color: #6495ed;
}

.btn-owner-delete {
    color: #886666;
}

.btn-owner-delete:hover {
    background: rgba(255, 80, 80, 0.1);
    border-color: rgba(255, 80, 80, 0.4);
    color: #ff7070;
}

/* ── Inline Edit Form ────────────────────────────────────── */
.edit-form-wrap {
    padding: 0 28px 20px;
    border-top: 1px solid rgba(100, 149, 237, 0.15);
    background: rgba(55, 100, 190, 0.04);
    animation: fadeInUp 0.25s ease both;
}

.edit-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 20px;
}

.edit-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.edit-form-field label {
    font-family: 'Unica One', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #7070a0;
}

.edit-form-field input,
.edit-form-field textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(100, 149, 237, 0.25);
    border-radius: 8px;
    color: #d0d0e0;
    font-family: 'Unica One', sans-serif;
    font-size: 0.93rem;
    padding: 10px 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
}

.edit-form-field input:focus,
.edit-form-field textarea:focus {
    border-color: rgba(100, 149, 237, 0.55);
    box-shadow: 0 0 0 3px rgba(100, 149, 237, 0.1);
}

.edit-form-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.btn-edit-save {
    background: linear-gradient(135deg, #3060b8 0%, #6495ed 100%);
    color: #fff;
    font-family: 'Unica One', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    padding: 9px 22px;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 3px 14px rgba(50, 90, 180, 0.3);
}

.btn-edit-save:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.btn-edit-save:active {
    transform: translateY(0);
}

.btn-edit-save:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.btn-edit-cancel {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #666680;
    font-family: 'Unica One', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 9px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-edit-cancel:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #9090b0;
    border-color: rgba(255, 255, 255, 0.18);
}

/* ── Delete Confirm Modal ─────────────────────────────────── */
.delete-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 8, 18, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.delete-modal-overlay.open {
    opacity: 1;
}

.delete-modal {
    background: rgba(30, 22, 50, 0.95);
    border: 1px solid rgba(255, 80, 80, 0.25);
    border-radius: 18px;
    padding: 40px 36px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 80, 80, 0.1);
    transform: translateY(10px);
    transition: transform 0.25s ease;
    animation: fadeInUp 0.3s ease both;
}

.delete-modal-icon {
    font-size: 2.5rem;
    margin: 0;
    line-height: 1;
}

.delete-modal h3 {
    font-family: 'Unica One', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #d8d8ee;
    margin: 0;
}

.delete-modal-sub {
    font-size: 0.83rem;
    color: #666680;
    font-family: 'Unica One', sans-serif;
    letter-spacing: 0.5px;
    margin: 0;
}

.delete-modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-confirm-delete {
    background: linear-gradient(135deg, #8b2020, #e05050);
    color: #fff;
    font-family: 'Unica One', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 16px rgba(200, 40, 40, 0.35);
}

.btn-confirm-delete:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.btn-confirm-delete:active {
    transform: translateY(0);
}

.btn-confirm-delete:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.btn-cancel-delete {
    background: rgba(255, 255, 255, 0.05);
    color: #7070a0;
    font-family: 'Unica One', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cancel-delete:hover {
    background: rgba(255, 255, 255, 0.09);
    color: #a0a0c0;
}

.delete-modal-err {
    margin-top: 4px;
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.8rem;
    }

    .glass-panel {
        padding: 26px 22px;
    }

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

    .blog-post-header,
    .blog-post-body,
    .blog-post-actions,
    .comment-section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .product-type-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}