:root {
    --rental-primary: #333;
    --rental-primary-light: #555;
    --rental-primary-dark: #000;
    --rental-secondary: #666;
    --rental-accent: #333;
    --rental-border: #ddd;
    --rental-border-light: #eee;
    --rental-bg: #fff;
    --rental-bg-light: #f9f9f9;
    --rental-bg-card: transparent;
    --rental-text: #222;
    --rental-text-muted: #666;
    --rental-text-secondary: #444;
    --rental-success: #2e7d32;
    --rental-error: #c62828;
    --rental-warning: #f57c00;
    --rental-shadow: rgba(0, 0, 0, 0.08);
    --rental-gradient: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
    --rental-gradient-accent: linear-gradient(135deg, #f9f9f9 0%, #fff 100%);
}

.costume-rental {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.elementor-widget-woocommerce-product-content .costume-rental,
.elementor-widget-theme-post-content .costume-rental,
.elementor-widget-shortcode .costume-rental,
.elementor .costume-rental {
    display: block !important;
    width: 100%;
}

.elementor-widget-woocommerce-product-content .costume-rental__configurator,
.elementor-widget-theme-post-content .costume-rental__configurator,
.elementor-widget-shortcode .costume-rental__configurator,
.elementor .costume-rental__configurator {
    display: flex !important;
    flex-direction: column;
    gap: 20px;
    position: relative;
    width: 100%;
}

.elementor .product.rental-product .summary .price,
.elementor .product.rental-product .summary form.cart:not(.costume-rental__form),
.elementor .product.rental-product .woocommerce-product-details__short-description,
.elementor-widget-woocommerce-product-price .rental-product-price-hidden,
.elementor-widget-woocommerce-product-add-to-cart .rental-product-cart-hidden {
    display: none !important;
}

body.is-rental-product .elementor-widget-woocommerce-product-price,
body.is-rental-product .elementor-widget-woocommerce-product-add-to-cart form.cart:not(.costume-rental__form),
body.is-rental-product .elementor-add-to-cart:not(:has(.costume-rental__form)) {
    display: none !important;
}

body.is-rental-product .elementor-widget-woocommerce-product-add-to-cart .elementor-add-to-cart > form.cart:not(.costume-rental__form) {
    display: none !important;
}

body.is-rental-product .elementor-widget-woocommerce-product-add-to-cart .costume-rental__configurator {
    display: flex !important;
}

.woocommerce ul.products,
.woocommerce-page ul.products,
body ul.products.columns-4,
body ul.products.columns-3,
body ul.products.columns-2,
ul.products[class*="columns-"] {
    display: grid !important;
    gap: 30px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 30px 0 !important;
    width: 100% !important;
    clear: both !important;
}

.woocommerce ul.products.columns-1,
.woocommerce-page ul.products.columns-1,
ul.products.columns-1 {
    grid-template-columns: 1fr !important;
}

.woocommerce ul.products.columns-2,
.woocommerce-page ul.products.columns-2,
ul.products.columns-2 {
    grid-template-columns: repeat(2, 1fr) !important;
}

.woocommerce ul.products.columns-3,
.woocommerce-page ul.products.columns-3,
ul.products.columns-3 {
    grid-template-columns: repeat(3, 1fr) !important;
}

.woocommerce ul.products.columns-4,
.woocommerce-page ul.products.columns-4,
ul.products.columns-4 {
    grid-template-columns: repeat(4, 1fr) !important;
}

.woocommerce ul.products.columns-5,
.woocommerce-page ul.products.columns-5,
ul.products.columns-5 {
    grid-template-columns: repeat(5, 1fr) !important;
}

.woocommerce ul.products.columns-6,
.woocommerce-page ul.products.columns-6,
ul.products.columns-6 {
    grid-template-columns: repeat(6, 1fr) !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
ul.products li.product {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    clear: none !important;
}

.woocommerce ul.products li.product a img,
ul.products li.product a img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product h2 {
    margin-top: 12px;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
}

.woocommerce ul.products li.product .price,
ul.products li.product .price {
    display: block;
    margin-bottom: 12px;
}

.woocommerce ul.products li.product .button,
ul.products li.product .button {
    margin-top: auto;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
ul.products::before,
ul.products::after {
    content: none !important;
    display: none !important;
}

.woocommerce ul.products li.product.first,
.woocommerce ul.products li.product.last,
ul.products li.product.first,
ul.products li.product.last {
    clear: none !important;
}

@media (max-width: 1200px) {
    .woocommerce ul.products.columns-5,
    .woocommerce ul.products.columns-6,
    ul.products.columns-5,
    ul.products.columns-6 {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 992px) {
    .woocommerce ul.products.columns-4,
    .woocommerce ul.products.columns-5,
    .woocommerce ul.products.columns-6,
    ul.products.columns-4,
    ul.products.columns-5,
    ul.products.columns-6 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .woocommerce ul.products.columns-3,
    .woocommerce ul.products.columns-4,
    .woocommerce ul.products.columns-5,
    .woocommerce ul.products.columns-6,
    ul.products.columns-3,
    ul.products.columns-4,
    ul.products.columns-5,
    ul.products.columns-6 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .woocommerce ul.products,
    ul.products {
        gap: 20px !important;
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products.columns-2,
    .woocommerce ul.products.columns-3,
    .woocommerce ul.products.columns-4,
    .woocommerce ul.products.columns-5,
    .woocommerce ul.products.columns-6,
    ul.products.columns-2,
    ul.products.columns-3,
    ul.products.columns-4,
    ul.products.columns-5,
    ul.products.columns-6 {
        grid-template-columns: 1fr !important;
    }
    
    .woocommerce ul.products,
    ul.products {
        gap: 24px !important;
    }
}

.costume-rental__gallery {
    position: relative;
}

.costume-rental__configurator {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

.costume-rental__mode-toggle {
    display: flex;
    gap: 12px;
    padding: 6px;
    background: var(--rental-bg-light);
    border-radius: 12px;
    border: 1px solid var(--rental-border);
}

.costume-rental__mode-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    background: transparent;
    border: 1px solid transparent;
}

.costume-rental__mode-option input[type="radio"] {
    display: none;
}

.costume-rental__mode-option:hover {
    background: var(--rental-bg);
}

.costume-rental__mode-option--active {
    background: var(--rental-bg) !important;
    border-color: #0B6A68 !important;
    box-shadow: 0 2px 8px rgba(11, 106, 104, 0.15);
}

.costume-rental__mode-option--active .costume-rental__mode-text {
    color: #0B6A68;
    font-weight: 600;
}

.costume-rental__mode-option--active .costume-rental__mode-icon {
    color: #0B6A68;
}

.costume-rental__mode-option--disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.costume-rental__mode-option--disabled:hover {
    background: transparent;
}

.costume-rental__mode-option--disabled .costume-rental__mode-text {
    color: var(--rental-text-muted);
}

.costume-rental__mode-icon {
    color: var(--rental-text-muted);
    transition: color 0.25s ease;
}

.costume-rental__mode-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--rental-text);
    transition: all 0.25s ease;
}

.costume-rental__price-display {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.costume-rental__price-display--buy {
    display: none;
}

.costume-rental__sell-price-value {
    font-size: 28px;
    font-weight: 700;
    color: #0B6A68;
}

.costume-rental__add-to-cart-hint--buy {
    display: none;
}

.costume-rental__title {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--rental-text);
    letter-spacing: -0.5px;
}

.costume-rental__price-info {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--rental-border);
}

.costume-rental__price-range,
.costume-rental__regular-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.costume-rental__price-range-label,
.costume-rental__regular-price-label {
    font-size: 13px;
    color: var(--rental-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.costume-rental__price-range-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--rental-text);
}

.costume-rental__regular-price-value {
    font-size: 16px;
    font-weight: 500;
    color: var(--rental-text-muted);
}

.costume-rental__price-separator {
    font-size: 20px;
    color: var(--rental-border-light);
    margin: 0 4px;
}

.costume-rental__price {
    font-size: 24px;
    font-weight: 700;
    color: var(--rental-text);
}

.costume-rental__price-suffix {
    font-size: 13px;
    font-weight: 400;
    color: var(--rental-text-muted);
}

.costume-rental__section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 10px;
}

.costume-rental__size-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.costume-rental__size-chart-link {
    font-size: 12px;
    color: var(--rental-text-secondary);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
    border-bottom: 1px dashed var(--rental-text-muted);
    padding-bottom: 2px;
}

.costume-rental__size-chart-link:hover {
    color: var(--rental-text);
    border-bottom-color: var(--rental-text);
}

.costume-rental__label {
    font-size: 12px;
    font-weight: 600;
    color: #000;
    text-transform: uppercase;
    font-weight: bold;
}

.costume-rental__size-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.costume-rental__select {
    flex: 1;
    padding: 14px 16px;
    font-size: 15px;
    border: 1px solid var(--rental-border);
    border-radius: 8px;
    background-color: var(--rental-bg);
    color: var(--rental-text);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    transition: all 0.2s ease;
}

.costume-rental__select:focus {
    outline: none;
    border-color: #0B6A68;
    background-color: var(--rental-bg-light);
}

.costume-rental__select.costume-rental__select--selected,
.costume-rental__select:not([value=""]):valid {
    border-color: #0B6A68;
    background-color: rgba(11, 106, 104, 0.05);
}

.costume-rental__select:disabled {
    background-color: var(--rental-bg);
    cursor: not-allowed;
    opacity: 0.5;
}

.costume-rental__periods {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.costume-rental__period {
    position: relative;
    flex: 1;
    min-width: calc(50% - 5px);
}

.costume-rental__period-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.costume-rental__period-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 20px;
    border: 1px solid var(--rental-border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    background: var(--rental-bg);
    min-width: 100%;
    box-sizing: border-box;
}

.costume-rental__period-label:hover {
    border-color: var(--rental-border-light);
    background: var(--rental-bg-light);
}

.costume-rental__period-input:checked + .costume-rental__period-label {
    border-color: #0B6A68 !important;
    border-width: 1px !important;
    background-color: rgba(11, 106, 104, 0.08) !important;
    box-shadow: 0 4px 16px var(--rental-shadow);
}

.costume-rental__period-input:checked + .costume-rental__period-label .costume-rental__period-days {
    color: #0B6A68 !important;
}

.costume-rental__period-input:checked + .costume-rental__period-label .costume-rental__period-price {
    color: #0B6A68 !important;
}

.costume-rental__period-days {
    font-size: 16px;
    font-weight: 600;
    color: var(--rental-text);
}

.costume-rental__period-price {
    font-size: 13px;
    color: var(--rental-text-muted);
    margin-top: 4px;
}

.costume-rental__period--fitting .costume-rental__period-label {
    background-color: var(--rental-bg);
    border-style: dashed;
}

.costume-rental__period--fitting .costume-rental__period-input:checked + .costume-rental__period-label {
    background-color: rgba(11, 106, 104, 0.08) !important;
    border-style: solid;
    border-color: #0B6A68 !important;
    border-width: 1px !important;
}

.costume-rental__section--fitting {
    margin-top: 8px;
}

.costume-rental__section--fitting .costume-rental__label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.costume-rental__fitting-price-label {
    font-weight: 400;
    color: var(--rental-text-muted);
    text-transform: none;
}

.costume-rental__fitting-date-picker {
    margin-top: 8px;
}

.costume-rental__fitting {
    background: var(--rental-bg-light);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid var(--rental-border);
}

.costume-rental__fitting-info {
    font-size: 14px;
    color: var(--rental-text-muted);
    margin-bottom: 12px;
}

.costume-rental__fitting-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.costume-rental__fitting-input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--rental-text);
}

.costume-rental__fitting-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--rental-text);
}

.costume-rental__fitting-price {
    color: var(--rental-text-muted);
    font-weight: 400;
}

.costume-rental__fitting-dates {
    margin-top: 12px;
    padding: 12px;
    background: var(--rental-bg);
    border-radius: 6px;
    border: 1px solid var(--rental-border);
}

.costume-rental__fitting-dates-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--rental-success);
}

.costume-rental__date-picker {
    position: relative;
}

.costume-rental__date-input {
    width: 100%;
    padding: 14px 50px 14px 16px;
    font-size: 15px;
    border: 1px solid var(--rental-border);
    border-radius: 8px;
    background-color: var(--rental-bg);
    color: var(--rental-text);
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.costume-rental__date-input:focus {
    outline: none;
    border-color: var(--rental-text-muted);
}

.costume-rental__date-input::placeholder {
    color: var(--rental-text-muted);
}

.costume-rental__date-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--rental-text-muted);
}

.costume-rental__calendar-inline {
    margin-top: 8px;
}

.costume-rental__calendar-inline .flatpickr-calendar {
    box-shadow: none;
    border: 1px solid var(--rental-border);
    width: 100%;
    max-width: 100%;
}

.costume-rental__calendar-inline .flatpickr-innerContainer {
    width: 100%;
}

.costume-rental__calendar-inline .flatpickr-days {
    width: 100%;
}

.costume-rental__calendar-inline .dayContainer {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
}

.costume-rental__date-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--rental-text);
    background-color: var(--rental-bg);
    border: 1px solid var(--rental-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.costume-rental__date-btn:hover {
    border-color: var(--rental-text-muted);
    background: var(--rental-bg-light);
}

.costume-rental__date-btn--selected {
    border-color: var(--rental-text);
    background: var(--rental-gradient);
}

.costume-rental__date-btn-icon {
    width: 20px;
    height: 20px;
}

.costume-rental__date-display {
    display: none;
    padding: 14px 16px;
    background: var(--rental-bg);
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--rental-border);
    margin-top: 8px;
}

.costume-rental__date-display--visible {
    display: block;
    background-color: rgba(11, 106, 104, 0.08) !important;
    border: 1px solid #0B6A68 !important;
}

.costume-rental__date-display--visible .costume-rental__date-range {
    color: #0B6A68 !important;
}

.costume-rental__date-range {
    font-size: 15px;
    font-weight: 500;
    color: var(--rental-text);
}

.costume-rental__add-to-cart {
    width: 100%;
    padding: 18px 24px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--rental-primary);
    background-color: #0B6A68;
    color: #FFF;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.costume-rental__add-to-cart:hover {
    background-color: #095352;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.costume-rental__add-to-cart:disabled {
    background-color: var(--rental-border);
    color: var(--rental-text-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.costume-rental__add-to-cart--loading {
    position: relative;
    color: transparent;
}

.costume-rental__add-to-cart--loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 1px solid var(--rental-primary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: costume-rental-spin 0.8s linear infinite;
}

@keyframes costume-rental-spin {
    to {
        transform: rotate(360deg);
    }
}

.costume-rental__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid var(--rental-border);
}

.costume-rental__total-label {
    font-size: 14px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.costume-rental__total-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--rental-text);
}

.costume-rental__accordion {
    border-top: 1px solid var(--rental-border);
    margin-top: 20px;
}

.costume-rental__accordion-item {
    border-bottom: 1px solid var(--rental-border);
}

.costume-rental__accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 16px 0;
    font-weight: bold;
    font-size: 12px;
    text-align: left;
    color: #000;
    background: none;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.costume-rental__accordion-header:hover {
    color: var(--rental-text-secondary);
}

.costume-rental__accordion-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
    color: var(--rental-text-muted);
}

.costume-rental__accordion-item--open .costume-rental__accordion-icon {
    transform: rotate(180deg);
}

.costume-rental__accordion-content {
    display: none;
    padding: 0 0 16px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--rental-text-muted);
}

.costume-rental__accordion-item--open .costume-rental__accordion-content {
    display: block;
}

.costume-rental__message {
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    display: none;
    margin-top: 10px;
}

.costume-rental__message--visible {
    display: block;
}

.costume-rental__message--success {
    background-color: rgba(76, 175, 80, 0.15);
    color: var(--rental-success);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.costume-rental__message--error {
    background-color: rgba(239, 83, 80, 0.15);
    color: var(--rental-error);
    border: 1px solid rgba(239, 83, 80, 0.3);
}

.costume-rental-deposit-linked {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 14px;
    cursor: help;
    opacity: 0.6;
}

.costume-rental-deposit-linked {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 16px;
    font-weight: bold;
    cursor: not-allowed;
    opacity: 0.4;
}

.costume-rental-deposit-item .product-thumbnail img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.costume-rental-cart__quantity {
    font-weight: 600;
    color: var(--rental-text);
    display: inline-block;
    padding: 4px 12px;
    background: var(--rental-bg-light, #f5f5f5);
    border-radius: 4px;
}

.costume-rental-deposit-item .quantity input,
.costume-rental-deposit-item .quantity .qty,
.costume-rental-deposit-item .wc-block-components-quantity-selector,
.costume-rental-product-item .quantity input,
.costume-rental-product-item .quantity .qty,
.costume-rental-product-item .wc-block-components-quantity-selector {
    display: none !important;
}

.costume-rental-deposit-item .wc-block-components-quantity-selector,
.costume-rental-product-item .wc-block-components-quantity-selector,
[data-deposit-item="true"] .wc-block-components-quantity-selector,
[data-rental-item="true"] .wc-block-components-quantity-selector {
    display: none !important;
}

.costume-rental-deposit-item .wc-block-cart-item__remove-link,
.costume-rental-product-item .wc-block-cart-item__remove-link,
[data-deposit-item="true"] .wc-block-cart-item__remove-link,
[data-rental-item="true"] .wc-block-cart-item__remove-link {
    display: inline-block !important;
    visibility: visible !important;
}

.costume-rental-deposit-item .product-name .variation,
.costume-rental-deposit-item .product-name small,
.costume-rental-deposit-item .product-name .woocommerce-product-attributes,
.costume-rental-deposit-item .product-description,
.costume-rental-deposit-item .wc-item-meta,
.costume-rental-deposit-item .product-short-description {
    display: none !important;
}

.costume-rental-deposit-item .wc-block-components-product-metadata__description,
.costume-rental-deposit-item .wc-block-components-product-details__short-description,
.costume-rental-deposit-item .wc-block-cart-item__description,
tr.costume-rental-deposit-item .wc-block-components-product-metadata__description {
    display: none !important;
}

.costume-rental-deposit-item del,
.costume-rental-deposit-item .price del,
.costume-rental-deposit-item .wc-block-components-product-price del,
.costume-rental-deposit-item .wc-block-components-product-price__regular,
.costume-rental-product-item del,
.costume-rental-product-item .price del,
.costume-rental-product-item .wc-block-components-product-price del,
.costume-rental-product-item .wc-block-components-product-price__regular {
    display: none !important;
}

.costume-rental-deposit-item .onsale,
.costume-rental-deposit-item .wc-block-components-sale-badge,
.costume-rental-deposit-item .wc-block-components-product-badge,
.costume-rental-deposit-item .wc-block-components-totals-discount,
.costume-rental-deposit-item .woocommerce-price-suffix,
.costume-rental-deposit-item .cart-discount,
.costume-rental-deposit-item [class*="savings"],
.costume-rental-deposit-item [class*="discount"],
.costume-rental-product-item .onsale,
.costume-rental-product-item .wc-block-components-sale-badge,
.costume-rental-product-item .wc-block-components-product-badge,
.costume-rental-product-item .wc-block-components-totals-discount,
.costume-rental-product-item .woocommerce-price-suffix,
.costume-rental-product-item .cart-discount,
.costume-rental-product-item [class*="savings"],
.costume-rental-product-item [class*="discount"] {
    display: none !important;
}

.costume-rental-deposit-item ins,
.costume-rental-deposit-item .price ins,
.costume-rental-deposit-item .wc-block-components-product-price ins,
.costume-rental-product-item ins,
.costume-rental-product-item .price ins,
.costume-rental-product-item .wc-block-components-product-price ins {
    text-decoration: none !important;
    font-weight: normal;
    background: none !important;
    color: inherit !important;
}

.costume-rental-deposit-item .wc-block-components-product-price,
.costume-rental-product-item .wc-block-components-product-price,
[data-deposit-item="true"] .wc-block-components-product-price,
[data-rental-item="true"] .wc-block-components-product-price {
    display: flex !important;
    visibility: visible !important;
    align-items: center;
}

.costume-rental-deposit-item .wc-block-components-product-price .wc-block-formatted-money-amount,
.costume-rental-product-item .wc-block-components-product-price .wc-block-formatted-money-amount,
.costume-rental-deposit-item .wc-block-components-product-price .amount,
.costume-rental-product-item .wc-block-components-product-price .amount,
[data-deposit-item="true"] .wc-block-components-product-price .wc-block-formatted-money-amount,
[data-rental-item="true"] .wc-block-components-product-price .wc-block-formatted-money-amount {
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.costume-rental-deposit-item .wc-block-components-product-price del,
.costume-rental-product-item .wc-block-components-product-price del,
.costume-rental-deposit-item .wc-block-components-product-price__regular,
.costume-rental-product-item .wc-block-components-product-price__regular {
    display: none !important;
}

.wc-block-cart__totals-title,
.wc-block-components-totals-wrapper,
.wc-block-components-totals-footer-item,
.wc-block-components-totals-footer-item__value,
.wc-block-components-totals-item,
.wc-block-components-totals-item__value,
.cart_totals,
.cart_totals .shop_table,
.cart-subtotal,
.order-total,
.order-total .amount,
.cart-subtotal .amount {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.wc-block-components-totals-footer-item,
.wc-block-components-totals-item {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
}

.wc-block-components-totals-footer-item .wc-block-formatted-money-amount,
.wc-block-components-totals-item .wc-block-formatted-money-amount,
.wc-block-components-totals-footer-item__value .wc-block-formatted-money-amount {
    display: inline !important;
    visibility: visible !important;
}

.costume-rental__modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.costume-rental__modal--visible {
    display: flex;
}

.costume-rental__modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.costume-rental__modal-content {
    position: relative;
    background-color: #FFF;
    border-radius: 16px;
    max-width: 600px;
    max-height: 90vh;
    overflow: auto;
    padding: 32px;
    z-index: 1;
    border: 1px solid var(--rental-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.costume-rental__modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: var(--rental-bg);
    border: 1px solid var(--rental-border);
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: var(--rental-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.costume-rental__modal-close:hover {
    color: var(--rental-text);
    background: var(--rental-bg-light);
}

.costume-rental__modal-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px;
    padding-right: 40px;
    color: var(--rental-text);
}

.costume-rental__modal-image {
    max-width: 100%;
    height: auto;
}

.costume-rental__calendar-modal .costume-rental__modal-content {
    padding: 24px;
}

.costume-rental__calendar-container {
    margin-top: 16px;
}

.costume-rental__calendar-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    color: var(--rental-text-muted);
    font-size: 14px;
}

.costume-rental__calendar-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.costume-rental__calendar-btn {
    flex: 1;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.costume-rental__calendar-btn--cancel {
    color: var(--rental-text-muted);
    background-color: var(--rental-bg);
    border: 1px solid var(--rental-border);
}

.costume-rental__calendar-btn--cancel:hover {
    background-color: var(--rental-bg-light);
    color: var(--rental-text);
}

.costume-rental__calendar-btn--confirm {
    color: var(--rental-primary);
    background-color: var(--rental-text);
    border: none;
}

.costume-rental__calendar-btn--confirm:hover {
    background-color: #e0e0e0;
}

.costume-rental__calendar-btn--confirm:disabled {
    background-color: var(--rental-border);
    color: var(--rental-text-muted);
    cursor: not-allowed;
}

.costume-rental__cart-quantity {
    font-weight: 600;
    color: var(--rental-text);
}

.costume-rental__calendar {
    width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.costume-rental__calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--rental-bg-light);
    border-bottom: 1px solid var(--rental-border);
}

.costume-rental__calendar-month-year {
    font-size: 18px;
    font-weight: 600;
    color: var(--rental-text);
}

.costume-rental__calendar-nav {
    width: 36px;
    height: 36px;
    border: 1px solid var(--rental-border);
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--rental-text);
    transition: all 0.2s ease;
}

.costume-rental__calendar-nav:hover {
    background: var(--rental-primary);
    color: #fff;
    border-color: var(--rental-primary);
}

.costume-rental__calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: var(--rental-bg-light);
    border-bottom: 1px solid var(--rental-border);
}

.costume-rental__calendar-weekday {
    padding: 12px 4px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--rental-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.costume-rental__calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    padding: 12px;
}

.costume-rental__calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--rental-text);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
}

.costume-rental__calendar-day:hover:not(.costume-rental__calendar-day--disabled):not(.costume-rental__calendar-day--unavailable):not(.costume-rental__calendar-day--empty) {
    background: var(--rental-border);
}

.costume-rental__calendar-day--empty {
    cursor: default;
}

.costume-rental__calendar-day--today {
    border: 2px solid var(--rental-primary);
    font-weight: 700;
}

.costume-rental__calendar-day--weekend {
    color: var(--rental-text-muted);
}

.costume-rental__calendar-day--available {
    background: rgba(76, 175, 80, 0.1);
}

.costume-rental__calendar-day--disabled {
    color: var(--rental-text-muted);
    opacity: 0.4;
    cursor: not-allowed;
}

.costume-rental__calendar-day--unavailable {
    background: rgba(198, 40, 40, 0.25) !important;
    color: var(--rental-error) !important;
    text-decoration: line-through;
    cursor: not-allowed;
    position: relative;
}

.costume-rental__calendar-day--unavailable::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 2px;
    background-color: var(--rental-error);
    opacity: 0.6;
}

.costume-rental__calendar-day.costume-rental__calendar-day--temporary {
    background: rgba(158, 158, 158, 0.45) !important;
    color: #555 !important;
    position: relative;
    cursor: not-allowed;
    border: 1px dashed #999;
}

.costume-rental__calendar-day.costume-rental__calendar-day--temporary::before {
    content: '⏳';
    position: absolute;
    top: 1px;
    right: 2px;
    font-size: 9px;
    opacity: 0.8;
}

.costume-rental__calendar-day.costume-rental__calendar-day--temporary:hover {
    background: rgba(158, 158, 158, 0.45) !important;
    cursor: not-allowed;
}

.costume-rental__calendar-day--selected {
    background: var(--rental-primary) !important;
    color: #fff !important;
    border-radius: 0 !important;
}

.costume-rental__calendar-day--selected-start {
    border-radius: 8px 0 0 8px !important;
}

.costume-rental__calendar-day--selected-end {
    border-radius: 0 8px 8px 0 !important;
}

.costume-rental__calendar-day--selected-start.costume-rental__calendar-day--selected-end {
    border-radius: 8px !important;
}

.costume-rental__calendar-day--in-range {
    background: var(--rental-primary) !important;
    color: #fff !important;
    border-radius: 0 !important;
}

.costume-rental__calendar-day--range-start {
    border-radius: 8px 0 0 8px !important;
}

.costume-rental__calendar-day--range-end {
    border-radius: 0 8px 8px 0 !important;
}

.costume-rental__calendar-day--range-start.costume-rental__calendar-day--range-end {
    border-radius: 8px !important;
}

.costume-rental__calendar-day--range-unavailable {
    background: rgba(198, 40, 40, 0.3) !important;
    color: var(--rental-error) !important;
}

.costume-rental__calendar-container {
    width: 100%;
}

.costume-rental__calendar-container .flatpickr-calendar {
    font-family: inherit;
    box-shadow: none;
    border-radius: 12px;
    border: none;
    background: #fff;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
}

.costume-rental__calendar-container .flatpickr-calendar.inline {
    box-shadow: none;
    width: 100% !important;
    max-width: 100% !important;
}

.costume-rental__calendar-container .flatpickr-innerContainer {
    width: 100% !important;
}

.costume-rental__calendar-container .flatpickr-rContainer {
    width: 100% !important;
}

.costume-rental__calendar-container .flatpickr-months {
    padding: 8px 0;
}

.costume-rental__calendar-container .flatpickr-current-month {
    color: var(--rental-text);
    font-weight: 600;
    font-size: 16px;
}

.costume-rental__calendar-container .flatpickr-monthDropdown-months,
.costume-rental__calendar-container .numInputWrapper input {
    color: var(--rental-text);
    font-weight: 600;
}

.costume-rental__calendar-container .flatpickr-prev-month,
.costume-rental__calendar-container .flatpickr-next-month {
    fill: var(--rental-text);
    padding: 8px;
}

.costume-rental__calendar-container .flatpickr-prev-month:hover,
.costume-rental__calendar-container .flatpickr-next-month:hover {
    background: var(--rental-border);
    border-radius: 50%;
}

.costume-rental__calendar-container .flatpickr-prev-month:hover svg,
.costume-rental__calendar-container .flatpickr-next-month:hover svg {
    fill: var(--rental-text);
}

.costume-rental__calendar-container .flatpickr-weekdays {
    background: transparent;
}

.costume-rental__calendar-container span.flatpickr-weekday {
    color: var(--rental-text-muted);
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
    background: transparent;
}

.costume-rental__calendar-container .flatpickr-days {
    width: 100% !important;
}

.costume-rental__calendar-container .dayContainer {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0;
}

.costume-rental__calendar-container .flatpickr-day {
    color: var(--rental-text);
    background: transparent;
    border: none;
    border-radius: 8px;
    transition: all 0.15s ease;
    flex: 0 0 14.28%;
    max-width: 14.28%;
    height: 44px;
    line-height: 44px;
    font-size: 14px;
    margin: 0;
    cursor: pointer;
}

.costume-rental__calendar-container .flatpickr-day:hover {
    background: transparent;
    border-color: transparent;
}

.costume-rental__calendar-container .flatpickr-day.selected {
    background: transparent;
    color: var(--rental-text);
    border-color: transparent;
    box-shadow: none;
}

.costume-rental__calendar-container .flatpickr-day.flatpickr-disabled {
    color: var(--rental-text-muted);
    opacity: 0.4;
    pointer-events: none;
}

.costume-rental__calendar-container .flatpickr-day.today {
    border: 1px solid var(--rental-primary);
    background: transparent;
}

.costume-rental__calendar-container .flatpickr-day.today:hover {
    background: var(--rental-border);
}

.costume-rental__calendar-container .flatpickr-day.prevMonthDay,
.costume-rental__calendar-container .flatpickr-day.nextMonthDay {
    color: var(--rental-text-muted);
    opacity: 0.5;
}

.costume-rental__calendar-container .flatpickr-day.costume-rental__day--unavailable {
    color: var(--rental-error) !important;
    text-decoration: line-through;
    opacity: 0.5;
}

.costume-rental__calendar-container .flatpickr-day.costume-rental__day--today {
    border: 1px solid var(--rental-primary);
}

.costume-rental__calendar-container .flatpickr-day.costume-rental__day--hover-range {
    background: var(--rental-primary) !important;
    color: #fff !important;
    border-radius: 0 !important;
}

.costume-rental__calendar-container .flatpickr-day.costume-rental__day--hover-start {
    border-radius: 8px 0 0 8px !important;
    background: var(--rental-primary) !important;
    color: #fff !important;
}

.costume-rental__calendar-container .flatpickr-day.costume-rental__day--hover-end {
    border-radius: 0 8px 8px 0 !important;
    background: var(--rental-primary) !important;
    color: #fff !important;
}

.costume-rental__calendar-container .flatpickr-day.costume-rental__day--hover-start.costume-rental__day--hover-end {
    border-radius: 8px !important;
}

.costume-rental__calendar-container .flatpickr-day.costume-rental__day--old-selected {
    background: rgba(51, 51, 51, 0.15) !important;
    color: var(--rental-text) !important;
    border-radius: 0 !important;
}

.costume-rental__calendar-container .flatpickr-day.costume-rental__day--old-range-start {
    border-radius: 8px 0 0 8px !important;
    background: rgba(51, 51, 51, 0.2) !important;
}

.costume-rental__calendar-container .flatpickr-day.costume-rental__day--old-range-end {
    border-radius: 0 8px 8px 0 !important;
    background: rgba(51, 51, 51, 0.2) !important;
}

.costume-rental__calendar-container .flatpickr-day.costume-rental__day--old-range-start.costume-rental__day--old-range-end {
    border-radius: 8px !important;
}

.costume-rental__calendar-container .flatpickr-day.costume-rental__day--selected-range {
    background: var(--rental-primary) !important;
    color: #fff !important;
    border-radius: 0 !important;
}

.costume-rental__calendar-container .flatpickr-day.costume-rental__day--selected-range.costume-rental__day--range-start {
    border-radius: 8px 0 0 8px !important;
}

.costume-rental__calendar-container .flatpickr-day.costume-rental__day--selected-range.costume-rental__day--range-end {
    border-radius: 0 8px 8px 0 !important;
}

.costume-rental__calendar-container .flatpickr-day.costume-rental__day--selected-range.costume-rental__day--range-start.costume-rental__day--range-end {
    border-radius: 8px !important;
}

.costume-rental__calendar-container .flatpickr-day.costume-rental__day--range-unavailable {
    background: rgba(198, 40, 40, 0.2) !important;
    color: var(--rental-error) !important;
}

.costume-rental-admin__settings {
    max-width: 100%;
}

.costume-rental-admin__tabs {
    display: flex;
    gap: 0;
    margin-bottom: 0;
    border-bottom: 1px solid #ccd0d4;
    background: #fff;
}

.costume-rental-admin__tab {
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #50575e;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: -1px;
}

.costume-rental-admin__tab:hover {
    color: #1d2327;
    background: #f6f7f7;
}

.costume-rental-admin__tab--active {
    color: #1d2327;
    border-bottom-color: #1d2327;
    background: #fff;
}

.costume-rental-admin__tab-content {
    display: none;
    padding-top: 24px;
}

.costume-rental-admin__tab-content--active {
    display: block;
}

.costume-rental-admin__section {
    background: #fff;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.costume-rental-admin__section-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
    color: #1d2327;
}

.costume-rental-admin__field {
    margin-bottom: 20px;
}

.costume-rental-admin__field:last-child {
    margin-bottom: 0;
}

.costume-rental-admin__field-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1d2327;
}

.costume-rental-admin__field-input {
    width: 100%;
    max-width: 400px;
    padding: 8px 12px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
}

.costume-rental-admin__field-input--small {
    max-width: 100px;
}

.costume-rental-admin__periods-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.costume-rental-admin__period-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.costume-rental-admin__period-row input {
    padding: 8px 12px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
}

.costume-rental-admin__period-row .costume-rental-admin__period-days {
    width: 80px;
}

.costume-rental-admin__period-row .costume-rental-admin__period-label {
    width: 150px;
}

.costume-rental-admin__remove-period {
    color: #d63638;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 18px;
    padding: 4px 8px;
    transition: opacity 0.2s;
}

.costume-rental-admin__remove-period:hover {
    opacity: 0.7;
}

.costume-rental-admin__add-period {
    margin-top: 12px;
}

.costume-rental-admin__image-preview {
    display: block;
    margin-bottom: 12px;
}

.costume-rental-admin__image-preview img {
    max-width: 200px;
    height: auto;
    border: 1px solid #ddd;
}

.costume-rental-admin__order-header {
    min-width: 180px;
}

.costume-rental-admin__order-data {
    font-size: 12px;
    line-height: 1.8;
}

.costume-rental-admin__translations-table {
    background: #fff;
    border-collapse: collapse;
}

.costume-rental-admin__translations-table th {
    background: #f0f0f1;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid #c3c4c7;
}

.costume-rental-admin__translations-table td {
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f1;
    vertical-align: middle;
}

.costume-rental-admin__translations-table tr:hover td {
    background: #f9f9f9;
}

.costume-rental-admin__translations-table code {
    background: #f0f0f1;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    color: #50575e;
}

.costume-rental-admin__translations-table input.large-text {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
}

.costume-rental-admin__translations-table input.large-text:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: none;
}

/* Accordion admin items */
.costume-rental-admin__accordion-list {
    margin-bottom: 16px;
}

.costume-rental-admin__accordion-item {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    margin-bottom: 12px;
}

.costume-rental-admin__accordion-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f0f0f1;
    cursor: pointer;
    border-radius: 3px 3px 0 0;
}

.costume-rental-admin__accordion-item-title {
    font-weight: 600;
    color: #1d2327;
}

.costume-rental-admin__accordion-item-actions {
    display: flex;
    gap: 8px;
}

.costume-rental-admin__accordion-toggle,
.costume-rental-admin__accordion-remove {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #50575e;
    transition: color 0.2s;
}

.costume-rental-admin__accordion-toggle:hover {
    color: #2271b1;
}

.costume-rental-admin__accordion-remove:hover {
    color: #d63638;
}

.costume-rental-admin__accordion-item-content {
    padding: 16px;
    border-top: 1px solid #c3c4c7;
}

.costume-rental-admin__field-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.costume-rental-admin__field-col {
    flex: 1;
}

.costume-rental-admin__field-col .costume-rental-admin__field-label {
    margin-bottom: 6px;
}

.costume-rental-admin__accordion-item-content textarea.large-text {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    resize: vertical;
}

.costume-rental-admin__accordion-item-content textarea.large-text:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: none;
}

.costume-rental-admin__add-accordion {
    margin-top: 8px;
}

.costume-rental__calendar-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    align-items: center;
    justify-content: center;
}

.costume-rental__calendar-modal--visible {
    display: flex;
}

.costume-rental__calendar-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
}

.costume-rental__calendar-modal-content {
    position: relative;
    background-color: #fff;
    border-radius: 16px;
    max-width: 490px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
    z-index: 1;
    border: 1px solid var(--rental-border);
}

.costume-rental__calendar-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--rental-border);
}

.costume-rental__calendar-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--rental-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.costume-rental__calendar-modal-close {
    width: 36px;
    height: 36px;
    border: 1px solid var(--rental-border);
    background: var(--rental-bg);
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: var(--rental-text-muted);
}

.costume-rental__calendar-modal-close:hover {
    background: var(--rental-bg-light);
    color: var(--rental-text);
}

.costume-rental__calendar-modal-body {
    padding: 24px;
    overflow-x: hidden;
}

.costume-rental__calendar-legend {
    display: flex !important;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    padding: 14px 16px;
    background: var(--rental-bg);
    border-radius: 10px;
    border: 1px solid var(--rental-border);
}

.costume-rental__calendar-legend-item {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--rental-text-muted);
}

.costume-rental__calendar-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 4px;
    flex-shrink: 0;
}

.costume-rental__calendar-legend-item--available .costume-rental__calendar-legend-dot {
    background-color: var(--rental-success);
}

.costume-rental__calendar-legend-item--unavailable .costume-rental__calendar-legend-dot {
    background-color: var(--rental-error);
}

.costume-rental__calendar-legend-item--temporary .costume-rental__calendar-legend-dot {
    background-color: #9e9e9e;
    border: 1px dashed #666;
}

.costume-rental__calendar-legend-item--selected .costume-rental__calendar-legend-dot {
    background-color: var(--rental-primary);
}

.costume-rental__calendar-container {
    margin-bottom: 16px;
    overflow: hidden;
}

.costume-rental__calendar-container .pika-single {
    box-shadow: none;
    border: 1px solid var(--rental-border);
    border-radius: 12px;
    width: 100% !important;
    max-width: 100%;
    font-family: inherit;
    background: var(--rental-bg);
}

.costume-rental__calendar-container .pika-title {
    padding: 16px 12px;
    background: var(--rental-bg-light);
    border-radius: 12px 12px 0 0;
}

.costume-rental__calendar-container .pika-label {
    color: var(--rental-text);
    font-size: 15px;
    font-weight: 600;
}

.costume-rental__calendar-container .pika-prev,
.costume-rental__calendar-container .pika-next {
    top: 16px;
}

.costume-rental__calendar-container .pika-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 4px;
    padding: 12px;
}

.costume-rental__calendar-container .pika-table th {
    color: var(--rental-text-muted);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    padding: 8px 0;
}

.costume-rental__calendar-container .pika-table td {
    padding: 0;
}

.costume-rental__calendar-container .pika-button {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 8px;
    font-weight: 500;
    color: var(--rental-text);
    border: none;
    transition: all 0.2s ease;
}

.costume-rental__calendar-container .pika-button:hover {
    background: var(--rental-bg-light);
}

.costume-rental__calendar-container .is-selected .pika-button {
    background: var(--rental-primary);
    color: #fff;
}

.costume-rental__calendar-container .is-disabled .pika-button {
    color: var(--rental-text-muted);
    background: var(--rental-bg-light);
    text-decoration: line-through;
    opacity: 0.5;
}

.costume-rental__calendar-container .costume-rental__day--unavailable {
    background: rgba(198, 40, 40, 0.1) !important;
}

.costume-rental__calendar-container .costume-rental__day--unavailable .pika-button {
    color: var(--rental-error) !important;
    text-decoration: line-through;
}

.costume-rental__calendar-container .costume-rental__day--past {
    opacity: 0.4;
}

.costume-rental__calendar-container .costume-rental__day--today {
    background: rgba(245, 124, 0, 0.15) !important;
}

.costume-rental__calendar-container .costume-rental__day--today .pika-button {
    color: var(--rental-warning) !important;
    font-weight: 700 !important;
    box-shadow: inset 0 0 0 2px var(--rental-warning);
    border-radius: 8px;
}

.costume-rental__calendar-container .costume-rental__day--in-range {
    background: rgba(51, 51, 51, 0.15) !important;
}

.costume-rental__calendar-container .costume-rental__day--in-range .pika-button {
    color: var(--rental-text) !important;
    border-radius: 0 !important;
}

.costume-rental__calendar-container .costume-rental__day--range-start {
    background: var(--rental-primary) !important;
    border-radius: 8px 0 0 8px !important;
}

.costume-rental__calendar-container .costume-rental__day--range-start .pika-button {
    color: #fff !important;
    background: transparent !important;
}

.costume-rental__calendar-container .costume-rental__day--range-end {
    background: var(--rental-primary) !important;
    border-radius: 0 8px 8px 0 !important;
}

.costume-rental__calendar-container .costume-rental__day--range-end .pika-button {
    color: #fff !important;
    background: transparent !important;
}

.costume-rental__calendar-container .costume-rental__day--range-start.costume-rental__day--range-end {
    border-radius: 8px !important;
}

.costume-rental__calendar-container .costume-rental__day--selected-range {
    background: var(--rental-primary) !important;
}

.costume-rental__calendar-container .costume-rental__day--selected-range .pika-button {
    color: #fff !important;
    background: transparent !important;
}

.costume-rental__calendar-container .costume-rental__day--range-unavailable {
    background: rgba(198, 40, 40, 0.2) !important;
}

.costume-rental__calendar-container .costume-rental__day--range-unavailable .pika-button {
    color: var(--rental-error) !important;
}

.costume-rental__calendar-container .costume-rental__day--range-unavailable.costume-rental__day--range-start,
.costume-rental__calendar-container .costume-rental__day--range-unavailable.costume-rental__day--range-end {
    background: var(--rental-error) !important;
}

.costume-rental__calendar-container .costume-rental__day--range-unavailable.costume-rental__day--range-start .pika-button,
.costume-rental__calendar-container .costume-rental__day--range-unavailable.costume-rental__day--range-end .pika-button {
    color: #fff !important;
}

.costume-rental__calendar-info {
    text-align: center;
    padding: 14px 16px;
    border-radius: 8px;
    margin-top: 12px;
    background-color: rgba(11, 106, 104, 0.08) !important;
    border: 1px solid #0B6A68 !important;
}

.costume-rental__calendar-period-info {
    font-size: 14px;
    font-weight: 500;
    color: #0B6A68;
}

.costume-rental__section--fitting-promo {
    margin-top: 8px;
    position: relative;
}

.costume-rental__section--fitting-promo .costume-rental__label {
    display: block;
    color: #000;
    font-size: 12px;
}

.costume-rental__section--fitting-promo .costume-rental__period {
    width: 100%;
}

.costume-rental__section--fitting-promo .costume-rental__period-label {
    width: 100%;
    background: var(--rental-bg);
    border-color: var(--rental-border);
}

.costume-rental__section--fitting-promo .costume-rental__period-input:checked + .costume-rental__period-label {
    background: var(--rental-bg-light);
    border-color: var(--rental-text);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.costume-rental__add-to-cart-hint {
    font-size: 12px;
    color: var(--rental-text-muted);
    text-align: center;
    margin-top: 12px;
    line-height: 1.5;
    margin-bottom: 0;
}

.costume-rental__day--selected-range {
    background: var(--rental-primary) !important;
    color: #fff !important;
}

.costume-rental__deposit {
    display: flex;
    align-items: center;
    gap: 8px;
}

.costume-rental__deposit-label {
    font-size: 13px;
    color: var(--rental-text-muted);
}

.costume-rental__deposit-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--rental-text);
}

@media (max-width: 992px) {
    .costume-rental {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .costume-rental__configurator {
        position: static;
    }
}

@media (max-width: 600px) {
    .costume-rental {
        padding: 15px;
    }

    .costume-rental__title {
        font-size: 22px;
    }

    .costume-rental__price {
        font-size: 20px;
    }

    .costume-rental__size-row {
        flex-direction: column;
        align-items: stretch;
    }

    .costume-rental__size-chart-btn {
        width: 100%;
    }

    .costume-rental__periods {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .costume-rental__period {
        min-width: unset;
    }

    .costume-rental__period-label {
        width: 100%;
    }

    .costume-rental__modal-content {
        margin: 16px;
        padding: 20px;
    }

    .costume-rental__calendar-actions {
        flex-direction: column;
    }

    .costume-rental__calendar-modal-content {
        margin: 10px;
        max-height: 95vh;
    }

    .costume-rental__calendar-legend {
        gap: 10px;
    }

    .costume-rental__calendar-legend-item {
        font-size: 11px;
    }

    .costume-rental__total-price {
        font-size: 24px;
    }
}

.costume-rental-tab {
    padding: 20px 0;
}

.costume-rental-tab h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--rental-text);
    margin: 0 0 16px;
}

.costume-rental-tab__table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.costume-rental-tab__table th,
.costume-rental-tab__table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--rental-border);
}

.costume-rental-tab__table th {
    font-weight: 600;
    color: var(--rental-text);
    background: var(--rental-bg-light);
}

.costume-rental-tab__table td {
    color: var(--rental-text-secondary);
}

.costume-rental-tab__deposit,
.costume-rental-tab__fitting {
    margin: 12px 0;
    padding: 12px 16px;
    background: var(--rental-bg-light);
    border-radius: 8px;
    font-size: 14px;
    color: var(--rental-text);
}

.costume-rental-tab__deposit strong,
.costume-rental-tab__fitting strong {
    color: var(--rental-text);
}

.flatpickr-current-month {
    padding: 0;
}

.dayContainer {
    display: block !important;
}

.flatpickr-day {
    border-radius: 0;
}

.costume-rental__loop-sizes {
    display: block;
    font-size: 13px;
    color: var(--rental-text-muted, #666);
    margin-top: 5px;
    margin-bottom: 5px;
}

.costume-rental__loop-sizes-label {
    font-weight: 600;
    color: var(--rental-text-secondary, #444);
}

.costume-rental__loop-sizes-value {
    font-weight: 400;
}