:root {
    --cream: #f9f3e3;
    --navy-blue: #2d4356;
    --orange-dark: #e09e53;
    --orange-light: #ffd8a9;
    --blue-light: #aed3e3;

    /* Premium Typography */
    --font-primary: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'DM Serif Display', 'Playfair Display', Georgia, serif;
    --font-accent: 'Outfit', 'Poppins', sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
}

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--cream);
    color: var(--navy-blue);
    overflow-x: hidden;
    font-size: var(--text-base);
    line-height: 1.6;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: var(--text-5xl);
}

h2 {
    font-size: var(--text-4xl);
}

h3 {
    font-size: var(--text-3xl);
}

h4 {
    font-size: var(--text-2xl);
}

h5 {
    font-size: var(--text-xl);
}

h6 {
    font-size: var(--text-lg);
}

button,
input,
textarea,
select {
    font-family: var(--font-primary);
    font-size: var(--text-base);
}

a {
    text-decoration: none;
    color: var(--navy-blue);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--orange-light);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--navy-blue);
    color: var(--cream);
}

/* Ensure anchor buttons keep correct foreground color across states */
.btn-primary,
.btn-primary:link,
.btn-primary:visited {
    color: var(--cream) !important;
}

.btn-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--orange-light);
    color: var(--cream) !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover:before {
    left: 100%;
}

.btn-secondary {
    background-color: var(--orange-light);
    color: var(--navy-blue);
}

.btn-secondary:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn-secondary:hover {
    background-color: var(--navy-blue);
    color: var(--cream);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover:before {
    left: 100%;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 20px 0;
    background-color: var(--navy-blue);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.scrolled {
    background-color: var(--navy-blue);
    padding: 15px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    flex: 0 0 auto;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--cream);
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.header-nav-desktop {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    /* Float right */
    align-items: center;
    margin-right: 25px;
    /* Separation from Actions */
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 0;
}

.nav-item {
    display: flex;
    align-items: center;
    position: relative;
}

/* Hide wrapper and dot on desktop */
.mobile-menu-section-wrapper {
    display: none;
}

.nav-item:not(:last-of-type)::after {
    content: '';
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    margin: 0 8px;
    /* Reduced from 15px */
    display: block;
}

.header-actions-wrapper {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    /* Reduced from 20px */
}

.header-right-group {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1005;
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Desktop: Hide Mobile-Only Menu Sections */
@media (min-width: 993px) {
    .mobile-menu-section {
        display: none !important;
    }
}

.nav-auth .btn-auth {
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-auth-signup {
    background: var(--orange-light);
    color: var(--navy-blue);
    border: 1px solid var(--orange-light);
}

.btn-auth-signup:hover {
    background: var(--cream);
    border-color: var(--cream);
    color: var(--navy-blue) !important;
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.user-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-dropdown-toggle:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.nav-user-icon {
    font-size: 20px;
    color: var(--orange-light);
}

.nav-user-name {
    font-weight: 600;
    color: #fff;
    font-size: 14px;
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 240px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 2000;
    padding: 10px 0;
}

.user-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
}

.user-dropdown:hover .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    color: var(--navy-blue);
    font-size: 14.5px;
    transition: all 0.2s ease;
    font-weight: 500;
    text-decoration: none;
}

.user-dropdown-menu a i {
    width: 20px;
    font-size: 17px;
    color: var(--orange-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-dropdown-menu a:hover {
    background: #f8fafc;
    color: var(--orange-dark);
}

.user-dropdown-menu a.logout-item {
    color: #e74c3c;
    border-top: 1px solid #f5f5f5;
    margin-top: 5px;
    padding-top: 10px;
}

.user-dropdown-menu a.logout-item i {
    color: #e74c3c;
}

/* Nav Cart */
.nav-cart {
    position: relative;
}

.cart-icon-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-icon-link:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e09e53;
    /* Using var-like color but direct to match orignal */
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--navy-blue);
}

/* Mini Cart Dropdown */
.mini-cart-dropdown {
    position: absolute;
    top: 100%;
    right: -10px;
    width: 300px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1002;
    margin-top: 15px;
}

.nav-cart:hover .mini-cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mini-cart-title {
    font-family: var(--font-heading);
    margin: 0 0 15px;
    color: var(--navy-blue);
    font-size: 1.1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.nav-link {
    color: var(--cream);
    font-weight: 500;
    position: relative;
    padding: 8px 15px;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    text-decoration: none;
    font-size: 14px;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Navigation icons - absolute sharpness and alignment */
.nav-icon-main {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--orange-light);
    width: 22px;
    height: 18px;
    margin: 0;
    line-height: 1;
    transition: all 0.3s ease;
}

.nav-link:hover .nav-icon-main {
    transform: scale(1.15);
    color: #fff;
    filter: drop-shadow(0 0 5px var(--orange-light));
}

.nav-menu .nav-item .nav-link.active {
    color: var(--orange-light);
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--orange-light);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.nav-link:hover {
    color: var(--orange-light);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--orange-light);
    font-weight: 600;
    text-shadow: 0 0 1px rgba(255, 216, 169, 0.3);
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(45, 67, 86, 0.6), rgba(45, 67, 86, 0.8)), url('../images/banners/hero-banner.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--cream);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.7s;
    font-weight: 300;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.9s;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(174, 211, 227, 0.2) 0%, rgba(45, 67, 86, 0) 70%);
    z-index: 1;
}

.hero:after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--cream);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

.hero-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    font-size: 2.5rem;
    color: rgba(255, 216, 169, 0.4);
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.floating-element:nth-child(1) {
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    animation-delay: 1.5s;
}

.floating-element:nth-child(3) {
    animation-delay: 3s;
}

.floating-element:nth-child(4) {
    animation-delay: 4.5s;
}

/* Sections */
.section {
    padding: 100px 0;
}

/* Quick Services Section */
.quick-services {
    padding: 80px 0;
    background-color: #fff;
    position: relative;
    z-index: 2;
    margin-top: -50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-box {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--orange-light);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.service-box:hover .service-icon {
    background-color: var(--orange-light);
    transform: rotateY(180deg);
}

.service-icon i {
    font-size: 32px;
    color: var(--navy-blue);
    transition: all 0.3s ease;
}

.service-box:hover .service-icon i {
    transform: rotateY(180deg);
}

.service-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--navy-blue);
}

.service-box p {
    color: #666;
    margin-bottom: 20px;
    font-size: 15px;
}

.service-link {
    color: var(--navy-blue);
    font-weight: 600;
    display: inline-block;
    position: relative;
    padding-bottom: 5px;
}

.service-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--orange-light);
    transition: width 0.3s ease;
}

.service-link:hover {
    color: var(--orange-light);
}

.service-link:hover:after {
    width: 100%;
}

.service-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--orange-light);
}

/* Featured Plans */
.featured-plans {
    background-color: var(--cream);
    position: relative;
}

.featured-plans:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/patterns/paw-pattern.png');
    background-size: 700px;
    opacity: 0.08;
    z-index: 0;
}

.featured-plans .container {
    position: relative;
    z-index: 1;
}

.plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.plan-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: translateY(50px);
    opacity: 0;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.plan-card.animate {
    transform: translateY(0);
    opacity: 1;
}

.plan-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--orange-light);
}

.plan-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.plan-image:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    opacity: 0;
    transition: all 0.3s ease;
}

.plan-card:hover .plan-image:after {
    opacity: 1;
}

.plan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.plan-card:hover .plan-image img {
    transform: scale(1.1);
}

.plan-content {
    padding: 25px;
    position: relative;
}

.plan-title {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--navy-blue);
    position: relative;
    display: inline-block;
}

.plan-title:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--orange-light);
    transition: width 0.3s ease;
}

.plan-card:hover .plan-title:after {
    width: 100%;
}

.plan-price {
    font-size: 26px;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}



.plan-description {
    margin-bottom: 25px;
    color: #666;
    line-height: 1.6;
}

.plan-card .btn {
    width: 100%;
    text-align: center;
}

/* Why Choose Us */
.why-choose-us {
    background-color: var(--navy-blue);
    color: var(--cream);
    background-image: url('../images/banners/parallax-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    background-attachment: scroll;
    padding: 100px 0;
}

.why-choose-us:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 67, 86, 0.95) 0%, rgba(25, 37, 56, 0.9) 100%);
}

.why-choose-us .container {
    position: relative;
    z-index: 1;
}

.why-choose-us .section-title {
    color: var(--cream);
    position: relative;
    margin-bottom: 50px;
}

.why-choose-us .section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--orange-light);
    border-radius: 3px;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 40px 30px;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: translateY(50px);
    opacity: 0;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}


.feature-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-item.animate {
    transform: translateY(0);
    opacity: 1;
}

.feature-item:hover {
    transform: translateY(-10px) scale(1.03);
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--orange-light);
}

.feature-item:hover:before {
    opacity: 1;
}

.feature-icon {
    font-size: 50px;
    margin-bottom: 25px;
    color: var(--orange-light);
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.feature-icon:after {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(255, 165, 0, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-item:hover .feature-icon:after {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 165, 0, 0.2);
}

.feature-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--cream);
    position: relative;
    display: inline-block;
    font-weight: 600;
}

.feature-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-top: 15px;
}

/* Testimonials */
.testimonials {
    background-color: var(--cream);
    position: relative;
    padding: 80px 0;
}

.testimonials:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/patterns/quote-pattern.png');
    background-size: 200px;
    opacity: 0.05;
    z-index: 0;
}

.featured-pets:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/patterns/paw-pattern.png');
    background-size: 700px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.08;
    z-index: 0;
}

/* Ensure the pattern appears behind content */
.featured-pets {
    position: relative;
    overflow: hidden;
}

.featured-pets>.container {
    position: relative;
    z-index: 1;
}

/* Apply repeating paw pattern directly on sections that opt-in */
.paw-pattern {
    position: relative;
    overflow: hidden;
}

/* Render pattern behind content with controlled opacity */
.paw-pattern:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('../images/patterns/paw-pattern.png');
    background-size: 700px;
    background-repeat: repeat;
    background-position: center top;
    opacity: 0.08;
    /* requested opacity */
    z-index: 0;
    pointer-events: none;
}

.paw-pattern>.container {
    position: relative;
    z-index: 1;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonials .section-title {
    margin-bottom: 50px;
    position: relative;
}

.testimonials .section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--orange-light);
    border-radius: 3px;
}

/* Enhanced slider structure */
.testimonials-slider.enhanced {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-viewport {
    overflow: hidden;
}

.testimonial-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    transition: transform 0.6s ease;
}

.testimonial-card {
    background: var(--navy-blue);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 12px 32px rgba(45, 67, 86, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    color: var(--cream);
}

.testimonial-card.highlight {
    border-color: var(--orange-light);
    box-shadow: 0 18px 44px rgba(45, 67, 86, 0.35);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.testimonial-header .avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--orange-light);
}

.testimonial-header .name {
    font-weight: 600;
    color: var(--cream);
}

.testimonial-header .stars {
    color: var(--orange-light);
    font-size: 14px;
}

.quote {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 8px 0 12px;
}

.tag {
    display: inline-block;
    background: rgba(255, 216, 169, 0.12);
    color: var(--orange-light);
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 216, 169, 0.35);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.testimonial-controls .testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(45, 67, 86, 0.2);
    border: none;
    cursor: pointer;
}

.testimonial-controls .testimonial-dot.active {
    background: var(--orange-light);
}

.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--navy-blue);
    color: var(--cream);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 24px rgba(45, 67, 86, 0.35);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0.95;
}

.testimonial-prev {
    left: -18px;
    z-index: 10;
}

.testimonial-next {
    right: -18px;
    z-index: 10;
}


/* Footer */
.footer {
    background-color: var(--navy-blue);
    color: var(--cream);
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-about {
    margin-bottom: 20px;
}

.footer-title {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--orange-light);
}

.footer-links {
    list-style: none;
}

.footer-link {
    margin-bottom: 10px;
}

.footer-link a {
    color: var(--cream);
}

.footer-link a:hover {
    color: var(--orange-light);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact-icon {
    margin-right: 10px;
    color: var(--orange-light);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--cream);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--orange-light);
    color: var(--navy-blue);
    transform: translateY(-5px);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Pet Cards */
.pet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.pet-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: translateY(50px);
    opacity: 0;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 216, 169, 0.2), rgba(45, 67, 86, 0.2));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.pet-card.animate {
    transform: translateY(0);
    opacity: 1;
}

.pet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pet-card:hover::before {
    opacity: 1;
}

.pet-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.pet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
    filter: brightness(0.95);
}

.pet-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.pet-card:hover .pet-image img {
    transform: scale(1.1);
    filter: brightness(1.05);
}

.pet-card:hover .pet-image::after {
    opacity: 0.4;
}

.pet-content {
    padding: 25px;
    position: relative;
    z-index: 2;
}

.pet-name {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--navy-blue);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.pet-name::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--orange-light);
    transition: width 0.3s ease;
}

.pet-card:hover .pet-name::after {
    width: 100%;
}

.pet-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    padding: 8px 12px;
    border-radius: 8px;
}

.pet-type,
.pet-age {
    color: var(--navy-blue);
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.pet-type::before {
    content: '\f6d3';
    /* paw icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 5px;
    color: var(--orange-light);
}

.pet-age::before {
    content: '\f783';
    /* calendar icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 5px;
    color: var(--orange-light);
}

.pet-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--orange-light);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}



/* Pet card button styling */
.pet-card .btn-primary {
    width: 100%;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--cream);
    background: var(--navy-blue);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.pet-card .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--navy-blue), #1b2a38);
    transition: all 0.4s ease;
    z-index: -1;
}

.pet-card .btn-primary:hover::before {
    left: 0;
}

.pet-card .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 216, 169, 0.3);
}

/* Special ribbon for featured pets */
.pet-card[data-featured="true"]::after {
    content: 'Featured';
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--orange-light);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 35px;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Forms */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-control {
    width: 100%;
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--navy-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 67, 86, 0.2);
}

.form-label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: #999;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-control:focus~.form-label,
.form-control:not(:placeholder-shown)~.form-label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    background-color: #fff;
    padding: 0 5px;
    color: var(--navy-blue);
}

.form-control::placeholder {
    color: transparent;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 15px;
    background-color: var(--navy-blue);
    color: var(--cream);
    border: none;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    background-color: var(--orange-light);
    color: var(--navy-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

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

/* Reveal initial state for scroll effects */
.will-reveal {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-scale {
    transform: scale(0.96);
}

.reveal-fade {
    transform: none;
}

.will-reveal.animate {
    opacity: 1;
    transform: none;
}

/* Stagger helper classes */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

/* Optional easing helpers */
.ease-smooth {
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.ease-soft {
    transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
}

.ease-snappy {
    transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

@keyframes shimmer {
    0% {
        background-position: -100% 0;
    }

    100% {
        background-position: 100% 0;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 30px;
    }
}

@media (max-width: 992px) {
    .header-container {
        padding: 0 20px;
    }


    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(180deg, #2d4356 0%, #1e2d3c 60%, #162232 100%);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 90px 25px 40px;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 2000;
        /* Boost z-index above everything */
        box-shadow: 20px 0 60px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        /* Smooth scroll on iOS */
        height: 100dvh;
        /* Dynamic viewport height */
        border-right: 1px solid rgba(224, 158, 83, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    /* Mobile Brand in Menu */
    .nav-menu::before {
        content: 'PETPOINT';
        position: absolute;
        top: 30px;
        left: 25px;
        font-family: 'Outfit', sans-serif;
        font-weight: 800;
        font-size: 26px;
        letter-spacing: 2px;
        color: #ffffff;
        text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
        /* Sharp shadow instead of blur */
        opacity: 1;
    }

    .nav-item {
        margin: 5px 0 !important;
        text-align: left;
        text-align: left;
        width: 100%;
        opacity: 0;
        transform: translateX(-30px);
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .mobile-menu-section-wrapper {
        display: block !important;
        /* Show on mobile */
    }

    .nav-link {
        padding: 14px 20px !important;
        font-size: 18px !important;
        display: flex !important;
        align-items: center;
        gap: 15px;
        width: 100%;
        border-radius: 12px;
        transition: all 0.3s ease !important;
        color: #ffffff !important;
        font-weight: 500;
        opacity: 1 !important;
        /* Ensure visibility */
        pointer-events: auto !important;
        /* Ensure clickable */
    }

    /* High-Specificity Override for Mobile Links */
    .nav-menu .nav-item .nav-link,
    .nav-menu a.nav-link,
    .mobile-user-nav .nav-link,
    a.nav-link {
        color: #ffffff !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        text-shadow: none !important;
        font-weight: 500 !important;
        z-index: 1005;
        /* Ensure above overlay */
        background: transparent !important;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(255, 255, 255, 0.1) !important;
        color: #ffffff !important;
        padding-left: 25px !important;
        opacity: 1 !important;
        text-shadow: none !important;
    }

    /* Hide desktop separator dots on mobile */
    .nav-item::after {
        display: none !important;
    }

    .nav-icon-main {
        font-size: 20px;
        width: 30px;
        color: var(--orange-light);
    }



    .nav-menu.active .nav-item {
        opacity: 1;
        transform: translateX(0);
    }

    /* Staggered entry */
    .nav-menu.active .nav-item:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-menu.active .nav-item:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-menu.active .nav-item:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-menu.active .nav-item:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav-menu.active .nav-item:nth-child(5) {
        transition-delay: 0.3s;
    }

    .nav-menu.active .nav-item:nth-child(6) {
        transition-delay: 0.35s;
    }

    .nav-menu.active .nav-item:nth-child(7) {
        transition-delay: 0.4s;
    }

    /* Mobile Only Section Styles */
    .mobile-menu-section {
        width: 100%;
        margin-top: 20px;
        list-style: none;
        position: relative;
        z-index: 2005;
        /* Ensure above everything */
    }

    .mobile-menu-divider {
        height: 1px;
        background: rgba(255, 255, 255, 0.1);
        margin: 20px 0;
        width: 100%;
    }

    .mobile-user-info {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 15px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 16px;
        margin-bottom: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        pointer-events: auto;
        /* Ensure clickable if needed */
        position: relative;
        z-index: 2006;
    }

    .mobile-user-avatar {
        width: 45px;
        height: 45px;
        border-radius: 12px;
        background: var(--orange-light);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--navy-blue);
        font-size: 20px;
    }

    .mobile-user-details h4 {
        margin: 0;
        font-size: 16px;
        color: white;
        font-weight: 600;
    }

    .mobile-user-details p {
        margin: 0;
        font-size: 12px;
        color: rgba(255, 255, 255, 0.6);
    }

    .mobile-menu-links {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .mobile-menu-links a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 15px;
        color: rgba(255, 255, 255, 0.8) !important;
        text-decoration: none;
        border-radius: 10px;
        font-size: 15px;
        transition: all 0.3s ease;
    }

    .mobile-menu-links a i {
        width: 20px;
        color: var(--orange-light);
    }

    .mobile-menu-links a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white !important;
    }

    .mobile-logout {
        margin-top: 10px;
        color: #ff7675 !important;
    }

    .mobile-login-btn,
    .mobile-signup-btn {
        justify-content: center;
        font-weight: 600 !important;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .mobile-login-btn {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .mobile-signup-btn {
        background: var(--orange-light);
        color: var(--navy-blue) !important;
    }



    .pet-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .pet-image {
        height: 180px;
    }

    .pet-content {
        padding: 20px;
    }

    .pet-name {
        font-size: 20px;
    }

    .pet-info {
        padding: 6px 10px;
    }

    .pet-price {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .pet-card .btn-primary {
        padding: 10px;
    }

    /* Testimonials Mobile Responsiveness */
    .testimonial-item {
        padding: 20px;
    }

    .testimonial-image {
        width: 80px;
        height: 80px;
    }

    .testimonial-text {
        font-size: 16px;
    }

    .testimonial-name {
        font-size: 18px;
    }

    .testimonial-arrow {
        width: 40px;
        height: 40px;
    }

    .nav-link {
        padding: 10px 15px;
        display: inline-block;
    }

    .nav-link.active {
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
    }

    .hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: rgba(0, 0, 0, 0.2);
        color: var(--cream);
        font-size: 22px;
        cursor: pointer;
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 2001;
        /* Hamburger above menu */
    }

    .hamburger:hover {
        background: rgba(0, 0, 0, 0.3);
        border-color: rgba(255, 255, 255, 0.2);
    }

    .hamburger.active {
        background: var(--orange-light);
        color: var(--navy-blue);
    }

    /* Mobile menu overlay */
    .nav-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0);
        /* Transparent - "Remove Layer" visual */
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        z-index: 1001;
        /* Layer below menu */
    }

    .nav-menu-overlay.active {
        opacity: 1;
        visibility: visible;
        /* Kept for click detection but invisible */
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .plan-card,
    .pet-card {
        max-width: 100%;
    }

    /* Container padding for small screens */
    .container {
        padding: 0 15px;
    }

    /* Enhanced Pet Cards Mobile Responsiveness */
    .pet-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .pet-image {
        height: 200px;
    }

    .pet-name {
        font-size: 18px;
    }

    .pet-info {
        padding: 5px 8px;
        margin-bottom: 12px;
    }

    .pet-type,
    .pet-age {
        font-size: 12px;
    }

    .pet-price {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .pet-card .btn-primary {
        padding: 8px;
        font-size: 14px;
    }

    /* Featured ribbon adjustment for mobile */
    .pet-card[data-featured="true"]::after {
        top: 15px;
        right: -35px;
        font-size: 10px;
        padding: 3px 30px;
    }

    /* Why Choose Us section mobile adjustments */
    .feature-item {
        padding: 20px 15px;
    }

    .feature-icon {
        font-size: 30px;
        margin-bottom: 15px;
    }

    .feature-title {
        font-size: 18px;
    }

    .feature-description {
        font-size: 14px;
    }

    /* Testimonials mobile adjustments */
    .testimonial-container {
        padding: 0;
    }

    .testimonial-item {
        padding: 15px;
    }

    .testimonial-image {
        width: 60px;
        height: 60px;
    }

    .testimonial-text {
        font-size: 14px;
        margin: 10px 0;
    }

    .testimonial-name {
        font-size: 16px;
    }

    .testimonial-arrow {
        width: 40px;
        height: 40px;
    }

    /* Mobile User Info & Section Links */
    .mobile-user-info {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 16px;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 14px;
        margin: 0 0 15px 0;
    }

    .mobile-user-avatar {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: var(--orange-light);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        color: var(--navy-blue);
        flex-shrink: 0;
    }

    .mobile-user-details h4 {
        color: white;
        margin: 0;
        font-size: 15px;
        font-weight: 600;
    }

    .mobile-user-details p {
        color: rgba(255, 255, 255, 0.6);
        margin: 3px 0 0;
        font-size: 12px;
    }

    .mobile-menu-links {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .mobile-menu-links a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 14px;
        color: rgba(255, 255, 255, 0.9);
        font-size: 15px;
        font-weight: 500;
        border-radius: 10px;
        transition: all 0.2s ease;
        text-decoration: none;
    }

    .mobile-menu-links a i {
        width: 20px;
        font-size: 16px;
        color: var(--orange-light);
    }

    .mobile-menu-links a:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .mobile-menu-links a.mobile-logout {
        color: #ff6b6b;
        margin-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 14px;
    }

    .mobile-menu-links a.mobile-logout i {
        color: #ff6b6b;
    }

    .mobile-menu-divider {
        height: 1px;
        background: rgba(255, 255, 255, 0.15);
        margin: 10px 0 20px;
    }

    .mobile-menu-section {
        display: block;
        width: 100%;
        margin-top: 20px;
    }

    .testimonial-dot {
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }
}

/* Extra small devices */
@media (max-width: 400px) {
    .pet-image {
        height: 180px;
    }

    .pet-name {
        font-size: 16px;
    }

    .pet-price {
        font-size: 16px;
    }

    .pet-card .btn-primary {
        font-size: 13px;
    }

    .feature-item {
        padding: 15px 10px;
    }

    .feature-icon {
        font-size: 26px;
    }

    .feature-title {
        font-size: 16px;
    }

    .testimonial-item {
        padding: 12px;
    }

    .testimonial-image {
        width: 50px;
        height: 50px;
    }
}

/* =====================
   Pet Details Page
   ===================== */
.pet-details-section {
    padding: 120px 0 60px;
    background-color: var(--cream);
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 15px;
    position: relative;
}

.separator {
    width: 80px;
    height: 3px;
    background-color: var(--orange-light);
    margin: 0 auto;
}

.pet-details-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 30px;
}

.pet-image-gallery {
    flex: 1;
    min-width: 300px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-image img:hover {
    transform: scale(1.05);
}

.image-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
    scrollbar-width: thin;
}

.image-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.image-thumbnails::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.image-thumbnails::-webkit-scrollbar-thumb {
    background: var(--navy-blue);
    border-radius: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

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

.thumbnail.active {
    border-color: var(--navy-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.thumbnail:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.pet-info-details {
    flex: 1;
    min-width: 300px;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
}

.pet-info-details h1 {
    font-size: 36px;
    color: var(--navy-blue);
    margin-bottom: 15px;
}

.pet-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.badge {
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.badge i {
    font-size: 12px;
}

.badge-primary {
    background-color: var(--navy-blue);
    color: #fff;
}

.badge-secondary {
    background-color: var(--blue-light);
    color: var(--navy-blue);
}

.badge-success {
    background-color: #28a745;
    color: #fff;
}

.pet-description {
    margin-bottom: 30px;
}

.pet-description h3 {
    font-size: 20px;
    color: var(--navy-blue);
    margin-bottom: 10px;
}

.pet-description p {
    line-height: 1.6;
    color: #555;
}

.pet-contact {
    margin-bottom: 30px;
}

.pet-contact h3 {
    font-size: 20px;
    color: var(--navy-blue);
    margin-bottom: 10px;
}

.pet-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.pet-actions {
    display: flex;
    gap: 15px;
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    position: relative;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close:hover {
    color: var(--navy-blue);
}

/* Similar pets block aligns to existing .pet-grid/.pet-card styles */
.similar-pets-section {
    background-color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .pet-details-container {
        flex-direction: column;
        align-items: center;
    }

    .pet-image-gallery {
        max-width: 100%;
        width: 100%;
    }

    .pet-info {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .pet-details-section {
        padding: 100px 0 40px;
    }

    .main-image {
        height: 300px;
    }

    .image-thumbnails {
        justify-content: center;
    }

    .pet-info h1 {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .main-image {
        height: 250px;
    }

    .pet-details-container {
        padding: 15px;
    }

    .pet-info {
        padding: 15px 0;
    }

    .pet-badges .badge {
        font-size: 0.8rem;
        padding: 5px 10px;
    }

    .pet-card-image {
        height: 180px;
    }

    .pet-card-content {
        padding: 15px;
    }
}

/* Added Buttons */
.btn-outline-primary {
    background-color: transparent;
    color: var(--navy-blue);
    border: 2px solid var(--navy-blue);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
}

.btn-outline-primary:hover {
    color: var(--cream);
    background-color: var(--navy-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(45, 67, 86, 0.2);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
    border-radius: 60px;
}

/* =====================
   Premium User Portal & Dashboard
   ===================== */
:root {
    --glass-white: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-premium: 0 15px 35px rgba(0, 0, 0, 0.05);
    --primary-gradient: linear-gradient(135deg, var(--navy-blue) 0%, #3d5a73 100%);
}

.text-gradient {
    background: linear-gradient(135deg, var(--orange-dark), #ffb366);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Common Hero */
.dashboard-hero {
    background: linear-gradient(135deg, rgba(45, 67, 86, 0.85) 0%, rgba(61, 90, 115, 0.75) 100%), url('../images/banners/hero-banner.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 130px 0 100px;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-shape-1 {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 216, 169, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-shape-2 {
    position: absolute;
    bottom: -50px;
    left: 10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(169, 211, 227, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.dashboard-welcome {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 5;
}

.welcome-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--orange-light);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.welcome-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 12px;
}

.welcome-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 450px;
}

.welcome-avatar {
    position: relative;
}

.avatar-perspective {
    perspective: 1000px;
}

.avatar-circle {
    width: 140px;
    height: 140px;
    border-radius: 30px;
    background: white;
    padding: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: rotateY(-15deg) rotateX(10deg);
    transition: all 0.5s ease;
}

.avatar-circle:hover {
    transform: rotateY(0) rotateX(0) scale(1.05);
}

.avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
}

.avatar-status-online {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 28px;
    height: 28px;
    background: #10b981;
    border: 5px solid var(--navy-blue);
    border-radius: 50%;
}

/* Stats Premium Cards */
.dashboard-stats {
    margin-top: -50px;
    position: relative;
    z-index: 10;
    padding-bottom: 20px;
}

.stats-outer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.stat-premium-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.07);
}

.stat-premium-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.icon-blue {
    background: #eff6ff;
    color: #2563eb;
}

.icon-green {
    background: #ecfdf5;
    color: #059669;
}

.icon-orange {
    background: #fff7ed;
    color: #ea580c;
}

.icon-navy {
    background: #f1f5f9;
    color: var(--navy-blue);
}

.stat-label {
    display: block;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
}

.stat-value {
    color: var(--navy-blue);
    font-size: 26px;
    font-weight: 700;
    margin: 0;
}

.stat-decoration {
    position: absolute;
    bottom: -15px;
    right: -10px;
    font-size: 60px;
    color: rgba(0, 0, 0, 0.02);
    transform: rotate(-15deg);
}

/* Main Layout */
.dashboard-main-content {
    padding: 60px 0 100px;
    background: #f8fafc;
}

.dashboard-flex-layout {
    display: flex;
    gap: 40px;
}

.dashboard-sidebar {
    flex: 0 0 320px;
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
}

.section-heading-sm {
    font-size: 18px;
    color: var(--navy-blue);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-heading-sm i {
    color: var(--orange-dark);
}

/* Quick Action Buttons */
.actions-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.action-btn-premium {
    background: white;
    padding: 18px 22px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.action-btn-premium:hover,
.action-btn-premium.active-action {
    background: var(--navy-blue);
    transform: translateX(8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.action-btn-icon {
    width: 44px;
    height: 44px;
    background: #f1f5f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--navy-blue);
    transition: all 0.3s ease;
}

.action-btn-premium:hover .action-btn-icon,
.action-btn-premium.active-action .action-btn-icon {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.action-btn-text span {
    display: block;
    font-weight: 600;
    color: var(--navy-blue);
    font-size: 15px;
}

.action-btn-text small {
    color: #64748b;
    font-size: 12px;
}

.action-btn-premium:hover .action-btn-text span,
.action-btn-premium:hover .action-btn-text small,
.action-btn-premium.active-action .action-btn-text span,
.action-btn-premium.active-action .action-btn-text small {
    color: white;
}

.action-arrow {
    margin-left: auto;
    font-size: 12px;
    color: #cbd5e1;
}

.action-btn-premium:hover .action-arrow {
    color: white;
}

/* Profile Summary Card */
.profile-summary-card {
    background: white;
    border-radius: 24px;
    padding: 25px;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.profile-summary-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.profile-mini-avatar {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--cream);
    overflow: hidden;
}

.profile-mini-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-mini-info h4 {
    font-size: 16px;
    margin: 0 0 2px;
}

.profile-mini-info p {
    margin: 0;
    font-size: 12px;
    color: #64748b;
}

.profile-summary-footer {
    display: flex;
    gap: 10px;
}

.btn-profile-edit {
    flex: 1;
    background: #f1f5f9;
    color: var(--navy-blue);
    padding: 10px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
}

.btn-profile-logout {
    width: 42px;
    background: #fef2f2;
    color: #ef4444;
    padding: 10px;
    border-radius: 12px;
    text-align: center;
}

/* Content Area Cards */
.dashboard-content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.content-card-premium {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.card-header-premium {
    padding: 25px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right, #ffffff, #fafafa);
    border-bottom: 1px solid #f8fafc;
}

.card-header-premium h3 {
    font-size: 1.25rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.card-header-premium h3 i {
    color: var(--blue-light);
}

.link-standard {
    color: var(--navy-blue);
    font-weight: 600;
    font-size: 14px;
}

.link-standard:hover {
    color: var(--orange-dark);
}

.card-body-premium {
    padding: 35px;
}

/* Timeline Activity */
.activity-timeline-premium {
    padding: 10px 0;
}

.timeline-item-premium {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: 20px;
    transition: background 0.3s ease;
}

.timeline-item-premium:hover {
    background: #f8fafc;
}

.timeline-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-blue);
    font-size: 20px;
    flex-shrink: 0;
}

.timeline-content-box {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.timeline-main h4 {
    font-size: 16px;
    margin: 0 0 5px;
}

.timeline-main p {
    margin: 0 0 8px;
    color: #64748b;
    font-size: 14px;
}

.timeline-meta {
    display: flex;
    gap: 15px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 500;
}

.timeline-meta i {
    margin-right: 4px;
}

/* Inquiries List */
.inquiry-list-premium {
    display: flex;
    flex-direction: column;
}

.inquiry-item-premium {
    display: flex;
    gap: 20px;
    padding: 22px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f1f5f9;
}

.inquiry-item-premium:last-child {
    border-bottom: none;
}

.inquiry-item-premium:hover {
    background: #f8fafc;
    transform: scale(1.01);
}

.inquiry-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    flex-shrink: 0;
}

.inquiry-info-premium {
    flex: 1;
}

.inquiry-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.inquiry-header-row h4 {
    font-size: 15px;
    margin: 0;
    font-weight: 600;
}

.inquiry-time {
    font-size: 12px;
    color: #94a3b8;
}

.inquiry-teaser {
    color: #64748b;
    font-size: 13.5px;
    margin: 0 0 10px;
    line-height: 1.4;
}

/* Status Badges */
.timeline-status-badge {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-indicator {
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-indicator:before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-pending {
    background: #fffbeb;
    color: #b45309;
}

.status-confirmed,
.status-processing {
    background: #f0fdf4;
    color: #15803d;
}

.status-completed,
.status-shipped,
.status-delivered {
    background: #f0f9ff;
    color: #1d4ed8;
}

.status-cancelled {
    background: #fef2f2;
    color: #b91c1c;
}

.status-indicator.status-pending:before {
    background: #f59e0b;
}

.status-indicator.status-confirmed:before {
    background: #10b981;
}

.empty-state {
    text-align: center;
    padding: 60px 40px;
}

.empty-animation {
    font-size: 50px;
    color: #e2e8f0;
    margin-bottom: 20px;
    animation: pulse-slow 3s infinite;
}

@keyframes pulse-slow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Order Specific Styles */
.order-id-badge {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--navy-blue);
    background: #f1f5f9;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 13px;
}

.order-mobile-card {
    display: none;
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
}

/* Tablet View */
@media (max-width: 1200px) {
    .stats-outer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-flex-layout {
        flex-direction: column;
    }

    .dashboard-sidebar {
        flex: none;
        width: 100%;
        border-right: none;
    }

    .sidebar-sticky {
        position: static;
    }

    .actions-stack {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* Mobile View */
@media (max-width: 768px) {
    .dashboard-hero {
        padding: 100px 0 60px;
    }

    .dashboard-welcome {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }

    .welcome-content h1 {
        font-size: 2.5rem;
    }

    .welcome-content p {
        margin: 0 auto;
    }

    .welcome-badge {
        margin: 0 auto 20px;
    }

    .stats-outer-grid {
        grid-template-columns: 1fr;
    }

    .actions-stack {
        grid-template-columns: 1fr;
    }

    .card-header-premium {
        padding: 20px;
    }

    .card-body-premium {
        padding: 10px 15px 25px;
    }

    .timeline-content-box {
        flex-direction: column;
        gap: 15px;
    }

    .timeline-status-badge {
        align-self: flex-start;
    }

    .order-mobile-card {
        display: block;
    }
}

/* Cart Page Modernization */
.cart-section {
    padding: 80px 0;
    background: #f8fafc;
}

.cart-row {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.cart-items-column {
    flex: 2;
    min-width: 300px;
}

.cart-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.cart-table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid #f1f5f9;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    padding: 20px;
    background: #f1f5f9;
    color: var(--navy-blue);
    text-align: left;
    font-weight: 600;
}

.cart-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
}

.cart-item-img-placeholder {
    width: 60px;
    height: 60px;
    background: #eee;
    border-radius: 10px;
}

.cart-item-details {
    flex: 1;
}

.cart-product-name {
    margin: 0;
    font-size: 1rem;
    color: var(--navy-blue);
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-category {
    color: #999;
}

.qty-control {
    display: flex;
    align-items: center;
}

.qty-input {
    width: 60px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: var(--navy-blue);
    transition: all 0.2s ease;
}

.qty-input:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 126, 95, 0.1);
}

.item-subtotal {
    font-weight: 700;
    color: var(--navy-blue);
}

.remove-item-btn {
    color: #e74c3c;
    transition: all 0.2s ease;
}

.remove-item-btn:hover {
    color: #c0392b;
    transform: scale(1.1);
}

.cart-footer {
    padding: 20px;
    text-align: right;
}

.cart-summary-column {
    flex: 1;
    min-width: 250px;
}

.cart-summary-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px;
}

.summary-title {
    font-family: var(--font-heading);
    margin-bottom: 20px;
    color: var(--navy-blue);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.cart-summary-row.total {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #f1f5f9;
    margin-bottom: 30px;
    font-size: 1.2rem;
}

.total-label {
    font-weight: 700;
    color: var(--navy-blue);
}

.total-amount {
    font-weight: 800;
    color: var(--orange-dark);
}

.checkout-btn,
.login-checkout-btn {
    width: 100%;
    text-align: center;
    padding: 15px !important;
    border-radius: 12px !important;
}

.login-checkout-btn {
    background: var(--navy-blue);
    border-color: var(--navy-blue);
}

@media (max-width: 992px) {
    .cart-row {
        gap: 30px;
    }
}

@media (max-width: 768px) {

    /* Hide profile dropdown on mobile - shown in sidebar menu */
    .nav-auth {
        display: none !important;
    }

    .cart-product-name {
        font-size: 0.95rem;
    }

    .cart-section {
        padding: 40px 0 !important;
    }

    .cart-card,
    .cart-summary-card {
        border-radius: 15px !important;
        padding: 20px;
    }

    .cart-table th,
    .cart-table td {
        padding: 15px 10px !important;
        font-size: 14px;
    }

    .cart-item-img {
        width: 50px;
        height: 50px;
    }

    .cart-footer {
        text-align: center;
    }

    .cart-footer .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .cart-item-info {
        min-width: 150px;
    }
}

/* -------------------------------------------------------------------------- */
/* DEFINITIVE NAVBAR PERFECTION - OVERRIDE ALL PERSISTENT DOTS & ICON ISSUES  */
/* -------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------- */
/* DEFINITIVE NAVBAR PERFECTION - MATCHING USER SCREENSHOT GOAL               */
/* -------------------------------------------------------------------------- */

.nav-link {
    color: var(--cream);
    font-weight: 500;
    position: relative;
    padding: 8px 6px;
    /* Reduced horizontal padding */
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 15px;
    display: inline-block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--orange-light);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--orange-light);
    transform: translateY(-2px);
    background: transparent !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    transform: none;
    /* Reset distinct transform */
}

.nav-link.active {
    color: var(--orange-light);
    font-weight: 600;
    text-shadow: 0 0 1px rgba(255, 216, 169, 0.3);
    background: transparent !important;
}

/* User Dropdown Refinements */
.nav-user-icon {
    font-size: 22px;
    color: var(--orange-light);
}

.nav-user-name {
    color: var(--cream);
    font-weight: 500;
    margin: 0 8px;
}

.cart-icon-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s;
}

.cart-icon-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--orange-dark);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--navy-blue);
}

/* -----------------------------------------------------
   Premium Toast Notifications
   ----------------------------------------------------- */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
    /* Allow clicks through container */
}

.toast-notification {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 5px solid var(--navy-blue);
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 320px;
    max-width: 450px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    font-family: var(--font-primary);
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-notification.hide {
    transform: translateX(120%);
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 4px;
    color: var(--navy-blue);
    line-height: 1.2;
}

.toast-message {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
    font-weight: 500;
}

.toast-close {
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
    padding: 5px;
}

.toast-close:hover {
    color: var(--navy-blue);
}

/* Toast Variants */
.toast-success {
    border-left-color: #2ecc71;
}

.toast-success .toast-icon {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
}

.toast-error {
    border-left-color: #e74c3c;
}

.toast-error .toast-icon {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
}

.toast-warning {
    border-left-color: #f39c12;
}

.toast-warning .toast-icon {
    background: rgba(243, 156, 18, 0.15);
    color: #f39c12;
}

.toast-info {
    border-left-color: #3498db;
}

.toast-info .toast-icon {
    background: rgba(52, 152, 219, 0.15);
    color: #3498db;
}

/* Progress Bar */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    width: 100%;
}

.toast-progress-bar {
    height: 100%;
    background: currentColor;
    /* Inherit color from parent text/border */
    width: 100%;
    transition: width linear;
}

.toast-success .toast-progress-bar {
    background: #2ecc71;
}

.toast-error .toast-progress-bar {
    background: #e74c3c;
}

.toast-warning .toast-progress-bar {
    background: #f39c12;
}

.toast-info .toast-progress-bar {
    background: #3498db;
}