/* VetCare - Catálogo de Produtos | Cores Originais Mantidas */
/* Cores principais: #2F80ED (azul), #1A5CB5 (azul escuro), #F7F7FA (fundo), #2D3748 (texto) */

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2F80ED;
    --primary-dark: #1A5CB5;
    --primary-light: #56a0f5;
    --bg-light: #F7F7FA;
    --text-dark: #2D3748;
    --text-muted: #718096;
    --white: #ffffff;
    --border: #DCEEFF;
    --success: #48BB78;
    --shadow: rgba(47, 128, 237, 0.12);
    --shadow-hover: rgba(47, 128, 237, 0.22);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    min-width: 0;
    max-width: 100%;
    word-wrap: break-word;
    -webkit-text-size-adjust: 100%;
}

html {
    min-width: 0;
    max-width: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}

/* Evita que gestos verticais causem pan horizontal em dispositivos touch */
html, body {
    touch-action: pan-y;
    -ms-touch-action: pan-y;
    overscroll-behavior-x: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

input,
textarea,
select,
button {
    font-size: 16px;
}

/* ==================== HEADER ==================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(250, 250, 252, 0.98);
    border-bottom: 1px solid rgba(47, 128, 237, 0.08);
    backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(15, 64, 120, 0.08);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.4rem;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(47, 128, 237, 0.12);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.95);
}

.site-logo-image {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
}

.vetcare-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.3px;
}

/* Navegação */
.nav-buttons {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.35rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 999px;
    box-shadow: 0 18px 45px rgba(47, 128, 237, 0.08);
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.84);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.35px;
    transition: transform 0.2s ease, background 0.25s ease, color 0.25s ease;
    border: 1px solid rgba(226, 232, 240, 0.9);
    white-space: nowrap;
    box-shadow: 0 10px 20px rgba(15, 64, 120, 0.04);
}

.nav-btn:hover {
    transform: translateY(-1px);
    background: rgba(47, 128, 237, 0.12);
    color: var(--primary);
}

.nav-btn.active {
    background: rgba(47, 128, 237, 0.14);
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    border-color: rgba(47, 128, 237, 0.24);
}

.nav-btn-admin {
    background: linear-gradient(135deg, #2F80ED, #1A5CB5) !important;
    color: var(--white) !important;
    border: none;
    border-radius: 999px;
    box-shadow: 0 16px 35px rgba(47, 92, 197, 0.22);
    padding: 0.85rem 1.5rem;
    min-width: 120px;
    text-align: center;
}

.nav-btn-admin:hover,
.nav-btn-admin:focus,
.nav-btn-admin:active {
    background: linear-gradient(135deg, #2F80ED, #1A5CB5) !important;
    color: var(--white) !important;
    transform: none;
    box-shadow: 0 16px 35px rgba(47, 92, 197, 0.22);
}

@media (max-width: 768px) {
    .nav-buttons .nav-btn-admin,
    .nav-buttons a.nav-btn-admin {
        background: linear-gradient(135deg, #2F80ED, #1A5CB5) !important;
        color: var(--white) !important;
        border: none;
        box-shadow: 0 16px 35px rgba(47, 92, 197, 0.22);
    }

    .nav-buttons .nav-btn-admin:hover,
    .nav-buttons .nav-btn-admin:focus,
    .nav-buttons .nav-btn-admin:active,
    .nav-buttons a.nav-btn-admin:hover,
    .nav-buttons a.nav-btn-admin:focus,
    .nav-buttons a.nav-btn-admin:active {
        background: linear-gradient(135deg, #2F80ED, #1A5CB5) !important;
        color: var(--white) !important;
        transform: none;
        box-shadow: 0 16px 35px rgba(47, 92, 197, 0.22);
    }
}

.nav-btn-logout {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: var(--white) !important;
    border: 1px solid rgba(239, 68, 68, 0.22);
    border-radius: 18px;
    box-shadow: 0 16px 35px rgba(239, 68, 68, 0.18);
}

.nav-btn-logout:hover {
    background: linear-gradient(135deg, #DC2626, #B91C1C);
}

/* Hamburger Menu Mobile */
.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 7px;
    border-radius: 8px;
    transition: background 0.2s;
    order: 3;
}

.hamburger:hover {
    background: var(--border);
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: 0.3s;
    display: block;
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    background: linear-gradient(140deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 72px;
}

.hero::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    top: -250px;
    right: -150px;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    bottom: -120px;
    left: -80px;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    color: white;
    position: relative;
    max-width: 820px;
    width: 100%;
    padding: 0 24px;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    text-shadow: 0 2px 24px rgba(0,0,0,0.12);
    margin-bottom: 1.2rem;
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0.88;
    max-width: 520px;
    margin: 0 auto 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 1.1rem 2.8rem;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0,0,0,0.14);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--border);
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(0,0,0,0.18);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

/* ==================== SECTIONS ==================== */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    font-weight: 800;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 4px;
    background: var(--primary);
    border-radius: 3px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== ABOUT SECTION ==================== */
.about {
    position: relative;
    overflow: hidden;
    padding: 130px 0 90px;
    background: radial-gradient(circle at 16% 18%, rgba(59, 130, 246, 0.28), transparent 26%),
                radial-gradient(circle at 90% 12%, rgba(96, 165, 250, 0.15), transparent 18%),
                linear-gradient(180deg, #f8fbff 0%, #f4f8ff 32%, #f9f3ff 66%, #ffffff 100%);
}

.about::before {
    content: '';
    position: absolute;
    top: 12%;
    right: 6%;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.16);
    filter: blur(84px);
    pointer-events: none;
}

.about::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 220px;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.18), transparent 36%),
                linear-gradient(180deg, rgba(255, 255, 255, 0.92), transparent 88%);
    clip-path: ellipse(100% 80% at 50% 0%);
    pointer-events: none;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-header {
    max-width: 860px;
    margin: 0 auto 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.section-title--large {
    font-size: clamp(3.4rem, 5vw, 5.2rem);
    color: #10224d;
    letter-spacing: -1px;
    line-height: 1.02;
    margin: 0;
}

.section-highlight {
    width: 96px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.98), rgba(96, 165, 250, 0.94));
    box-shadow: 0 0 24px rgba(59, 130, 246, 0.18);
}

.section-subtitle--about {
    max-width: 760px;
    color: #495c83;
    font-size: 1.08rem;
    line-height: 1.95;
    margin: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 1.7rem;
    max-width: 1240px;
    margin: 0 auto;
}

.about-card {
    position: relative;
    z-index: 1;
    min-height: 360px;
    padding: 2.5rem 2rem 2rem;
    border-radius: 38px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.84);
    box-shadow: 0 28px 80px rgba(18, 44, 91, 0.1);
    backdrop-filter: blur(22px);
    overflow: hidden;
    transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.about-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.5), transparent 36%);
    pointer-events: none;
}

.about-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 42px 110px rgba(18, 44, 91, 0.16);
}

.about-card-icon {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 24px 40px rgba(37, 83, 175, 0.08);
    margin-bottom: 1.6rem;
    color: #1f3e8a;
}

.about-card-icon svg {
    width: 34px;
    height: 34px;
}

.about-card-blue .about-card-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(255, 255, 255, 0.88));
    color: #2563eb;
}

.about-card-pink .about-card-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(168, 85, 247, 0.12), rgba(255, 255, 255, 0.88));
    color: #2563eb;
}

.about-card-gold .about-card-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(251, 191, 36, 0.12), rgba(255, 255, 255, 0.88));
    color: #2563eb;
}

.about-card h3 {
    margin: 0 0 1rem;
    color: #12254b;
    font-size: 1.28rem;
    line-height: 1.4;
    font-weight: 700;
}

.about-card p {
    margin: 0;
    color: #55627b;
    line-height: 1.9;
}

@media (max-width: 1040px) {
    .about-grid {
        grid-template-columns: repeat(2, minmax(260px, 1fr));
    }
}

@media (max-width: 768px) {
    .about {
        padding: 90px 0 60px;
    }

    .about-header {
        padding: 0 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    position: relative;
    overflow: visible;
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.22), transparent 22%),
                radial-gradient(circle at 88% 8%, rgba(96, 165, 250, 0.16), transparent 16%),
                linear-gradient(180deg, #eef6ff 0%, #f6f9ff 38%, #fbf7ff 68%, #ffffff 100%);
    padding: 120px 0 100px;
}

.contact::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.22);
    top: 8%;
    left: -6%;
    filter: blur(22px);
    pointer-events: none;
}

.contact::after {
    content: '';
    position: absolute;
    top: 4%;
    right: 8%;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle at 36% 30%, rgba(59, 130, 246, 0.14), transparent 34%),
                radial-gradient(circle at 70% 65%, rgba(96, 165, 250, 0.12), transparent 30%);
    filter: blur(22px);
    pointer-events: none;
}

.contact-inner {
    position: relative;
    z-index: 1;
}

.contact-top {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    max-width: 1180px;
    margin: 0 auto;
    padding-bottom: 1rem;
}

.contact-copy {
    max-width: 560px;
}

.contact-copy .section-title {
    font-size: clamp(3rem, 4vw, 4.4rem);
    color: #1c2b5a;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.contact-copy .section-subtitle {
    font-size: 1.1rem;
    color: #4f5f8e;
    line-height: 1.85;
    margin-top: 0.5rem;
    max-width: 520px;
}


.contact-cards {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    position: relative;
    z-index: 2;
    padding: 2.2rem 1.9rem 1.8rem;
    border-radius: 42px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(22px);
    box-shadow: 0 36px 90px rgba(37, 78, 151, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 380px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.contact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.45), transparent 38%);
    pointer-events: none;
}

.contact-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 44px 90px rgba(37, 78, 151, 0.14);
}

.contact-card-badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.9rem 1.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    color: #28315d;
    box-shadow: 0 16px 35px rgba(47, 78, 161, 0.08);
    margin-bottom: 1.35rem;
}

.contact-card-blue .contact-card-badge {
    background: rgba(59, 130, 246, 0.16);
    color: #1d4ed8;
}

.contact-card-pink .contact-card-badge {
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
}

.contact-card-orange .contact-card-badge {
    background: rgba(59, 130, 246, 0.10);
    color: #2563eb;
}

.contact-card-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin-bottom: 1.4rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.75);
    font-size: 1.9rem;
}

.contact-card-blue .contact-card-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(255, 255, 255, 0.88));
}

.contact-card-pink .contact-card-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.16), rgba(96, 165, 250, 0.16), rgba(255, 255, 255, 0.88));
}

.contact-card-orange .contact-card-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(251, 191, 36, 0.1), rgba(255, 255, 255, 0.88));
}

.contact-card-icon {
    position: relative;
    z-index: 1;
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.5));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-card h3 {
    position: relative;
    z-index: 1;
    color: #1f325d;
    font-size: 1.18rem;
    line-height: 1.75;
    font-weight: 700;
    margin-bottom: 1.8rem;
}

.contact-card-info {
    position: relative;
    z-index: 1;
    margin: 0.4rem 0 1.6rem;
    padding: 1rem 1.25rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(224, 231, 255, 0.75);
    font-weight: 700;
    color: #2d3b67;
    box-shadow: inset 0 4px 16px rgba(86, 105, 195, 0.04);
}

.contact-card-button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 1rem 1.8rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 16px 30px rgba(59, 130, 246, 0.22);
}

.contact-card-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 38px rgba(59, 130, 246, 0.28);
}

.contact-card-note {
    position: relative;
    z-index: 1;
    margin-top: auto;
    color: #5d678f;
    font-size: 0.95rem;
    line-height: 1.75;
}

.contact-card-blue .contact-card-badge {
    background: rgba(59, 130, 246, 0.12);
    color: #1e3a8a;
}

.contact-card-blue .contact-card-icon {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #ffffff;
}

.contact-card-pink .contact-card-badge {
    background: rgba(59, 130, 246, 0.10);
    color: #2563eb;
}

.contact-card-pink .contact-card-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(147, 197, 253, 0.18), rgba(255, 255, 255, 0.9));
    color: #1f3e8a;
}

.contact-card-orange .contact-card-badge {
    background: rgba(59, 130, 246, 0.08);
    color: #2563eb;
}

.contact-card-orange .contact-card-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(192, 219, 254, 0.2), rgba(255, 255, 255, 0.9));
    color: #1f3e8a;
}

.contact-bottom {
    max-width: 1180px;
    margin: 3rem auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.contact-meta {
    display: flex;
    gap: 1rem;
    flex: 1 1 520px;
    flex-wrap: wrap;
}

.contact-meta-item {
    min-width: 280px;
    flex: 1 1 320px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(235, 244, 255, 0.94));
    border: 1px solid rgba(59, 130, 246, 0.22);
    border-radius: 34px;
    padding: 1.5rem 1.6rem;
    box-shadow: 0 28px 55px rgba(59, 130, 246, 0.08);
}

.contact-meta-item strong {
    display: block;
    font-size: 1.02rem;
    color: #1f3a72;
    margin-bottom: 0.75rem;
}

.contact-meta-item p {
    color: #4f6a9b;
    line-height: 1.75;
}

.contact-wave {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 180px;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.18), transparent 32%),
                linear-gradient(180deg, rgba(191, 219, 254, 0.16), transparent 75%);
    clip-path: ellipse(100% 70% at 50% 0%);
    pointer-events: none;
}

@media (max-width: 1120px) {
    .contact-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 980px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .contact-bottom {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 640px) {
    .contact {
        padding: 90px 0 70px;
    }

    .contact-copy .section-title {
        font-size: 2.7rem;
    }

    .contact-copy .section-subtitle {
        font-size: 1rem;
    }

    .contact-card {
        padding: 1.8rem 1.5rem;
    }

    .contact-card-icon {
        width: 64px;
        height: 64px;
    }

    .contact-meta-item {
        min-width: auto;
    }
}



/* ==================== CATALOG SECTION ==================== */
.catalog {
    position: relative;
    overflow: hidden;
    background: var(--white);
}

.catalog::before,
.catalog::after {
    position: absolute;
    opacity: 0.05;
    font-size: 6rem;
    pointer-events: none;
    line-height: 1;
    white-space: nowrap;
}

.catalog::before {
    content: '🐾   🐾';
    top: 10%;
    left: 2%;
    transform: rotate(-8deg);
}

.catalog::after {
    content: '🐾   🐾   🐾';
    bottom: 6%;
    right: 2%;
    transform: rotate(10deg);
}

.catalog-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px var(--shadow-hover);
}

.product-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.product-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.75;
    min-height: 4.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    hyphens: auto;
    word-break: break-word;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.product-actions {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
    flex-wrap: wrap;
}

.product-actions a,
.product-actions button,
.product-actions form {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-details {
    flex: 1;
    padding: 0.85rem 1rem;
    background: var(--bg-light);
    color: var(--text-dark);
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-details:hover {
    background: var(--border);
    color: var(--primary);
}

.btn-whatsapp {
    flex: 1;
    padding: 0.85rem 1rem;
    background: #25D366;
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* ==================== PRODUCT DETAIL PAGE ==================== */
.product-detail {
    padding-top: 120px;
    padding-bottom: 80px;
    background: var(--bg-light);
    min-height: 100vh;
}

.product-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.back-link:hover {
    transform: translateX(-5px);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 30px var(--shadow);
}

/* Carrossel de Imagens */
.product-gallery {
    position: relative;
}

.main-image {
    width: 100%;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-nav:hover {
    background: var(--primary);
    color: var(--white);
}

.gallery-prev { left: -22px; }
.gallery-next { right: -22px; }

.thumbnails {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.thumbnail.active,
.thumbnail:hover {
    border-color: var(--primary);
    opacity: 1;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.detail-info h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.detail-category {
    display: inline-block;
    background: var(--border);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.detail-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2rem;
}

.detail-description {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.detail-options {
    margin-bottom: 2rem;
}

.option-group {
    margin-bottom: 1.5rem;
}

.option-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.size-options,
.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.size-btn,
.color-btn {
    padding: 0.75rem 1.25rem;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-btn:hover,
.size-btn.selected,
.color-btn:hover,
.color-btn.selected {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.color-btn {
    width: 45px;
    height: 45px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.1);
}

.detail-actions {
    display: flex;
    gap: 1rem;
}

.btn-buy-detail {
    flex: 1;
    padding: 1.1rem 2rem;
    background: #25D366;
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-buy-detail:hover {
    background: #128C7E;
    transform: translateY(-3px);
}

/* ==================== LOGIN PAGE ==================== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(140deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
    padding: 2rem;
}

.login-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 420px;
}

.login-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.login-logo h1 {
    font-size: 2rem;
    color: var(--text-dark);
    font-weight: 800;
}

.login-form h2 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(47, 128, 237, 0.1);
}

.btn-login {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-login:hover {
    background: var(--primary-dark);
}

.login-error {
    background: #FED7D7;
    color: #C53030;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* ==================== FLOATING WHATSAPP ==================== */
.float-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.float-whatsapp a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    font-size: 2rem;
    color: var(--white);
}

.float-whatsapp a:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

/* ==================== FOOTER ==================== */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-col p,
.footer-col a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.8;
    display: block;
}

.footer-col a:hover {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .main-image {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-buttons {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-light);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        border-top: 1px solid var(--border);
        display: none;
    }
    
    .menu-toggle:checked ~ .nav-buttons {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-nav {
        display: none;
    }
    
    .detail-actions {
        flex-direction: column;
    }
    
    .float-whatsapp {
        bottom: 20px;
        right: 20px;
    }
    
    .float-whatsapp a {
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .btn-primary {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
    
    .product-detail-grid {
        padding: 1.5rem;
    }
    
    .detail-price {
        font-size: 2rem;
    }
}
.hero {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #2F80ED;
    padding-top: 90px;
}

.hero-carousel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1s ease, transform 4s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        120deg,
        rgba(47, 128, 237, 0.82),
        rgba(47, 128, 237, 0.68)
    );
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 20px;
    transform: translateY(-10px);
}

.hero-content h1 {
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 900;
    margin-bottom: 1.2rem;
    color: white;
    line-height: 1.15;
}

.hero-content p {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.hero-dots {
    position: absolute;
    z-index: 4;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
}
.hero-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    transition: 0.3s ease;
}

.hero-dot.active {
    background: white;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        height: 100vh;
        padding-top: 80px;
    }

    .hero-content h1 {
        font-size: 2.6rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }
}
/* Fix para evitar overflow horizontal em dispositivos móveis */
@media (max-width: 768px) {
    /* Garantir que o documento ocupe toda a largura sem limitar o viewport */
    html, body {
        width: 100%;
        overflow-x: hidden;
        position: relative;
    }

    /* Garantir que o menu mobile respeite o box-sizing e não estoure a tela */
    .nav-buttons {
        box-sizing: border-box;
        padding-left: 12px;
        padding-right: 12px;
        left: 0;
        right: 0;
    }

    /* Limitar pseudo-elementos muito grandes que às vezes causam overflow visual */
    .hero::before, .hero::after, .about::before, .about::after, .contact::before, .contact::after {
        max-width: 1200px;
        max-height: 1200px;
    }
}

/* ==================== ADMIN PANEL STYLES ==================== */
.admin-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 120px 30px 50px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #2F80ED, #1A5CB5);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(47, 92, 197, 0.16);
}

.admin-header h1 {
    font-size: 2.8rem;
    margin: 0;
    color: #ffffff;
    font-weight: 800;
}

.btn-logout {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    white-space: nowrap;
}

.btn-logout:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

.admin-nav { 
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-btn {
    padding: 0.9rem 1.8rem;
    border-radius: 12px;
    background: white;
    border: 2px solid #E5E7EB;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 6px 16px rgba(47, 128, 237, 0.25);
}

.admin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.admin-card { 
    background: linear-gradient(180deg, #ffffff, #f7fbff);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(18, 44, 91, 0.12);
    border: 1px solid rgba(224, 231, 255, 0.9);
}

.admin-card h2 { 
    font-size: 2rem; 
    margin-bottom: 1.8rem;
    color: var(--text-dark);
    font-weight: 800;
}

.admin-card form {
    display: grid;
    gap: 1.25rem;
}

.form-group { 
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 1.5rem; 
}

.form-group label { 
    display: block; 
    font-weight: 700;
    color: var(--text-dark); 
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group input, 
.form-group textarea, 
.form-group select { 
    width: 100%; 
    padding: 1rem;
    border: 2px solid #E5E7EB;
    border-radius: 16px; 
    font-size: 1rem;
    line-height: 1.5;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #F9FAFB;
    color: var(--text-dark);
    min-height: 52px;
}

.form-group textarea {
    min-height: 140px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #A0AEC0;
    opacity: 1;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus, 
.form-group textarea:focus, 
.form-group select:focus { 
    outline: none; 
    border-color: #2F80ED;
    background: white;
    box-shadow: 0 0 0 4px rgba(47, 128, 237, 0.1);
}

.btn-submit { 
    background: linear-gradient(135deg, #2F80ED, #2563EB);
    color: white; 
    padding: 1.2rem 2rem; 
    border: none; 
    border-radius: 10px; 
    font-size: 1.1rem; 
    font-weight: 700; 
    cursor: pointer; 
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(47, 128, 237, 0.3);
}

.btn-submit:hover { 
    background: linear-gradient(135deg, #1A5CB5, #1D4ED8);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(47, 128, 237, 0.4);
}

.products-list { 
    display: flex; 
    flex-direction: column; 
    gap: 1.5rem;
}

.product-item { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 1.5rem;
    background: linear-gradient(135deg, #F8FAFC, #F0F4F8);
    border-radius: 14px; 
    gap: 1.5rem;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

.product-item:hover {
    box-shadow: 0 8px 20px rgba(47, 128, 237, 0.1);
    transform: translateY(-2px);
}

.product-admin-img { 
    width: 130px;
    height: 130px;
    border-radius: 18px; 
    object-fit: cover; 
    background: #DCEEFF;
    flex-shrink: 0;
    border: 2px solid #E2E8F0;
}

.product-info { 
    flex: 1; 
}

.product-info h3 { 
    font-size: 1.3rem; 
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.product-info p { 
    font-size: 0.95rem; 
    color: #6B7280;
    margin-bottom: 0.35rem;
    line-height: 1.5;
}

.product-price { 
    font-size: 1.35rem; 
    font-weight: 800; 
    color: #2F80ED;
    margin-top: 0.5rem;
}

.btn-delete { 
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: white; 
    padding: 1rem 1.8rem;
    border: none; 
    border-radius: 14px; 
    cursor: pointer; 
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    min-width: 140px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-delete:hover { 
    background: linear-gradient(135deg, #DC2626, #B91C1C);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.3);
}

.alert { 
    padding: 1.25rem 1.5rem;
    border-radius: 12px; 
    margin-bottom: 2rem;
    font-weight: 600;
    border-left: 4px solid transparent;
}

.alert-success { 
    background: #ECFDF5;
    color: #065F46;
    border-left-color: #10B981;
}

.alert-error { 
    background: #FEF2F2;
    color: #7F1D1D;
    border-left-color: var(--danger);
}

.back-link { 
    display: inline-block; 
    margin-bottom: 1.5rem; 
    color: var(--primary); 
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.back-link:hover {
    transform: translateX(-4px);
    color: #1A5CB5;
}

.form-help { 
    display: block;
    margin-top: 0.6rem; 
    color: #6B7280;
    font-size: 0.85rem;
}

.btn-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.8rem;
    background: linear-gradient(135deg, #2F80ED, #2563EB);
    color: #fff;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    min-width: 140px;
}

.btn-edit:hover { 
    background: linear-gradient(135deg, #1A5CB5, #1D4ED8);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(47, 128, 237, 0.3);
}

.btn-cancel {
    display: inline-block;
    padding: 0.95rem 1.5rem;
    border-radius: 10px;
    background: #F3F4F6;
    color: #374151;
    font-weight: 700;
    text-decoration: none;
    margin-left: 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: 2px solid #E5E7EB;
}

.btn-cancel:hover {
    background: #E5E7EB;
    border-color: #D1D5DB;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .admin-container { 
        padding-top: 100px;
        padding-left: 16px;
        padding-right: 16px;
    }
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .admin-header h1 { font-size: 2rem; }
    .admin-card { padding: 1.5rem; }
    .admin-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .admin-container {
        padding: 90px 14px 30px;
    }

    .admin-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1.4rem;
    }

    .admin-header h1 {
        font-size: 1.8rem;
        line-height: 1.1;
    }

    .btn-logout {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }

    .admin-nav {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .nav-btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        text-align: center;
    }

    .admin-card {
        padding: 1.5rem;
        border-radius: 14px;
    }

    .admin-card h2 {
        font-size: 1.4rem;
    }

    .form-group {
        margin-bottom: 1.3rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 1rem;
        font-size: 1rem;
        border-radius: 10px;
    }

    .form-group textarea {
        min-height: 140px;
    }

    .btn-submit,
    .btn-edit,
    .btn-delete,
    .btn-cancel {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        margin-left: 0 !important;
        display: block;
    }

    .product-item {
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem;
    }

    .product-admin-img {
        width: 100%;
        height: auto;
        max-height: 220px;
        object-fit: cover;
        margin-bottom: 1rem;
    }

    .product-info h3 {
        font-size: 1.15rem;
    }

    .product-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .product-actions a,
    .product-actions button,
    .product-actions form {
        width: 100%;
    }
}


