@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    box-sizing: border-box;
}

:root {
    font-size: 12px; /* Base font size - 25% smaller than typical 16px */
}

html {
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #F4F1EC;
    color: #2B2B2B;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 100%;
    overflow-x: hidden;
}

a {
    color: #3A7CA5;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #2F6B45;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Wider container for the site header so it doesn't wrap on desktop */
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

/* Narrow container for login/register forms */
.form-narrow {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

/* Medium container for longer forms (profile, quote request, etc.) */
.form-medium {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.site-header {
    background: #0F3D24;
    color: #FFFFFF;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-topbar {
    background: rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.86rem;
    padding: 0.57rem 0;
    flex-wrap: wrap;
}

.header-topbar-left,
.header-topbar-right {
    display: flex;
    align-items: center;
    gap: 0.57rem;
    flex-wrap: wrap;
}

.header-topbar-link {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.93rem;
    font-weight: 600;
}

.header-topbar-link:hover {
    color: #FFFFFF;
}

.header-topbar-sep {
    opacity: 0.7;
}

.opening-status {
    display: inline-flex;
    align-items: center;
    gap: 0.43rem;
    font-weight: 800;
    font-size: 0.93rem;
    color: rgba(255, 255, 255, 0.98);
}

.opening-status::before {
    content: '';
    width: 0.64rem;
    height: 0.64rem;
    border-radius: 999px;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
}

.opening-status--open::before {
    background: #2F6B45;
}

.opening-status--closed::before {
    background: #B91C1C;
}

.opening-hours {
    font-size: 0.93rem;
    color: rgba(255, 255, 255, 0.92);
}

.opening-note {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.85);
    padding-left: 0.43rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.14rem 0;
    flex-wrap: wrap;
    gap: 1.14rem;
}

/* Mobile-only overlay: outside header, hidden on desktop */
.header-menu-backdrop {
    display: none;
}

.header-nav-wrap {
    display: none;
}

.header-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.43rem;
    padding: 0.57rem 0.86rem;
    min-width: 44px;
    min-height: 44px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0.57rem;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.93rem;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.header-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.header-menu-toggle-icon {
    display: block;
    width: 1.29rem;
    height: 0.14rem;
    background: currentColor;
    border-radius: 2px;
    box-shadow: 0 0.36rem 0 currentColor, 0 0.72rem 0 currentColor;
}

.header-menu-toggle-icon {
    position: relative;
}

.site-header.is-menu-open .header-menu-toggle-icon {
    box-shadow: none;
    transform: rotate(45deg);
}

.site-header.is-menu-open .header-menu-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    margin-top: -0.07rem;
    height: 0.14rem;
    background: currentColor;
    border-radius: 2px;
    transform: rotate(-90deg);
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.57rem;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.logo-image {
    height: 2.86rem;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 1.86rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.5px;
}

.logo a:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.main-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.main-nav a {
    margin: 0;
    color: #FFFFFF;
    padding: 0.57rem 1.14rem;
    border-radius: 0.57rem;
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 1.07rem;
}

.main-nav a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    transform: translateY(-1px);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.86rem;
    flex-wrap: wrap;
}

.admin-dropdown {
    position: relative;
}

.admin-dropdown-toggle {
    background: #2F6B45;
    color: #FFFFFF;
    border-radius: 999px;
    padding: 0.43rem 1rem;
    font-size: 0.93rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.29rem;
}

.admin-dropdown-toggle:hover {
    background: #0F3D24;
    color: #FFFFFF;
}

.admin-dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.57rem);
    min-width: 14.29rem;
    background: #0F3D24;
    border-radius: 0.86rem;
    box-shadow: 0 0.57rem 1.43rem rgba(15, 61, 36, 0.45);
    padding: 0.57rem 0;
    display: none;
    z-index: 1500;
    opacity: 0;
    transition: opacity 0.15s ease;
    pointer-events: none;
}

.admin-dropdown-menu.show {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

/* Keep click functionality as fallback */
.admin-dropdown.open .admin-dropdown-menu {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.admin-dropdown-menu a {
    display: block;
    padding: 0.57rem 1rem;
    font-size: 1rem;
    color: #FFFFFF;
    white-space: nowrap;
}

.admin-dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
}

.admin-card {
    background: #FFFFFF;
    border-radius: 0.86rem;
    padding: 1.14rem;
    border: 1px solid rgba(15, 61, 36, 0.12);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
    margin-bottom: 1.14rem;
}

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.14rem;
    margin-bottom: 2rem;
}

.admin-dashboard-card {
    display: block;
    background: #FFFFFF;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    border: 2px solid rgba(15, 61, 36, 0.15);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-dashboard-card:hover {
    border-color: #2F6B45;
    box-shadow: 0 4px 12px rgba(47, 107, 69, 0.15);
}

.admin-dashboard-card h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.15rem;
    color: #0F3D24;
}

.admin-dashboard-card p {
    margin: 0 0 0.75rem 0;
    font-size: 0.93rem;
    color: #6B6B6B;
    line-height: 1.4;
}

.admin-dashboard-card-count {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2F6B45;
    margin-bottom: 0.5rem;
}

.admin-dashboard-card-link {
    font-size: 0.86rem;
    font-weight: 700;
    color: #2F6B45;
}

.admin-table {
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    border-bottom: 1px solid #E2E8F0;
}

.admin-table thead th {
    background: #F4F1EC;
    color: #2B2B2B;
    text-align: left;
    padding: 0.75rem;
}

.admin-table tbody td {
    padding: 0.75rem;
}

/* Rendelés tételek táblázat (admin_order.php, order.php) – kép + termék */
.order-items-table {
    border-collapse: collapse;
    width: 100%;
}

.order-items-table th,
.order-items-table td {
    border-bottom: 1px solid #E2E8F0;
    padding: 0.75rem;
    vertical-align: middle;
}

.order-items-table thead th {
    background: #F4F1EC;
    color: #2B2B2B;
    text-align: left;
}

.order-item-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    display: block;
}

/* Admin categories (admin_categories.php) */
.admin-cat-help {
    color: #6B6B6B;
    font-size: 0.86rem;
    display: block;
    margin-top: 0.29rem;
}

.admin-cat-list {
    display: flex;
    flex-direction: column;
    gap: 0.86rem;
    margin-bottom: 1.14rem;
}

.admin-cat-item {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 0.8fr 0.9fr auto;
    gap: 0.86rem;
    align-items: end;
}

.admin-cat-field label {
    display: block;
    font-weight: 700;
    color: #2B2B2B;
    font-size: 0.86rem;
    margin-bottom: 0.29rem;
}

.admin-cat-check {
    display: inline-flex;
    align-items: center;
    gap: 0.57rem;
    cursor: pointer;
    user-select: none;
    color: #2B2B2B;
    font-weight: 600;
    font-size: 0.93rem;
}

.admin-cat-slug {
    padding: 0.57rem 0.86rem;
    border-radius: 0.57rem;
    border: 1.5px solid #e2e8f0;
    background: #F8FAFC;
    color: #6B6B6B;
    font-size: 0.93rem;
    line-height: 1.2;
}

.admin-cat-actions {
    display: flex;
    gap: 0.57rem;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.admin-cat-specs {
    grid-column: 1 / -1;
    margin-top: 0.86rem;
    padding-top: 0.86rem;
    border-top: 1px solid rgba(15, 61, 36, 0.12);
}

.admin-cat-spec-list {
    list-style: none;
    margin: 0 0 0.57rem 0;
    padding: 0;
    min-height: 2rem;
}

.admin-cat-spec-item {
    display: flex;
    align-items: center;
    gap: 0.57rem;
    margin-bottom: 0.29rem;
    font-size: 0.93rem;
    cursor: default;
}

.admin-cat-spec-item[draggable="true"] {
    cursor: grab;
}

.admin-cat-spec-item[draggable="true"]:active {
    cursor: grabbing;
}

.admin-cat-spec-item.is-dragging {
    opacity: 0.5;
}

.admin-cat-spec-item.drag-over {
    border-top: 2px solid #0F3D24;
    margin-top: 2px;
}

.admin-cat-spec-drag {
    cursor: grab;
    color: #6B6B6B;
    padding: 0.2rem;
    user-select: none;
    flex-shrink: 0;
}

.admin-cat-spec-drag:active {
    cursor: grabbing;
}

.admin-cat-spec-label { font-weight: 600; color: #2B2B2B; }
.admin-cat-spec-type { color: #6B6B6B; font-size: 0.86rem; }

.admin-cat-spec-item .admin-cat-spec-actions { margin-left: auto; display: flex; gap: 0.29rem; flex-shrink: 0; }

.admin-cat-spec-edit-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.43rem;
    margin-bottom: 0.29rem;
}

.admin-cat-spec-edit-row input[type="text"] {
    padding: 0.43rem 0.57rem;
    border-radius: 0.43rem;
    border: 1.5px solid #e2e8f0;
    font-size: 0.86rem;
    min-width: 100px;
}

.admin-cat-spec-add {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.57rem;
}

.admin-cat-spec-input {
    padding: 0.43rem 0.57rem;
    border-radius: 0.43rem;
    border: 1.5px solid #e2e8f0;
    font-size: 0.86rem;
    min-width: 120px;
}

.btn-small {
    padding: 0.43rem 0.57rem;
    font-size: 0.86rem;
}

@media (max-width: 900px) {
    .admin-cat-item {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
    .admin-cat-actions {
        justify-content: flex-start;
    }
}

.admin-oh-help {
    margin-top: 0.29rem;
    margin-bottom: 1.14rem;
    color: #6B6B6B;
    font-size: 0.93rem;
}

.admin-oh-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.14rem;
}

.admin-oh-day {
    background: #F4F1EC;
    border-radius: 0.86rem;
    border: 1px solid rgba(15, 61, 36, 0.10);
    padding: 0.86rem;
}

.admin-oh-day-title {
    font-weight: 800;
    color: #0F3D24;
    font-size: 1.07rem;
    margin-bottom: 0.71rem;
}

.admin-oh-windows {
    display: flex;
    flex-direction: column;
    gap: 0.57rem;
}

.admin-oh-window-row {
    display: flex;
    gap: 0.57rem;
    align-items: flex-end;
    flex-wrap: wrap;
    padding: 0.57rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0.57rem;
    border: 1px solid rgba(15, 61, 36, 0.08);
}

.admin-oh-label {
    display: flex;
    flex-direction: column;
    gap: 0.29rem;
    font-size: 0.86rem;
    color: #2B2B2B;
    font-weight: 600;
}

.admin-oh-window-row input[type="time"] {
    width: auto;
    min-width: 10.5rem;
}

.admin-oh-actions {
    margin-top: 0.86rem;
    display: flex;
    gap: 0.57rem;
    flex-wrap: wrap;
}

.admin-oh-form-actions {
    margin-top: 1.14rem;
    display: flex;
    justify-content: flex-start;
    gap: 0.57rem;
    flex-wrap: wrap;
}

.admin-oh-exception-list {
    display: flex;
    flex-direction: column;
    gap: 0.57rem;
    margin-top: 0.86rem;
}

.admin-oh-exception {
    background: #FFFFFF;
    border-radius: 0.86rem;
    border: 1px solid rgba(15, 61, 36, 0.12);
    overflow: hidden;
}

.admin-oh-exception-summary {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.86rem;
    padding: 0.86rem 1.14rem;
    background: rgba(15, 61, 36, 0.06);
}

.admin-oh-exception-title {
    font-weight: 800;
    color: #0F3D24;
}

.admin-oh-exception-badges .opening-status {
    color: #0F3D24;
}

.admin-oh-exception[open] .admin-oh-exception-summary {
    background: rgba(15, 61, 36, 0.10);
}

.admin-oh-exception-form {
    padding: 1.14rem;
}

.admin-oh-exception-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.86rem;
    align-items: start;
    margin-bottom: 0.86rem;
}

.admin-oh-remove-btn {
    padding: 0.43rem 0.86rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.14rem;
    align-items: start;
}

.contact-card {
    background: #FFFFFF;
    border-radius: 0.86rem;
    padding: 1.14rem;
    border: 1px solid rgba(15, 61, 36, 0.12);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

.contact-address {
    margin-top: 0.29rem;
    color: #6B6B6B;
    font-size: 1rem;
}

.contact-map {
    width: 100%;
    height: 360px;
    border-radius: 0.86rem;
    overflow: hidden;
    border: 1px solid rgba(15, 61, 36, 0.12);
    box-shadow: 0 0.57rem 1.43rem rgba(15, 61, 36, 0.10);
    margin-top: 0.86rem;
    position: relative; /* ensure leaflet controls stay within */
    z-index: 1; /* keep below sticky header */
}

.contact-map .leaflet-control,
.contact-map .leaflet-pane,
.contact-map .leaflet-top,
.contact-map .leaflet-bottom {
    z-index: 10 !important; /* lower than header (1000) */
}

.contact-map .leaflet-control-container {
    z-index: 10 !important;
}

.contact-map-links {
    margin-top: 0.86rem;
    display: flex;
    gap: 0.57rem;
    flex-wrap: wrap;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.14rem 0;
    display: grid;
    gap: 0.57rem;
}

.contact-list li {
    display: flex;
    justify-content: space-between;
    gap: 0.86rem;
    padding: 0.57rem 0.86rem;
    background: #F4F1EC;
    border-radius: 0.86rem;
    border: 1px solid rgba(15, 61, 36, 0.10);
}

.contact-list strong {
    color: #0F3D24;
}

.contact-company {
    display: grid;
    gap: 0.29rem 1rem;
    grid-template-columns: auto 1fr;
}

.contact-company dt {
    color: #0F3D24;
    font-weight: 700;
    margin: 0;
}

.contact-company dd {
    margin: 0;
}

.contact-company dd a {
    color: #2F6B45;
    text-decoration: none;
}

.contact-company dd a:hover {
    text-decoration: underline;
}

.opening-weekly,
.opening-next,
.opening-overrides {
    display: flex;
    flex-direction: column;
    gap: 0.43rem;
    margin-bottom: 1.14rem;
}

.opening-row {
    display: flex;
    justify-content: space-between;
    gap: 0.86rem;
    align-items: baseline;
    padding: 0.57rem 0.86rem;
    background: #FFFFFF;
    border-radius: 0.86rem;
    border: 1px solid rgba(15, 61, 36, 0.10);
}

.opening-row--override {
    border-color: rgba(194, 161, 77, 0.45);
    box-shadow: 0 0 0 2px rgba(194, 161, 77, 0.18);
}

.opening-day {
    font-weight: 800;
    color: #0F3D24;
}

.opening-date {
    margin-left: 0.57rem;
    font-weight: 600;
    color: #6B6B6B;
    font-size: 0.86rem;
}

.opening-hours-text {
    color: #2B2B2B;
    font-weight: 700;
}

.opening-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 0.57rem;
    padding: 0.14rem 0.57rem;
    border-radius: 999px;
    font-size: 0.79rem;
    font-weight: 800;
    background: rgba(194, 161, 77, 0.18);
    color: #0F3D24;
    border: 1px solid rgba(194, 161, 77, 0.45);
}

.opening-note-inline {
    margin-left: 0.57rem;
    font-weight: 600;
    color: #6B6B6B;
    font-size: 0.86rem;
}

.opening-info {
    margin-top: 0.86rem;
    padding: 0.86rem 1.14rem;
    background: rgba(47, 107, 69, 0.08);
    border: 1px solid rgba(47, 107, 69, 0.18);
    border-radius: 0.86rem;
}

.opening-info-lead {
    margin: 0 0 0.57rem 0;
    font-weight: 700;
    color: #0F3D24;
}

.opening-info-list {
    margin: 0;
    padding-left: 1.14rem;
    color: #2B2B2B;
}

.turnstile-wrap {
    margin-top: 0.86rem;
    margin-bottom: 0.86rem;
}

.checkout-page {
    width: 100%;
}

.checkout-form {
    background: #FFFFFF;
    border-radius: 1.14rem;
    border: 1px solid rgba(15, 61, 36, 0.12);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
    padding: 1.14rem;
}

.checkout-steps {
    display: flex;
    gap: 0.57rem;
    flex-wrap: wrap;
    margin-bottom: 1.14rem;
}

.checkout-step {
    appearance: none;
    border: 1.5px solid rgba(15, 61, 36, 0.20);
    background: rgba(244, 241, 236, 0.65);
    color: #0F3D24;
    font-weight: 800;
    padding: 0.57rem 0.86rem;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
    font-size: 0.93rem;
}

.checkout-step:hover {
    transform: translateY(-1px);
    border-color: rgba(47, 107, 69, 0.45);
}

.checkout-step.is-active {
    background: #2F6B45;
    color: #FFFFFF;
    border-color: #2F6B45;
}

.checkout-slides {
    position: relative;
}

.checkout-slide {
    display: none;
    padding: 0.86rem 0.29rem;
    animation: checkoutSlideIn 220ms ease;
}

.checkout-slide.is-active {
    display: block;
}

@keyframes checkoutSlideIn {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: translateX(0); }
}

.checkout-help {
    margin-top: 0.29rem;
    margin-bottom: 0.86rem;
    color: #6B6B6B;
    font-size: 0.93rem;
}

.checkout-help.is-selected {
    color: #0F3D24;
    font-weight: 800;
}

.checkout-nav {
    margin-top: 1.14rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.57rem;
    flex-wrap: wrap;
    padding-top: 0.86rem;
    border-top: 1px solid rgba(15, 61, 36, 0.10);
}

.checkout-radio-list {
    display: flex;
    flex-direction: column;
    gap: 0.57rem;
}

.checkout-radio-list label.is-hidden {
    display: none;
}

.checkout-company-fields {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 220ms ease, opacity 160ms ease;
    border-left: 3px solid rgba(47, 107, 69, 0.35);
    padding-left: 0.86rem;
    margin-bottom: 0.86rem;
}

.checkout-company-fields.is-open {
    max-height: 900px;
    opacity: 1;
}

.checkout-buyer-panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 220ms ease, opacity 160ms ease;
    border-left: 3px solid rgba(47, 107, 69, 0.35);
    padding-left: 0.86rem;
    margin-bottom: 0.86rem;
}

.checkout-buyer-panel.is-open {
    max-height: 900px;
    opacity: 1;
}

.checkout-buyer-type {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.checkout-radio-card {
    flex: 1;
    min-width: 160px;
    cursor: pointer;
    border: 2px solid rgba(15, 61, 36, 0.2);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    transition: border-color 0.2s ease, background 0.2s ease;
    display: block;
}

.checkout-radio-card input { margin-right: 0.5rem; }
.checkout-radio-card:has(input:checked),
.checkout-radio-card:hover {
    border-color: #2F6B45;
    background: rgba(47, 107, 69, 0.08);
}

.checkout-radio-card:has(input:disabled) {
    pointer-events: none;
    cursor: default;
    opacity: 0.6;
}
.checkout-radio-card:has(input:disabled):hover {
    border-color: rgba(15, 61, 36, 0.2);
    background: transparent;
}

.checkout-radio-card__label {
    font-weight: 700;
    color: #0F3D24;
}

.checkout-full-summary {
    background: rgba(244, 241, 236, 0.6);
    border: 1px solid rgba(15, 61, 36, 0.12);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
}

.checkout-full-summary__section {
    margin-bottom: 0.86rem;
}

.checkout-full-summary__section:last-child {
    margin-bottom: 0;
}

.checkout-full-summary__section h3 {
    font-size: 0.9rem;
    margin: 0 0 0.29rem 0;
    color: #0F3D24;
}

.checkout-full-summary__list {
    list-style: disc;
    margin: 0 0 0 1.25rem;
    padding: 0;
}

.checkout-full-summary__list li {
    margin-bottom: 0.29rem;
    font-size: 0.93rem;
    color: #2B2B2B;
}

.checkout-full-summary__list li:last-child {
    margin-bottom: 0;
}

.checkout-full-summary__label {
    font-weight: 700;
    color: #0F3D24;
}

.checkout-same-address {
    margin-bottom: 0.86rem;
}

.checkout-summary {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.14rem;
    align-items: start;
    margin-top: 0.86rem;
}

.checkout-summary-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.57rem;
}

.checkout-summary-items li {
    display: flex;
    justify-content: space-between;
    gap: 0.86rem;
    padding: 0.57rem 0.86rem;
    background: #F4F1EC;
    border: 1px solid rgba(15, 61, 36, 0.10);
    border-radius: 0.86rem;
    align-items: center;
}

.checkout-summary-product {
    display: flex;
    align-items: center;
    gap: 0.71rem;
    color: inherit;
    min-width: 0;
}

.checkout-summary-thumb {
    width: 44px;
    height: 44px;
    max-width: 64px;
    max-height: 64px;
    object-fit: cover;
    border-radius: 0.57rem;
    border: 1px solid rgba(15, 61, 36, 0.12);
    background: #FFFFFF;
    flex: 0 0 auto;
    display: block;
    aspect-ratio: 1 / 1;
}

.checkout-summary-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 0.14rem;
}

.checkout-summary-name {
    font-weight: 800;
    color: #2B2B2B;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checkout-summary-warranty {
    font-size: 0.86rem;
    color: #6B6B6B;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checkout-summary-product:hover .checkout-summary-name {
    color: #2F6B45;
}

.checkout-summary-items strong {
    color: #0F3D24;
}

.checkout-summary-totals {
    background: #FFFFFF;
    border: 1px solid rgba(15, 61, 36, 0.12);
    border-radius: 0.86rem;
    padding: 0.86rem;
    box-shadow: 0 0.29rem 0.86rem rgba(15, 61, 36, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.57rem;
}

.checkout-summary-totals > div {
    display: flex;
    justify-content: space-between;
    gap: 0.86rem;
}

.checkout-summary-total {
    border-top: 1px solid rgba(15, 61, 36, 0.12);
    padding-top: 0.57rem;
}

.checkout-point-picker {
    margin-top: 0.86rem;
    margin-bottom: 0.86rem;
}

.checkout-point-picker__block {
    padding: 0.86rem;
    border-radius: 0.86rem;
    background: rgba(244, 241, 236, 0.65);
    border: 1px solid rgba(15, 61, 36, 0.10);
}

.checkout-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000; /* above sticky header */
}

.checkout-modal.is-open {
    display: block;
}

.checkout-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.60);
    backdrop-filter: blur(4px);
}

.checkout-modal-content {
    position: relative;
    width: min(1240px, calc(100% - 24px));
    max-height: calc(100vh - 24px);
    overflow: auto;
    margin: 12px auto 0 auto;
    background: #FFFFFF;
    border-radius: 1.14rem;
    box-shadow: 0 0.57rem 2.29rem rgba(0, 0, 0, 0.30);
    border: 1px solid rgba(15, 61, 36, 0.12);
    display: flex;
    flex-direction: column;
}

.checkout-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.86rem;
    padding: 0.86rem 1.14rem;
    background: #0F3D24;
    color: #FFFFFF;
}

.checkout-modal-close {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    border-radius: 999px;
    width: 2.29rem;
    height: 2.29rem;
    cursor: pointer;
    font-size: 1.43rem;
    line-height: 1;
}

.checkout-modal-close:hover {
    background: rgba(255, 255, 255, 0.14);
}

.checkout-modal-body {
    padding: 0;
    background: #FFFFFF;
    flex: 1;
}

.checkout-modal-body iframe {
    display: block;
    border: 0;
    width: 100%;
    height: min(82vh, 920px);
}

body.checkout-modal-open {
    overflow: hidden;
}

body.header-menu-open {
    overflow: hidden;
}

html.product-modal-open,
body.product-modal-open {
    overflow: hidden;
}

body.product-modal-open {
    position: fixed;
    width: 100%;
    left: 0;
    touch-action: none;
}

.product-modal.active .product-modal-content {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: 90vh;
}

.cart-table th:last-child,
.cart-table td:last-child {
    text-align: right;
    white-space: nowrap;
}

.cart-product-link {
    display: flex;
    align-items: center;
    gap: 0.86rem;
    color: inherit;
}

.cart-product-link:hover .cart-product-name {
    color: #2F6B45;
}

.cart-product-thumb {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 0.57rem;
    border: 1px solid rgba(15, 61, 36, 0.12);
    background: #FFFFFF;
    flex: 0 0 auto;
}

.cart-product-name {
    font-weight: 800;
    color: #2B2B2B;
}

.cart-summary {
    margin-top: 1.14rem;
}

.cart-summary .cart-total {
    margin: 0 0 0.86rem;
    font-size: 1.07rem;
}

.user-name {
    color: #FFFFFF;
    font-size: 1rem;
}

.cart-link {
    background: #2F6B45;
    color: #FFFFFF;
    padding: 0.57rem 1.14rem;
    border-radius: 0.57rem;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 0.14rem 0.29rem rgba(47, 107, 69, 0.3);
}

.cart-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(15, 61, 36, 0.4);
    background: #0F3D24;
    color: #FFFFFF;
}

.site-main {
    padding: 2rem 0 3rem;
    flex: 1;
}

.site-footer {
    background: #0F3D24;
    color: #FFFFFF;
    padding: 2.14rem 0;
    font-size: 1rem;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer p {
    margin: 0;
    text-align: center;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.86rem;
    text-align: center;
}

.footer-links {
    display: inline-flex;
    align-items: center;
    gap: 0.57rem;
    flex-wrap: wrap;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-sep {
    opacity: 0.7;
}

.legal-page {
    background: #FFFFFF;
    border: 1px solid rgba(15, 61, 36, 0.10);
    border-radius: 1.14rem;
    padding: 1.71rem;
    box-shadow: 0 0.29rem 0.86rem rgba(15, 61, 36, 0.08);
}

.legal-page h1 {
    margin-top: 0;
}

.legal-effective {
    margin-top: -0.29rem;
    color: #6B6B6B;
}

.legal-list {
    margin: 0.57rem 0 1.14rem 1.14rem;
    padding: 0;
}

.legal-list li {
    margin: 0.29rem 0;
}

h1 {
    font-size: 1.71rem;
    font-weight: 700;
    color: #2B2B2B;
    margin: 0 0 1rem 0;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 1.43rem;
    font-weight: 600;
    color: #2B2B2B;
    margin: 1.43rem 0 0.86rem 0;
    letter-spacing: -0.3px;
}

h3 {
    font-size: 1.17rem;
    font-weight: 600;
    color: #2B2B2B;
    margin: 0;
}

.home-slideshow {
    position: relative;
    width: 100%;
    border-radius: 1.43rem;
    overflow: hidden;
    background: #040E0A;
    box-shadow: 0 1.14rem 3.43rem rgba(15, 61, 36, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 2.29rem;
    min-height: 320px;
    isolation: isolate;
}

.home-slideshow-top {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}

.home-slideshow-top-inner {
    position: absolute;
    left: clamp(1.14rem, 3.2vw, 2.29rem);
    top: clamp(1.14rem, 3.2vw, 2.29rem);
    display: grid;
    gap: 0.21rem;
}

.home-slideshow-eyebrow {
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.70);
}

.home-slideshow-title {
    font-weight: 900;
    letter-spacing: -0.02em;
    font-size: 1.43rem;
    color: rgba(255, 255, 255, 0.94);
}

.home-slideshow-track {
    position: relative;
    width: 100%;
    height: clamp(320px, 44vh, 520px);
}

.home-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(0);
    transition: transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 650ms ease;
    --hue: 145;
    background:
        radial-gradient(1200px circle at 18% 18%, hsla(var(--hue), 78%, 58%, 0.34), transparent 55%),
        radial-gradient(900px circle at 86% 26%, rgba(194, 161, 77, 0.24), transparent 58%),
        linear-gradient(135deg, #061B11 0%, #0F3D24 55%, #07150F 100%);
}

.home-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.home-slide.is-leaving {
    pointer-events: none;
}

.home-slide::before {
    content: "";
    position: absolute;
    inset: -35%;
    background: conic-gradient(
        from 180deg,
        hsla(var(--hue), 80%, 60%, 0.18),
        rgba(194, 161, 77, 0.12),
        rgba(255, 255, 255, 0.06),
        hsla(var(--hue), 80%, 60%, 0.18)
    );
    filter: blur(48px);
    opacity: 0.55;
    transform: translate3d(0, 0, 0);
    animation: homeSlideGlow 10s ease-in-out infinite;
    pointer-events: none;
}

.home-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(255, 255, 255, 0.10) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.10) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: 0.10;
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* Slide animation states (JS toggles these classes) */
.home-slide.enter-from-right {
    transform: translateX(8%);
    opacity: 0;
}

.home-slide.enter-from-left {
    transform: translateX(-8%);
    opacity: 0;
}

.home-slide.leave-to-left {
    transform: translateX(-8%);
    opacity: 0;
}

.home-slide.leave-to-right {
    transform: translateX(8%);
    opacity: 0;
}

.home-slide-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 0;
    color: #FFFFFF;
    text-decoration: none;
    outline: none;
}

.home-slide-link:focus-visible {
    box-shadow: inset 0 0 0 3px rgba(194, 161, 77, 0.55);
}

.home-slide-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: clamp(1.14rem, 3.8vw, 3.43rem);
    background: rgba(255, 255, 255, 0.06);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 1.14rem 3.43rem rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.home-slide-content::before {
    content: "";
    position: absolute;
    inset: -30% -40%;
    background: linear-gradient(
        110deg,
        transparent 0%,
        rgba(255, 255, 255, 0.14) 46%,
        rgba(255, 255, 255, 0.06) 54%,
        transparent 100%
    );
    transform: translateX(-35%);
    opacity: 0.7;
    pointer-events: none;
    animation: homeSlideShine 10s ease-in-out infinite;
}

.home-slide-inner {
    width: min(78rem, 100%);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.home-slide.is-active .home-slide-content {
    animation: homeSlideContentIn 650ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.home-slide-kicker {
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 0.43rem;
    max-width: 70rem;
}

.home-slide-title {
    font-weight: 900;
    font-size: clamp(2.43rem, 6vw, 5.14rem);
    letter-spacing: -0.02em;
    line-height: 1.06;
    text-shadow: 0 0.43rem 1.43rem rgba(0, 0, 0, 0.32);
    max-width: 70rem;
    position: relative;
}

.home-slide-title::after {
    content: "";
    display: block;
    width: min(520px, 70vw);
    height: 10px;
    margin-top: 0.86rem;
    border-radius: 999px;
    background: linear-gradient(90deg,
        hsla(var(--hue), 82%, 58%, 0.85),
        rgba(194, 161, 77, 0.85),
        rgba(255, 255, 255, 0.30)
    );
    box-shadow: 0 0.86rem 2.29rem rgba(0, 0, 0, 0.22);
    opacity: 0.9;
}

.home-slide-cta {
    margin-top: 1.43rem;
    display: inline-flex;
    align-items: center;
    gap: 0.57rem;
    border-radius: 999px;
    padding-left: 1.0rem;
    padding-right: 1.0rem;
    box-shadow: 0 0.86rem 2.29rem rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, rgba(194, 161, 77, 0.95), rgba(15, 61, 36, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.home-slide-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.57rem;
}

.home-slide-cta::after {
    content: "→";
    display: inline-block;
    transform: translateX(0);
    transition: transform 160ms ease;
}

.home-slide-link:hover .home-slide-cta::after {
    transform: translateX(3px);
}

@keyframes homeSlideGlow {
    0% { transform: translate3d(-2%, -1%, 0) rotate(0deg); }
    50% { transform: translate3d(2%, 1%, 0) rotate(18deg); }
    100% { transform: translate3d(-2%, -1%, 0) rotate(0deg); }
}

@keyframes homeSlideContentIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes homeSlideShine {
    0% { transform: translateX(-55%); }
    50% { transform: translateX(55%); }
    100% { transform: translateX(-55%); }
}

@media (max-width: 700px) {
    .home-slide-title {
        font-size: clamp(2.14rem, 9vw, 3.71rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-slide,
    .home-slide-content {
        transition: none !important;
        animation: none !important;
    }
    .home-slide::before {
        animation: none !important;
    }
    .home-slide-content::before {
        animation: none !important;
    }
}

.home-slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(0, 0, 0, 0.24);
    color: #FFFFFF;
    font-size: 2rem;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 160ms ease, transform 160ms ease, border-color 160ms ease;
    box-shadow: 0 0.86rem 2.29rem rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.home-slideshow-nav:hover {
    background: rgba(0, 0, 0, 0.34);
    border-color: rgba(194, 161, 77, 0.35);
}

.home-slideshow-prev {
    left: 0.86rem;
}

.home-slideshow-next {
    right: 0.86rem;
}

.home-slideshow-dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0.86rem;
    z-index: 4;
    display: flex;
    gap: 0.43rem;
    align-items: center;
    padding: 0.43rem 0.57rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.20);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.home-slideshow-dot {
    width: 0.64rem;
    height: 0.64rem;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    padding: 0;
}

.home-slideshow-dot.is-active {
    background: #FFFFFF;
}

.home-slideshow-empty {
    background: #FFFFFF;
    border-radius: 1.43rem;
    padding: 2.29rem 1.71rem;
    box-shadow: 0 0.57rem 1.71rem rgba(15, 61, 36, 0.08);
    border: 1px solid rgba(15, 61, 36, 0.10);
    margin-bottom: 2.29rem;
    text-align: center;
}

.home-slideshow-empty p {
    margin: 0 auto;
    max-width: 60rem;
    color: #6B6B6B;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    gap: 1.33rem;
    margin-top: 1.33rem;
}

.product-card {
    background: #ffffff;
    border-radius: 0.83rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15), 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product-card--deal {
    border-color: #C2A14D;
    box-shadow: 0 0 0 2px rgba(194, 161, 77, 0.35), 0 10px 25px rgba(194, 161, 77, 0.25);
}

.product-card img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    border-radius: 0.83rem 0.83rem 0 0;
    margin: 0;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
    display: block;
}

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

.product-card > div {
    padding: 0.83rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card h3 {
    margin: 0 0 0.42rem 0;
    font-size: 1.08rem;
    font-weight: 600;
    color: #2B2B2B;
    line-height: 1.4;
}

.product-card .price {
    font-weight: 700;
    color: #2B2B2B;
    margin: 8px 0;
    font-size: 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
}

.price-old {
    font-size: 14px;
    color: #6B6B6B;
    text-decoration: line-through;
}

.price-new {
    font-size: 22px;
    font-weight: 700;
    color: #2B2B2B;
}

.product-card.product-card--deal .price-new {
    color: #0F3D24;
}

.badge-deal {
    position: absolute;
    top: 0.86rem;
    left: 0.86rem;
    background: #C2A14D;
    color: #FFFFFF;
    padding: 0.29rem 0.71rem;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 0.29rem 0.57rem rgba(0, 0, 0, 0.15);
    z-index: 10;
    pointer-events: none;
}

.deal-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.29rem 0.71rem;
    border-radius: 999px;
    background: #C2A14D;
    color: #FFFFFF;
    font-size: 0.93rem;
    font-weight: 600;
    margin-bottom: 0.57rem;
}

.product-card small {
    color: #6B6B6B;
    font-size: 0.93rem;
    margin-bottom: 0.86rem;
}

.product-card form,
.product-card .cart-actions {
    margin-top: auto;
    display: flex;
    gap: 0.57rem;
    flex-wrap: wrap;
    align-items: stretch;
}

.btn {
    display: inline-block;
    padding: 0.57rem 1.14rem;
    border-radius: 0.57rem;
    border: none;
    cursor: pointer;
    font-size: 0.93rem;
    font-weight: 600;
    transition: all 0.2s ease;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 0.14rem 0.29rem rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: #2F6B45;
    color: #FFFFFF;
}

.btn-primary:hover {
    background: #0F3D24;
    color: #FFFFFF;
}

.btn-secondary {
    background: #3A7CA5;
    color: #FFFFFF;
}

.btn-secondary:hover {
    background: #2F6B45;
    color: #FFFFFF;
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
}

form .form-group {
    margin-bottom: 0.86rem;
}

form label {
    display: block;
    margin-bottom: 0.36rem;
    font-weight: 500;
    color: #2B2B2B;
    font-size: 0.93rem;
}

.required-asterisk {
    color: #ef4444;
    font-weight: 600;
    margin-left: 2px;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="number"],
form textarea,
form select {
    width: 100%;
    padding: 0.57rem 0.86rem;
    border-radius: 0.57rem;
    border: 1.5px solid #e2e8f0;
    box-sizing: border-box;
    font-size: 0.93rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #FFFFFF;
    color: #2B2B2B;
}

form input:focus,
form textarea:focus,
form select:focus {
    outline: none;
    border-color: #2F6B45;
    box-shadow: 0 0 0 2px rgba(47, 107, 69, 0.1);
}

form textarea {
    min-height: 5rem;
    resize: vertical;
}

/* Modern checkbox / radio styling (global) */
form input[type="radio"],
form input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    display: inline-grid;
    place-content: center;
    vertical-align: middle;
    background: #FFFFFF;
    border: 2px solid #CBD5E1;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 120ms ease;
}

form input[type="checkbox"] {
    border-radius: 6px;
}

form input[type="radio"] {
    border-radius: 999px;
}

form input[type="checkbox"]::before {
    content: "";
    width: 10px;
    height: 6px;
    border: 2px solid #FFFFFF;
    border-top: 0;
    border-right: 0;
    transform: rotate(-45deg) scale(0);
    transition: transform 140ms ease;
    margin-top: -1px;
}

form input[type="radio"]::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #FFFFFF;
    transform: scale(0);
    transition: transform 140ms ease;
}

form input[type="radio"]:checked,
form input[type="checkbox"]:checked {
    background: #2F6B45;
    border-color: #2F6B45;
    box-shadow: 0 0 0 2px rgba(47, 107, 69, 0.15);
}

form input[type="checkbox"]:checked::before,
form input[type="radio"]:checked::before {
    transform: rotate(-45deg) scale(1);
}

form input[type="radio"]:checked::before {
    transform: scale(1);
}

form input[type="radio"]:focus-visible,
form input[type="checkbox"]:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(47, 107, 69, 0.20);
}

form input[type="radio"]:active,
form input[type="checkbox"]:active {
    transform: scale(0.96);
}

form input[type="radio"]:disabled,
form input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.65;
    background: #F8FAFC;
    border-color: #E2E8F0;
    box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
    form input[type="radio"],
    form input[type="checkbox"] {
        transition: none;
    }
    form input[type="checkbox"]::before,
    form input[type="radio"]::before {
        transition: none;
    }
}

/* Checkout radio lists: make options look like selectable cards */
.checkout-radio-list label {
    display: flex;
    align-items: flex-start;
    gap: 0.71rem;
    padding: 0.71rem 0.86rem;
    border-radius: 0.86rem;
    border: 1px solid rgba(15, 61, 36, 0.12);
    background: #FFFFFF;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.checkout-radio-list label:hover {
    border-color: rgba(47, 107, 69, 0.35);
    box-shadow: 0 0.29rem 0.86rem rgba(0, 0, 0, 0.06);
    background: #F4F1EC;
}

.checkout-radio-list label:focus-within {
    border-color: #2F6B45;
    box-shadow: 0 0 0 3px rgba(47, 107, 69, 0.12);
}

.checkout-radio-list label input[type="radio"] {
    margin-top: 0.14rem;
    flex: 0 0 auto;
}

/* Checkbox groups: cleaner, consistent look */
.form-checkbox-group {
    background: #FFFFFF;
    border: 1px solid rgba(15, 61, 36, 0.12);
}

.form-checkbox-group:hover {
    border-color: rgba(47, 107, 69, 0.25);
}

.form-checkbox-group input[type="checkbox"] {
    margin-top: 0.14rem;
}

.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.57rem;
    margin-bottom: 0.86rem;
    padding: 0.57rem;
    background: #f8fafc;
    border-radius: 0.57rem;
    border: 1px solid #e2e8f0;
}

.form-checkbox-group input[type="checkbox"] {
    margin-top: 0.14rem;
    flex-shrink: 0;
}

.form-checkbox-group label {
    margin: 0;
    font-weight: 400;
    font-size: 0.86rem;
    line-height: 1.5;
    color: #6B6B6B;
    cursor: pointer;
}

.form-checkbox-group label a {
    color: #3A7CA5;
    text-decoration: underline;
}

.form-checkbox-group label a:hover {
    color: #2F6B45;
}

.alert {
    padding: 0.86rem 1.14rem;
    border-radius: 0.57rem;
    margin-bottom: 1rem;
    font-size: 0.93rem;
    line-height: 1.5;
    border-left: 3px solid;
}

.alert-success {
    background: rgba(47, 107, 69, 0.1);
    border-color: #2F6B45;
    color: #0F3D24;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #991b1b;
}

/* Toast notifications (admin + global) */
.toast-container {
    position: fixed;
    top: 1.14rem;
    right: 1.14rem;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 0.57rem;
    width: min(420px, calc(100vw - 2.28rem));
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    background: #FFFFFF;
    border-radius: 0.86rem;
    border: 1px solid rgba(15, 61, 36, 0.12);
    box-shadow: 0 0.57rem 1.71rem rgba(0, 0, 0, 0.12);
    overflow: hidden;
    display: grid;
    grid-template-columns: 4px 1fr auto;
    align-items: stretch;
    animation: toast-in 180ms ease-out;
}

.toast-bar {
    background: #2F6B45;
}

.toast.is-error .toast-bar {
    background: #ef4444;
}

.toast-body {
    padding: 0.71rem 0.86rem;
    color: #2B2B2B;
    font-size: 0.93rem;
    line-height: 1.4;
}

.toast.is-success .toast-body strong {
    color: #0F3D24;
}

.toast.is-error .toast-body strong {
    color: #991b1b;
}

.toast-close {
    appearance: none;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0.57rem 0.71rem;
    color: #6B6B6B;
    font-size: 1.14rem;
    line-height: 1;
}

.toast-close:hover {
    color: #2B2B2B;
}

.toast.is-leaving {
    animation: toast-out 180ms ease-in forwards;
}

@media (max-width: 768px) {
    .toast-container {
        top: 1rem;
        left: 1rem;
        right: 1rem;
        width: auto;
        max-width: none;
        padding-left: env(safe-area-inset-left, 0);
        padding-right: env(safe-area-inset-right, 0);
        z-index: 10050;
    }
}

@keyframes toast-in {
    from { transform: translateY(-6px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes toast-out {
    from { transform: translateY(0); opacity: 1; }
    to { transform: translateY(-6px); opacity: 0; }
}

.quote-photos {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.quote-photo-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.quote-photo-item:hover {
    transform: scale(1.05);
}

.quote-photo-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    display: block;
}

.quote-photo-item button {
    position: absolute;
    top: 6px;
    right: 6px;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.quote-photo-item button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.quote-spec-block {
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 61, 36, 0.12);
}
.quote-spec-block h3 {
    margin-top: 0;
    margin-bottom: 0.86rem;
    color: #0F3D24;
    font-size: 1.14rem;
}

table {
    width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-collapse: collapse;
}

table thead {
    background: #0F3D24;
    color: #FFFFFF;
}

table th {
    padding: 1.14rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

table td {
    padding: 1.14rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 1.07rem;
}

table tbody tr {
    transition: background 0.2s ease;
}

table tbody tr:hover {
    background: #f8fafc;
}

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

.order-status-steps {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin: 12px 0 4px 0;
}

.order-status-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #9ca3af;
}

.order-status-step-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 2px solid #e5e7eb;
    background: #f9fafb;
}

.order-status-step-label {
    white-space: nowrap;
}

.order-status-step.completed .order-status-step-dot {
    border-color: #2F6B45;
    background: #2F6B45;
}

.order-status-step.completed .order-status-step-label {
    color: #0F3D24;
    font-weight: 600;
}

.order-status-step.current .order-status-step-dot {
    border-color: #3A7CA5;
    background: #3A7CA5;
}

.order-status-step.current .order-status-step-label {
    color: #3A7CA5;
    font-weight: 600;
}

.order-status-bar {
    flex: 1;
    height: 4px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.order-status-bar-inner {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #3A7CA5, #2F6B45);
    width: 0%;
    transition: width 0.3s ease;
}

.form-inline {
    display: flex;
    gap: 0.86rem;
    align-items: center;
    flex-wrap: wrap;
    background: #fff;
    padding: 1.43rem;
    border-radius: 0.86rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.71rem;
}

.form-inline label {
    margin: 0;
    font-weight: 600;
    color: #2B2B2B;
}

.form-inline select {
    flex: 1;
    min-width: 14.29rem;
}

.layout-with-sidebar {
    display: flex;
    gap: 1.71rem;
    align-items: flex-start;
}

.products-shell {
    width: 100%;
}

.products-shell-inner {
    width: 100%;
    max-width: calc(1200px + 18.57rem + 1.71rem);
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    gap: 1.71rem;
    align-items: flex-start;
}

.products-sidebar {
    flex: 0 0 auto;
}

.products-main {
    width: 100%;
    max-width: 1200px;
    min-width: 0;
}

.sidebar-categories {
    width: 18.57rem;
    background: #ffffff;
    border-radius: 1.14rem;
    padding: 1.43rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.sidebar-categories h3 {
    margin-bottom: 0.86rem;
    font-size: 1.14rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6B6B6B;
}

.category-list,
.subcategory-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list > li {
    margin-bottom: 0.43rem;
}

.category-list > li > a {
    display: block;
    padding: 0.43rem 0.57rem;
    border-radius: 0.57rem;
    font-size: 1rem;
    color: #2B2B2B;
    transition: background 0.2s ease, color 0.2s ease;
}

.subcategory-list {
    margin-top: 0.29rem;
    margin-left: 0.86rem;
}

.subcategory-list li a {
    display: block;
    padding: 0.29rem 0.57rem;
    border-radius: 0.57rem;
    font-size: 0.93rem;
    color: #6B6B6B;
}

.category-list a:hover {
    background: rgba(47, 107, 69, 0.1);
    color: #2F6B45;
}

.category-list a.active {
    background: #2F6B45;
    color: #FFFFFF;
}

.content-main {
    flex: 1;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.43rem;
    margin-top: 2.29rem;
    flex-wrap: wrap;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.57rem 0.86rem;
    border-radius: 0.57rem;
    background: #ffffff;
    color: #2B2B2B;
    text-decoration: none;
    font-size: 0.93rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    min-width: 2.57rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.pagination-link:hover:not(.disabled):not(.active) {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pagination-link.active {
    background: #2F6B45;
    color: #FFFFFF;
    border-color: #2F6B45;
    box-shadow: 0 2px 4px rgba(47, 107, 69, 0.3);
}

.pagination-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8fafc;
}

.pagination-ellipsis {
    padding: 0.57rem 0.29rem;
    color: #6B6B6B;
    font-size: 0.93rem;
}

@media (max-width: 768px) {
    .header-topbar .header-container,
    .header-topbar .header-topbar-inner {
        padding-left: max(1.5rem, env(safe-area-inset-left));
        padding-right: max(1.5rem, env(safe-area-inset-right));
    }

    .site-header .header-inner {
        padding-left: max(1.5rem, env(safe-area-inset-left));
        padding-right: max(1.5rem, env(safe-area-inset-right));
    }

    /* Hide header nav on mobile; only logo + hamburger stay in header */
    .site-header .header-inner .main-nav,
    .site-header .header-inner .header-right {
        display: none !important;
    }

    .header-menu-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
    }

    .header-inner {
        flex-wrap: nowrap;
        gap: 0.86rem;
    }

    /* Overlay: separate layer, not part of header */
    .header-menu-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 999;
        background: rgba(0, 0, 0, 0.4);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    body.header-menu-open .header-menu-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .header-nav-wrap {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 85vw);
        z-index: 1000;
        background: linear-gradient(180deg, #0F3D24 0%, #061B11 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 5rem 1.5rem 2rem;
        overflow: auto;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        gap: 0;
    }

    body.header-menu-open .header-nav-wrap {
        transform: translateX(0);
    }

    .header-nav-wrap .main-nav {
        flex-direction: column;
        width: 100%;
        gap: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }

    .header-nav-wrap .main-nav a {
        display: block;
        width: 100%;
        padding: 0.86rem 1rem;
        font-size: 1rem;
        border-radius: 0.57rem;
    }

    .header-nav-wrap .header-right {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
        gap: 0.43rem;
    }

    .header-nav-wrap .header-right .cart-link,
    .header-nav-wrap .header-right .btn,
    .header-nav-wrap .header-right a {
        display: block;
        text-align: center;
        padding: 0.86rem 1rem;
        font-size: 1rem;
    }

    .header-nav-wrap .user-name {
        text-align: center;
        padding: 0.57rem 0;
    }

    .header-nav-wrap .admin-dropdown {
        width: 100%;
    }

    .header-nav-wrap .admin-dropdown-toggle {
        width: 100%;
        justify-content: center;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 16px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    .container {
        padding: 0 16px;
    }

    .form-inline {
        flex-direction: column;
        align-items: stretch;
    }

    .form-inline select {
        width: 100%;
    }

    .layout-with-sidebar {
        flex-direction: column;
    }

    .sidebar-categories {
        width: 100%;
    }

    .products-shell-inner {
        flex-direction: column;
        max-width: 1200px;
    }

    .admin-oh-window-row input[type="time"] {
        min-width: 100%;
    }

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

    .contact-map {
        height: 300px;
    }

    .checkout-summary {
        grid-template-columns: 1fr;
    }

    .checkout-modal-content {
        margin-top: 32px;
        max-height: calc(100vh - 48px);
    }

    .cart-table {
        width: 100%;
        border: none;
        margin: 0;
    }

    .cart-table thead {
        display: none;
    }

    .cart-table tbody tr {
        display: block;
        background: #FFFFFF;
        border: 1px solid rgba(15, 61, 36, 0.12);
        border-radius: 0.57rem;
        padding: 1rem max(1rem, env(safe-area-inset-left));
        margin-bottom: 0.86rem;
        box-shadow: 0 0.14rem 0.29rem rgba(15, 61, 36, 0.06);
    }

    .cart-table tbody tr:last-of-type {
        margin-bottom: 0;
    }

    .cart-table tbody td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.57rem;
        text-align: left;
        padding: 0.43rem 0;
        border: none;
    }

    .cart-table tbody td::before {
        content: attr(data-label);
        font-weight: 700;
        color: #2B2B2B;
        flex: 0 0 5rem;
        font-size: 0.86rem;
    }

    .cart-table tbody td:first-child {
        padding-top: 0;
        padding-bottom: 0.57rem;
        border-bottom: 1px solid rgba(15, 61, 36, 0.08);
    }

    .cart-table tbody td:first-child::before {
        display: none;
    }

    .cart-table .cart-product-link {
        flex: 1;
        min-width: 0;
        gap: 0.71rem;
    }

    .cart-table .cart-product-thumb {
        width: 64px;
        height: 64px;
        flex-shrink: 0;
    }

    .cart-table .cart-product-name {
        font-size: 0.93rem;
        line-height: 1.35;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .cart-table tbody td:last-child {
        justify-content: flex-end;
        padding-bottom: 0;
    }

    .cart-table tbody td:last-child::before {
        display: none;
    }

    .cart-table tbody td:last-child .btn {
        min-height: 44px;
        padding: 0.57rem 1rem;
        font-size: 0.93rem;
    }

    .cart-summary {
        margin-top: 1.43rem;
        padding: 1.14rem max(1rem, env(safe-area-inset-left));
        background: #FFFFFF;
        border: 1px solid rgba(15, 61, 36, 0.12);
        border-radius: 0.57rem;
        box-shadow: 0 0.14rem 0.29rem rgba(15, 61, 36, 0.06);
    }

    .cart-summary .cart-total {
        margin: 0 0 1rem;
        font-size: 1.14rem;
    }

    .cart-summary .cart-checkout-btn {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.86rem 1rem;
        font-size: 1rem;
        min-height: 48px;
    }

    /* Order items table: responsive (stacked) */
    .order-items-table {
        width: 100%;
        border: none;
        margin: 0;
    }

    .order-items-table thead {
        display: none;
    }

    .order-items-table tbody tr {
        display: block;
        background: #FFFFFF;
        border: 1px solid rgba(15, 61, 36, 0.12);
        border-radius: 0.57rem;
        padding: 1rem max(1rem, env(safe-area-inset-left));
        margin-bottom: 0.86rem;
        box-shadow: 0 0.14rem 0.29rem rgba(15, 61, 36, 0.06);
    }

    .order-items-table tbody tr:last-of-type {
        margin-bottom: 0;
    }

    .order-items-table tbody td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.57rem;
        text-align: left;
        padding: 0.43rem 0;
        border: none;
    }

    .order-items-table tbody td::before {
        content: attr(data-label);
        font-weight: 700;
        color: #2B2B2B;
        flex: 0 0 6.5rem;
        font-size: 0.86rem;
    }

    .order-items-table tbody td:first-child {
        padding-top: 0;
        padding-bottom: 0.57rem;
        border-bottom: 1px solid rgba(15, 61, 36, 0.08);
        justify-content: flex-start;
    }

    .order-items-table tbody td:first-child::before {
        display: none;
    }

    .checkout-steps {
        gap: 0.43rem;
        row-gap: 0.43rem;
    }

    .checkout-step {
        padding: 0.43rem 0.71rem;
        font-size: 0.86rem;
    }

    .checkout-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .checkout-nav .btn {
        width: 100%;
    }

    .home-slideshow-title {
        font-size: 1.21rem;
    }

    .home-slide-kicker {
        font-size: 0.8rem;
    }

    .home-slide-title {
        font-size: clamp(1.57rem, 6vw, 2.57rem);
    }

    .home-slide-cta {
        margin-top: 1rem;
        padding: 0.71rem 1rem;
        font-size: 0.93rem;
    }

    .home-slideshow-nav {
        min-width: 44px;
        min-height: 44px;
        width: 2.86rem;
        height: 2.86rem;
        font-size: 1.71rem;
    }

    .home-slideshow-prev,
    .home-slideshow-next {
        display: none;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.43rem;
    }

    .footer-sep {
        display: none;
    }

    .order-status-steps {
        flex-wrap: wrap;
        gap: 6px;
        font-size: 11px;
        margin: 10px 0 4px 0;
    }

    .order-status-step {
        gap: 2px;
    }

    .order-status-step-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .header-nav-wrap .main-nav a,
    .header-nav-wrap .header-right .cart-link,
    .header-nav-wrap .header-right a {
        padding: 0.71rem 1rem;
        font-size: 0.93rem;
    }

    .checkout-step {
        padding: 0.36rem 0.57rem;
        font-size: 0.8rem;
    }

    .checkout-radio-card {
        min-width: 0;
        padding: 0.71rem 0.86rem;
    }

    .checkout-radio-list label {
        padding: 0.57rem 0.71rem;
    }

    .product-modal-info form {
        flex-direction: column;
    }

    .product-modal-info form .btn,
    .product-modal-info form a.btn {
        width: 100%;
    }

    .home-slide-title {
        font-size: clamp(1.29rem, 5vw, 2rem);
    }

    .home-slide-cta {
        padding: 0.57rem 0.86rem;
        font-size: 0.86rem;
    }

    .home-slideshow-nav {
        min-width: 44px;
        min-height: 44px;
    }

    .order-status-steps {
        font-size: 10px;
    }

    .order-status-step-label {
        font-size: 0.7rem;
    }

    .form-narrow input:not([type="checkbox"]):not([type="radio"]),
    .form-narrow select,
    .form-narrow textarea,
    .form-narrow .btn,
    .form-medium input:not([type="checkbox"]):not([type="radio"]),
    .form-medium select,
    .form-medium textarea,
    .form-medium .btn {
        width: 100%;
        box-sizing: border-box;
    }

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

    .product-card form {
        flex-direction: column;
    }

    .product-card form .btn {
        width: 100%;
    }
}

/* Services page styles */
.service-item {
    display: flex;
    gap: 2.86rem;
    align-items: center;
    margin-bottom: 3.43rem;
    padding: 2.14rem;
    background: #ffffff;
    border-radius: 1.14rem;
    box-shadow: 0 0.29rem 0.86rem rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    scroll-margin-top: 8rem;
}

.service-item:hover {
    transform: translateY(-0.29rem);
    box-shadow: 0 0.57rem 1.43rem rgba(0, 0, 0, 0.12);
}

.service-item-reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 0 0 40%;
    max-width: 40%;
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: 0.86rem;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.service-content {
    flex: 1;
}

.service-content h2 {
    margin-top: 0;
    margin-bottom: 1.14rem;
    font-size: 1.71rem;
    color: #2B2B2B;
}

.service-content p {
    margin-bottom: 1.14rem;
    color: #6B6B6B;
    line-height: 1.7;
    font-size: 1.07rem;
}

.service-price {
    margin-bottom: 1.14rem;
}

.service-price .price-new {
    font-size: 1.71rem;
    font-weight: 700;
    color: #0F3D24;
}

.service-price .price-old {
    font-size: 1.29rem;
    color: #6B6B6B;
    text-decoration: line-through;
    margin-right: 0.86rem;
}

@media (max-width: 768px) {
    .service-item,
    .service-item-reverse {
        flex-direction: column;
    }

    .service-image {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .service-content h2 {
        font-size: 1.43rem;
    }
}

/* Product page image styles */
.product-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.product-main-image {
    width: 100%;
    height: 500px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-main-image:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.product-thumbnail {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid #e5e7eb;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.product-thumbnail:hover {
    border-color: #2F6B45;
    transform: scale(1.05);
}

.product-thumbnail.active {
    border-color: #0F3D24;
    border-width: 3px;
}

/* Image viewer modal */
.image-viewer-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.image-viewer-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.image-viewer-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-viewer-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.image-viewer-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 10001;
}

.image-viewer-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

.image-viewer-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 10001;
    user-select: none;
}

.image-viewer-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.image-viewer-nav.prev {
    left: 20px;
}

.image-viewer-nav.next {
    right: 20px;
}

.image-viewer-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 10001;
}

@media (max-width: 768px) {
    .product-main-image {
        height: 400px;
    }

    .image-viewer-close {
        top: 10px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 30px;
    }

    .image-viewer-nav {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .image-viewer-nav.prev {
        left: 10px;
    }

    .image-viewer-nav.next {
        right: 10px;
    }
}

/* Product Modal Styles */
.product-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.product-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.product-modal-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.product-modal-content {
    position: relative;
    background: #FFFFFF;
    border-radius: 1.14rem;
    max-width: 90%;
    max-height: 90vh;
    width: 1000px;
    overflow-y: auto;
    box-shadow: 0 0.57rem 2.29rem rgba(0, 0, 0, 0.3);
    z-index: 10001;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.product-modal-close {
    position: absolute;
    top: 1.14rem;
    right: 1.14rem;
    color: #2B2B2B;
    font-size: 2.86rem;
    font-weight: bold;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.9);
    width: 2.86rem;
    height: 2.86rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 10002;
    line-height: 1;
}

.product-modal-close:hover {
    background: rgba(255, 255, 255, 1);
    transform: rotate(90deg);
}

.product-modal-inner {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    flex-wrap: wrap;
}

.product-modal-images {
    flex: 1 1 300px;
    min-width: 300px;
}

.modal-image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #FFFFFF;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 10;
    user-select: none;
}

.modal-image-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.modal-image-nav-prev {
    left: 1rem;
}

.modal-image-nav-next {
    right: 1rem;
}

.modal-image-counter {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    color: #FFFFFF;
    background: rgba(0, 0, 0, 0.6);
    padding: 0.5rem 1rem;
    border-radius: 1.14rem;
    font-size: 0.93rem;
    z-index: 10;
}

.product-modal-info {
    flex: 1 1 300px;
    min-width: 300px;
}

.product-modal-info h1 {
    margin-top: 0;
    font-size: 1.71rem;
    color: #2B2B2B;
}

.product-modal-info .price {
    font-size: 1.71rem;
    margin: 1rem 0;
}

.product-modal-info .product-specs {
    background: #F4F1EC;
    padding: 1.14rem;
    border-radius: 0.86rem;
    margin-top: 1.14rem;
}

.product-modal-info .product-specs h3 {
    margin-top: 0;
    margin-bottom: 0.86rem;
    color: #2B2B2B;
}

.product-modal-info .product-specs ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-modal-info .product-specs li {
    padding: 0.43rem 0;
    border-bottom: 1px solid rgba(43, 43, 43, 0.1);
}

.product-modal-info .product-specs li:last-child {
    border-bottom: none;
}

.product-modal-info .product-specs li strong {
    color: #0F3D24;
    margin-right: 0.57rem;
}

.product-modal .cart-actions {
    display: flex;
    gap: 0.57rem;
    flex-wrap: wrap;
    align-items: stretch;
}

.product-modal .cart-actions .btn,
.product-modal .cart-actions a.btn {
    flex: 1 1 0%;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media (max-width: 768px) {
    .product-modal-content {
        max-width: 95%;
        max-height: 95vh;
    }

    .product-modal-inner {
        flex-direction: column;
        padding: 1.14rem;
    }

    .product-modal-images,
    .product-modal-info {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .product-modal-images .product-main-image {
        max-height: 70vh;
        height: auto;
        min-height: 200px;
    }

    .product-modal-close {
        top: 0.57rem;
        right: 0.57rem;
        width: 2.14rem;
        height: 2.14rem;
        font-size: 2.14rem;
    }
}

/* Cookie consent notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #0F3D24;
    color: #FFFFFF;
    padding: 1rem max(1rem, env(safe-area-inset-left));
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    box-shadow: 0 -0.29rem 0.86rem rgba(0, 0, 0, 0.15);
}

body.cookie-consent-set .cookie-notice {
    display: none !important;
}

.cookie-notice-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1rem;
}

.cookie-notice-text {
    flex: 1 1 280px;
    min-width: 0;
}

.cookie-notice-heading {
    margin: 0 0 0.43rem;
    font-size: 1.07rem;
    font-weight: 700;
}

.cookie-notice-desc,
.cookie-notice p {
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.5;
    opacity: 0.95;
}

.cookie-notice a {
    color: #8BC99A;
    text-decoration: underline;
}

.cookie-notice a:hover {
    color: #FFFFFF;
}

.cookie-notice-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.57rem;
    flex-shrink: 0;
}

.cookie-notice-btn {
    white-space: nowrap;
}

@media (max-width: 480px) {
    .cookie-notice-actions {
        width: 100%;
    }

    .cookie-notice-btn {
        flex: 1;
        min-width: 0;
    }
}


