/* ==========================================================================
   Base & Variables
   ========================================================================== */
:root {
    /* Color Palette - Yellow/Light Theme */
    --primary: #FFB800;
    /* Vibrant Yellow */
    --primary-light: #FFD15C;
    --primary-dark: #cc9300;

    --secondary: #2B2D42;
    /* Dark contrast */
    --accent: #FF7B00;
    /* Orange accent */

    --bg-light: #FDFCF8;
    /* Off-white warm background */
    --bg-white: #FFFFFF;

    --text-main: #333333;
    --text-muted: #666666;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --section-padding: 5rem 2rem;

    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(255, 184, 0, 0.15);
    /* Yellow tinted shadow */
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary);
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0;
}

/* ==========================================================================
   Background Decorators - Glassmorphism & Shapes
   ========================================================================== */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
}

.bg-shape-1 {
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: var(--primary);
}

.bg-shape-2 {
    top: 40%;
    right: -150px;
    width: 500px;
    height: 500px;
    background: var(--primary-light);
}

/* ==========================================================================
   Trasnparent/Glass Container Utility
   ========================================================================== */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: 1rem;
    text-decoration: none;
}

.btn i {
    width: 20px;
    height: 20px;
}

.wpp-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--secondary);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background-color: var(--secondary);
    color: var(--bg-white);
}

.btn-text {
    background-color: transparent;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: color var(--transition);
}

.btn-text::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 5px;
    left: 50%;
    background-color: var(--primary);
    transition: all var(--transition);
    transform: translateX(-50%);
}

.btn-text:hover {
    color: var(--primary-dark);
}

.btn-text:hover::after {
    width: 60%;
    background-color: var(--primary-dark);
}

.btn-dark {
    background-color: var(--secondary);
    color: var(--bg-white);
}

.btn-dark:hover {
    background-color: #1a1c29;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(253, 252, 248, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 2rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--secondary);
}

.logo-img {
    height: 90px;
    max-height: 90px;
    /* Restrict max height */
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    transform-origin: left center;
}

.navbar.scrolled .logo-img {
    height: 60px;
    max-height: 60px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    position: relative;
}

.header-socials {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-right: -1rem;
}

.header-socials a {
    transition: transform var(--transition);
}

.header-socials a:hover {
    transform: scale(1.1);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--secondary);
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    padding: 1rem 2rem;
    box-shadow: var(--shadow-md);
    flex-direction: column;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-btn {
    text-align: center;
    margin-top: 1rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding: 13rem 2rem 5rem 2rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-light);
    color: var(--secondary);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.paws-decoration {
    position: absolute;
    right: -60px;
    bottom: -30px;
    top: auto;
    transform: rotate(15deg);
    height: 100px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
    z-index: 10;
    display: block;
    animation: float-hero 5s ease-in-out infinite alternate;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    position: relative;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: var(--primary-light);
    z-index: -1;
    opacity: 0.6;
    border-radius: 4px;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat h3 {
    font-size: 1.75rem;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.stat p {
    font-size: 0.875rem;
    margin: 0;
}

/* Abstract Hero Visual */
.image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-illustration {
    width: 100%;
    max-width: 850px;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
    animation: float-hero 6s ease-in-out infinite;
    z-index: 2;
    position: relative;
}

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

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

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

/* ==========================================================================
   Services Section
   ========================================================================== */
.services {
    padding: var(--section-padding);
    background-color: var(--bg-white);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.service-card {
    background: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 260px;
    max-width: 350px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    background: var(--bg-white);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 4px solid var(--primary-light);
    box-shadow: var(--shadow-sm);
    background-color: var(--bg-white);
}

.service-illustration {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.service-card:hover .service-illustration {
    transform: scale(1.1);
}


.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
    padding: var(--section-padding);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-card-visual {
    background: var(--primary);
    border-radius: var(--radius-lg);
    height: 500px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.bg-paw {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Scheduling Form */
.cta-form-container {
    max-width: 600px;
    margin: 2rem auto 0;
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    text-align: left;
}

.scheduling-form .form-group {
    margin-bottom: 1.5rem;
}

.scheduling-form input,
.scheduling-form select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition);
    background-color: #f8fafc;
    color: var(--text-dark);
}

.scheduling-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%231e293b%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem top 50%;
    background-size: 0.65rem auto;
}

.scheduling-form input:focus,
.scheduling-form select:focus {
    outline: none;
    border-color: var(--primary);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(254, 189, 42, 0.2);
}

.scheduling-form .form-row {
    display: flex;
    gap: 1.5rem;
}

.scheduling-form .form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .cta-form-container {
        padding: 1.5rem;
    }

    .scheduling-form .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.features-list i {
    color: var(--primary-dark);
}

.mt-4 {
    margin-top: 1.5rem;
}

/* ==========================================================================
   Call to Action (CTA)
   ========================================================================== */
.cta {
    padding: var(--section-padding);
}

.cta-container {
    background: var(--primary);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    opacity: 0.5;
    z-index: 0;
}

.cta-container>* {
    position: relative;
    z-index: 1;
}

.cta-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.cta-container p {
    font-size: 1.125rem;
    color: var(--secondary);
    opacity: 0.9;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--secondary);
    color: var(--bg-white);
    padding: 4rem 2rem 1.5rem 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: var(--bg-white);
    margin-bottom: 1rem;
    display: inline-flex;
}

.footer-brand .logo-img {
    height: 80px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.footer-brand p {
    color: #a0aabf;
    max-width: 300px;
}

.footer-links h4 {
    color: var(--bg-white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    display: block;
    color: #a0aabf;
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-wpp {
    width: 18px;
    height: 18px;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--bg-white);
}

.social-icons a:hover {
    background: var(--primary);
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0aabf;
    font-size: 0.875rem;
}

/* ==========================================================================
   Packages Section
   ========================================================================== */
.packages {
    padding: var(--section-padding);
    background-color: #e5f0f9;
    /* Light blue background */
    position: relative;
}

.packages-container {
    text-align: center;
    position: relative;
    z-index: 2;
}

.packages-container .section-header {
    margin: 0 auto 4rem auto;
    background-color: #fff6d6;
    /* Light yellow bubble */
    padding: 1.5rem 3rem;
    border-radius: 40px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.packages-container .section-header h2 {
    color: #2b557b;
    /* Dark blue text */
    font-size: 2.2rem;
    text-transform: uppercase;
    margin-bottom: 0;
    font-weight: 800;
    line-height: 1.3;
}

.table-container {
    max-width: 750px;
    margin: 0 auto;
    background-color: #dcf2c6;
    /* Inner table wrapper green */
    border-radius: 24px;
    padding: 1rem;
    box-shadow: var(--shadow-md);
    position: relative;
}

/* Dog decoration for table if needed */
.table-container::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -30px;
    width: 150px;
    height: 150px;
    background-image: url('corgi1.png');
    /* Fallback illustration */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
    z-index: -1;
}

.pricing-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    background-color: white;
    /* Base color to ensure colors match */
}

.pricing-table th,
.pricing-table td {
    padding: 1.2rem 1.5rem;
    text-align: left;
    border: none;
    font-size: 1.1rem;
    color: #2b557b;
}

.pricing-table th {
    background-color: #f77f21;
    /* Vibrant orange */
    color: white;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.3rem;
}

/* Ensure border radius is applied properly */
.pricing-table thead tr th:first-child {
    border-top-left-radius: 12px;
}

.pricing-table thead tr th:last-child {
    border-top-right-radius: 12px;
}

.pricing-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}

.pricing-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}

.pricing-table .row-green td {
    background-color: #eef7e6;
    /* Extra light green */
}

.pricing-table .row-yellow td {
    background-color: #fdf6d2;
    /* Extra light yellow */
}

.pricing-table td strong {
    font-weight: 700;
    color: #2b557b;
}

@media (max-width: 768px) {

    .pricing-table th,
    .pricing-table td {
        font-size: 0.9rem;
        padding: 0.8rem 0.5rem;
    }

    .packages-container .section-header h2 {
        font-size: 1.5rem;
    }

    .packages-container .section-header {
        padding: 1rem 1.5rem;
        border-radius: 25px;
        margin-bottom: 3rem;
    }

    .table-container::before {
        top: -90px;
        right: -10px;
        width: 100px;
        height: 100px;
    }
}

/* ==========================================================================
   Animations (Triggered by JS)
   ========================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: var(--delay, 0s);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
    padding: 1rem;
    box-sizing: border-box;
}

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

.modal-content {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 90%;
    margin: 0 auto;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    box-sizing: border-box;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s ease;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--secondary);
}

.modal-title {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
    word-break: break-word;
    hyphens: auto;
    padding: 0 10px;
}

.modal-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
}

.modal-freq {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {

    .hero {
        align-items: flex-start;
        padding-top: 130px;
        min-height: auto;
    }

    .hero-container,
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        margin: 0 auto 2rem auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

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

    .features-list {
        align-items: center;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-actions .btn {
        display: none;
    }

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

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

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

@media (max-width: 580px) {
    .modal-content {
        padding: 1.5rem 1.25rem;
        width: 100%;
        max-width: 350px;
        margin: auto;
        left: 0;
        right: 0;
        box-sizing: border-box;
    }

    .modal-title {
        font-size: 1.1rem;
        padding: 0;
    }

    .modal-price {
        font-size: 2.25rem;
    }

    .modal-freq {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }

    .modal-actions {
        gap: 0.75rem;
    }

    .modal-actions .btn {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
        width: 100%;
        box-sizing: border-box;
    }
}