/*
Theme Name: Tehoduse
Description: Minimal full-screen theme for Tehoduse.
Version: 1.1
Text Domain: tehoduse
*/

:root {
    --color-primary: #77aa7c;
    --color-primary-dark: #5a7d6d;
    --color-primary-light: #9fc3a3;
    --color-bg-light: #e8efe9;
    --color-cream: #fffce4;
    --color-cream-light: #fffef6;
    --color-text: #2d3748;
    --color-white: #ffffff;
    --color-brand: #6b9080;
    --color-heading: #5c8960;
    --color-text-body: #5a6b72;
    --color-gold: #f6d36a;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--color-text);
    background: var(--color-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    color: var(--color-primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.1rem 1.5rem;
}

.site-logo {
    display: flex;
    align-items: center;
    margin-right: auto;
}

.site-logo img,
.site-logo .custom-logo {
    display: block;
}

.site-logo img,
.custom-logo {
    width: auto;
    max-height: 50px;
}

.site-logo span {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.site-nav li {
    position: relative;
    top: 2px;
}

.site-nav a {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    color: var(--color-text);
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    line-height: 1;
}

.site-nav a:hover,
.site-nav .current-menu-item a {
    color: var(--color-text);
    border-bottom-color: var(--color-text);
}

/* Mobile nav toggle */
.menu-toggle {
    display: none;
    align-items: center;
    gap: 0.6rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 201;
    line-height: 1;
}

.menu-toggle-label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    color: var(--color-text);
    line-height: 1;
    position: relative;
    top: 2px;
}

.menu-toggle-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 14px;
}

.menu-toggle-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s;
}

/* X icon when open */
.nav-open .menu-toggle-icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-open .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
}

.nav-open .menu-toggle-icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile overlay */
.mobile-overlay {
    display: none;
}

/* Page wrapper for push effect */
.site-page-wrap {
    position: relative;
    left: 0;
    z-index: 10;
    background: var(--color-bg-light);
    transition: left 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Content */
.site-content article {
    width: 100%;
}

/* Contained content blocks — basic blocks centered, HTML blocks stay full-width */
article > p,
article > h1,
article > h2,
article > h3,
article > h4,
article > h5,
article > h6,
article > ul,
article > ol,
article > .wp-block-list,
article > .wp-block-image,
article > .wp-block-quote,
article > blockquote,
article > .wp-block-table,
article > .wp-block-button,
article > .wp-block-buttons {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Buttons (WooCommerce-compatible) */
.wp-block-button__link,
a.button,
button.button,
input[type="submit"] {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 11px 24px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(107, 144, 128, 0.3);
    transition: background 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wp-block-button__link:hover,
a.button:hover,
button.button:hover,
input[type="submit"]:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(107, 144, 128, 0.4);
}

/* Footer */
.site-footer {
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 0.9rem;
}

.site-footer:empty {
    display: none;
}

.site-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.site-footer a {
    color: var(--color-bg-light);
}

/* ── WooCommerce Global ── */
.woocommerce-page .site-content article {
    width: 100%;
}

/* Notices (global) */
.woocommerce-notice,
.woocommerce-message,
.woocommerce-error,
.woocommerce-info,
.wc-block-components-notice-banner {
    font-family: var(--font-body);
    font-size: 14px;
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 16px;
    list-style: none;
}

.woocommerce-message {
    background: rgba(107, 144, 128, 0.1);
    color: var(--color-brand);
    border: none;
    border-left: 4px solid var(--color-brand);
}

.woocommerce-error {
    background: rgba(231, 76, 60, 0.08);
    color: #c0392b;
    border: none;
    border-left: 4px solid #e74c3c;
}

.woocommerce-error li {
    list-style: none;
    margin: 0;
    padding: 4px 0;
}

.woocommerce-info {
    background: rgba(52, 152, 219, 0.08);
    color: #2471a3;
    border: none;
    border-left: 4px solid #3498db;
}

.wc-block-components-notice-banner.is-error {
    background: rgba(231, 76, 60, 0.08);
    color: #c0392b;
    border-left: 4px solid #e74c3c;
}

.wc-block-components-notice-banner.is-success {
    background: rgba(107, 144, 128, 0.1);
    color: var(--color-brand);
    border-left: 4px solid var(--color-brand);
}

.wc-block-components-notice-banner.is-info {
    background: rgba(52, 152, 219, 0.08);
    color: #2471a3;
    border-left: 4px solid #3498db;
}

/* ── WooCommerce Block Checkout ── */

/* Constrain the checkout block — wider to allow two-column layout */
.woocommerce-checkout article {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5em 1.5rem;
}

.wp-block-woocommerce-checkout {
    max-width: 100% !important;
    font-family: var(--font-body);
}

/* Sidebar layout: main + order summary side by side */
.wc-block-checkout.wc-block-components-sidebar-layout {
    background: var(--color-white);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    padding: 40px 44px;
    gap: 40px;
}

/* Step headings */
.wc-block-components-checkout-step__title {
    font-family: var(--font-heading);
    color: var(--color-heading);
    font-size: 1.3em;
    font-weight: 600;
}

/* Text inputs */
.wc-block-components-text-input input,
.wc-block-components-text-input textarea,
.wc-blocks-components-select__select {
    font-family: var(--font-body) !important;
    font-size: 15px !important;
    color: var(--color-text) !important;
    background: #f9fbfa !important;
    border: 1.5px solid #dde3df !important;
    border-radius: 10px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-text-input textarea:focus,
.wc-blocks-components-select__select:focus {
    border-color: var(--color-brand) !important;
    box-shadow: 0 0 0 3px rgba(107, 144, 128, 0.12) !important;
}

/* Labels */
.wc-block-components-text-input label,
.wc-blocks-components-select__label {
    font-family: var(--font-body);
    color: var(--color-text-body) !important;
}

.wc-block-components-text-input.is-active label {
    color: var(--color-brand) !important;
}

/* Checkout step container — remove left border/dot decoration */
.wc-block-components-checkout-step {
    border: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.wc-block-components-checkout-step::after,
.wc-block-components-checkout-step::before {
    display: none !important;
}

/* Address form two-column layout */
.wc-block-components-address-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
}

.wc-block-components-address-form > .wc-block-components-address-form__email,
.wc-block-components-address-form > .wc-block-components-address-form__address_1,
.wc-block-components-address-form > .wc-block-components-address-form__address_2-toggle,
.wc-block-components-address-form > .wc-block-components-address-form__phone,
.wc-block-components-address-form > .wc-block-components-address-form__country {
    grid-column: 1 / -1;
}

/* Order summary sidebar */
.wc-block-checkout__sidebar .wc-block-components-panel__button {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-heading);
}

.wc-block-components-order-summary-item__description .wc-block-components-product-name {
    font-weight: 600;
    color: var(--color-text);
}

.wc-block-components-order-summary-item__description .wc-block-components-product-metadata {
    color: var(--color-text-body);
    font-size: 13px;
}

/* Totals */
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 1.15em;
    font-weight: 700;
    color: var(--color-heading);
}

.wc-block-components-totals-item__label {
    font-weight: 600;
    color: var(--color-text);
}

/* Place order button */
.wc-block-components-checkout-place-order-button {
    display: block !important;
    width: 100% !important;
    padding: 14px 32px !important;
    border: none !important;
    border-radius: 50px !important;
    background-color: var(--color-brand) !important;
    color: #fff !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(107, 144, 128, 0.3) !important;
    transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background-color 0.2s ease !important;
}

.wc-block-components-checkout-place-order-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(107, 144, 128, 0.4) !important;
    background-color: var(--color-primary-dark) !important;
}

/* Hide return to cart link */
.wc-block-components-checkout-return-to-cart-button {
    display: none !important;
}

/* Checkbox */
.wc-block-components-checkbox__input[type="checkbox"]:checked {
    accent-color: var(--color-brand);
}

/* Terms */
.wc-block-checkout__terms {
    font-size: 13px;
    color: var(--color-text-body);
}

/* Hide country field — CZ only */
.wc-block-components-address-form__country {
    display: none !important;
}

/* Additional order fields — stack vertically */
#order.wc-block-components-address-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px;
}

/* Konzultace answer — tall textarea-like input */
#order .wc-block-components-address-form__tehoduse-konzultace-answer input {
    min-height: 80px !important;
    padding-top: 24px !important;
    vertical-align: top;
}

/* Labels */
#order .wc-block-components-text-input label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--color-text) !important;
}

#order .wc-block-components-text-input.is-active label {
    transform: translateY(4px) scale(0.85) !important;
}

/* Payment method step */
.wc-block-checkout__payment-method {
    background: #f9fbfa;
    border-radius: 12px;
    padding: 16px 20px;
}

/* Hide subtotal — single product checkout */
.wp-block-woocommerce-checkout-order-summary-subtotal-block {
    display: none;
}

/* Ensure sidebar layout stays two-column */
.wc-block-checkout .wc-block-components-main {
    flex: 1 1 60%;
    min-width: 0;
}

.wc-block-checkout .wc-block-components-sidebar {
    flex: 0 0 320px;
    min-width: 280px;
}

/* ── WooCommerce Block Cart ── */

/* Constrain the cart block */
.woocommerce-cart article {
    max-width: 960px;
    margin: 0 auto;
    padding: 2.5em 1.5rem;
}

.wp-block-woocommerce-cart {
    max-width: 100% !important;
    font-family: var(--font-body);
}

/* Cart sidebar layout */
.wc-block-cart.wc-block-components-sidebar-layout {
    background: var(--color-white);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    padding: 32px 36px;
    gap: 36px;
}

/* Cart items table header */
.wc-block-cart-items__header th {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8a9a8e;
    border-bottom: 1px solid #e8ece9;
    padding-bottom: 10px;
}

/* Cart item rows */
.wc-block-cart-items__row {
    border-bottom: 1px solid #e8ece9;
}

.wc-block-cart-items__row td {
    vertical-align: middle;
}

/* Product thumbnail */
.wc-block-cart-item__image img {
    border-radius: 10px;
}

/* Product name */
.wc-block-cart-item__product .wc-block-components-product-name {
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
}

.wc-block-cart-item__product .wc-block-components-product-name:hover {
    color: var(--color-brand);
}

/* Product metadata (slot info etc) */
.wc-block-cart-item__product .wc-block-components-product-metadata {
    font-size: 13px;
    color: var(--color-text-body);
}

/* Quantity input */
.wc-block-cart-item__product .wc-block-components-quantity-selector input {
    font-family: var(--font-body);
    border: 1.5px solid #dde3df;
    border-radius: 8px;
    background: #f9fbfa;
}

/* Cart sidebar totals title */
.wc-block-cart__totals-title {
    font-family: var(--font-heading);
    color: var(--color-heading);
    font-weight: 600;
}

/* Totals in sidebar */
.wc-block-cart__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-cart__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 1.15em;
    font-weight: 700;
    color: var(--color-heading);
}

/* Proceed to checkout button */
.wc-block-cart__submit-button {
    display: block !important;
    width: 100% !important;
    padding: 14px 32px !important;
    border: none !important;
    border-radius: 50px !important;
    background-color: var(--color-brand) !important;
    color: #fff !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(107, 144, 128, 0.3) !important;
    transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background-color 0.2s ease !important;
}

.wc-block-cart__submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(107, 144, 128, 0.4) !important;
    background-color: var(--color-primary-dark) !important;
}

/* Coupon form in cart */
.wc-block-components-totals-coupon .wc-block-components-text-input input {
    border-radius: 10px !important;
}

/* Hide subtotal in cart — single product */
.wp-block-woocommerce-cart-order-summary-subtotal-block {
    display: none;
}

/* Empty cart */
.wp-block-woocommerce-empty-cart-block {
    text-align: center;
    padding: 3em 2em;
}

.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title {
    font-family: var(--font-heading);
    color: var(--color-heading);
}

/* ── WooCommerce Order Received / Thank You ── */
.woocommerce-order-received .woocommerce {
    max-width: 700px;
    margin: 0 auto;
    padding: 2.5em 1.5rem;
}

.woocommerce-order-received .woocommerce-thankyou-order-received {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.6em;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 1.2em;
    line-height: 1.3;
}

.woocommerce-order-received .woocommerce-order {
    background: var(--color-white);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    padding: 40px 44px;
}

.woocommerce-order-received .woocommerce-order-overview {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    padding: 0;
    margin: 0 0 28px;
    border-bottom: 1px solid #e8ece9;
    padding-bottom: 28px;
}

.woocommerce-order-received .woocommerce-order-overview li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.woocommerce-order-received .woocommerce-order-overview li:before {
    content: none;
}

.woocommerce-order-received .woocommerce-order-overview li strong {
    font-size: 1.1em;
    color: var(--color-text);
}

/* Order details table */
.woocommerce-order-received .woocommerce-table--order-details,
.woocommerce-order .woocommerce-table--order-details {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    border: none;
}

.woocommerce-order-received .woocommerce-table--order-details thead,
.woocommerce-order .woocommerce-table--order-details thead {
    background: #f9fbfa;
}

.woocommerce-order-received .woocommerce-table--order-details th,
.woocommerce-order .woocommerce-table--order-details th {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8a9a8e;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #e8ece9;
    text-align: left;
}

.woocommerce-order-received .woocommerce-table--order-details td,
.woocommerce-order .woocommerce-table--order-details td {
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #e8ece9;
    vertical-align: top;
}

.woocommerce-order-received .woocommerce-table--order-details td:last-child,
.woocommerce-order .woocommerce-table--order-details td:last-child,
.woocommerce-order-received .woocommerce-table--order-details th:last-child,
.woocommerce-order .woocommerce-table--order-details th:last-child {
    text-align: right;
}

.woocommerce-order-received .woocommerce-table--order-details .product-name a,
.woocommerce-order .woocommerce-table--order-details .product-name a {
    color: var(--color-text);
    font-weight: 500;
}

.woocommerce-order-received .woocommerce-table--order-details tfoot th,
.woocommerce-order .woocommerce-table--order-details tfoot th {
    text-transform: none;
    letter-spacing: 0;
    color: var(--color-text);
    font-size: 14px;
}

.woocommerce-order-received .woocommerce-table--order-details tfoot .order-total th,
.woocommerce-order-received .woocommerce-table--order-details tfoot .order-total td,
.woocommerce-order .woocommerce-table--order-details tfoot .order-total th,
.woocommerce-order .woocommerce-table--order-details tfoot .order-total td {
    font-size: 1.15em;
    font-weight: 700;
    color: var(--color-heading);
    border-bottom: none;
}

/* Section headings in order received */
.woocommerce-order-received .woocommerce-order h2,
.woocommerce-order-received .woocommerce-column__title {
    font-family: var(--font-heading);
    color: var(--color-heading);
    font-size: 1.3em;
    font-weight: 600;
    margin: 28px 0 12px;
}

.woocommerce-order-received .woocommerce-order h2:first-child {
    margin-top: 0;
}

/* Customer details on order received */
.woocommerce-order-received .woocommerce-customer-details {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid #e8ece9;
}

.woocommerce-order-received .woocommerce-columns--addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.woocommerce-order-received .woocommerce-customer-details address {
    font-style: normal;
    line-height: 1.7;
    color: var(--color-text-body);
}

/* ── WooCommerce My Account ── */
.woocommerce-account .woocommerce {
    max-width: 960px;
    margin: 0 auto;
    padding: 2.5em 1.5rem;
}

/* Login / Register form */
.woocommerce-account .woocommerce form.woocommerce-form-login,
.woocommerce-account .woocommerce form.woocommerce-form-register {
    background: var(--color-white);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    padding: 40px 44px;
    max-width: 480px;
    margin: 0 auto;
}

.woocommerce-account .woocommerce h2 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 20px;
}

.woocommerce-account .woocommerce form .form-row {
    margin-bottom: 14px;
    padding: 0;
}

.woocommerce-account .woocommerce form label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    color: var(--color-text);
    margin-bottom: 4px;
    display: block;
}

.woocommerce-account .woocommerce form label .required {
    color: var(--color-brand);
}

.woocommerce-account .woocommerce form input[type="text"],
.woocommerce-account .woocommerce form input[type="email"],
.woocommerce-account .woocommerce form input[type="tel"],
.woocommerce-account .woocommerce form input[type="password"] {
    width: 100%;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text);
    background: #f9fbfa;
    border: 1.5px solid #dde3df;
    border-radius: 10px;
    padding: 10px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce-account .woocommerce form input:focus {
    outline: none;
    border-color: var(--color-brand);
    box-shadow: 0 0 0 3px rgba(107, 144, 128, 0.12);
}

.woocommerce-account .woocommerce form .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    font-size: 14px;
    cursor: pointer;
}

.woocommerce-account .woocommerce form .woocommerce-form-login__submit,
.woocommerce-account .woocommerce form .woocommerce-form-register__submit {
    display: block;
    width: 100%;
    padding: 12px 24px;
    margin-top: 8px;
}

.woocommerce-account .woocommerce .woocommerce-LostPassword {
    margin-top: 12px;
}

.woocommerce-account .woocommerce .woocommerce-LostPassword a {
    font-size: 13px;
    color: var(--color-brand);
    font-weight: 600;
}

/* Account navigation */
.woocommerce-account .woocommerce-MyAccount-navigation {
    float: none;
    width: 100%;
    margin-bottom: 24px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 20px;
    border: 1px solid rgba(107, 144, 128, 0.25);
    border-radius: 50px;
    color: var(--color-text-body);
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    border-color: var(--color-brand);
    color: var(--color-brand);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background: var(--color-brand);
    border-color: var(--color-brand);
    color: #fff;
}

/* Account content */
.woocommerce-account .woocommerce-MyAccount-content {
    float: none;
    width: 100%;
    background: var(--color-white);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    padding: 32px 36px;
}

.woocommerce-account .woocommerce-MyAccount-content p {
    color: var(--color-text-body);
    line-height: 1.6;
}

.woocommerce-account .woocommerce-MyAccount-content a {
    color: var(--color-brand);
    font-weight: 600;
}

/* Orders table */
.woocommerce-account .woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    border: none;
}

.woocommerce-account .woocommerce-orders-table th {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8a9a8e;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #e8ece9;
    text-align: left;
}

.woocommerce-account .woocommerce-orders-table td {
    padding: 14px 0;
    border: none;
    border-bottom: 1px solid #e8ece9;
    vertical-align: middle;
}

.woocommerce-account .woocommerce-orders-table .woocommerce-orders-table__cell-order-number a {
    font-weight: 600;
    color: var(--color-brand);
}

.woocommerce-account .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions a {
    font-size: 12px;
    padding: 6px 16px;
}

/* Addresses */
.woocommerce-account .woocommerce-Addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.woocommerce-account .woocommerce-Address {
    background: #f9fbfa;
    border-radius: 12px;
    padding: 20px 24px;
}

.woocommerce-account .woocommerce-Address-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.woocommerce-account .woocommerce-Address-title h3 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    font-size: 1.15em;
    font-weight: 600;
    margin: 0;
}

.woocommerce-account .woocommerce-Address-title a {
    font-size: 13px;
}

.woocommerce-account .woocommerce-Address address {
    font-style: normal;
    line-height: 1.7;
    color: var(--color-text-body);
}

/* Edit account / address forms */
.woocommerce-account .woocommerce-EditAccountForm,
.woocommerce-account .woocommerce-address-fields {
    max-width: 480px;
}

.woocommerce-account .woocommerce-EditAccountForm fieldset {
    border: none;
    padding: 0;
    margin: 24px 0 0;
}

.woocommerce-account .woocommerce-EditAccountForm fieldset legend {
    font-family: var(--font-heading);
    color: var(--color-heading);
    font-size: 1.15em;
    font-weight: 600;
    margin-bottom: 16px;
}

/* ── WooCommerce Single Product ── */
.single-product .woocommerce {
    max-width: 960px;
    margin: 0 auto;
    padding: 2.5em 1.5rem;
}

.single-product .product {
    background: var(--color-white);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    padding: 40px 44px;
}

.single-product .product .woocommerce-product-gallery {
    float: none;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 24px;
}

.single-product .product .woocommerce-product-gallery img {
    border-radius: 14px;
}

.single-product .product .summary.entry-summary {
    float: none;
    width: 100%;
}

.single-product .product .product_title {
    font-family: var(--font-heading);
    color: var(--color-heading);
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 8px;
}

.single-product .product .price {
    font-family: var(--font-body);
    font-size: 1.4em;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 16px;
}

.single-product .product .price .woocommerce-Price-currencySuffix,
.single-product .product .price .woocommerce-Price-amount {
    color: var(--color-text);
}

.single-product .product .woocommerce-product-details__short-description {
    color: var(--color-text-body);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Reservation product specifics */
.single-product .rezervace-event__date {
    font-size: 1.05em;
    color: var(--color-text);
    margin-bottom: 1.2em;
    padding: 12px 16px;
    background: #f9fbfa;
    border-radius: 10px;
    border: 1px solid #e8ece9;
}

.single-product .rezervace-notice {
    padding: 14px 20px;
    border-radius: 12px;
    background: rgba(107, 144, 128, 0.1);
    color: var(--color-text-body);
    font-size: 14px;
}

.single-product .rezervace-notice--expired {
    background: rgba(231, 76, 60, 0.08);
    color: #c0392b;
    border: none;
    border-left: 4px solid #e74c3c;
}

.single-product .rezervace-slot-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5em;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.single-product .rezervace-slot-list__item {
    padding: 12px 16px;
    border: 1.5px solid #dde3df;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.single-product .rezervace-slot-list__item:hover {
    border-color: var(--color-brand);
}

.single-product .rezervace-slot-list__item--selected,
.single-product .rezervace-slot-list__item:has(input:checked) {
    border-color: var(--color-brand);
    background: rgba(107, 144, 128, 0.06);
}

.single-product .rezervace-slot-list__item label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--color-text);
}

.single-product .rezervace-slot-list__item input[type="radio"] {
    accent-color: var(--color-brand);
}

.single-product .rezervace-description {
    margin-top: 2em;
    max-width: 800px;
    color: var(--color-text-body);
    line-height: 1.7;
}

/* Add to cart button on single product */
.single-product .cart .single_add_to_cart_button {
    display: block;
    width: 100%;
    padding: 14px 32px;
    border-radius: 50px;
    background-color: var(--color-brand);
    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(107, 144, 128, 0.3);
    transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background-color 0.2s ease;
}

.single-product .cart .single_add_to_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(107, 144, 128, 0.4);
    background-color: var(--color-primary-dark);
}

/* Quantity input on single product */
.single-product .cart .quantity {
    margin-bottom: 12px;
}

.single-product .cart .quantity input {
    width: 80px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 15px;
    border: 1.5px solid #dde3df;
    border-radius: 8px;
    padding: 8px;
    background: #f9fbfa;
}

.single-product .cart .quantity input:focus {
    outline: none;
    border-color: var(--color-brand);
    box-shadow: 0 0 0 3px rgba(107, 144, 128, 0.12);
}

/* Related products */
.single-product .related.products {
    margin-top: 32px;
}

.single-product .related.products > h2 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 16px;
}

/* ── WooCommerce General Elements ── */

/* Breadcrumbs */
.woocommerce .woocommerce-breadcrumb {
    font-size: 13px;
    color: var(--color-text-body);
    margin-bottom: 16px;
}

.woocommerce .woocommerce-breadcrumb a {
    color: var(--color-brand);
    font-weight: 600;
}

/* Result count & ordering */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
    font-size: 14px;
    color: var(--color-text-body);
    margin-bottom: 16px;
}

.woocommerce .woocommerce-ordering select {
    font-family: var(--font-body);
    font-size: 14px;
    border: 1.5px solid #dde3df;
    border-radius: 8px;
    padding: 6px 12px;
    background: #f9fbfa;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination {
    margin-top: 24px;
    text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex;
    gap: 4px;
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-body);
    background: var(--color-white);
    border: 1px solid #e8ece9;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: var(--color-bg-light);
    color: var(--color-brand);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--color-brand);
    border-color: var(--color-brand);
    color: #fff;
}

/* Contact Form 7 */
.wpcf7-form {
    max-width: 600px;
}

.wpcf7-form p {
    margin-bottom: 1.25rem;
}

.wpcf7-form label {
    display: block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    color: var(--color-text);
    margin-bottom: 0.4rem;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    color: var(--color-text);
    background: var(--color-white);
    border: 2px solid #d1ddd3;
    border-radius: 12px;
    padding: 10px 16px;
    transition: border-color 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form input[type="number"]:focus,
.wpcf7-form input[type="date"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    outline: none;
    border-color: var(--color-brand);
    box-shadow: 0 0 0 3px rgba(107, 144, 128, 0.15);
}

.wpcf7-form textarea {
    min-height: 140px;
    resize: vertical;
}

.wpcf7-form input[type="submit"] {
    margin-top: 0.5rem;
}

.wpcf7-form .wpcf7-not-valid {
    border-color: #e25c5c;
}

.wpcf7-form .wpcf7-not-valid-tip {
    font-family: var(--font-body);
    font-size: 13px;
    color: #e25c5c;
    margin-top: 0.3rem;
}

.wpcf7-form .wpcf7-response-output {
    font-family: var(--font-body);
    font-size: 14px;
    border-radius: 12px;
    padding: 12px 18px;
    margin: 1.5rem 0 0;
}

.wpcf7-form .wpcf7-mail-sent-ok {
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
    background: rgba(119, 170, 124, 0.08);
}

.wpcf7-form .wpcf7-acceptance-missig,
.wpcf7-form .wpcf7-validation-errors {
    border-color: #e25c5c;
    color: #c94444;
    background: rgba(226, 92, 92, 0.06);
}

/* Responsive */
@media (max-width: 768px) {
    .site-header-inner {
        padding: 0.5rem 1rem;
    }

    .site-logo img,
    .custom-logo {
        width: 100px;
        height: auto;
        display: block;
    }

    .menu-toggle {
        display: flex;
    }

    /* Push menu from right */
    .site-nav {
        position: fixed;
        top: 0;
        right: -220px;
        width: 220px;
        height: 100%;
        background: rgba(45, 45, 45, 0.98);
        z-index: 20;
        padding: 5rem 1.5rem 2rem;
        overflow-y: auto;
        transition: right 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .nav-open .site-nav {
        right: 0;
    }

    .nav-open .site-page-wrap {
        left: -220px;
    }

    .mobile-overlay {
        display: block;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    .site-nav a {
        font-family: var(--font-body);
        color: var(--color-white);
        font-weight: 400;
        font-size: 16px;
        padding: 0.75rem 0;
        display: inline-block;
        border-bottom: 2px solid transparent;
        padding-bottom: 1px;
    }

    .site-nav a:hover,
    .site-nav .current-menu-item a {
        color: var(--color-white);
        border-bottom-color: var(--color-white);
    }

    .wp-block-button__link,
    a.button,
    button.button,
    input[type="submit"] {
        padding: 10px 20px;
        font-size: 12px;
    }

    .wpcf7-form input[type="text"],
    .wpcf7-form input[type="email"],
    .wpcf7-form input[type="tel"],
    .wpcf7-form input[type="url"],
    .wpcf7-form input[type="number"],
    .wpcf7-form input[type="date"],
    .wpcf7-form textarea,
    .wpcf7-form select {
        font-size: 16px; /* prevents iOS zoom on focus */
        padding: 10px 14px;
    }

    /* Checkout responsive */
    .woocommerce-checkout .woocommerce {
        padding: 1.5em 1rem;
    }

    .woocommerce-checkout form.woocommerce-checkout {
        padding: 24px 20px;
        border-radius: 14px;
    }

    .woocommerce-checkout #customer_details {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .woocommerce-checkout .form-row-first,
    .woocommerce-checkout .form-row-last {
        width: 100% !important;
        display: block;
        margin-right: 0;
    }

    .woocommerce-checkout input[type="text"],
    .woocommerce-checkout input[type="email"],
    .woocommerce-checkout input[type="tel"],
    .woocommerce-checkout input[type="password"],
    .woocommerce-checkout textarea,
    .woocommerce-checkout select {
        font-size: 16px; /* prevent iOS zoom */
    }

    .woocommerce-checkout #payment {
        padding: 16px;
    }

    .woocommerce-checkout h3,
    .woocommerce-checkout #order_review_heading {
        font-size: 1.25em;
    }

    /* Block checkout responsive */
    .woocommerce-checkout article,
    .woocommerce-cart article {
        padding: 1.5em 1rem;
    }

    .wc-block-checkout.wc-block-components-sidebar-layout,
    .wc-block-cart.wc-block-components-sidebar-layout {
        padding: 24px 20px;
        border-radius: 14px;
    }

    .wc-block-components-text-input input,
    .wc-block-components-text-input textarea,
    .wc-blocks-components-select__select {
        font-size: 16px !important; /* prevent iOS zoom */
    }

    .wc-block-components-checkout-step__title {
        font-size: 1.15em;
    }

    /* Order received responsive */
    .woocommerce-order-received .woocommerce-order {
        padding: 24px 20px;
        border-radius: 14px;
    }

    .woocommerce-order-received .woocommerce-thankyou-order-received {
        font-size: 1.3em;
    }

    .woocommerce-order-received .woocommerce-order-overview {
        grid-template-columns: 1fr 1fr;
    }

    .woocommerce-order-received .woocommerce-columns--addresses {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Account responsive */
    .woocommerce-account .woocommerce form.woocommerce-form-login,
    .woocommerce-account .woocommerce form.woocommerce-form-register {
        padding: 24px 20px;
        border-radius: 14px;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 24px 20px;
        border-radius: 14px;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        gap: 4px;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul li a {
        font-size: 13px;
        padding: 6px 14px;
    }

    .woocommerce-account .woocommerce-Addresses {
        grid-template-columns: 1fr;
    }

    .woocommerce-account .woocommerce form input[type="text"],
    .woocommerce-account .woocommerce form input[type="email"],
    .woocommerce-account .woocommerce form input[type="tel"],
    .woocommerce-account .woocommerce form input[type="password"] {
        font-size: 16px;
    }

    /* Single product responsive */
    .single-product .product {
        padding: 24px 20px;
        border-radius: 14px;
    }

    .single-product .product .product_title {
        font-size: 1.6em;
    }

    .single-product .product .price {
        font-size: 1.2em;
    }

    /* Contained blocks — tighter padding on mobile */
    article > p,
    article > h1,
    article > h2,
    article > h3,
    article > h4,
    article > h5,
    article > h6,
    article > ul,
    article > ol,
    article > .wp-block-list,
    article > .wp-block-image,
    article > .wp-block-quote,
    article > blockquote,
    article > .wp-block-table,
    article > .wp-block-button,
    article > .wp-block-buttons {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
