/* Shablul Architects – frontend styles (Ereco look: gold #c6a47e, dark #343434) */

.shablul-arch-wrap {
    direction: rtl;
    text-align: right;
    margin: 0 auto 60px;
    max-width: 1080px;
    font-size: 15px;
    color: #343434;
}

.shablul-hp {
    position: absolute !important;
    right: -9999px !important;
    height: 1px;
    width: 1px;
    opacity: 0;
}

/* Cards */
.shablul-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 4px;
    padding: 26px 30px;
    margin-bottom: 26px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.shablul-card-title {
    margin: 0 0 8px;
    font-size: 21px;
    font-weight: 700;
    color: #343434;
}
.shablul-card-sub {
    margin: 0 0 18px;
    color: #777;
    font-size: 14px;
    line-height: 1.6;
}
.shablul-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}

/* Notices */
.shablul-notice {
    padding: 14px 18px;
    border-radius: 4px;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.7;
    border: 1px solid transparent;
}
.shablul-notice a { color: #a4835b; text-decoration: underline; }
.shablul-notice-success { background: #f0f9f1; border-color: #cdebD2; color: #1c7c3c; }
.shablul-notice-error   { background: #fdf1f1; border-color: #f2c9c9; color: #b32d2e; }
.shablul-notice-warning { background: #fdf7e8; border-color: #f0dcae; color: #8a6d1a; }
.shablul-notice-info    { background: #eef5fb; border-color: #cadff0; color: #22577a; }

/* Forms */
.shablul-form-card { max-width: 640px; margin: 0 auto; }
.shablul-form-card-narrow { max-width: 440px; }
.shablul-form label {
    display: block;
    margin: 0 0 6px;
    font-weight: 600;
    font-size: 14px;
}
.shablul-form input[type="text"],
.shablul-form input[type="email"],
.shablul-form input[type="tel"],
.shablul-form input[type="password"],
.shablul-form input[type="number"],
.shablul-form select,
.shablul-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #dcdcdc;
    border-radius: 3px;
    background: #fff;
    font-size: 15px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.shablul-form input:focus,
.shablul-form select:focus,
.shablul-form textarea:focus {
    border-color: #c6a47e;
    outline: none;
}
.shablul-form .shablul-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}
.shablul-form .shablul-row-3 .shablul-col { flex: 1; }
.shablul-form .shablul-col { flex: 1; min-width: 0; }
.shablul-form > label,
.shablul-form > .shablul-row { margin-bottom: 16px; }
.shablul-form .shablul-hint {
    margin: 6px 0 0;
    font-size: 12.5px;
    color: #999;
}
.shablul-hint-inline { color: #999; font-weight: 400; font-size: 12.5px; }
.shablul-req { color: #b32d2e; }
.shablul-remember {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-weight: 400 !important;
    margin: 4px 0 18px !important;
    cursor: pointer;
}
.shablul-remember input { width: auto; }

/* Buttons */
.shablul-btn {
    display: inline-block;
    background: #c6a47e;
    color: #fff !important;
    border: none;
    border-radius: 3px;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    margin-top: 8px;
}
.shablul-btn:hover { background: #b28f63; }
.shablul-btn-ghost {
    background: transparent;
    color: #343434 !important;
    border: 1px solid #c6a47e;
    padding: 9px 22px;
    font-weight: 600;
}
.shablul-btn-ghost:hover { background: #f8f2ea; }
.shablul-btn-mini {
    display: inline-block;
    background: #f5f5f5;
    border: 1px solid #ddd;
    color: #343434;
    border-radius: 3px;
    padding: 5px 12px;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
}
.shablul-btn-mini:hover { border-color: #c6a47e; color: #a4835b; }
.shablul-switch {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
    font-size: 14px;
    color: #777;
}
.shablul-switch a { color: #a4835b; font-weight: 600; }

/* Checkboxes */
.shablul-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-bottom: 16px;
}
.shablul-check {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 400 !important;
    cursor: pointer;
    font-size: 14px;
    margin: 0 !important;
}
.shablul-check input { width: auto; }
.shablul-replace-images { margin: 10px 0 16px !important; }

/* Current images */
.shablul-current-images {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}
.shablul-current-image {
    width: 86px;
    text-align: center;
}
.shablul-current-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
}
.shablul-current-image span {
    display: block;
    font-size: 11px;
    color: #999;
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* PDF image rows */
.shablul-pdf-image-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.shablul-pdf-image-row input[type="text"] {
    flex: 1;
    min-width: 160px;
    padding: 9px 12px;
    border: 1px solid #dcdcdc;
    border-radius: 3px;
}
.shablul-remove-image {
    background: none;
    border: none;
    color: #b32d2e;
    font-size: 16px;
    cursor: pointer;
    padding: 4px 8px;
}

/* Dashboard */
.shablul-dash-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 22px;
}
.shablul-dash-title {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
}
.shablul-dash-sub { margin: 4px 0 0; color: #888; font-size: 14px; }

.shablul-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 24px;
}
.shablul-tabs a {
    padding: 10px 22px;
    color: #777;
    text-decoration: none;
    font-weight: 600;
    font-size: 14.5px;
    border-radius: 3px 3px 0 0;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}
.shablul-tabs a:hover { color: #343434; }
.shablul-tabs a.active {
    color: #a4835b;
    border-bottom-color: #c6a47e;
}

/* Stats */
.shablul-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin-bottom: 26px;
}
.shablul-stat {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 4px;
    padding: 18px 16px;
    text-align: center;
}
.shablul-stat-num {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #343434;
    margin-bottom: 6px;
}
.shablul-stat-num .woocommerce-Price-amount { font-size: 20px !important; }
.shablul-stat-label { font-size: 13px; color: #888; }
.shablul-stat-ok .shablul-stat-num { color: #1c7c3c; }
.shablul-stat-wait .shablul-stat-num { color: #c08a00; }

/* Chips */
.shablul-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.shablul-chip {
    background: #f8f2ea;
    border: 1px solid #e8d9c3;
    color: #7a5c33;
    border-radius: 20px;
    padding: 7px 16px;
    font-size: 13px;
}

/* Tables */
.shablul-table-wrap { overflow-x: auto; }
.shablul-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.shablul-table th,
.shablul-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #f0f0f0;
    text-align: right;
    vertical-align: middle;
}
.shablul-table thead th {
    background: #fafafa;
    font-weight: 600;
    color: #555;
    border-bottom: 2px solid #eaeaea;
    white-space: nowrap;
}
.shablul-table img { border-radius: 3px; border: 1px solid #eee; }
.shablul-table .shablul-view {
    display: block;
    font-size: 12.5px;
    color: #a4835b;
    margin-top: 3px;
}
.shablul-table small { color: #999; }
.shablul-noimg {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: #f5f5f5;
    border-radius: 3px;
}
.shablul-actions { white-space: nowrap; }
.shablul-empty { color: #999; padding: 18px 0; }
.shablul-back { margin-bottom: 16px; }
.shablul-back a { color: #a4835b; text-decoration: none; font-weight: 600; }
.shablul-kv th {
    width: 160px;
    background: #fafafa;
    font-weight: 600;
    color: #555;
}

/* Badges */
.shablul-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.shablul-badge-ok   { background: #e5f5ea; color: #1c7c3c; }
.shablul-badge-wait { background: #fdf3dd; color: #996800; }
.shablul-badge-no   { background: #fbeaea; color: #b32d2e; }
.shablul-badge-info { background: #e8f0fb; color: #22577a; }

.shablul-plan-form-card { max-width: 100%; }

/* Field-level validation */
.shablul-field-error {
    color: #b32d2e;
    font-size: 13px;
    font-weight: 600;
    margin: 6px 0 0;
}
.shablul-form input.shablul-input-error,
.shablul-form select.shablul-input-error,
.shablul-form textarea.shablul-input-error {
    border-color: #b32d2e !important;
    background: #fdf6f6;
}
.shablul-form-error-summary ul { margin: 8px 0 0; padding-inline-start: 20px; }
.shablul-form-error-summary li { margin-bottom: 4px; }
.shablul-allowed-hint { color: #8a6d1a; }
.shablul-pdf-image-row .shablul-field-error { width: 100%; }

/* Image rows: main selection + manual ordering */
.shablul-img-rows { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.shablul-img-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    padding: 10px 12px;
    background: #fff;
}
.shablul-img-row.is-main { border-color: #c6a47e; background: #faf6f0; }
.shablul-img-row.shablul-dragging { opacity: 0.45; }
.shablul-img-row.shablul-drag-over { outline: 2px dashed #c6a47e; outline-offset: -2px; }
.shablul-drag-handle { cursor: grab; color: #b9b9b9; font-size: 15px; user-select: none; letter-spacing: -3px; }
.shablul-img-row input[type="radio"] { width: auto; accent-color: #c6a47e; cursor: pointer; }
.shablul-img-row .shablul-row-thumb {
    width: 48px; height: 48px; object-fit: cover;
    border: 1px solid #e5e5e5; border-radius: 3px; flex: none;
}
.shablul-img-row input[type="file"] { flex: 1 1 180px; min-width: 150px; font-size: 13px; }
.shablul-img-row .shablul-row-desc {
    flex: 1 1 140px; min-width: 120px; padding: 8px 12px;
    border: 1px solid #dcdcdc; border-radius: 3px; font-size: 13.5px;
}
.shablul-main-badge { display: none; font-size: 11.5px; font-weight: 700; color: #a4835b; white-space: nowrap; }
.shablul-img-row.is-main .shablul-main-badge { display: inline; }
.shablul-img-row .shablul-move-up,
.shablul-img-row .shablul-move-down,
.shablul-img-row .shablul-remove-image {
    background: none; border: 1px solid #e3e3e3; border-radius: 3px;
    cursor: pointer; padding: 4px 9px; color: #777; font-size: 11px; line-height: 1.4;
}
.shablul-img-row .shablul-remove-image { color: #b32d2e; }
.shablul-img-row .shablul-move-up:hover,
.shablul-img-row .shablul-move-down:hover { border-color: #c6a47e; color: #a4835b; }
.shablul-img-row .shablul-remove-image:hover { border-color: #b32d2e; }

@media (max-width: 768px) {
    .shablul-form .shablul-row { flex-direction: column; gap: 0; }
    .shablul-stats { grid-template-columns: repeat(2, 1fr); }
    .shablul-card { padding: 18px 16px; }
    .shablul-tabs a { padding: 9px 14px; }
}

/* ---- Product page: plan specs tab + category chips under add-to-cart ---- */
.shablul-specs-title {
    font-size: 20px;
    margin: 0 0 14px;
}
.shablul-specs-table {
    width: 100%;
    max-width: 560px;
    border-collapse: collapse;
    direction: rtl;
    text-align: right;
}
.shablul-specs-table th,
.shablul-specs-table td {
    border: 1px solid #e3e3e3;
    padding: 9px 14px;
    text-align: right;
    font-size: 15px;
}
.shablul-specs-table th {
    background: #f7f7f7;
    font-weight: 600;
    white-space: nowrap;
    width: 42%;
}
.shablul-specs-table tr:nth-child(even) td {
    background: #fbfbfb;
}
/* Product-meta extra lines (סיווגים / סוג נכס / נתוני מגרש / נתוני מבנה) */
.shablul-meta-line {
    display: block;
    clear: both;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}
.shablul-meta-line:last-of-type {
    border-bottom: 0;
}
/* ===== v2.9.7: product gallery thumbnails — single row, hidden scrollbar, edge fades ===== */
.product-single .product-image-slider ul.tm-owl-thumbs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 6px;
    margin: 14px 0 0 !important;
    padding: 4px 30px 10px !important; /* side room for the arrow buttons */
    list-style: none;
    scrollbar-width: none; /* Firefox: no visible scrollbar */
    -ms-overflow-style: none; /* legacy Edge */
    -webkit-overflow-scrolling: touch;
}
.product-single .product-image-slider ul.tm-owl-thumbs::-webkit-scrollbar {
    display: none; /* Chrome/Safari: no visible scrollbar */
}
.product-single .product-image-slider ul.tm-owl-thumbs .tm-owl-thumb-item {
    flex: 0 0 auto;
    max-width: 130px !important;
    margin: 0 !important;
    padding: 0 !important;
}
.product-single .product-image-slider ul.tm-owl-thumbs .tm-owl-thumb-item img {
    display: block;
    width: 96px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}
.product-single .product-image-slider ul.tm-owl-thumbs .tm-owl-thumb-item.active img {
    border-color: #c6a47e;
}

/* Wrapper: soft edge fades hint there are more thumbnails beyond the edge */
.shablul-thumbs-wrap {
    position: relative;
}
.shablul-thumbs-wrap::before,
.shablul-thumbs-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 34px;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.shablul-thumbs-wrap::before {
    left: 0;
    background: linear-gradient(90deg, #fff 25%, rgba(255, 255, 255, 0));
}
.shablul-thumbs-wrap::after {
    right: 0;
    background: linear-gradient(270deg, #fff 25%, rgba(255, 255, 255, 0));
}
.shablul-thumbs-wrap.shablul-more-left::before {
    opacity: 1;
}
.shablul-thumbs-wrap.shablul-more-right::after {
    opacity: 1;
}

/* Round scroll arrows (inline SVG icons — no icon-font dependency) */
.product-single .product-image-slider .shablul-thumbs-wrap .shablul-thumbs-btn {
    position: absolute;
    top: 46%;
    transform: translateY(-50%) !important;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0 !important;
    border: 1px solid #e2ddd5 !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #8a8a8a !important;
    font-size: 0 !important;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
    transition: background 0.15s ease, color 0.15s ease, opacity 0.2s ease;
}
.product-single .product-image-slider .shablul-thumbs-wrap .shablul-thumbs-btn:hover {
    background: #faf7f2 !important;
    color: #333 !important;
}
.product-single .product-image-slider .shablul-thumbs-wrap .shablul-thumbs-btn svg {
    display: block;
    transform: none !important; /* immune to RTL/icon mirroring CSS */
}
.product-single .product-image-slider .shablul-thumbs-wrap .shablul-thumbs-btn.shablul-thumbs-right {
    right: 2px;
}
.product-single .product-image-slider .shablul-thumbs-wrap .shablul-thumbs-btn.shablul-thumbs-left {
    left: 2px;
}
/* both arrows show whenever the strip overflows (like the main slider);
   an arrow that reached its end is dimmed instead of hidden */
.shablul-thumbs-wrap:not(.shablul-has-overflow) .shablul-thumbs-btn {
    display: none !important;
}
.shablul-thumbs-wrap:not(.shablul-more-right) .shablul-thumbs-btn.shablul-thumbs-right {
    opacity: 0.35;
    pointer-events: none;
}
.shablul-thumbs-wrap:not(.shablul-more-left) .shablul-thumbs-btn.shablul-thumbs-left {
    opacity: 0.35;
    pointer-events: none;
}

/* ===== v2.9.9: own lightbox for the product gallery (replaces lightGallery) ===== */
.shablul-lightbox {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 10, 0.94);
    direction: rtl;
}
.shablul-lightbox.shablul-lb-open {
    display: flex;
}
.shablul-lb-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 92vw;
    max-height: 86vh;
}
.shablul-lb-img {
    max-width: 92vw;
    max-height: 86vh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.shablul-lb-img.shablul-lb-ready {
    opacity: 1;
    transform: none;
}
.shablul-lb-spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 44px;
    height: 44px;
    margin: -22px 0 0 -22px;
    border: 3px solid rgba(255, 255, 255, 0.22);
    border-top-color: #c6a47e;
    border-radius: 50%;
    animation: shablul-lb-spin 0.8s linear infinite;
}
@keyframes shablul-lb-spin {
    to { transform: rotate(360deg); }
}
.shablul-lb-btn,
.shablul-lb-close {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 50% !important;
    background: rgba(20, 20, 20, 0.55) !important;
    color: #fff !important;
    font-size: 0 !important;
    cursor: pointer;
    transition: background 0.15s ease, opacity 0.2s ease;
}
.shablul-lb-btn:hover,
.shablul-lb-close:hover {
    background: rgba(0, 0, 0, 0.8) !important;
}
.shablul-lb-btn svg,
.shablul-lb-close svg {
    display: block;
    transform: none !important;
}
.shablul-lb-btn { top: 50%; transform: translateY(-50%); }
.shablul-lb-prev { right: 18px; }  /* RTL: previous = toward the right */
.shablul-lb-next { left: 18px; }
.shablul-lb-close { top: 18px; left: 18px; }
.shablul-lb-bar {
    position: absolute;
    top: 18px;
    right: 24px;
    display: flex;
    gap: 14px;
    align-items: baseline;
    color: #fff;
    direction: rtl;
}
.shablul-lb-title {
    font-size: 15px;
    opacity: 0.9;
}
.shablul-lb-counter {
    font-size: 14px;
    opacity: 0.6;
}
.shablul-lightbox.shablul-lb-single .shablul-lb-btn {
    display: none;
}
@media (max-width: 767px) {
    .shablul-lb-btn { width: 40px; height: 40px; }
    .shablul-lb-prev { right: 8px; }
    .shablul-lb-next { left: 8px; }
    .shablul-lb-close { top: 10px; left: 10px; }
    .shablul-lb-bar { top: 22px; right: 14px; }
    .shablul-lb-title { font-size: 13px; }
}

/* ===== v2.9.10: hide WooCommerce's default breadcrumb line on product pages
   (the dark page-title band already shows its own breadcrumb) ===== */
nav.woocommerce-breadcrumb {
    display: none !important;
}

/* ===== v2.9.14: collapsible edit form (dashboard profile) ===== */
.shablul-hidden {
    display: none !important;
}

/* ===== v2.9.20: My Account > Downloads — filterable, sortable, AJAX-paged table ===== */
.shablul-dl-wrap {
    position: relative;
}
.shablul-dl-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
    margin: 0 0 16px;
}
.shablul-dl-toolbar label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
    font-size: 13px;
    color: #343434;
    font-weight: 600;
}
.shablul-dl-toolbar input,
.shablul-dl-toolbar select {
    min-width: 200px;
    padding: 8px 12px;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
    font-weight: 400;
    color: #343434;
    line-height: 1.4;
}
.shablul-dl-toolbar input:focus,
.shablul-dl-toolbar select:focus {
    border-color: #c6a47e;
    outline: none;
}
.shablul-dl-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.shablul-dl-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    margin: 0;
}
.shablul-dl-table th {
    padding: 12px 14px;
    text-align: right;
    background: #fafafa;
    border-bottom: 1px solid #e8e4de;
    color: #343434;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}
.shablul-dl-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
    font-size: 14px;
    color: #343434;
}
.shablul-dl-plan-cell {
    min-width: 200px;
}
.shablul-dl-plan {
    display: flex;
    align-items: center;
    gap: 12px;
}
/* !important: WooCommerce's own ".woocommerce img { height:auto }" loads after
   this file and otherwise inflates the 56px thumbs to full srcset height. */
.shablul-dl-thumb img {
    width: 56px !important;
    height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
    object-fit: cover !important;
    border-radius: 4px;
    border: 1px solid #e8e4de;
    display: block !important;
}
.shablul-dl-name {
    font-weight: 600;
    color: #343434;
    text-decoration: none;
}
.shablul-dl-name:hover {
    color: #a4835b;
}
.shablul-dl-type {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
}
.shablul-dl-type-pdf {
    background: #fdecea;
    color: #b32d2e;
}
.shablul-dl-type-dwg {
    background: #e8f0f8;
    color: #2b6a99;
}
.shablul-dl-type-other {
    background: #f0f0f0;
    color: #777;
}
.shablul-dl-price {
    white-space: nowrap;
    font-weight: 600;
}
.shablul-dl-date {
    white-space: nowrap;
}
.shablul-dl-btn {
    display: inline-block;
    background: #c6a47e !important;
    color: #fff !important;
    padding: 8px 22px !important;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
}
.shablul-dl-btn:hover {
    background: #a4835b !important;
    color: #fff !important;
}
.shablul-dl-filehint {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: #999;
    white-space: nowrap;
}
.shablul-dl-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
    min-height: 36px;
}
.shablul-dl-sum {
    color: #777;
    font-size: 13px;
}
.shablul-dl-pager {
    display: inline-flex;
    gap: 5px;
    align-items: center;
}
.shablul-dl-pager button {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #dcdcdc;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    color: #343434;
    transition: border-color .15s, background .15s;
}
.shablul-dl-pager button:hover:not([disabled]) {
    border-color: #c6a47e;
    color: #a4835b;
}
.shablul-dl-pager button.is-current {
    background: #c6a47e;
    border-color: #c6a47e;
    color: #fff;
    font-weight: 700;
}
.shablul-dl-pager button[disabled]:not(.is-current) {
    opacity: .4;
    cursor: default;
}
.shablul-dl-dots {
    color: #999;
    padding: 0 2px;
}
.shablul-dl-empty {
    text-align: center;
    color: #999;
    padding: 28px 14px !important;
}
.shablul-dl-wrap.is-loading .shablul-dl-scroll,
.shablul-dl-wrap.is-loading .shablul-dl-foot {
    opacity: .45;
    pointer-events: none;
}
@media (max-width: 600px) {
    .shablul-dl-thumb {
        display: none;
    }
    .shablul-dl-toolbar input,
    .shablul-dl-toolbar select {
        min-width: 0;
        width: 100%;
    }
    .shablul-dl-toolbar label {
        flex: 1 1 100%;
    }
}

/* Narrow viewports (or split-view browser panes): rows become cards. */
@media (max-width: 760px) {
    .shablul-dl-table thead {
        display: none;
    }
    .shablul-dl-table,
    .shablul-dl-table tbody,
    .shablul-dl-table tr,
    .shablul-dl-table td {
        display: block;
        width: 100%;
    }
    .shablul-dl-table tr {
        border: 1px solid #e8e4de;
        border-radius: 6px;
        margin: 0 0 10px;
        padding: 10px 12px;
        background: #fff;
    }
    .shablul-dl-table td {
        border: none;
        padding: 4px 0;
    }
    .shablul-dl-plan-cell {
        min-width: 0;
    }
    .shablul-dl-action {
        padding-top: 8px;
    }
    .shablul-dl-empty {
        text-align: center;
    }
}

/* ===== v2.9.24: My Account — login / register / lost-password card ===== */
.login-page .login_box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
    overflow: hidden;
    margin-top: 24px;
}
.login-page .login_box > .row {
    margin: 0 !important;
}
.login-page .login_box h2 {
    background: #343434;
    color: #fff !important;
    margin: 0;
    padding: 16px 24px;
    font-size: 18px;
    font-weight: 700;
    border-bottom: 3px solid #c6a47e;
}
.login-page .login_box form {
    padding: 24px;
}
.login-page .login_box .input-text,
.login-page .login_box input[type="text"],
.login-page .login_box input[type="email"],
.login-page .login_box input[type="password"] {
    width: 100%;
    border: 1px solid #ddd !important;
    border-radius: 5px !important;
    padding: 11px 14px !important;
    background: #fafafa;
    font-size: 15px;
    height: auto;
    transition: border-color .15s, background .15s;
}
.login-page .login_box .input-text:focus,
.login-page .login_box input:focus {
    border-color: #c6a47e !important;
    background: #fff;
    outline: none;
}
.login-page .login_box .woocommerce-form-login__submit,
.login-page .login_box button[type="submit"],
.login-page .login_box .woocommerce-Button {
    background: #c6a47e !important;
    color: #fff !important;
    border: none !important;
    border-radius: 5px !important;
    padding: 12px 30px !important;
    font-weight: 700;
    font-size: 15px;
    width: 100%;
    cursor: pointer;
    transition: background .2s;
}
.login-page .login_box .woocommerce-form-login__submit:hover,
.login-page .login_box button[type="submit"]:hover {
    background: #a4835b !important;
}
.login-page .login_box .lost_password a,
.login-page .login_box a {
    color: #a4835b;
}
.login-page .login_box label.woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}
.login-page .login_box .openPopupButton {
    display: block;
    text-align: center;
    margin-top: 14px;
    background: transparent !important;
    color: #a4835b !important;
    border: 1px solid #c6a47e !important;
    padding: 10px !important;
    border-radius: 5px !important;
    width: 100%;
}
