/* ================================================================
   EDEN'S COUTURE — SHARED STYLESHEET v1.0
   ================================================================ */

/* ── ROOT VARIABLES ── */
:root {
    --phase1-red: linear-gradient(145deg, #3d0000 0%, #9e1a1a 45%, #ff4500 100%);
    --phase2-purple: linear-gradient(to bottom, #6B00FF, #FF0066);
    --cycle: 7.5s;
    --gold: #d4af77;
    --bg-gradient: linear-gradient(to bottom, #1a1a2e, #0d0d0d);
    /* Default fallback */
}

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

/* ── BASE BODY ── */
body {
    font-family: 'Poppins', sans-serif;
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.35s ease;
    background: #00051a;
    /* Base dark background */
    background-attachment: fixed;
}

body.loaded {
    opacity: 1;
}

/* Home Background Animations */
#home,
#collection,
body {
    animation: bodyColorSettle 8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

@keyframes bodyColorSettle {
    0% {
        background: linear-gradient(145deg, #2d1200, #7a4a00, #bf8a20);
    }

    60% {
        background: linear-gradient(145deg, #0a1428, #001535, #001f3f);
    }

    100% {
        background: linear-gradient(to bottom, #001f3f, #00050a);
    }
}

/* ── NAVBAR ── */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 5%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-link img {
    height: 48px;
    width: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 2px;
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fcf6ba, #aa771c);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
}

/* ── HAMBURGER ── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    z-index: 1100;
}

.hamburger span {
    width: 26px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: 0.35s;
    display: block;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── NAV LINKS ── */
.nav-links {
    list-style: none;
    display: flex;
    gap: 22px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #bf953f;
}

.nav-links a.active {
    color: #bf953f !important;
    font-weight: 600;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #bf953f;
}

/* ── CTA BUTTON ── */
.cta-button {
    background: white;
    color: black;
    border: none;
    padding: 10px 20px;
    font-family: 'Playfair Display', serif;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 4px;
    transition: 0.3s;
}

.cta-button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* ================================================================
   HOMEPAGE SPECIFIC (Hero, Collections, Welcome Flip, Stats)
   ================================================================ */

/* ── HERO SPLIT ── */
.hero-wrapper {
    display: flex;
    width: 100%;
    height: 100vh;
    min-height: 400px;
    animation: heroSlideIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

@keyframes heroSlideIn {
    from {
        transform: translateY(90px);
        opacity: 0;
    }

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

#home {
    flex: 5;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #001a38, #000c1a);
}

#collection {
    flex: 5;
    position: relative;
    overflow: hidden;
}

#collection video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.video-color-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    animation: overlayColorSettle 8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

@keyframes overlayColorSettle {
    0% {
        background: rgba(191, 130, 20, 0.65);
    }

    60% {
        background: rgba(0, 20, 50, 0.30);
    }

    100% {
        background: rgba(0, 31, 63, 0.15);
    }
}

/* ── HERO CTA & BUTTONS ── */
.hero-cta-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    width: 90%;
}

.book-now-btn {
    display: inline-block;
    padding: 13px 40px;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    text-decoration: none;
    color: white;
    border: 2px solid var(--gold);
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(5px);
    transition: all 0.4s ease;
    box-shadow: 0 0 15px rgba(212, 175, 119, 0.2);
    white-space: nowrap;
}

.book-now-btn:hover {
    background: var(--gold);
    color: black;
    transform: translateY(-4px);
    letter-spacing: 2px;
    box-shadow: 0 10px 30px rgba(212, 175, 119, 0.5);
}

/* ── WELCOME FLIP CARD ── */
.welcome-panel {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1400px;
    z-index: 5;
    opacity: 0;
    animation: panelFadeIn 1s ease 0.4s both;
}

@keyframes panelFadeIn {
    from {
        opacity: 0;
        transform: scale(0.94);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.flip-card {
    width: clamp(260px, 88%, 540px);
    min-height: clamp(160px, 30vh, 280px);
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.flip-card.do-flip {
    transform: rotateY(-180deg);
}

.flip-front,
.flip-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(16px, 4%, 36px) clamp(12px, 5%, 32px);
    text-align: center;
    gap: 10px;
}

.flip-back {
    transform: rotateY(180deg);
}

.welcome-label {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.6rem, 1.5vw, 0.82rem);
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(191, 149, 63, 0.8);
    margin-bottom: 6px;
}

.welcome-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.3rem, 4.5vw, 2.9rem);
    font-weight: 600;
    line-height: 1.2;
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fcf6ba, #aa771c);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
    min-height: 1.4em;
}

.welcome-cursor,
.amharic-cursor {
    display: inline-block;
    width: 2px;
    height: 0.9em;
    background: #bf953f;
    margin-left: 3px;
    animation: blink 0.7s infinite;
    vertical-align: middle;
}

.welcome-cursor.hidden,
.amharic-cursor.hidden {
    opacity: 0;
    animation: none;
}

.welcome-divider {
    width: clamp(40px, 15%, 70px);
    height: 1px;
    background: linear-gradient(to right, transparent, #bf953f, transparent);
}

.amharic-line {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.95rem, 3vw, 1.75rem);
    font-weight: 300;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.93);
    letter-spacing: 0.5px;
    min-height: 1.6em;
    text-align: center;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* ── SIGNATURE MOMENTS ── */
.signature-section {
    padding: 90px 0 80px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.section-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 2px;
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fcf6ba, #aa771c);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
}

.signature-slider {
    overflow: hidden;
    width: 100%;
}

.signature-track {
    display: flex;
    width: max-content;
    animation: sigSlide 30s linear infinite;
}

.signature-track:hover {
    animation-play-state: paused;
}

.slide-group {
    display: flex;
    gap: 40px;
    padding-right: 40px;
}

@keyframes sigSlide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.signature-card {
    width: 260px;
    min-width: 260px;
    height: 360px;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.signature-card:hover {
    transform: scale(1.05) translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.signature-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── OUR COLLECTIONS (Home Categories) ── */
#our-collection {
    padding: 80px 0 20px;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    padding: 40px 6%;
}

.category-card {
    position: relative;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.category-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: var(--gold);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    text-align: center;
}

.card-overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    letter-spacing: 2px;
}

.card-overlay span {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 5px;
    letter-spacing: 1px;
}

/* ── ABOUT SECTION ── */
.about-section {
    padding: 110px 8%;
}

.about-container {
    max-width: 1000px;
    margin: auto;
    opacity: 0;
    transform: translateY(40px);
    transition: 1.5s ease;
}

.about-container.show {
    opacity: 1;
    transform: translateY(0);
}

.about-container p {
    margin-bottom: 22px;
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    line-height: 2;
    color: rgba(255, 255, 255, 0.9);
    transition: 0.4s ease;
    padding: 14px;
}

.about-container p:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(8px);
}

.about-quote {
    margin-top: 70px;
    padding: 45px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'Playfair Display', serif;
    font-size: clamp(1rem, 2.5vw, 1.8rem);
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    transition: 0.6s ease;
}

.about-quote:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.02);
    color: var(--gold);
}

/* ── STATS SECTION ── */
.stats-section {
    padding: 80px 2%;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 15px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
    padding: 15px 5px;
    flex: 1 1 18%;
    min-width: 140px;
    transition: transform 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-number {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-plus {
    font-size: 2.5rem;
    color: var(--gold);
    vertical-align: top;
    margin-left: 2px;
}

.stat-label {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

/* ── PAGE SKELETON TRANSITION ── */
.transition-overlay {
    position: fixed;
    inset: 0;
    background: #00051a;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.transition-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.skeleton-page {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skeleton-nav {
    width: 100%;
    height: 70px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.skeleton-hero {
    width: 100%;
    height: 45vh;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    flex: 1;
}

.skeleton-card-loading {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.skeleton-nav::after,
.skeleton-hero::after,
.skeleton-card-loading::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transform: translateX(-100%);
    animation: shimmer 1.5s infinite;
}

.card-zoom-effect {
    transform: scale(1.4) !important;
    z-index: 1000;
    opacity: 0;
    transition: all 0.7s ease !important;
}

/* ================================================================
   HEADER SECTION & GALLERY GRID (Other Pages)
   ================================================================ */
.header-section {
    padding: 120px 5% 40px;
    text-align: center;
}

.header-section h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 6px;
}

.header-section p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
}

.dresses-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 0 5% 100px;
    max-width: 1600px;
    margin: 0 auto;
}

/* ── DRESS CARD ── */
.dress-card {
    position: relative;
    height: 400px;
    background: var(--glass, rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: var(--transition, all 0.6s cubic-bezier(0.23, 1, 0.32, 1));
}

.dress-card:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7), 0 0 30px rgba(197, 160, 89, 0.2);
    border-color: var(--accent-gold, #bf953f);
    background: rgba(255, 255, 255, 0.08);
}

.card-slider {
    width: 100%;
    height: 100%;
    position: relative;
    position: absolute;
    /* Needed for Collection categories */
    inset: 0;
}

.card-slider img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.card-slider img.active {
    opacity: 1;
}

.card-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    transform: translateY(100%);
    transition: var(--transition, 0.6s ease);
}

.dress-card:hover .card-info {
    transform: translateY(0);
}

.card-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    margin-bottom: 4px;
}

.card-info p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Card Actions (Admin) */
.card-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 20;
    display: flex;
    gap: 5px;
    opacity: 0;
    transition: 0.3s;
}

.dress-card:hover .card-actions {
    opacity: 1;
}

.btn-delete {
    background: rgba(220, 53, 69, 0.8);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: 0.2s;
}

.btn-delete:hover {
    background: rgb(220, 53, 69);
}

/* ================================================================
   MODALS (View Item, Login, Admin)
   ================================================================ */

/* Item View */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.modal-content {
    width: 60%;
    height: 80vh;
    background: var(--bg-gradient);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 100px rgba(107, 0, 255, 0.4);
}

.modal-left {
    width: 50%;
    position: relative;
}

.modal-right {
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

.modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.modal-img.active {
    display: block;
    animation: zoomIn 0.5s ease;
}

.modal-right h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.modal-right p {
    margin-bottom: 25px;
    line-height: 1.8;
    color: #eee;
}

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    z-index: 10;
    transition: 0.2s;
}

.slide-btn:hover {
    background: #f0f0f0;
    transform: translateY(-50%) scale(1.1);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 100;
    transition: 0.2s;
}

.close-modal:hover {
    color: #ff7070;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #25D366;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-family: 'Poppins';
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

.whatsapp-btn:hover {
    background: #1ebe59;
    transform: translateY(-1px);
}

/* Login */
.pin-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 4000;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(15px);
}

.pin-container {
    background: var(--bg-gradient, linear-gradient(to bottom, #1a1a2e, #0d0d0d));
    padding: 40px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    width: 380px;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
    position: relative;
}

.pin-header h2 {
    font-family: 'Playfair Display';
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: white;
}

.pin-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.pin-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    padding: 14px 0;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Poppins';
    width: 100%;
    margin-top: 5px;
}

.pin-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Admin Modal */
.admin-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 4000;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(20px);
}

.admin-form-container {
    background: #111;
    padding: 50px 40px 40px;
    border-radius: 20px;
    width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 100px rgba(191, 149, 63, 0.2);
}

.admin-form-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: white;
    text-align: center;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.admin-form-container input,
.admin-form-container textarea,
.admin-form-container select {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 10px;
    font-family: 'Poppins';
    transition: 0.3s;
    outline: none;
}

.admin-form-container input:focus,
.admin-form-container textarea:focus,
.admin-form-container select:focus {
    border-color: rgba(191, 149, 63, 0.5);
}

.admin-form-container select option {
    background: #222;
    color: white;
}

.admin-form-container button[type="submit"] {
    width: 100%;
    background: white;
    color: black;
    border: none;
    padding: 16px;
    cursor: pointer;
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 10px;
    transition: 0.3s;
}

.admin-form-container button[type="submit"]:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}

.admin-form-container button[type="submit"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Dashboard Image Preview */
#imagePreviewContainer {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    margin-top: 10px;
    min-height: 80px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-img {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.2s;
}

/* ================================================================
   SUBSCRIBE SECTION (Merged Home Interactive + Standard)
   ================================================================ */
.subscribe-section {
    padding: 100px 5%;
    text-align: center;
    background: rgba(0, 0, 0, 0.45);
    border-top: 1px solid rgba(191, 149, 63, 0.15);
    border-bottom: 1px solid rgba(191, 149, 63, 0.15);
    position: relative;
    overflow: hidden;
}

.subscribe-badge {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #bf953f;
    border: 1px solid rgba(191, 149, 63, 0.4);
    padding: 5px 18px;
    border-radius: 20px;
    margin-bottom: 20px;
    background: rgba(191, 149, 63, 0.08);
}

.subscribe-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    margin-bottom: 12px;
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subscribe-section p {
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    color: rgba(255, 255, 255, 0.6);
    max-width: 480px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.subscribe-card {
    max-width: 520px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(191, 149, 63, 0.2);
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 0 60px rgba(191, 149, 63, 0.05);
}

.subscribe-choice {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.choice-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 30px 18px;
    border-radius: 16px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: 0.3s;
    border: 1px solid rgba(191, 149, 63, 0.35);
    background: rgba(255, 255, 255, 0.04);
    color: white;
}

.choice-btn i {
    font-size: 1.8rem;
    color: #bf953f;
    margin-bottom: 4px;
}

.choice-btn .choice-title {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.choice-btn .choice-sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
}

.choice-btn:hover {
    background: rgba(191, 149, 63, 0.1);
    border-color: rgba(191, 149, 63, 0.7);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(191, 149, 63, 0.15);
}

.choice-email:hover i,
.choice-phone:hover i {
    color: #fcf6ba;
}

.subscribe-form {
    animation: subFormFade 0.35s ease;
}

@keyframes subFormFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

.subscribe-back {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.55);
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    cursor: pointer;
    padding: 0 0 14px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: 0.2s;
}

.subscribe-back:hover {
    color: #fcf6ba;
}

.subscribe-form-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: #fcf6ba;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.subscribe-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.subscribe-card input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: 0.3s;
    box-sizing: border-box;
}

.subscribe-card input:focus {
    border-color: rgba(191, 149, 63, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.subscribe-card input.field-error {
    border-color: rgba(255, 70, 70, 0.6);
}

.subscribe-submit {
    width: 100%;
    padding: 15px;
    background: white;
    color: black;
    border: none;
    border-radius: 12px;
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 8px;
}

.subscribe-submit:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.subscribe-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.subscribe-msg {
    margin-top: 14px;
    font-size: 0.88rem;
    min-height: 22px;
    transition: 0.3s;
}

.subscribe-perks {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.perk {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
}

.perk i {
    color: #bf953f;
    font-size: 0.7rem;
}


/* ================================================================
   FOOTER & MISC
   ================================================================ */
.signature-footer {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    padding: 55px 5% 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    margin-top: 0;
}

.footer-brand h2,
.about-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fcf6ba, #aa771c);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 25px 0;
    list-style: none;
    flex-wrap: wrap;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    transition: 0.3s;
    letter-spacing: 1px;
}

.footer-nav a:hover {
    color: white;
    letter-spacing: 2px;
}

.social-bar {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.mag-btn {
    position: relative;
    width: 62px;
    height: 62px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mag-btn a {
    color: white;
    font-size: 1.45rem;
    z-index: 2;
    transition: color 0.4s;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.liquid {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 200%;
    background: linear-gradient(45deg, #6B00FF, #FF0066);
    transition: top 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1;
    border-radius: 40%;
}

#igBtn .liquid {
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
}

#tkBtn .liquid {
    background: #000000;
}

#tgBtn .liquid {
    background: #0088cc;
}

#phBtn .liquid {
    background: #25D366;
}

#fbBtn .liquid {
    background: #1877F2;
}

#asBtn .liquid {
    background: linear-gradient(45deg, #444, #666);
}

.mag-btn:hover .liquid {
    top: -50%;
    animation: liquid-wave 5s infinite linear;
}

.mag-btn:hover {
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(255, 0, 102, 0.3);
}

.copyright-line {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
    margin-top: 20px;
}

@keyframes liquid-wave {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes zoomIn {
    from {
        transform: scale(1.1);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* ================================================================
   RESPONSIVE BREAKPOINTS
   ================================================================ */

@media (hover: none) {
    .card-info {
        transform: translateY(0);
    }

    .card-actions {
        opacity: 1;
    }

    .dress-card:hover {
        transform: none;
        box-shadow: none;
    }

    .category-card:hover {
        transform: none;
        box-shadow: none;
        border-color: rgba(255, 255, 255, 0.1);
    }

    .signature-card:hover {
        transform: none;
        box-shadow: none;
    }
}

@media (min-width: 1401px) {
    .dresses-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1400px) {
    .dresses-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .collection-grid {
        gap: 22px;
    }
}

@media (max-width: 1200px) {
    .dresses-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .dress-card {
        height: 340px;
    }

    .nav-links {
        gap: 16px;
    }

    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-card {
        height: 480px;
    }
}

@media (max-width: 1024px) {
    .header-section h1 {
        font-size: 2.4rem;
    }

    .dress-card {
        height: 300px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 0.88rem;
    }

    .hero-cta-container {
        left: 50%;
        width: 90%;
    }

    .category-card {
        height: 420px;
    }

    .hero-wrapper {
        margin-top: 74px;
    }

    .skeleton-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(20, 20, 20, 0.98);
        backdrop-filter: blur(15px);
        padding: 20px 5%;
        gap: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 1rem;
    }

    .dresses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .header-section {
        padding: 100px 5% 25px;
    }

    .header-section h1 {
        font-size: 1.9rem;
        letter-spacing: 3px;
    }

    .logo-link img {
        height: 40px;
        width: 40px;
    }

    .logo-text {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .hero-wrapper {
        height: 55vh;
        min-height: 260px;
        margin-top: 62px;
    }

    #home,
    #collection {
        flex: 1;
    }

    .hero-cta-container {
        left: 50%;
        top: 50%;
        width: 95%;
        transform: translate(-50%, -50%);
    }

    .book-now-btn {
        padding: 10px 24px;
        font-size: 0.82rem;
        margin-left: 0 !important;
    }

    .signature-section {
        padding: 55px 0;
    }

    .signature-card {
        min-width: 180px;
        height: 240px;
    }

    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 24px 4%;
    }

    .category-card {
        height: 60vw;
        min-height: 250px;
        max-height: 380px;
    }

    .about-section {
        padding: 55px 5%;
    }

    .about-quote {
        font-size: 1.1rem;
        padding: 26px;
        margin-top: 45px;
    }

    .stats-section {
        gap: 30px 10px;
        padding: 60px 4%;
    }

    .stat-item {
        flex: 1 1 40%;
    }

    .stat-number {
        font-size: 3rem;
    }

    .modal-content {
        width: 95%;
        height: 90vh;
        flex-direction: column;
    }

    .modal-left {
        width: 100%;
        height: 55%;
        flex-shrink: 0;
        background: #000;
    }

    .modal-img {
        object-fit: contain;
    }

    .modal-right {
        width: 100%;
        padding: 20px 24px;
        overflow-y: auto;
        justify-content: flex-start;
    }

    .admin-form-container {
        width: 92vw;
        padding: 30px 18px 24px;
    }

    .pin-container {
        width: 90vw;
        max-width: 360px;
        padding: 30px 20px;
    }

    .social-bar {
        gap: 18px;
    }

    .mag-btn {
        width: 54px;
        height: 54px;
    }

    .mag-btn a {
        font-size: 1.2rem;
    }

    .footer-nav {
        gap: 14px;
    }

    .dress-card {
        height: 60vw;
        min-height: 250px;
        max-height: 380px;
    }
}

@media (max-width: 540px) {
    .dresses-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .dress-card {
        height: 120vw;
        min-height: 350px;
        max-height: 500px;
    }

    .header-section h1 {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }

    .social-bar {
        gap: 16px;
    }

    .hero-wrapper {
        height: 50vh;
        min-height: 240px;
    }

    .book-now-btn {
        padding: 9px 20px;
        font-size: 0.78rem;
    }

    .collection-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 20px 4%;
    }

    .skeleton-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        height: 120vw;
        min-height: 350px;
        max-height: 500px;
    }

    .signature-card {
        min-width: 155px;
        height: 210px;
    }

    .signature-section {
        padding: 45px 0;
    }

    .subscribe-section {
        padding: 70px 5%;
    }

    .subscribe-row,
    .subscribe-btn-row,
    .subscribe-choice {
        grid-template-columns: 1fr;
    }

    .choice-btn {
        padding: 22px 16px;
    }

    .subscribe-card {
        padding: 24px 16px;
    }

    .subscribe-perks {
        gap: 14px;
    }
}

@media (max-width: 420px) {
    .navbar {
        padding: 0.75rem 4%;
    }

    .logo-link img {
        height: 36px;
        width: 36px;
    }

    .logo-text {
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }

    .hero-wrapper {
        height: 46vh;
        min-height: 220px;
    }

    .book-now-btn {
        padding: 8px 16px;
        font-size: 0.72rem;
    }

    .collection-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px 4%;
    }

    .mag-btn {
        width: 50px;
        height: 50px;
    }

    .mag-btn a {
        font-size: 1.1rem;
    }

    .social-bar {
        gap: 14px;
    }

    .about-quote {
        font-size: 0.95rem;
        padding: 20px;
    }
}

/* ================================================================
   ADMIN.PHP SPECIFIC STYLES
   ================================================================ */

.admin-body {
    background: linear-gradient(135deg, #0a0a0a 0%, #111108 50%, #0a0a0a 100%);
    min-height: 100vh;
}

/* ── PAGE LAYOUT ── */
.admin-page {
    max-width: 780px;
    margin: 0 auto;
    padding: 100px 5% 80px;
}

.admin-page-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 8px;
    background: linear-gradient(to right, #bf953f, #fcf6ba, #bf953f);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
}

.admin-page-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* ── AUTH STATUS BAR ── */
.auth-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: rgba(75, 181, 67, 0.1);
    border: 1px solid rgba(75, 181, 67, 0.3);
    border-radius: 10px;
    margin-bottom: 20px;
}

.auth-status span {
    color: #4BB543;
    font-size: 0.9rem;
}

.signout-btn {
    background: rgba(255, 80, 80, 0.15);
    border: 1px solid rgba(255, 80, 80, 0.4);
    color: #ff7070;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Poppins';
    font-size: 0.85rem;
    text-decoration: none;
    transition: 0.2s;
}

.signout-btn:hover {
    background: rgba(255, 80, 80, 0.3);
}

/* ── LOGIN BOX ── */
.login-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
}

.login-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.login-box form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.login-box input {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    border-radius: 10px;
    font-family: 'Poppins';
    font-size: 0.95rem;
    outline: none;
    transition: 0.3s;
}

.login-box input:focus {
    border-color: rgba(191, 149, 63, 0.6);
    background: rgba(255, 255, 255, 0.09);
}

.login-submit-btn {
    background: white;
    color: black;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
}

.login-submit-btn:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}

/* ── RED GLOW ERROR MESSAGE ── */
.error-msg {
    display: none;
    background: rgba(255, 50, 50, 0.08);
    border: 1px solid rgba(255, 70, 70, 0.4);
    color: #ff7070;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 0.88rem;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
    box-shadow: 0 0 18px rgba(255, 50, 50, 0.2), 0 0 6px rgba(255, 50, 50, 0.15);
    animation: redPulse 2.5s ease-in-out infinite alternate;
}

.error-msg.show {
    display: block;
}

@keyframes redPulse {
    from {
        box-shadow: 0 0 10px rgba(255, 50, 50, 0.15), 0 0 4px rgba(255, 50, 50, 0.1);
    }

    to {
        box-shadow: 0 0 28px rgba(255, 50, 50, 0.35), 0 0 10px rgba(255, 50, 50, 0.25);
    }
}

/* ── DASHBOARD ── */
.dashboard {
    display: block;
}

.dash-tabs {
    display: flex;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.dash-tab {
    flex: 1;
    padding: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Poppins';
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.3s;
}

.dash-tab.active {
    background: white;
    color: black;
    font-weight: 600;
}

.dash-panel {
    display: none;
}

.dash-panel.active {
    display: block;
}

/* ── UPLOAD BOX ── */
.upload-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
}

.upload-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: white;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 13px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 10px;
    font-family: 'Poppins';
    font-size: 0.95rem;
    transition: 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: rgba(191, 149, 63, 0.6);
    background: rgba(255, 255, 255, 0.08);
}

/* ── CATEGORY CARDS ── */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.cat-card {
    padding: 16px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
}

.cat-card:hover {
    border-color: rgba(191, 149, 63, 0.4);
    background: rgba(191, 149, 63, 0.05);
}

.cat-card.selected {
    border-color: #bf953f;
    background: rgba(191, 149, 63, 0.1);
}

.cat-card i {
    font-size: 1.6rem;
    margin-bottom: 8px;
    display: block;
}

.cat-card span {
    font-size: 0.85rem;
    font-family: 'Poppins';
    color: rgba(255, 255, 255, 0.8);
}

.cat-card.selected span {
    color: #fcf6ba;
}

/* ── PREVIEW GRID ── */
.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 8px;
    margin-top: 10px;
    min-height: 60px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 10px;
}

.preview-item {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 7px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-img {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ── CONFIRM STEP ── */
.confirm-step {
    display: none;
    background: rgba(191, 149, 63, 0.08);
    border: 1px solid rgba(191, 149, 63, 0.3);
    border-radius: 14px;
    padding: 24px;
    margin-top: 20px;
}

.confirm-step h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #fcf6ba;
}

.confirm-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

.confirm-row:last-of-type {
    border: none;
}

.confirm-row .lbl {
    color: rgba(255, 255, 255, 0.45);
}

.confirm-row .val {
    color: white;
    font-weight: 500;
}

.confirm-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-confirm {
    flex: 1;
    background: white;
    color: black;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-confirm:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}

.btn-back {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.6);
    padding: 14px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Poppins';
    transition: 0.2s;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ── LOADER / PROGRESS ── */
.loader-area {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.loader-area .spin {
    font-size: 1.4rem;
    color: #bf953f;
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

.loader-area .msg {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #bf953f;
    font-weight: 600;
}

/* ── MANAGE PANEL ── */
.manage-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
}

.manage-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.manage-items {
    list-style: none;
}

.manage-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 10px;
    gap: 12px;
}

.manage-item-info h4 {
    font-size: 0.9rem;
    color: white;
    margin: 0 0 3px;
}

.manage-item-info p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.manage-empty-msg {
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    padding: 40px 0;
    font-size: 0.9rem;
}

/* ── EMAIL PANEL ── */
.email-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
}

.email-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 6px;
    color: white;
}

.email-box .subtitle {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 24px;
}

.subscriber-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(191, 149, 63, 0.1);
    border: 1px solid rgba(191, 149, 63, 0.3);
    color: #fcf6ba;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-family: 'Poppins';
    margin-bottom: 22px;
}

.email-preview {
    margin-top: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.email-preview h5 {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.email-preview-subject {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: white;
    margin-bottom: 8px;
}

.email-preview-body {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    white-space: pre-wrap;
}

.send-result {
    margin-top: 16px;
    padding: 14px;
    border-radius: 10px;
    text-align: center;
    font-size: 0.9rem;
    display: none;
}

.send-result.success {
    background: rgba(75, 181, 67, 0.1);
    border: 1px solid rgba(75, 181, 67, 0.3);
    color: #4BB543;
}

.send-result.error {
    background: rgba(255, 50, 50, 0.08);
    border: 1px solid rgba(255, 50, 50, 0.3);
    color: #ff7070;
}

@media (max-width:600px) {
    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-page {
        padding: 90px 4% 60px;
    }
}