:root {
    --teal-dark: #09454b;
    --teal-primary: #0f5258;
    --teal-hover: #08383d;
    --mint-accent: #52a69c;
    --text-dark: #111827;
    --text-muted: #374151;
    --card-bg: rgba(255, 255, 255, 0.96);
    --card-border: rgba(9, 69, 75, 0.14);
    --shadow-card: 0 14px 30px rgba(8, 35, 39, 0.14);
    --radius-card: 18px;
    --radius-btn: 9px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background: #eef3f2;
    min-height: 100vh;
}

/* Full-bleed shoe laundry background with soft daylight wash */
.kp-page-shell {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.68) 0%, rgba(246, 250, 249, 0.56) 50%, rgba(240, 247, 246, 0.72) 100%),
        var(--scene-bg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Top Navigation Bar */
.kp-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(9, 69, 75, 0.08);
    box-shadow: 0 4px 18px rgba(9, 69, 75, 0.06);
}

.kp-header-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 12px 24px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}

.kp-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.kp-nav-left {
    justify-content: flex-start;
}

.kp-nav-right {
    justify-content: flex-end;
}

.kp-nav-link {
    position: relative;
    text-decoration: none;
    color: #142024;
    font-weight: 600;
    font-size: 15px;
    padding: 6px 2px;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.kp-nav-link:hover,
.kp-nav-link.is-active {
    color: var(--teal-dark);
}

.kp-nav-link.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--teal-dark);
}

.kp-nav-account {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.kp-icon-user {
    width: 17px;
    height: 17px;
    color: var(--teal-dark);
}

.kp-brand {
    text-decoration: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.05;
}

.kp-brand-wordmark {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 27px;
    letter-spacing: -0.6px;
    color: var(--teal-dark);
}

.kp-brand-sub {
    font-size: 11px;
    font-weight: 600;
    color: #1f2937;
    letter-spacing: 0.2px;
    margin-top: 2px;
}

.kp-mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(9, 69, 75, 0.2);
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.kp-mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--teal-dark);
}

.kp-mobile-drawer {
    display: none;
    flex-direction: column;
    background: #ffffff;
    border-top: 1px solid rgba(9, 69, 75, 0.1);
    padding: 12px 24px 18px;
    gap: 8px;
}

.kp-mobile-drawer.is-open {
    display: flex;
}

.kp-mobile-drawer a {
    text-decoration: none;
    color: #142024;
    font-weight: 600;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f5;
}

.kp-mobile-drawer a.is-active {
    color: var(--teal-dark);
}

/* Flash Alerts */
.kp-flash-wrap {
    max-width: 1140px;
    width: 100%;
    margin: 16px auto 0;
    padding: 0 20px;
}

.kp-flash {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 10px;
}

.kp-flash-success {
    background: #e6f6f2;
    color: #074642;
    border: 1px solid #8fd1c4;
}

.kp-flash-error {
    background: #fdecec;
    color: #7f1d1d;
    border: 1px solid #f5b5b5;
}

.kp-flash button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: inherit;
    line-height: 1;
}

/* Main Content */
.kp-main {
    flex: 1;
    max-width: 1160px;
    width: 100%;
    margin: 0 auto;
    padding: 34px 22px 54px;
}

/* Hero Section (Home) */
.kp-hero {
    min-height: 74vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px 12px;
}

.kp-hero-emblem {
    width: 240px;
    max-width: 72vw;
    margin: 0 auto 14px;
    filter: drop-shadow(0 12px 24px rgba(9, 69, 75, 0.16));
}

.kp-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(42px, 6.8vw, 76px);
    line-height: 1.03;
    letter-spacing: -1.5px;
    color: var(--teal-dark);
    margin: 0;
    text-shadow: 0 2px 18px rgba(255, 255, 255, 0.85);
}

.kp-hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(16px, 2.4vw, 27px);
    letter-spacing: 0.6px;
    color: #162226;
    margin: 10px 0 26px;
    text-transform: uppercase;
}

.kp-hero-bottom-bar {
    width: 100%;
    max-width: 1100px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    margin-top: 8px;
}

.kp-hero-bottles-preview {
    position: absolute;
    left: 0;
    bottom: -14px;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    opacity: 0.95;
}

/* Section Headings */
.kp-section-head {
    text-align: center;
    margin-bottom: 30px;
}

.kp-section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(32px, 4.6vw, 52px);
    line-height: 1.1;
    letter-spacing: -0.8px;
    color: var(--teal-dark);
    margin: 0 0 8px;
    text-transform: uppercase;
}

.kp-section-subtitle {
    margin: 0;
    font-size: clamp(15px, 2vw, 22px);
    font-weight: 500;
    color: #1a2428;
}

/* Grids */
.kp-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* Cards */
.kp-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: 26px 22px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.kp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(8, 35, 39, 0.2);
}

.kp-card-featured {
    border: 2.5px solid var(--teal-dark);
    position: relative;
}

.kp-popular-badge {
    background: var(--teal-dark);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 7px;
    margin-bottom: 14px;
    letter-spacing: 0.2px;
}

.kp-svg-icon {
    width: 68px;
    height: 68px;
    color: var(--teal-dark);
    margin-bottom: 12px;
}

.kp-card-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 21px;
    line-height: 1.25;
    color: #0e171a;
    margin: 0 0 10px;
}

.kp-card-desc {
    font-size: 14px;
    line-height: 1.5;
    color: #263238;
    margin: 0 0 18px;
    flex: 1;
}

.kp-price-tag {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 28px;
    color: #0e171a;
    margin: 4px 0 16px;
}

.kp-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    width: 100%;
    text-align: left;
}

.kp-feature-list li {
    position: relative;
    padding-left: 18px;
    font-size: 14.5px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 8px;
}

.kp-feature-list li::before {
    content: "•";
    position: absolute;
    left: 4px;
    color: var(--teal-dark);
    font-weight: 800;
}

/* Product Card Horizontal/Split Layout */
.kp-product-card {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 16px;
    padding: 20px;
}

.kp-product-visual {
    width: 108px;
    min-width: 108px;
    height: 132px;
    border-radius: 12px;
    background: linear-gradient(160deg, #e7f3f2 0%, #d2e7e5 100%);
    border: 1px solid rgba(9, 69, 75, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.kp-product-visual .kp-svg-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 6px;
}

.kp-product-tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--teal-dark);
    background: rgba(255, 255, 255, 0.85);
    padding: 2px 7px;
    border-radius: 99px;
}

.kp-product-body {
    flex: 1;
}

.kp-product-body .kp-card-title {
    font-size: 19px;
    margin-bottom: 6px;
}

.kp-product-body .kp-price-tag {
    font-size: 22px;
    margin: 0 0 12px;
}

/* Buttons */
.kp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: var(--teal-dark);
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 14.5px;
    padding: 11px 24px;
    border-radius: var(--radius-btn);
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.kp-btn:hover {
    background: var(--teal-hover);
    transform: translateY(-1px);
}

.kp-btn-lg {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 10px;
}

.kp-btn-block {
    width: 100%;
}

.kp-btn-outline {
    background: transparent;
    color: var(--teal-dark);
    border: 1.5px solid var(--teal-dark);
}

.kp-btn-outline:hover {
    background: var(--teal-dark);
    color: #ffffff;
}

/* Forms & Panels (Booking, Order Modal, Account, Gallery) */
.kp-panel {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: 28px;
}

.kp-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

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

.kp-form-group.is-full {
    grid-column: 1 / -1;
}

.kp-form-group label {
    font-size: 13.5px;
    font-weight: 700;
    color: #111827;
}

.kp-form-group input,
.kp-form-group select,
.kp-form-group textarea {
    width: 100%;
    padding: 11px 13px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    font-family: inherit;
    font-size: 14px;
    color: #111827;
}

.kp-form-group input:focus,
.kp-form-group select:focus,
.kp-form-group textarea:focus {
    outline: none;
    border-color: var(--teal-dark);
    box-shadow: 0 0 0 3px rgba(9, 69, 75, 0.12);
}

/* Modal */
.kp-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(7, 26, 29, 0.56);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 100;
}

.kp-modal-backdrop.is-open {
    display: flex;
}

.kp-modal {
    background: #ffffff;
    border-radius: 18px;
    max-width: 520px;
    width: 100%;
    padding: 26px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
    position: relative;
}

.kp-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.kp-modal-header h3 {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    color: var(--teal-dark);
}

.kp-modal-close {
    background: #f1f5f9;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    color: #111827;
}

/* Table */
.kp-table-wrap {
    overflow-x: auto;
    margin-top: 14px;
}

.kp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.kp-table th,
.kp-table td {
    padding: 11px 12px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.kp-table th {
    background: #f2f7f7;
    color: var(--teal-dark);
    font-weight: 700;
}

.kp-badge-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
    background: #e3f2ef;
    color: var(--teal-dark);
}

/* Footer */
.kp-footer {
    background: rgba(255, 255, 255, 0.92);
    border-top: 1px solid rgba(9, 69, 75, 0.1);
    padding: 18px 24px;
}

.kp-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: #334155;
}

.kp-footer-brand strong {
    font-family: 'Montserrat', sans-serif;
    color: var(--teal-dark);
    font-size: 15px;
}

.kp-footer-brand p {
    margin: 2px 0 0;
}

.kp-footer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Responsive */
@media (max-width: 960px) {
    .kp-header-inner {
        grid-template-columns: 1fr auto;
    }
    .kp-nav-left,
    .kp-nav-right {
        display: none;
    }
    .kp-mobile-toggle {
        display: flex;
    }
    .kp-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .kp-hero-bottles-preview {
        display: none;
    }
}

@media (max-width: 640px) {
    .kp-grid-3,
    .kp-form-grid {
        grid-template-columns: 1fr;
    }
    .kp-product-card {
        flex-direction: column;
        text-align: center;
    }
    .kp-product-body .kp-price-tag {
        text-align: center;
    }
}


.kp-product-visual {
    overflow: hidden;
    padding: 0;
}
.kp-product-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
