/* Global styles for Riode theme — applied on all pages */

/* ===== Newsletter Form ===== */
.nl-privacy {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
}

.nl-privacy-check {
    flex-shrink: 0;
    margin-top: .2rem;
    width: 1.4rem;
    height: 1.4rem;
    cursor: pointer;
    accent-color: #222;
}

.nl-privacy-label {
    font-size: 1.1rem;
    color: #999;
    line-height: 1.6;
    cursor: pointer;
    margin: 0;
}

.nl-privacy-label a {
    color: #555;
    text-decoration: underline;
}

.nl-privacy-label a:hover {
    color: #222;
}

.widget-newsletter .input-wrapper .form-control:focus {
    border-color: #222;
    outline: none;
}

/* ===== Password Recovery Pages ===== */
.recovery-icon {
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    background: #fff5f0;
    border: 2px solid #d26e4b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 3rem;
    color: #d26e4b;
}

.recovery-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #222;
    margin-bottom: .8rem;
}

/* ===== Contact Page ===== */
.contact-section .grey-section {
    padding: 3rem 2.5rem;
    background: #f8f8f8;
}

.contact-section .grey-section h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #222;
    margin-top: 2rem;
}

.contact-section .grey-section h4:first-child {
    margin-top: 0;
}

.contact-section .grey-section p,
.contact-section .grey-section a {
    font-size: 1.4rem;
    color: #666;
    line-height: 1.8;
}

.contact-section .grey-section a:hover {
    color: #d26e4b;
}

.contact-section .pl-lg-2 .form-control {
    border-radius: .4rem;
    font-size: 1.4rem;
}

.contact-section .pl-lg-2 .form-control:focus {
    border-color: #d26e4b;
    box-shadow: 0 0 0 .2rem rgba(210,110,75,.15);
}

/* ===== News Pages ===== */

/* List — post-list layout */
.post.post-list .post-media {
    flex-shrink: 0;
    width: 35rem;
    overflow: hidden;
}

.post.post-list .post-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post.post-list .post-content {
    font-size: 1.4rem;
    color: #777;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 767px) {
    .post.post-list {
        flex-direction: column;
    }

    .post.post-list .post-media {
        width: 100%;
        height: 22rem;
    }
}

/* Detail */
.news-item-page {
    padding: 5rem 0;
}

.news-item-page .post-single .post-media {
    margin: 0 0 3rem;
    border-radius: .6rem;
    overflow: hidden;
}

.news-item-page .post-image {
    width: 100%;
    height: auto;
    max-height: 50rem;
    object-fit: cover;
}

.news-item-page .post-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 1.4rem;
    color: #999;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #ebebeb;
}

.news-item-page .post-meta i {
    margin-right: .5rem;
    color: #d26e4b;
}

.news-item-page .post-body {
    font-size: 1.5rem;
    line-height: 1.9;
    color: #444;
}

.news-item-page .post-body p { margin-bottom: 1.8rem; }

.news-item-page .post-body img {
    max-width: 100%;
    border-radius: .4rem;
    margin: 1.5rem 0;
}

.news-item-page .post-body h2,
.news-item-page .post-body h3,
.news-item-page .post-body h4 {
    margin: 2.5rem 0 1rem;
    font-weight: 600;
    color: #222;
}

.news-item-page .post-navigation {
    border-top: 1px solid #ebebeb;
}

/* Comments */
.comments-section .section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #d26e4b;
    display: inline-block;
}

.comment-form .form-label {
    font-size: 1.4rem;
    font-weight: 500;
    color: #333;
    margin-bottom: .6rem;
}

.comment-form .required {
    color: #e63;
    margin-left: .3rem;
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.comment-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: #f8f8f8;
    border-radius: .6rem;
    border-left: 3px solid #d26e4b;
}

.comment-avatar {
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 50%;
    background: #d26e4b;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 1.8rem;
}

.comment-body { flex: 1; }

.comment-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: .8rem;
}

.comment-author {
    font-weight: 600;
    font-size: 1.4rem;
    color: #222;
}

.comment-date {
    font-size: 1.3rem;
    color: #999;
}

.comment-date i {
    margin-right: .4rem;
}

.comment-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: .5rem;
}

.comment-text {
    font-size: 1.4rem;
    color: #555;
    margin: 0;
    line-height: 1.7;
}

/* ===== Sitemap Page ===== */
.sitemap-page {
    padding: 5rem 0;
}

.sitemap-description {
    font-size: 1.5rem;
    max-width: 60rem;
}

.sitemap-section {
    border: 1px solid #ebebeb;
    border-radius: .4rem;
    overflow: hidden;
}

.sitemap-section-title {
    display: flex;
    align-items: center;
    gap: .8rem;
    font-size: 1.6rem;
    font-weight: 600;
    padding: 1.4rem 2rem;
    margin: 0;
    background: #f8f8f8;
    border-bottom: 1px solid #ebebeb;
    color: #333;
}

.sitemap-section-title i {
    font-size: 1.8rem;
    color: #d26e4b;
}

.sitemap-list {
    list-style: none;
    margin: 0;
    padding: 1rem 0;
}

.sitemap-list li {
    border-bottom: 1px solid #f4f4f4;
}

.sitemap-list li:last-child {
    border-bottom: none;
}

.sitemap-list a {
    display: flex;
    align-items: center;
    padding: .9rem 2rem;
    font-size: 1.4rem;
    color: #444;
    transition: color .2s, background .2s;
}

.sitemap-list a::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #d26e4b;
    margin-right: 1rem;
    flex-shrink: 0;
}

.sitemap-list a:hover {
    color: #d26e4b;
    background: #fdf6f3;
}

.sitemap-list-products {
    columns: 2;
    column-gap: 0;
}

@media (max-width: 575px) {
    .sitemap-list-products {
        columns: 1;
    }
}

/* ===== Static CMS Page (PageDetails) ===== */
.static-page {
    padding: 5rem 0;
}

.static-page .page-body {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #444;
}

.static-page .page-body h1,
.static-page .page-body h2,
.static-page .page-body h3,
.static-page .page-body h4 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #222;
    font-weight: 600;
}

.static-page .page-body p {
    margin-bottom: 1.5rem;
}

.static-page .page-body img {
    max-width: 100%;
    height: auto;
    border-radius: .4rem;
    margin: 1.5rem 0;
}

.static-page .page-body a {
    color: #336;
    text-decoration: underline;
}

.static-page .page-body ul,
.static-page .page-body ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.static-page .page-body li {
    margin-bottom: .5rem;
}

.static-page .page-body blockquote {
    border-left: 4px solid #d26e4b;
    padding: 1rem 2rem;
    margin: 2rem 0;
    background: #f9f9f9;
    font-style: italic;
    color: #666;
}

/* Password-protected page form */
.page-password {
    padding: 5rem 0;
    text-align: center;
}

.enter-password-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #222;
}

.enter-password-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 36rem;
    margin: 0 auto;
}

/* ===== Compare Products Table ===== */
.compare-table {
    width: 100%;
    border-collapse: collapse;
}
.compare-table .compare-label {
    min-width: 140px;
    padding: 1rem 1.2rem;
    font-weight: 600;
    font-size: 1.3rem;
    color: #666;
    background: #f8f8f8;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    white-space: nowrap;
}
.compare-table .compare-cell {
    min-width: 180px;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #f0f0f0;
    vertical-align: middle;
    text-align: center;
    font-size: 1.3rem;
}
.compare-table .compare-row-image .compare-cell {
    padding: 1.5rem 1.2rem;
}
.compare-table .compare-row-price .compare-cell .price {
    font-size: 1.6rem;
    color: #2662cc;
}
.compare-table .compare-row-spec .compare-label {
    background: #fff;
    font-weight: 400;
}
.compare-table .compare-row:hover .compare-cell,
.compare-table .compare-row:hover .compare-label {
    background-color: #fafafa;
}

/* Wishlist badge count in header */
.wishlist-dropdown .wishlist-count {
    display: inline-block;
    position: absolute;
    right: -8px;
    top: 3px;
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.7;
    text-align: center;
    border-radius: 50%;
    background-color: #1e90ff;
    color: #fff;
    z-index: 1;
    transition: color 0.4s;
}

/* Products-list container — prevents flex conflict with product-list item class */
.products-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ===== Search autocomplete ===== */

/* Allow autocomplete to wrap below input+button row */
.header-search.hs-toggle .input-wrapper {
    flex-wrap: wrap;
}

/* Autocomplete results container */
.header-search .live-search-list {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    margin-top: 0.8rem;
    border-top: 1px solid #eee;
    max-height: 380px;
    overflow-y: auto;
}

/* Section label (Categories, etc.) */
.header-search .live-search-list .search-section-label {
    display: block;
    padding: 0.6rem 0.4rem 0.3rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Each result row */
.header-search .live-search-list .search-item a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0.4rem;
    border-bottom: 1px solid #f4f4f4;
    color: #333;
    text-decoration: none;
    transition: background-color 0.15s;
}
.header-search .live-search-list .search-item a:hover {
    background-color: #f7f7f7;
}

/* Product thumbnail */
.header-search .live-search-list .search-item img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 3px;
    border: 1px solid #eee;
    flex-shrink: 0;
}

/* Product name */
.header-search .live-search-list .search-item .search-item-name {
    flex: 1;
    font-size: 1.3rem;
    line-height: 1.4;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Product price */
.header-search .live-search-list .search-item .search-item-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2662cc;
    white-space: nowrap;
    flex-shrink: 0;
}

/* "See all results" link */
.header-search .live-search-list .search-all-link {
    display: block;
    padding: 0.9rem 0.4rem;
    font-size: 1.3rem;
    color: #2662cc;
    text-align: center;
    border-top: 1px solid #eee;
    text-decoration: none;
}
.header-search .live-search-list .search-all-link:hover {
    text-decoration: underline;
}

.select-box select.w-100{
    width: 100% !important;
    max-width: 100% !important;

}

/* ===== Account Dashboard Navigation ===== */
.widget-dashboard-nav .dashboard-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}
.widget-dashboard-nav .dashboard-nav li a {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1rem 1.4rem;
    font-size: 1.4rem;
    color: #666;
    border-radius: .3rem;
    transition: background .2s, color .2s;
    text-decoration: none;
}
.widget-dashboard-nav .dashboard-nav li a i {
    font-size: 1.6rem;
    width: 2rem;
    text-align: center;
    flex-shrink: 0;
}
.widget-dashboard-nav .dashboard-nav li a:hover {
    color: #2662cc;
    background: #f5f8ff;
}
.widget-dashboard-nav .dashboard-nav li.active a {
    color: #2662cc;
    background: #f0f4ff;
    font-weight: 600;
}
.widget-dashboard-nav .dashboard-nav li + li {
    border-top: 1px solid #f0f0f0;
}

/* ===== Intro Section Isotope Grid ===== */
.intro-section .grid-space {
    height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
    visibility: hidden;
}

/* ===== Order Details Page ===== */
.order-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .6rem 0;
    border-bottom: 1px solid #f4f4f4;
    font-size: 1.4rem;
}

.order-detail-row:last-child { border-bottom: none; }

.order-detail-label {
    color: #777;
}

.order-detail-value {
    font-weight: 500;
    color: #222;
    text-align: right;
}

.order-address {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #444;
}

.order-items-table img {
    width: 7rem;
    height: 7rem;
    object-fit: cover;
    border-radius: .4rem;
    border: 1px solid #ebebeb;
}

.order-item-image { width: 9rem; }

.order-item-name {
    font-size: 1.4rem;
    font-weight: 500;
    color: #222;
}

.order-item-name:hover { color: #d26e4b; }

.order-item-sku,
.order-item-attributes,
.order-item-rental {
    margin-top: .3rem;
}

.order-totals-table {
    width: 100%;
    border-collapse: collapse;
}

.order-totals-table td {
    padding: 1rem 1.6rem;
    font-size: 1.4rem;
    border-bottom: 1px solid #f4f4f4;
}

.order-totals-table .order-total-final td {
    font-size: 1.6rem;
    border-top: 2px solid #ebebeb;
    border-bottom: none;
    background: #fafafa;
}

.order-actions { border-top: 1px solid #ebebeb; }

.order-actions .flex-1 { flex: 1; }

/* Sipariş notu Magnific Popup */
.order-note-popup-inner {
    background: #fff;
    padding: 3rem;
    border-radius: .8rem;
    max-width: 50rem;
    width: 90vw;
    margin: 0 auto;
}

.order-note-popup-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 2rem;
    padding-bottom: 1.2rem;
    border-bottom: 2px solid #d26e4b;
    display: inline-block;
}

/* ===== Product Page — Catalog Price Block ===== */
.catalog-price {
    display: flex;
    align-items: center;
    gap: .6rem;
    line-height: 1.4;
}

.catalog-price-label {
    font-size: 1.2rem;
    font-weight: 400;
    color: #999;
    text-transform: uppercase;
    letter-spacing: .03em;
    white-space: nowrap;
}

.catalog-price-value {
    font-size: 1.3rem;
    color: #aaa;
    text-decoration: line-through;
}

/* ===== Product Page — Price Block ===== */
.product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .4rem 1rem;
}

.product-price .old-price {
    font-size: 1.6rem;
    color: #aaa;
}

.product-price .new-price {
    font-size: 2.6rem;
    font-weight: 700;
    color: #222;
}

/* ===== Account Sidebar Mobile Toggle ===== */
.account-sidebar-toggle .left-sidebar-toggle {
    font-size: 1.4rem;
    font-weight: 600;
    justify-content: center;
}

.account-nav-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.account-nav-header .sidebar-close {
    font-size: 1.6rem;
    color: #666;
    line-height: 1;
}

.account-nav-header .sidebar-close:hover {
    color: #333;
}

/* ===== Account Page Sections ===== */
.account-section {
    border: 1px solid #eee;
    border-radius: .4rem;
    overflow: hidden;
}
.account-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    padding: 1.2rem 1.6rem;
    margin: 0;
    background: #f8f8f8;
    border-bottom: 1px solid #eee;
    color: #333;
}
.account-section-body {
    padding: 1.6rem;
}

/* ===== Legal Texts - Checkout Confirm Step ===== */
.legal-texts-section {
    border: 1px solid #eee;
    border-radius: .4rem;
    padding: 1.6rem;
    background: #fafafa;
}

.legal-text-item .form-checkbox {
    align-items: flex-start;
}

.legal-text-label {
    cursor: pointer;
    line-height: 1.5;
}

.legal-text-name {
    font-weight: 600;
}

.legal-text-read-link {
    font-size: 1.2rem;
    color: #d26e4b;
    text-decoration: underline;
}

.legal-text-label:hover .legal-text-read-link {
    color: #c35d3a;
}

/* Modal */
.legal-text-modal {
    width: 90vw;
    max-width: 720px;
    background: #fff;
    border-radius: .4rem;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,.15);
}

.legal-text-modal-inner {
    display: flex;
    flex-direction: column;
    max-height: 80vh;
    padding: 2.4rem;
}

.legal-text-modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.6rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid #eee;
    color: #333;
    flex-shrink: 0;
}

.legal-text-modal-body {
    flex: 1;
    overflow-y: auto;
    font-size: 1.4rem;
    line-height: 1.7;
    color: #555;
    padding-right: .4rem;
}

.legal-text-modal-body::-webkit-scrollbar {
    width: 4px;
}

.legal-text-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.legal-text-modal-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

.legal-text-modal-footer {
    flex-shrink: 0;
    padding-top: 1.6rem;
    border-top: 1px solid #eee;
}

@media (max-width: 575px) {
    .legal-text-modal {
        width: 95vw;
    }

    .legal-text-modal-inner {
        padding: 1.6rem;
        max-height: 85vh;
    }
}

/* ===== Search Page ===== */
.search-form-wrap {
    border: 1px solid #ebebeb;
    border-radius: .6rem;
    padding: 2rem 2.4rem;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

.riode-search-form .search-bar {
    gap: 1.2rem;
}

.riode-search-form .search-input.flex-1 {
    flex: 1;
    min-width: 0;
}

.riode-search-form .input-group .form-control {
    height: 4.8rem;
    font-size: 1.4rem;
    border: 1px solid #d9d9d9;
    border-right: none;
    border-radius: .4rem 0 0 .4rem;
    color: #333;
    background: #fafafa;
    transition: border-color .2s, background .2s;
}

.riode-search-form .input-group .form-control:focus {
    border-color: #d26e4b;
    background: #fff;
    box-shadow: none;
    outline: none;
}

.riode-search-form .btn-search {
    background: #d26e4b;
    border: 1px solid #d26e4b;
    color: #fff;
    border-radius: 0 .4rem .4rem 0;
    height: 4.8rem;
    font-size: 1.8rem;
    min-width: 5.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, border-color .2s;
    cursor: pointer;
}

.riode-search-form .btn-search:hover {
    background: #c35d3a;
    border-color: #c35d3a;
}

/* Advanced search checkbox */
.riode-search-form .custom-control.custom-checkbox {
    display: flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
    white-space: nowrap;
}

.riode-search-form .custom-control-input {
    width: 1.6rem;
    height: 1.6rem;
    cursor: pointer;
    accent-color: #d26e4b;
    flex-shrink: 0;
}

.riode-search-form .custom-control-description {
    font-size: 1.3rem;
    color: #666;
}

/* Advanced search block */
.riode-search-form .advanced-search {
    background: #f8f8f8;
    border: 1px solid #ebebeb;
    border-radius: .4rem;
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
}

.riode-search-form .advanced-search .form-label {
    font-size: 1.3rem;
    font-weight: 500;
    color: #555;
    margin-bottom: .5rem;
}

.riode-search-form .advanced-search .form-select,
.riode-search-form .advanced-search .form-control {
    font-size: 1.3rem;
    border-color: #ddd;
}

.riode-search-form .advanced-search .form-select:focus,
.riode-search-form .advanced-search .form-control:focus {
    border-color: #d26e4b;
    box-shadow: none;
}

.riode-search-form .form-check-label {
    font-size: 1.3rem;
    color: #555;
    cursor: pointer;
}

.riode-search-form .form-check-input:checked {
    background-color: #d26e4b;
    border-color: #d26e4b;
}

#contactUsLeftSide .generalTitle{
    font-size:2rem ;
    margin: 0 0 1rem;
}


@media (max-width: 575px) {
    .search-form-wrap {
        padding: 1.6rem;
    }

    .riode-search-form .search-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .riode-search-form .search-input.flex-1 {
        width: 100%;
    }

    .riode-search-form .custom-control.custom-checkbox {
        justify-content: center;
    }
}

