:root {
    /* Color Palette */
    --primary: #1b4332;
    --primary-light: #2d6a4f;
    --accent: #d4a373;
    --accent-dark: #bc8a5f;
    --bg: #ffffff;
    --bg-alt: #f8f9fa;
    --text: #1a1a1a;
    --text-muted: #666666;
    --white: #ffffff;

    /* Spacing */
    --container-width: 1000px;
    --section-padding: 48px 0;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
}

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

html {
    overflow-x: hidden;
    max-width: 100vw;
}

[id] {
    scroll-margin-top: 10px;
}

/* Flash protection for deep linking */
.instant-jump-active .hero-section {
    display: none !important;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--bg);
    overflow-x: hidden;
    max-width: 100vw;
    word-break: break-word;
    overflow-wrap: break-word;
}


h1,
h2,
h3,
h4,
.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

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

.section-padding {
    padding: var(--section-padding);
}

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

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    white-space: nowrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    color: var(--primary);
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.45rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--text);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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



.hamburger {
    display: none;
    border: none;
    background: transparent;
}

@media (max-width: 900px) {
    .nav-item-phone {
        display: none;
    }
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--text);
    border-radius: 4px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white) !important;
    font-weight: 700;
}

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

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

.btn-secondary:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

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

.btn-white:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

/* Hero Section Redesign (Static) */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    margin-top: 64px;
}

@media (min-width: 992px) {
    .hero-section {
        margin-top: 0;
    }
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

.hero-img-wrapper {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-scroll-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Darker for better text contrast */
    z-index: 1;
}

/* Hero Content Overlay */
.hero-content-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    width: 100%;
    /* Ensure it doesn't overflow */
    padding: 0 24px;
}

.hero-cta-group {
    margin-top: 24px;
    display: flex;
    gap: 16px;
    justify-content: center;
}

.hero-cta-group .btn {
    min-width: 170px;
}

.hero-title-large {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-text-large {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Products Section */
.products-section {
    background-color: var(--bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.products-grid .product-card {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.products-grid .product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.products-grid .product-image {
    height: 190px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-grid .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.products-grid .product-card:hover .product-image img {
    transform: scale(1.05);
}

.products-grid .product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.products-grid .product-info h3 {
    margin-bottom: 10px;
    font-size: 1.15rem;
    color: var(--primary);
}

.products-grid .product-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.products-grid .product-info p strong {
    color: #333;
}

.phone-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.phone-link:hover {
    text-decoration: underline;
}

.product-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 14px;
}

.product-price .price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 1rem;
    font-weight: 400;
    margin-right: 4px;
}

.product-price .price-unit {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
}

.coming-soon-badge {
    display: inline-block;
    background-color: #e0e0e0;
    color: #666;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
}

/* Old Products Section */
.section-header {
    text-align: center;
    margin-bottom: 40px;
    height: auto;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 12px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1rem;
}

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

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.product-info {
    padding: 24px;
}

.product-info h3 {
    margin-bottom: 12px;
}

.product-info p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

@media (max-width: 768px) {

    .products-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }

    .product-card {
        border-radius: 12px;
    }

    .product-image {
        height: 160px;
    }

    .product-info {
        padding: 12px;
    }

    .product-info h3 {
        font-size: 1rem;
        margin-bottom: 4px;
    }

    .product-info p {
        font-size: 0.85rem;
        margin-bottom: 12px;
        line-height: 1.3;
    }

    .product-price {
        font-size: 1rem !important;
        margin-bottom: 12px !important;
    }

    .product-price .price-old {
        font-size: 0.85rem;
    }

    .price-unit {
        font-size: 0.8rem;
    }

    .product-info .btn-sm {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

@media (min-width: 992px) {

    .products-grid,
    .product-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

.price {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
}

/* Calculator Grid */
.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.calc-simple-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 10px 0;
}

.calc-form {
    display: grid;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
}

.form-group input,
.form-group select {
    padding: 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
}

.calc-result {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.result-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

/* Simple Calculator Style */
.calc-simple-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 10px 0;
}

.calc-simple-card h3 {
    margin-bottom: 0;
    /* Let gap handle spacing */
    font-size: 2rem;
}

.calc-simple-card p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-top: -12px;
    /* Pull closer to heading visually if needed, but let's stick to clean gaps first. Actually, user wants "much more spacing". Let's stick to the gap. */
    margin: 0;
}

.calc-input-group {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    /* Extra nudge */
}

.calc-input-group input {
    flex: 1;
    width: 100%;
    height: 56px;
    padding: 0 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: border-color 0.3s;
}

.calc-select {
    width: 100%;
    height: 56px;
    padding: 0 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1.1rem;
    font-family: inherit;
    color: var(--text);
    background: var(--white);
    transition: border-color 0.3s;
    margin-top: 16px;
    margin-bottom: 8px;
}

.calc-select:focus {
    outline: none;
    border-color: var(--primary);
}

.calc-input-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.calc-input-group button {
    height: 56px;
    padding: 0 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
}

.calc-result-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 8px;
}

/* Product Selection Grid */
.product-selection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 16px;
    margin-bottom: 24px;
}

.product-select-item {
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.product-select-item:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.product-select-item.selected {
    border-color: var(--primary);
    background: rgba(27, 67, 50, 0.05);
    box-shadow: 0 4px 12px rgba(27, 67, 50, 0.1);
}

.product-select-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.product-select-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.product-size {
    font-size: 0.8rem;
    font-weight: 400 !important;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .product-selection-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.calc-row {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

@media (min-width: 992px) {
    .calc-row {
        flex-direction: row;
        align-items: stretch;
        justify-content: center;
    }

    .calc-simple-card {
        flex: 1;
        max-width: 450px;
    }

    .chart-container {
        flex: 1;
        max-width: 500px;
    }
}

.chart-container {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: opacity 0.3s ease;
}

.chart-container.sketch-style {
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 20px 0;
}

.chart-title {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.price-chart {
    width: 100%;
    height: auto;
}

.price-chart.minimal text {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

.chart-note {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Footer */
.footer {
    background: #0d1e16;
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 2fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-brand .logo-img {
    filter: brightness(0) invert(1);
}

.footer h4 {
    color: var(--white);
    margin-bottom: 24px;
}

/* Facebook Section */
.facebook-section {
    background: var(--bg-alt);
    text-align: center;
}

.facebook-card {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.facebook-card iframe {
    max-width: 100%;
    border-radius: 16px;
    background: white;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

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

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

@media (min-width: 768px) {
    .footer-bottom {
        border-top: none;
    }
}



/* Image Carousel Section */
.carousel-section {
    width: 100%;
    margin: 40px 0 60px 0;
    background: var(--bg);
}

.carousel-container {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    width: max-content;
    animation: scroll 60s linear infinite;
    gap: 16px;
    padding: 0 8px;
    /* Ensures even spacing for the -50% translation */
}

.carousel-track:hover {
    animation-play-state: paused;
}

.carousel-img {
    width: 350px;
    height: 250px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.carousel-img:hover {
    transform: scale(1.02);
}

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

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

@media (max-width: 768px) {
    .carousel-img {
        width: 250px;
        height: 180px;
    }

    .carousel-section {
        margin: 20px 0 40px 0;
    }
}

/* Order Now Section */
.order-now {
    background-color: var(--white);
}

.order-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: var(--bg-alt);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: flex;
    gap: 20px;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 24px;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.order-form .form-group input:not(#order-date),
.order-form .form-group textarea {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text);
    background: var(--white);
    transition: border-color 0.3s;
}

.order-form .form-group textarea {
    height: auto;
    padding: 12px 16px;
}

#order-date {
    display: none;
}

.order-form .form-group input:focus,
.order-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.order-form .btn-full {
    height: 50px;
    border-radius: 12px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.order-form label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}



/* Flatpickr Responsive Overrides */
.flatpickr-calendar.inline {
    width: 100% !important;
    max-width: 100% !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 12px !important;
    padding: 12px 0 !important;
}

.flatpickr-months {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    margin-bottom: 12px !important;
    background: transparent !important;
}

.flatpickr-prev-month,
.flatpickr-next-month {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 28px !important;
    width: 28px !important;
    padding: 0 !important;
    margin: 0 16px !important;
    border-radius: 50% !important;
    color: var(--primary) !important;
    fill: var(--primary) !important;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
    background: rgba(27, 67, 50, 0.1) !important;
}

.flatpickr-current-month {
    position: static !important;
    width: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    height: auto !important;
}

.flatpickr-monthDropdown-months {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--text) !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    appearance: none !important;
    -moz-appearance: none !important;
    -webkit-appearance: none !important;
    pointer-events: none !important;
    margin: 0 !important;
}

/* Hide Year */
.numInputWrapper {
    display: none !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
    background: transparent !important;
}

.flatpickr-days {
    width: 100% !important;
    border: none !important;
}

.flatpickr-rContainer {
    width: 100% !important;
}

.flatpickr-days {
    width: 100% !important;
    border-left: none !important;
    border-right: none !important;
}

.dayContainer {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    justify-content: space-around;
}

.flatpickr-day {
    max-width: none !important;
    flex-basis: 14.28% !important;
    /* 100% / 7 days */
    height: 38px !important;
    line-height: 38px !important;
}

.flatpickr-day.today {
    border-color: transparent !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.selected:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.prevMonthDay.selected,
.flatpickr-day.nextMonthDay.selected {
    background: transparent !important;
    border: 2px solid var(--primary-light) !important;
    color: var(--text) !important;
    box-shadow: none !important;
}

/* Responsive */
/* Calculator Layout */
.calculator-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 60px;
    align-items: start;
}

.calc-section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 24px;
}

.calculator-rows {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.calc-section-group {
    background: var(--bg-alt);
    padding: 60px;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
}

.calc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 900px) {
    .calc-row {
        display: flex;
        flex-direction: column-reverse;
        gap: 40px;
        align-items: stretch;
    }
}

.map-visual {
    /* Removed card styling as per user request */
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-visual svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* Minimalistic Pricing Table */
.price-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border: 1px solid #2E7D32;
    border-radius: 0;
}

.price-table th,
.price-table td {
    padding: 16px 24px;
    text-align: left;
    border: 1px solid #2E7D32;
}

.price-table th {
    background-color: transparent;
    color: #1b4332;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.8px;
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        height: 80px !important;
        min-height: 80px !important;
        max-height: 80px !important;
        transition: none !important;
    }

    .nav {
        height: 80px !important;
        min-height: 80px !important;
        max-height: 80px !important;
        transition: none !important;
    }

    .logo {
        height: 80px !important;
        display: flex !important;
        align-items: center !important;
    }

    .logo-img {
        height: 40px !important;
        max-height: 40px !important;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        padding: 0;
        border: none;
        background: transparent;
        transition: none !important;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        left: 0;
        top: 80px;
        /* Start with bottom clipped */
        clip-path: inset(0 0 100% 0);
        gap: 0;
        flex-direction: column;
        /* Match Header Color */
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: clip-path 0.3s ease-in-out;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 24px 0;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        z-index: 999;
        /* Ensure it's above page content */
    }

    .nav-links.active {
        /* Unclip to reveal */
        clip-path: inset(0 0 0 0);
    }

    .nav-links li {
        margin: 16px 0;
    }

    .nav-item-gallery {
        order: 1;
    }

    .nav-item-calc {
        order: 2;
    }

    .nav-item-order {
        order: 3;
    }

    .nav-item-lang {
        order: 4;
        margin-top: 10px !important;
        margin-bottom: 0 !important;
    }

    .hero-section,
    .hero-section .container {
        padding: 0;
        max-width: 100%;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        height: auto;
        border-radius: 0;
    }

    .hero-card {
        height: 400px;
    }

    .hero-card-content {
        padding: 32px;
    }

    .hero-card-title {
        font-size: 1.75rem;
    }

    .hero-title-large {
        font-size: 3.2rem;
        margin-bottom: 24px;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-text-large {
        font-size: 1.1rem;
        max-width: 320px;
        margin: 0 auto 32px;
        line-height: 1.4;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 240px;
        margin-left: auto;
        margin-right: auto;
        gap: 16px;
    }

    .hero-cta-group .btn {
        width: 100%;
        padding: 14px 28px;
        font-size: 1.1rem;
    }

    .hero-card-text {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .calc-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .calc-simple-card h3 {
        font-size: 1.5rem;
    }

    .calc-section-title {
        font-size: 2.2rem;
        margin-bottom: 0;
        text-align: center;
    }

    .calc-section-group {
        padding: 32px 20px;
        border-radius: 24px;
        gap: 32px;
    }

    .calc-input-group {
        flex-direction: column;
        gap: 12px;
    }

    /* Compact Mobile Calendar */
    .flatpickr-calendar.inline {
        padding: 12px 0 !important;
    }

    .flatpickr-months {
        margin-bottom: 12px !important;
    }

    .flatpickr-day {
        height: 40px !important;
        line-height: 40px !important;
        font-size: 0.9rem !important;
    }

    .flatpickr-day:nth-child(n+36) {
        display: none !important;
    }

    .flatpickr-weekday {
        font-size: 0.8rem !important;
    }

    .calc-input-group input,
    .calc-input-group button {
        display: block !important;
        width: 100% !important;
        height: min-content !important;
        min-height: 56px !important;
        padding: 10px 20px !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        line-height: 1.2;
    }

    .calc-card {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 24px;
    }

    .footer-grid,
    .calculator-layout {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand,
    .footer-grid div:last-child {
        grid-column: 1 / -1;
        margin-bottom: 24px;
    }

    .footer-brand .logo {
        white-space: nowrap;
        width: 100%;
        display: flex;
        justify-content: flex-start;
    }
}


/* Outline Table (Transparent with simple borders) */
.pricing-table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.outline-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
    border: 1.5px solid var(--primary);
    /* Thinner border for smaller look */
    border-radius: 8px;
    table-layout: auto;
}

.outline-table th,
.outline-table td {
    padding: 10px 14px;
    /* Significantly smaller padding */
    text-align: left;
    border: 1px solid var(--primary);
    font-size: 0.85rem;
    /* Smaller text */
}

.outline-table th {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.outline-table td {
    color: var(--text);
    font-weight: 500;
}

/* Extra small mobile adjustments */
@media (max-width: 480px) {

    .outline-table th,
    .outline-table td {
        padding: 8px 10px;
        font-size: 0.75rem;
    }
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 8px;
    align-items: center;
}

.mobile-lang-container {
    display: none;
    margin-bottom: 20px;
    justify-content: center;
}

.lang-btn {
    background: transparent;
    border: 2px solid transparent;
    /* Transparent border to maintain size without showing */
    color: var(--text);
    padding: 6px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 32px;
}

.lang-flag {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.nav-item-lang-desktop .lang-btn {
    color: var(--primary);
}

.lang-btn:hover {
    border-color: rgba(27, 67, 50, 0.3);
    /* Subtle hover border */
    color: var(--primary);
    background: var(--bg-alt);
}

.lang-btn.active {
    background: transparent;
    color: var(--primary) !important;
    border: 1px solid var(--primary);
    padding: 7px;
}

@media (max-width: 768px) {
    .desktop-lang {
        display: none;
    }

    .mobile-lang-container {
        display: flex;
    }

    .nav-item-phone {
        display: none !important;
        /* Hide by default on small screens */
    }

    .lang-switcher {
        justify-content: center;
    }
}

/* Nav Link Lang Switcher (Desktop) */
.nav-item-lang-desktop {
    margin-left: 8px;
}

@media (max-width: 768px) {
    .nav-item-lang-desktop {
        display: none;
    }
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.placeholder-item {
    background: var(--bg-alt);
    border: 2px dashed rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.placeholder-content {
    color: var(--text-muted);
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-item {
        height: 160px;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: block;
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 35px;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 70vh;
    }
}

/* Light Theme Reviews Section Mobile Patches */
@media (max-width: 768px) {
    .reviews-grid {
        display: flex !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .reviews-grid::-webkit-scrollbar {
        display: none;
    }

    .review-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }

    .facebook-column {
        margin-top: 60px;
        width: 100%;
        padding: 0;
    }

    .facebook-card {
        max-width: 100% !important;
        width: 100% !important;
        margin-top: 20px;
    }

    .fb-page,
    .fb-page span,
    .fb-page iframe {
        width: 100% !important;
    }

    .social-proof-section .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* Social Proof Side-by-Side */
@media (min-width: 1024px) {
    .social-proof-wrapper {
        display: flex;
        align-items: flex-start;
        gap: 40px;
        margin-top: 40px;
    }

    .reviews-column {
        flex: 1.1;
    }

    .facebook-column {
        flex: 0.9;
        margin-top: 0;
    }

    /* Container alignment fix: Fall back to standard --container-width (1050px) */
    /* .social-proof-section .container {
        max-width: 1300px;
    } */
}


/* Location Page Gallery & Mobile Adjustments */
@media (max-width: 768px) {
    .location-mobile-reverse {
        display: flex !important;
        flex-direction: column-reverse;
    }

    .location-gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}

@media (min-width: 769px) {
    .location-gallery-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 20px !important;
    }
}


/* Customer Reviews Section Base Structure */
.reviews-section {
    background-color: var(--bg-alt);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
    margin-top: 0;
}

@media (min-width: 768px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.review-card {
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    padding-right: 24px;
    /* Space for absolute positioned Google icon */
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    flex-shrink: 0;
}

.header-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.review-stars {
    color: #FF9800;
    /* Google Orange/Yellow for stars */
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.review-source {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.google-icon {
    position: absolute;
    top: 0;
    right: 0;
}

.review-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    font-style: italic;
    flex-grow: 1;
}

.facebook-inject-card {
    padding: 24px !important;
}

/* Padomi Page Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (min-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}



.blog-card {
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-image-wrapper {
    height: 220px;
    overflow: hidden;
}

.blog-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-category {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 12px 0;
    color: var(--text);
    line-height: 1.4;
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-card-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: auto;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.blog-card:hover img {
    transform: scale(1.05);
}

@media (max-width: 900px) {
    .nav-links.active {
        display: flex;
        flex-direction: column;
    }

    .nav-links.active .nav-item-padomi {
        order: 1;
    }

    .nav-links.active .nav-item-calc {
        order: 2;
    }

    .nav-links.active .nav-item-order {
        order: 3;
        /* Button first */
    }

    .nav-links.active .nav-item-phone {
        display: block !important;
        margin-top: 15px;
        text-align: center;
        width: 100%;
        order: 4;
        /* Phone under button */
    }

    .nav-links.active .nav-item-phone a {
        font-size: 1.5rem !important;
        font-weight: 700;
        color: var(--primary) !important;
    }

    .nav-links.active .mobile-lang-container {
        order: 5;
        margin-top: 20px;
    }
}

/* Minimal Section Style for Price Table Row */
.calc-section-group.minimal-section {
    background: transparent;
    padding: 0;
    border-radius: 0;
    gap: 0;
}

/* Price Table Styles - Ultra Minimal Spreadsheet */
.price-table-container {
    background: white;
    padding: 0;
    margin-top: 0;
    overflow-x: auto;
    border: none;
    border-radius: 0;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
    border: 1px solid #2d6a4f;
    border-radius: 0;
}

.price-table th {
    text-align: left;
    padding: 14px 16px;
    background-color: white;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 700;
    border: 1px solid #2d6a4f;
}

.price-table td {
    padding: 14px 16px;
    border: 1px solid #2d6a4f;
    vertical-align: middle;
    color: var(--text);
    font-size: 1rem;
}

.price-table tr:hover {
    background-color: #f7fdf9;
}

.price-cell {
    font-weight: 700;
    color: var(--primary);
}

@media (max-width: 768px) {

    .price-table th,
    .price-table td {
        padding: 10px;
        font-size: 0.85rem;
    }
}

/* --- Shopping Cart Styles --- */

/* Cart Header Icon */
.nav-item-cart {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-right: 15px;
}

.mobile-cart-btn {
    display: none;
    align-items: center;
    justify-content: center;
    order: 2;
    /* Put it before the hamburger */
    margin-right: 15px;
}

@media (max-width: 900px) {
    .nav-item-cart {
        display: none !important;
    }

    .mobile-cart-btn {
        display: none;
        /* Controlled by main.js based on count */
    }

    /* Ensure the logo keeps its space */
    .logo {
        order: 1;
    }

    /* Ensure the hamburger is at the end */
    .hamburger {
        order: 3;
    }
}

.cart-icon-wrapper {
    position: relative;
    color: var(--text);
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.cart-icon-wrapper:hover {
    color: var(--primary);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--accent);
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* Cart Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    height: 100%;
    background: white;
    z-index: 2000;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.cart-overlay.active {
    right: 0;
}

@media (max-width: 450px) {
    .cart-overlay {
        width: 100%;
    }
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-size: 1.25rem;
    color: var(--primary);
    margin: 0;
}

.cart-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
    display: flex;
    align-items: center;
}

.cart-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
}

#cart-empty-msg {
    text-align: center;
    color: var(--text-muted);
    margin-top: 40px;
}

.cart-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f9f9f9;
    align-items: center;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 1px solid #f0f0f0;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

.cart-item-qty-ctrl {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    font-size: 0.9rem;
}

.cart-qty-btn {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    background: #fdfdfd;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.8rem;
}

.cart-remove-btn {
    background: none;
    border: none;
    color: #ff5252;
    cursor: pointer;
    padding: 4px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.cart-remove-btn:hover {
    opacity: 1;
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid #eee;
    background: #fdfdfd;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 1.1rem;
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: block;
    text-align: center;
}

.checkout-btn:hover {
    background: var(--primary-light);
}

/* Add to Cart Button specifics */
.btn-add-to-cart {
    flex-grow: 1;
    background: var(--primary);
    color: white;
    border: none;
    text-transform: uppercase;
    font-weight: 700;
    padding: 12px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border-radius: 12px;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-add-to-cart:hover {
    background: var(--primary-light);
}

.btn-add-to-cart.btn-added {
    background: #27ae60 !important;
    pointer-events: none;
}

/* Animations */
@keyframes pulse-cart {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.3);
    }

    50% {
        transform: scale(0.95);
    }

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

.cart-pulse {
    animation: pulse-cart 0.5s ease-in-out;
}

/* --- Cart Page Specific Styles --- */
.cart-page {
    background-color: var(--bg-alt);
}

.cart-main {
    margin-top: 100px;
    padding-bottom: 60px;
    min-height: calc(100vh - 400px);
}

.breadcrumbs {
    font-size: 0.85rem;
}

.breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

/* Checkout Page Styles */
.checkout-main {
    margin-top: 100px;
    padding: 40px 0;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.checkout-title,
.summary-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.checkout-form-container,
.checkout-summary-container {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-main {
        padding: 0 0 20px 0;
        margin-top: 80px;
    }
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Back Button Styles */
.back-nav {
    padding-top: 20px;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .back-nav {
        padding-top: 20px;
    }

    .product-page-container {
        padding-top: 20px;
    }
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 16px;
    background: #f7f9f7;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e0eadd;
}

.back-link:hover {
    background: #edf3ec;
    transform: translateX(-4px);
    box-shadow: 0 4px 12px rgba(45, 106, 79, 0.08);
}

.back-link svg {
    transition: transform 0.3s ease;
}

.back-link:hover svg {
    transform: translateX(-2px);
}

.page-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin: 10px 0 30px;
    letter-spacing: -0.5px;
    text-transform: capitalize;
}

.cart-page-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 25px;
    margin-top: 25px;
}

@media (max-width: 991px) {
    .cart-page-grid {
        grid-template-columns: 1fr;
    }
}

.related-products-section {
    background-color: var(--white);
    border-top: 1px solid #eee;
}

.related-products-section .section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.cart-items-list-page {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-radius: 12px;
    padding: 20px 30px;
    box-shadow: var(--shadow-sm);
}

.cart-item-page {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.cart-item-page:last-child {
    border-bottom: none;
}

.cart-item-page-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: #f9f9f9;
    border-radius: 8px;
}

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

.item-name-page {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}

.item-price-page {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.item-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.qty-control-page {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f0f0f0;
    padding: 4px 12px;
    border-radius: 15px;
}

.qty-btn-page {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--primary);
    padding: 0 4px;
}

@media (max-width: 600px) {
    .cart-item-page {
        flex-wrap: wrap;
        padding: 15px 0;
        gap: 12px;
    }

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

    .item-details {
        flex: 1;
        min-width: 150px;
    }

    .item-actions {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
        border-top: 1px dashed #eee;
        padding-top: 10px;
        margin-top: 5px;
    }

    .item-name-page {
        font-size: 0.95rem;
    }
}

.remove-btn-page {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    white-space: nowrap;
}

.cart-summary-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
}

.cart-summary-card h2 {
    font-size: 1.15rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.summary-row.total-row {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #eee;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--primary);
}

.btn-full {
    width: 100%;
    margin-top: 20px;
}

.summary-back {
    margin-top: 20px;
    text-align: center;
}

.summary-back a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.summary-back a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.cart-empty-page-msg {
    text-align: center;
    padding: 100px 20px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    grid-column: 1 / -1;
}

.cart-empty-page-msg p {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-weight: 600;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

.footer-bottom-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.footer-bottom-flex::before {
    content: "";
    background-color: #fab5704c;
    position: absolute;
    z-index: -1;
}

.footer-bottom-flex::before {
    border-radius: 50%;
    width: 6rem;
    height: 6rem;
    top: 30%;
    right: 7%;
}

@media (min-width: 768px) {
    .footer-bottom-flex {
        flex-direction: column;
        justify-content: center;
    }
}

.footer-dev-col {
    text-align: center;
    margin-top: 20px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.074);
    border: 1px solid rgba(255, 255, 255, 0.222);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 0.7rem;
    padding: 30px;
    overflow: hidden;
    transition: all ease 0.3s;
}

.footer-dev-col:hover {
    box-shadow: 0px 0px 20px 1px #ffbb763f;
    border: 1px solid rgba(255, 255, 255, 0.454);
}

.footer-dev-col .dev-logo-picture img,
.footer-dev-col .dev-logo-container img {
    filter: none !important;
}

.footer-dev-col .dev-desc {
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer-dev-col .dev-text {
    color: #ffffff !important;
}

.footer-dev-col .dev-phone {
    color: rgba(255, 255, 255, 0.9) !important;
}

.footer-dev-col .dev-link {
    color: #ffffff !important;
}

@media (min-width: 768px) {
    .footer-dev-col {
        text-align: right;
        margin-top: 40px;
        margin-left: 0;
        width: 100%;
    }

    .dev-logo-picture img {
        width: 150% !important;
        max-width: none !important;
        margin: 0 0 0px auto !important;
        height: auto !important;
        display: block;
        transform: translateX(-240px);
    }

    .dev-desc {
        max-width: 100% !important;
        margin-left: auto;
        margin-right: 0;
    }
}

.dev-link {
    display: block;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 800;
    text-decoration: none;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.dev-link:hover {
    color: var(--accent, #d4a373);
}

.dev-phone {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.3s ease;
}

.dev-phone:hover {
    color: #ffffff;
    text-decoration: underline;
}