/* Main Design System */
:root {
    --primary-color: #e02454;
    --primary-dark: #c21d46;
    --secondary-color: #0c0d1d;
    --text-color: #0c0d1d;
    --muted-text: #6b7280;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Figtree', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

/* Override Bootstrap Primaries to match Logo Orange */
/* Global Button Standardization */
.btn-primary,
.btn-success,
.btn-arc-primary,
.design-btn,
.btn-arc-secondary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover,
.btn-success:hover,
.btn-arc-primary:hover,
.design-btn:hover,
.btn-arc-secondary:hover,
.btn-primary:focus,
.btn-success:focus,
.btn-arc-primary:focus,
.design-btn:focus {
    background-color: #000 !important;
    border-color: #000 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary,
.btn-outline-success {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-outline-primary:hover,
.btn-outline-success:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #000;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Navbar Styling */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 0px !important;
    transition: var(--transition);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: #444 !important;
    margin: 0 10px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-icons .btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
}

/* Hero Section */
.hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fff 0%, #fff5f7 100%);
    position: relative;
}

.hero-content h1 {
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

/* Category Cards */
.category-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.category-card .card-body {
    text-align: center;
    padding: 20px;
}

/* Product Cards */
.product-card {
    border: none;
    border-radius: 15px;
    transition: var(--transition);
    overflow: hidden;
    background: #fff;
    margin-bottom: 30px;
}

.product-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.product-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: #fff;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: #fff;
    padding: 80px 0 30px;
    font-size: 16px;
}

footer h5 {
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 20px;
}

footer .footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: var(--transition);
    font-size: 16px;
}

footer .footer-link:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Footer Styling */
footer {
    background: #f8f9fa;
    color: #333;
}

.footer-heading {
    display: inline-block;
    font-weight: 800;
    font-size: 1.4rem;
    color: #1a1a1a;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 8px;
    text-transform: uppercase;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #1a1a1a;
}

.footer-nav-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-links a {
    color: #444;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.footer-nav-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-links-wrapper {
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Global Button Reset */
.btn {
    padding: 12px 30px;
    border-radius: 10px;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-weight: 800;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.8s ease forwards;
}

/* Modern Hero Carousel */
.hero-carousel {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}

.hero-slide-bg {
    height: 550px;
    background-size: cover;
    background-position: center center;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.85) 35%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
}

.hero-text-container {
    position: relative;
    z-index: 5;
    color: #1a1a1a;
    max-width: 650px;
    padding: 20px;
}

.hero-badge {

    display: inline-block;
    padding: 6px 18px;
    background: rgba(39, 174, 96, 0.1);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(39, 174, 96, 0.2);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #000;
    letter-spacing: -2px;
}

.title-highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #555;
    font-weight: 400;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    align-items: center;
}

.btn-hero {
    padding: 15px 40px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-hero-primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-hero-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(39, 174, 96, 0.3);
}

.btn-hero-outline {
    background: transparent;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
}

.btn-hero-outline:hover {
    background: #1a1a1a;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.7) !important;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 0 20px;
}

.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next {
    opacity: 1;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
    background: var(--primary-color) !important;
    color: #fff;
}

.hero-carousel .carousel-indicators {
    bottom: 30px;
    justify-content: center;
    margin: 0;
}

.hero-carousel .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: #000;
    opacity: 0.2;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.hero-carousel .carousel-indicators .active {
    background-color: var(--primary-color);
    width: 30px;
    border-radius: 10px;
    opacity: 1;
}

@media (max-width: 768px) {
    .hero-slide-bg {
        height: 400px;
        background-position: center;
    }

    .hero-slide-bg::before {
        width: 100%;
        background: rgba(255, 255, 255, 0.8);
    }

    .hero-title {
        font-size: 2.2rem;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1rem;
        text-align: center;
        margin: 0 auto 25px;
    }

    .hero-text-container {
        text-align: center;
    }

    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        display: none;
    }
}


/* Transitions and Hover Effects */
.transition-up {
    transition: var(--transition);
}

.transition-up:hover {
    transform: translateY(-10px);
}

/* Product Overlay */
.product-overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: rgba(224, 36, 84, 0.9);
    padding: 10px;
    display: flex;
    justify-content: center;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    bottom: 0;
}

/* Category Image Wrapper */
.category-img-wrapper {
    transition: var(--transition);
}

.category-card:hover .category-img-wrapper {
    transform: scale(1.1);
}

/* Sticky Navbar refinement */
.navbar.sticky-top {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Typography Extras */
.ls-2 {
    letter-spacing: 2px;
}

.font-italic {
    font-style: italic;
}

/* Category Circle Items */
.category-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

.circle-img-container {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3px solid #f39c12;
    /* Golden/Orange border */
    padding: 5px;
    background: #fff;
    overflow: hidden;
    transition: var(--transition);
    margin: 0 auto;
}

.circle-img-container img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    transition: var(--transition);
}

.category-circle-item:hover .circle-img-container {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(243, 156, 18, 0.2);
}

.category-circle-item:hover h6 {
    color: var(--primary-color) !important;
}


/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-slide-bg {
        height: 450px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-slide-bg::before {
        width: 100%;
        background: radial-gradient(circle at center, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    }

    .hero-text-container {
        text-align: center;
        max-width: 100%;
        padding: 20px;
    }

    .hero-title {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
        max-width: 100%;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 4px 12px;
        margin-bottom: 15px;
    }

    .hero-actions {
        justify-content: center;
    }

    .btn-hero {
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .btn-hero-outline {
        margin-left: 10px !important;
    }

    /* Tab Section Mobile Fixes */
    .filter-tabs-container {
        flex-direction: column;
        gap: 0;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .filter-slider-container {
        width: 100% !important;
    }

    .filter-nav-wrapper {
        padding: 10px 0;
        width: 100%;
    }

    .filter-nav {
        justify-content: flex-start !important;
        padding: 0 10px;
        width: max-content;
    }

    .filter-btn {
        min-width: 140px;
        padding: 8px 12px;
        gap: 8px;
    }

    .filter-btn .icon-wrapper {
        font-size: 18px;
    }

    .step-indicator {
        gap: 15px;
        margin-bottom: 30px;
    }

    .step-text {
        font-size: 0.8rem;
    }

    .display-4 {
        font-size: 2rem;
    }
}

/* Step Indicator */
.step-indicator {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-number {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #ccc;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.step-item.active .step-number {
    background: var(--primary-color);
}

.step-item.secondary .step-number {
    background: #009999;
}

.step-item.warning .step-number {
    background: #f39c12;
}

.step-text {
    font-weight: 600;
    color: #444;
}

/* PrintShoppy Style Tabs */
.filter-tabs-container {
    background: #f1fff8;
    /* Light Green Tint */
    padding: 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center the whole group */
    gap: 15px;
    margin-bottom: 50px;
    border: 1px solid #d1ffd8;
    position: relative;
}

.filter-label {
    padding: 10px 15px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.95rem;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.filter-slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center tabs within slider container */
    gap: 5px;
    position: relative;
}

.filter-nav-wrapper {
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Hide default scrollbar */
    -ms-overflow-style: none;
}

.filter-nav-wrapper::-webkit-scrollbar {
    display: none;
}

.filter-nav {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: center;
    /* Center the buttons */
}

.filter-btn {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 180px;
    transition: all 0.2s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.filter-btn .icon-wrapper {
    font-size: 24px;
    color: #555;
    opacity: 0.7;
}

.filter-btn .btn-text {
    font-weight: 600;
    font-size: 0.8rem;
    color: #666;
    text-transform: capitalize;
    line-height: 1.2;
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.filter-btn.active .icon-wrapper,
.filter-btn.active .btn-text {
    color: white;
    opacity: 1;
}

/* Slider Controls */
.scroll-arrow {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.scroll-arrow:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.custom-scroll-track {
    position: absolute;
    bottom: 5px;
    left: 45px;
    right: 45px;
    height: 6px;
    background: #eee;
    border-radius: 10px;
}

.custom-scroll-thumb {
    position: absolute;
    height: 100%;
    width: 20%;
    background: #888;
    border-radius: 10px;
    transition: left 0.1s linear;
}

.fw-black {
    font-weight: 900 !important;
}


/* Design Product Card */
.design-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.design-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.design-btn {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    transition: background 0.3s ease;
}

.design-btn:hover {
    background: var(--primary-dark);
    color: white;
}

/* Featured Design Box Styling */
.featured-design-box {
    background-color: #fff2f2 !important;
    /* Premium Peach Background as per design */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    border: none;
}

.featured-design-title {
    color: #5d2525;
    /* Dark Maroon as per design */
    font-weight: 900;
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 50px;
    font-family: 'Figtree', sans-serif;
}

.featured-item-card .item-price {
    color: var(--primary-color) !important;
    /* Brand Green */
    font-weight: 700;
    font-size: 0.9rem;
}

.featured-item-card .item-name {
    color: #333;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 10px;
}

.featured-item-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.featured-item-card:hover {
    transform: translateY(-8px);
}

.featured-item-card .img-wrapper img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: all 0.3s ease;
}

.featured-item-card .item-name {
    font-size: 0.95rem;
    letter-spacing: -0.2px;
}

@media (max-width: 576px) {
    .featured-item-card .item-name {
        font-size: 0.8rem;
    }

    .featured-design-box {
        padding: 40px 10px !important;
        margin-left: -5px;
        margin-right: -5px;
        border-radius: 15px !important;
    }

    .featured-design-title {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }
}

.newsletter-section h3 {
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}

.subscription-form .form-control:focus {
    box-shadow: none;
    border-color: transparent;
}

.grayscale {
    filter: grayscale(1);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.grayscale:hover {
    filter: grayscale(0);
    opacity: 1;
}

.copyright-bar p {
    font-size: 0.9rem;
}

/* Vision & Homegrown Styling */
.vision-heading {
    font-weight: 900;
    font-size: 2.5rem;
    color: #1a1a1a;
    letter-spacing: -1px;
}

.homegrown-box {
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.list-items li {
    font-size: 0.9rem;
    color: #e0e0e0;
}

@media (max-width: 991px) {
    .vision-heading {
        font-size: 2rem;
    }

    .border-md-end {
        border-right: none !important;
    }

    .vision-section {
        padding: 30px 15px !important;
    }

    .homegrown-box {
        padding: 30px 15px !important;
    }

    .stats-grid .col-3 {
        width: 50% !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 15px 5px !important;
    }

    .stats-grid .col-3:nth-child(even) {
        border-right: none !important;
    }

    .stats-grid .col-3:nth-last-child(-n+2) {
        border-bottom: none !important;
    }
}

/* Trust Features Section Styling */
.trust-features-section {
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.feature-item {
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon img {
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.05));
}

/* Mobile Responsiveness Polish */
@media (max-width: 576px) {
    .navbar-brand img {
        height: 45px !important;
    }

    .navbar .container {
        padding: 5px 15px !important;
    }

    .hero-title {
        font-size: 1.8rem !important;
    }

    .hero-subtitle {
        font-size: 0.9rem !important;
    }

    .trust-features-section {
        padding: 30px 0 !important;
    }

    .feature-item {
        margin-bottom: 25px;
    }

    .feature-icon img {
        height: 35px;
    }

    .footer-heading {
        margin-top: 20px;
        margin-bottom: 15px;
    }
}