/* NEO-BRUTALISM DESIGN SYSTEM */
:root {
    /* Colors */
    --bg-color: #faf9f6;
    --black: #1a1a1a;
    --white: #ffffff;
    --yellow: #ffdc52;
    --pink: #ff579a;
    --cyan: #00f0ff;
    --purple: #b057ff;
    --green: #00ff73;
    --grey: #d4d4d4;
    /* semi transparent */
    --semi-transparent-grey: #d4d4d480;
    --transparent: transparent;

    /* Neobrutalism specs */
    --border: 4px solid var(--black);
    --shadow: 3px 3px 0px var(--black);
    --shadow-hover: 12px 12px 0px var(--black);
    --shadow-sm: 4px 4px 0px var(--black);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--bg-color);
    background-image: radial-gradient(var(--grey) 2px, transparent 2px);
    background-size: 25px 25px;
    color: var(--black);
    line-height: 1.5;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Bebas Neue', sans-serif;
    text-transform: uppercase;
    line-height: 1.1;
}

.text-white {
    color: var(--white);
}

.bg-black {
    background-color: var(--black);
}

.bg-yellow {
    background-color: var(--yellow);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--black);
    background-color: var(--white);
    border: var(--border);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translate(-4px, -4px);
    box-shadow: var(--shadow);
}

.btn:active {
    transform: translate(0, 0);
    box-shadow: 0 0 0 var(--black);
}

.btn-primary {
    background-color: var(--cyan);
}

.btn-yellow {
    background-color: var(--yellow);
}

.btn-black {
    background-color: var(--black);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--pink);
    color: var(--black);
}

.btn-yellow:hover {
    background-color: var(--cyan);
    color: var(--black);
}

.btn-black:hover {
    background-color: var(--yellow);
    color: var(--black);
}

.hover-cyan:hover {
    background-color: var(--cyan) !important;
    color: var(--black) !important;
}

.hover-pink:hover {
    background-color: var(--pink) !important;
    color: var(--black) !important;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.2rem;
}

.btn-huge {
    padding: 24px 48px;
    font-size: 2rem;
    font-family: 'Bebas Neue', sans-serif;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 2%;
    border-bottom: var(--border);
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
}

.nav-links a {
    margin: 0 20px;
    text-decoration: none;
    color: var(--black);
    font-weight: 100px;
    border-bottom: 2px solid var(--transparent);
    transition: border-color 0.2s;
}

.nav-links a:hover {
    border-bottom: 2px solid var(--black);
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: row;
    min-height: 80vh;
    border-bottom: var(--border);
    position: relative;
    overflow: visible;
    /* let the image break out of the grid line */
}

.hero-content {
    flex: 1;
    padding: 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border-right: var(--border);
    background-color: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Floating Vector Shapes */
.floating-shape {
    position: absolute;
    z-index: -1;
}

.shape-star {
    width: 100px;
    height: 100px;
    top: 10%;
    right: 10%;
    animation: spin 8s linear infinite;
}

.shape-circle {
    width: 70px;
    height: 70px;
    bottom: 15%;
    left: 45%;
    animation: floatUp 4s ease-in-out infinite alternate;
}

.shape-zigzag {
    width: 120px;
    height: 60px;
    top: 5%;
    left: 5%;
    animation: floatSide 5s ease-in-out infinite alternate;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(-40px) rotate(15deg);
    }
}

@keyframes floatSide {
    0% {
        transform: translateX(0) rotate(-15deg);
    }

    100% {
        transform: translateX(30px) rotate(15deg);
    }
}

.hero-title {
    font-size: clamp(4rem, 8vw, 7rem);
    margin-bottom: 20px;
    text-shadow: 4px 4px 0px rgba(0, 0, 0, 0.1);
    animation: slideUpFade 0.8s ease-out forwards;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 40px;
    max-width: 500px;
    opacity: 0;
    animation: slideUpFade 0.8s ease-out 0.2s forwards;
}

.hero-content .btn {
    opacity: 0;
    animation: slideUpFade 0.8s ease-out 0.4s forwards;
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-image-container {
    flex: 1;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.hero-img {
    width: 120%;
    max-width: 650px;
    height: auto;
    object-fit: contain;
    /* Shift left so the image overlaps and bursts through the grid border */
    margin-left: -20%;
    transform: rotate(2deg);
    filter: drop-shadow(12px 12px 0px var(--black));
    transition: transform 0.3s ease, filter 0.3s ease;
    position: relative;
    z-index: 10;
}

.hero-img:hover {
    transform: rotate(0deg) scale(1.03);
    filter: drop-shadow(18px 18px 0px var(--black));
}

.sticker {
    position: absolute;
    background-color: var(--yellow);
    border: var(--border);
    padding: 10px 20px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    box-shadow: var(--shadow-sm);
    transform: rotate(-10deg);
}

@keyframes stickerPop {
    0% {
        transform: scale(0) rotate(-20deg);
        opacity: 0;
    }

    80% {
        transform: scale(1.1) rotate(5deg);
    }

    100% {
        transform: scale(1) rotate(-10deg);
        opacity: 1;
    }
}

.sticker-1 {
    top: 15%;
    left: 10%;
    opacity: 0;
    animation: stickerPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.6s forwards;
    z-index: 20;
}

.sticker-2 {
    bottom: 15%;
    right: 12%;
    background-color: var(--cyan);
    transform: rotate(15deg);
    opacity: 0;
    animation: stickerPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.8s forwards;
    z-index: 20;
}

/* Marquee */
.marquee-container {
    background-color: var(--black);
    color: var(--white);
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: var(--border);
}

.marquee-track {
    display: inline-block;
    animation: marquee 20s linear infinite;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 2px;
}

.marquee-track span {
    margin: 0 20px;
}

.star {
    color: var(--yellow);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

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

/* Sections General */
.section {
    padding: 20px 5%;
    border-bottom: var(--border);
}

.section-title {
    font-size: clamp(3rem, 5vw, 5rem);
    margin-bottom: 20px;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: -10px;
    margin-bottom: -50px;
}

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

.card {

    border: var(--border);
    box-shadow: var(--shadow);
    padding: 30px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translate(-5px, -5px);
    box-shadow: var(--shadow-hover);
}

.card-pink {
    background-color: var(--pink);
}

.card-cyan {
    background-color: var(--cyan);
}

.card-yellow {
    background-color: var(--yellow);
}

.card-purple {
    background-color: var(--purple);
}

.card-green {
    background-color: var(--green);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: var(--white);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: var(--border);
    border-radius: 50%;
}

.card h3 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.package-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: visible;
}

.card p {
    font-weight: 600;
    margin-bottom: 20px;
}

.card-features {
    list-style: none;
    font-weight: 700;
}

.card-features li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border: var(--border);
    border-color: var(--white);
    transition: transform 0.3s ease;
    filter: grayscale(50%);
}

.gallery-img:hover {
    transform: scale(1.05);
    filter: grayscale(0%);
    box-shadow: 10px 10px 0px var(--yellow);
    z-index: 10;
    position: relative;
}

/* Templates Carousel */
.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.carousel-btn {
    background: var(--white);
    border: var(--border);
    width: 60px;
    height: 60px;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    z-index: 10;
    transition: all 0.2s;
}

.carousel-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--black);
}

.carousel-btn:active {
    transform: translate(0, 0);
    box-shadow: 0 0 0 var(--black);
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
    margin: 0 20px;
}

.carousel-track {
    display: flex;
    list-style: none;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
}

.template-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: var(--border);
    box-shadow: var(--shadow);
    background-color: var(--purple);
}

.card-green {
    background-color: var(--green);
}

.template-visual {
    padding: 40px;
    border-right: var(--border);
    display: flex;
    justify-content: center;
    background-image: radial-gradient(var(--black) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* 2x6 Strip CSS mockup */
.strip-2x6 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.strip-2x6 .photo-box,
.strip-4x6 .photo-box {
    background-color: #ddd;
    border: 2px solid #000;
    width: 120px;
    height: 90px;
    margin-bottom: 10px;
}

.strip-2x6 .design-area {
    width: 120px;
    height: 60px;
    background-color: var(--white);
    border: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    text-align: center;
}

/* 4x6 Postcard CSS mockup */
.strip-4x6 {
    flex-direction: column;
}

.photo-grid-4x6 {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.photo-grid-4x6 .photo-box {
    width: 100px;
    height: 120px;
}

.design-area-4x6 {
    width: 100%;
    height: 60px;
    background-color: var(--white);
    border: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.template-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.template-info h3 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.template-info p {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 30px;
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: var(--border);
    margin-bottom: 20px;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
}

.faq-question.active::after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
    font-weight: 600;
}

/* Footer */
.footer {
    padding: 100px 5%;
    text-align: center;
    background-color: var(--black);
    color: var(--white);
}

.footer h2 {
    font-size: clamp(3rem, 6vw, 6rem);
    margin-bottom: 40px;
}

.footer-links {
    margin-top: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 2px solid var(--white);
    padding-top: 20px;
}

.socials a {
    color: var(--white);
    text-decoration: none;
    margin-left: 20px;
    font-weight: 700;
}

.socials a:hover {
    color: var(--yellow);
}

/* Pricing & Features */
.price {
    font-size: 3.5rem;
    color: var(--black);
    background-color: var(--white);
    border: 3px solid var(--black);
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 1);
    padding: 5px 15px 5px 25px;
    margin: 20px 20px 2px 20px;
    /* Pop up slightly into the middle */
    position: relative;
    z-index: 10;
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
}

.popular-badge {
    position: absolute;
    top: -20px;
    left: -15px;
    background-color: var(--yellow);
    color: var(--black);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    padding: 4px 10px;
    border: 2px solid var(--black);
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 1);
    transform: rotate(-8deg);
    z-index: 15;
    letter-spacing: 1px;
}

.features-box {
    border: var(--border);
    box-shadow: var(--shadow);
    padding: 15px;
}

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

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

.mt-5 {
    margin-top: 3rem;
}

.box-title {
    font-size: 2.5rem;
    margin-bottom: 5px;
    border-bottom: 4px solid var(--black);
    display: inline-block;
    padding-bottom: 5px;
}

.features-list,
.addons-list {
    list-style: none;
    font-size: 1.2rem;
    font-weight: 500;
}

.features-list li,
.addons-list li {
    margin-bottom: 5px;
    display: flex;
    align-items: flex-start;
}

.package-features {
    list-style: none;
    margin: 20px 0 30px 0;
    flex-grow: 1;
    /* Pushes button down so all cards match height */
}

.package-features li {
    font-size: 1rem;
    font-weight: 700;
    padding: 10px 0;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    line-height: 1.3;
}

.package-features li::before {
    content: '★';
    color: var(--black);
    margin-right: 10px;
    font-size: 1.2rem;
}

.package-addons {
    background-color: var(--white);
    border: 3px solid var(--black);
    padding: 15px;
    margin-bottom: 30px;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 1);
    transform: rotate(1deg);
}

.package-addons strong {
    display: block;
    margin-bottom: 8px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--black);
    padding-bottom: 5px;
}

.package-addons span {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 5px;
}

/* Animated Strip Gallery */
.strip-gallery {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 50px;
    perspective: 1000px;
}

.animated-strip,
.animated-strip-4x6 {
    background-color: var(--white);
    border: var(--border);
    padding: 10px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    cursor: pointer;
}

.animated-strip {
    width: 200px;
}

.animated-strip-4x6 {
    width: 350px;
}

.animated-strip:hover,
.animated-strip-4x6:hover {
    transform: translateY(-20px) scale(1.05) rotate(0deg);
    box-shadow: 15px 15px 0px var(--yellow);
    z-index: 10;
}

.strip-tilt-left {
    transform: rotate(-5deg);
}

.strip-center {
    transform: rotate(2deg) translateY(20px);
}

.strip-tilt-right {
    transform: rotate(8deg);
}

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

.template-buttons-wrapper {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hover-cyan:hover {
    background-color: var(--cyan);
    color: var(--black);
}

.hover-pink:hover {
    background-color: var(--pink);
    color: var(--black);
}

.strip-image {
    width: 100%;
    height: auto;
    display: block;
    border: 2px solid var(--black);
    margin-bottom: 0;
    transition: filter 0.3s;
}

.animated-strip-4x6 .strip-image {
    height: 250px;
}

.animated-strip:hover .strip-image,
.animated-strip-4x6:hover .strip-image {
    filter: grayscale(0%) contrast(100%);
}

.strip-logo {
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--black);
}

/* Helper classes */
.card-package {
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.mt-auto {
    margin-top: auto;
}

.logo-img {
    height: 100px;
    object-fit: contain;
    display: block;
}

/* Gallery Carousel */
.gallery-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 40px 0 80px 0;
    position: relative;
}

.strip-carousel-track {
    display: flex;
    width: max-content;
    animation: marquee-gallery 35s linear infinite;
}

.strip-carousel {
    display: flex;
    flex-wrap: nowrap;
    gap: 60px;
    padding: 20px 30px;
    justify-content: flex-start;
}

@keyframes marquee-gallery {
    0% {
        transform: translateX(0);
    }

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

/* Customer Journey Grid - 4 Columns */
.journey-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 50px;
    padding: 20px 0;
}

.journey-card {
    position: relative;
    max-width: 100%;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.journey-card:hover {
    transform: translateY(-10px) rotate(1deg) scale(1.02);
    box-shadow: 12px 12px 0 var(--black) !important;
    z-index: 10;
}

/* Tablet view - 2 columns */
@media (max-width: 1024px) and (min-width: 769px) {
    .journey-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Mobile view - 1 column straight down */
@media (max-width: 768px) {
    .journey-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 480px) {
    .animated-strip {
        width: 220px;
        padding: 10px 10px 40px 10px;
    }

    .animated-strip-4x6 {
        width: 280px;
        padding: 10px 10px 40px 10px;
    }

    .animated-strip .strip-image {
        height: 150px;
    }

    .animated-strip-4x6 .strip-image {
        height: 200px;
    }

    .strip-logo {
        font-size: 1.4rem;
        bottom: 10px;
    }

    .strip-carousel {
        gap: 30px;
    }
}

.strip-carousel::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari/Opera */
}

.strip-carousel .animated-strip,
.strip-carousel .animated-strip-4x6 {
    flex: 0 0 auto;
    scroll-snap-align: center;
}

/* Responsive */
@media (max-width: 768px) {

    /* Keep hero side-by-side on mobile, image on right */
    .hero {
        flex-direction: row;
        min-height: 38vh;
        align-items: center;
        overflow-x: hidden;
    }

    .hero-image-container {
        flex: 1.5;
        padding: 0;
        min-height: auto;
        justify-content: center;
        align-items: center;
        overflow: visible;
        z-index: 10;
    }

    .hero-img {
        max-width: none;
        width: 160%;
        /* scale up so it bursts */
        transform: rotate(2deg);
        margin-top: 0;
        margin-bottom: 0;
        margin-left: -30%;
        /* pull left to overlap vertical line */
        margin-right: 10%;
        filter: drop-shadow(6px 6px 0px var(--black));
        position: relative;
        z-index: 10;
    }

    .hero-img:hover {
        transform: scale(1.02) rotate(0deg);
        filter: drop-shadow(8px 8px 0px var(--black));
    }

    .sticker {
        font-size: 0.9rem;
        padding: 4px 8px;
        border: 2px solid var(--black);
        box-shadow: 2px 2px 0px var(--black);
    }

    .sticker-1 {
        left: -15%;
        top: 10%;
    }

    .sticker-2 {
        right: 20%;
        bottom: 10%;
    }

    .hero-content {
        flex: 1.2;
        /* text gets slightly more space */
        border-right: none;
        border-bottom: none;
        padding: 20px 5%;
        align-items: flex-start;
        text-align: left;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .hero-content .btn {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .shape-star {
        width: 60px;
        height: 60px;
        top: 5%;
        right: 5%;
    }

    .shape-circle {
        width: 40px;
        height: 40px;
        bottom: 10%;
        left: 20%;
    }

    .shape-zigzag {
        width: 70px;
        height: 35px;
        top: 5%;
        left: 0%;
    }

    .navbar {
        flex-wrap: nowrap;
        padding: 10px 5%;
        gap: 5px;
    }

    .logo-img {
        height: 35px !important;
        width: auto !important;
    }

    .nav-links {
        display: flex;
        justify-content: center;
        gap: 8px;
    }

    .nav-links a {
        margin: 0;
        font-size: 0.7rem;
        font-weight: 400;
    }

    .navbar .btn-primary {
        padding: 8px 12px;
        font-size: 0.75rem;
    }

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

    .template-visual {
        border-right: none;
        border-bottom: var(--border);
    }

    .template-buttons-wrapper {
        flex-wrap: nowrap;
        gap: 10px;
        padding: 0 10px;
    }

    .template-buttons-wrapper .btn {
        padding: 10px 5px;
        font-size: 0.75rem;
        flex: 1;
        text-align: center;
    }
}