/* =====================================
   WINLAND WEBSITE - MAIN STYLESHEET
   طراحی و توسعه: NekouWeb
===================================== */

/* تنظیمات عمومی */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Tahoma, Arial, sans-serif;
    direction: rtl;
    background: #ffffff;
    color: #243247;
    line-height: 1.9;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
}

.wl-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

/* =====================================
   HEADER
===================================== */

.wl-header {
    background: #ffffff;
    border-bottom: 1px solid #e8eef5;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 18px rgba(20, 60, 100, 0.06);
}

.wl-navbar {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.wl-logo {
    color: #0866b5;
    font-size: 25px;
    font-weight: 900;
}

.wl-nav {
    display: flex;
    align-items: center;
    gap: 27px;
}

.wl-nav a {
    color: #33445a;
    font-size: 14px;
    font-weight: 700;
    transition: 0.3s;
}

.wl-nav a:hover {
    color: #0878d1;
}

.wl-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wl-cart-link,
.wl-admin-link {
    padding: 9px 15px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
}

.wl-cart-link {
    background: #eaf4ff;
    color: #0866b5;
}

.wl-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    background: #0878d1;
    color: #ffffff;
    border-radius: 50px;
    font-size: 11px;
}

.wl-admin-link {
    background: #0866b5;
    color: #ffffff;
}

/* =====================================
   HERO - تصویر اصلی
===================================== */

.wl-hero {
    min-height: 540px;
    display: flex;
    align-items: center;
    background-color: #eaf4ff;
    background-image: url("images/winland-hero.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding: 70px 0;
}

.wl-hero-content {
    display: none;
}

.wl-eyebrow {
    display: inline-block;
    color: #0878d1;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 15px;
}

.wl-hero h1 {
    color: #103b67;
    font-size: clamp(25px, 3.5vw, 39px);
    line-height: 1.8;
    margin-bottom: 17px;
    font-weight: 900;
}

.wl-hero p {
    color: #53677d;
    font-size: 15px;
    line-height: 2.2;
    margin-bottom: 25px;
}

.wl-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    margin: 5px 0 5px 8px;
    transition: 0.3s;
}

.wl-button-primary {
    background: #0878d1;
    color: #ffffff;
}

.wl-button-primary:hover {
    background: #075a9e;
    transform: translateY(-3px);
}

.wl-button-outline {
    border: 2px solid #0878d1;
    color: #0878d1;
    background: #ffffff;
}

.wl-button-outline:hover {
    background: #eaf4ff;
    transform: translateY(-3px);
}

/* =====================================
   SECTION GENERAL
===================================== */

.wl-section {
    padding: 85px 0;
}

.wl-section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 45px;
}

.wl-section-heading span {
    color: #0878d1;
    font-size: 14px;
    font-weight: 800;
}

.wl-section-heading h2 {
    color: #103b67;
    font-size: 29px;
    font-weight: 900;
    margin: 8px 0 12px;
}

.wl-section-heading p {
    color: #64758a;
    font-size: 14px;
    line-height: 2;
}
/* =====================================
   ABOUT
===================================== */

.wl-about {
    background: #f4f9ff;
}

.wl-about-content {
    background: #ffffff;
    border-radius: 18px;
    padding: 35px;
    border-right: 5px solid #0878d1;
    box-shadow: 0 10px 35px rgba(30, 80, 130, 0.07);
}

.wl-about-content h2 {
    color: #103b67;
    font-size: 27px;
    margin-bottom: 15px;
}

.wl-about-content p {
    color: #596c80;
    font-size: 15px;
    line-height: 2.3;
}

/* =====================================
   PRODUCTS
===================================== */

#products {
    background: #ffffff;
}

.wl-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.wl-product-card {
    background: #ffffff;
    border: 1px solid #e6edf5;
    border-radius: 17px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(20, 60, 100, 0.07);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.wl-product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(20, 80, 140, 0.13);
    border-color: #b7dafa;
}

.wl-product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 235px;
    overflow: hidden;
    background: #f1f6fb;
}

.wl-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.wl-product-card:hover .wl-product-image img {
    transform: scale(1.05);
}

.wl-image-placeholder {
    color: #8192a5;
    font-size: 13px;
    text-align: center;
    padding: 15px;
}

.wl-product-info {
    padding: 21px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.wl-product-info h3 {
    color: #103b67;
    font-size: 18px;
    margin-bottom: 10px;
}

.wl-product-description {
    color: #68798b;
    font-size: 13px;
    line-height: 2;
    margin-bottom: 16px;
    min-height: 65px;
}

.wl-product-price {
    color: #0878d1;
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 10px;
}

.wl-product-stock {
    color: #16834a;
    background: #eaf8f0;
    padding: 7px 11px;
    border-radius: 7px;
    font-size: 12px;
    display: inline-block;
    width: fit-content;
    margin-bottom: 17px;
}

.wl-product-stock.unavailable {
    color: #bd3434;
    background: #fff0f0;
}

.wl-product-button {
    display: block;
    width: 100%;
    text-align: center;
    background: #0878d1;
    color: #ffffff;
    padding: 11px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 800;
    margin-top: auto;
    transition: 0.3s;
}

.wl-product-button:hover {
    background: #075a9e;
}

.wl-empty-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 35px;
    color: #64758a;
    background: #f4f9ff;
    border-radius: 14px;
}

/* =====================================
   FEATURES
===================================== */

#features {
    background: #f4f9ff;
}

.wl-features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.wl-feature {
    background: #ffffff;
    padding: 28px;
    border-radius: 15px;
    border: 1px solid #e5eef7;
    box-shadow: 0 8px 25px rgba(20, 60, 100, 0.05);
    transition: 0.3s;
}

.wl-feature:hover {
    transform: translateY(-5px);
    border-color: #9bcdf5;
}

.wl-feature h3 {
    color: #0866b5;
    font-size: 18px;
    margin-bottom: 10px;
}

.wl-feature p {
    color: #64758a;
    font-size: 14px;
    line-height: 2.1;
}

/* =====================================
   FOOTER
===================================== */

.wl-footer {
    background: #103b67;
    color: #ffffff;
    padding: 55px 0 20px;
}

.wl-footer-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    padding-bottom: 35px;
}

.wl-footer h3 {
    font-size: 19px;
    margin-bottom: 15px;
    color: #ffffff;
}

.wl-footer p {
    color: #d5e5f5;
    font-size: 13px;
    line-height: 2.3;
    margin-bottom: 8px;
}

.wl-footer a {
    color: #ffffff;
    transition: 0.3s;
}
.wl-footer a:hover {
    color: #8ed0ff;
}

.wl-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.wl-footer-bottom p {
    margin: 0;
}

.wl-footer-bottom a {
    color: #8ed0ff;
    font-weight: 900;
}

/* =====================================
   RESPONSIVE - TABLET
===================================== */

@media (max-width: 900px) {

    .wl-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wl-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wl-nav {
        gap: 13px;
    }

    .wl-hero {
        min-height: 480px;
    }

}

/* =====================================
   RESPONSIVE - MOBILE
===================================== */

@media (max-width: 600px) {

    .wl-container {
        width: 92%;
    }

    .wl-navbar {
        min-height: 70px;
        flex-wrap: wrap;
        justify-content: center;
        padding: 12px 0;
        gap: 12px;
    }

    .wl-logo {
        width: 100%;
        text-align: center;
        font-size: 23px;
    }

    .wl-nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 13px;
    }

    .wl-nav a {
        font-size: 12px;
    }

    .wl-header-actions {
        justify-content: center;
        width: 100%;
    }

    .wl-hero {
        min-height: 480px;
        padding: 35px 0;
        background-position: center;
    }

    .wl-hero-content {
        padding: 23px;
        border-radius: 15px;
    }

    .wl-hero h1 {
        font-size: 25px;
    }

    .wl-hero p {
        font-size: 13px;
    }

    .wl-button {
        width: 100%;
        margin: 5px 0;
    }

    .wl-section {
        padding: 55px 0;
    }

    .wl-section-heading h2 {
        font-size: 23px;
    }

    .wl-about-content {
        padding: 23px;
    }

    .wl-about-content h2 {
        font-size: 23px;
    }

    .wl-products-grid,
    .wl-features-grid {
        grid-template-columns: 1fr;
    }

    .wl-product-image {
        height: 230px;
    }

    .wl-footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .wl-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
.wl-hero-content {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 15px;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    flex-wrap: wrap;
}
/* WINLAND PRODUCT DETAIL PAGE */

body.wl-product-detail {
    background: #f3f7fc;
    color: #183451;
    font-family: Tahoma, sans-serif;
    margin: 0;
}

.wl-product-header {
    background: #ffffff;
    padding: 18px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: 0 3px 18px rgba(20, 60, 100, 0.07);
}

.wl-product-logo {
    color: #0756a5;
    font-size: 25px;
    font-weight: bold;
    text-decoration: none;
}

.wl-product-logo span {
    color: #16a5df;
}

.wl-product-header nav {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.wl-product-header nav a {
    color: #254563;
    text-decoration: none;
    font-size: 14px;
}

.wl-product-main {
    max-width: 1150px;
    width: 90%;
    margin: 35px auto 70px;
}

.wl-product-breadcrumb {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
    margin-bottom: 25px;
    color: #8294a8;
}

.wl-product-breadcrumb a {
    color: #0878c9;
    text-decoration: none;
}

.wl-product-detail-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    box-shadow: 0 10px 40px rgba(20, 60, 100, 0.07);
}

.wl-product-detail-image {
    min-width: 0;
    min-height: 350px;
    background: #edf4fa;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wl-product-detail-image img {
    width: 100%;
    height: 100%;
    min-height: 350px;
    max-height: 500px;
    object-fit: contain;
}

.wl-product-no-image {
    text-align: center;
    color: #7b91a8;
    padding: 30px;
}

.wl-product-no-image span {
    display: block;
    color: #0878c9;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 12px;
}

.wl-product-detail-info {
    padding: 10px 0;
}

.wl-product-label {
    color: #0787ce;
    font-size: 13px;
    font-weight: bold;
}

.wl-product-detail-info h1 {
    font-size: 27px;
    line-height: 1.8;
    margin: 12px 0 25px;
    color: #173b60;
}

.wl-product-detail-price {
    background: #edf7ff;
    border: 1px solid #d7eafa;
    border-radius: 12px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wl-product-detail-price span {
    font-size: 13px;
    color: #71859b;
}

.wl-product-detail-price strong {
    color: #0878c9;
    font-size: 25px;
}

.wl-product-availability {
    margin: 20px 0;
}

.wl-available {
    color: #16844b;
    font-weight: bold;
}

.wl-unavailable {
    color: #d33b3b;
    font-weight: bold;
}

.wl-product-description {
    border-top: 1px solid #e8eef5;
    padding-top: 20px;
    margin-top: 20px;
}

.wl-product-description h2 {
    font-size: 17px;
    color: #173b60;
}

.wl-product-description p {
    color: #63778c;
    line-height: 2.2;
    font-size: 14px;
    white-space: normal;
}

.wl-product-call,
.wl-product-back {
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: 10px;
    text-decoration: none;
    margin-top: 13px;
    font-weight: bold;
}

.wl-product-call {
    background: #0878c9;
    color: #ffffff;
}

.wl-product-call:hover {
    background: #0756a5;
}

.wl-product-back {
    color: #0878c9;
    background: #edf6fd;
}

.wl-product-footer {
    background: #123451;
    color: #ffffff;
    text-align: center;
    padding: 25px 15px;
    line-height: 2;
    font-size: 13px;
}

@media (max-width: 750px) {

    .wl-product-header {
        flex-direction: column;
    }

    .wl-product-header nav {
        justify-content: center;
        gap: 15px;
    }

    .wl-product-detail-card {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .wl-product-detail-image {
        min-height: 260px;
    }

    .wl-product-detail-image img {
        min-height: 260px;
    }

    .wl-product-detail-info h1 {
        font-size: 22px;
    }

    .wl-product-detail-price strong {
        font-size: 21px;
    }
}
/* اصلاح تصویر هدر در موبایل */
@media (max-width: 768px) {
    .wl-hero {
        min-height: 260px;
        padding: 0;
        background-size: 100% 100%;
        background-position: center;
        background-repeat: no-repeat;
    }
}
/* فونت و تراز متن بخش درباره وین‌لند */
#about p {
    font-family: Tahoma, sans-serif;
    font-size: 14px;
    line-height: 2.2;
    text-align: justify;
    text-justify: inter-word;
    color: #53677d;
}
/* اصلاح نمایش مزیت‌ها در موبایل */
#features {
    display: block !important;
    visibility: visible !important;
}

#features .wl-features-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

#features .wl-feature {
    display: block !important;
}

/* تنظیم کارت‌های مزیت در موبایل */
@media (max-width: 600px) {
    #features .wl-features-grid {
        grid-template-columns: 1fr !important;
    }
}

/* اصلاح متن درباره وین‌لند */
.wl-about-content p,
#about p {
    font-family: Tahoma, Arial, sans-serif;
    font-size: 14px;
    line-height: 2.2;
    text-align: justify !important;
    color: #53677d;
}
/* =====================================
   WINLAND - PROFESSIONAL DESIGN UPDATE
   ===================================== */

:root {
    --wl-blue: #0878d1;
    --wl-dark: #103b67;
    --wl-light: #edf6ff;
    --wl-text: #40556b;
    --wl-border: #e0ebf5;
    --wl-shadow: 0 12px 35px rgba(16, 59, 103, 0.09);
}

/* تنظیمات عمومی */
html {
    scroll-behavior: smooth;
}

body {
    background: #fff;
    color: var(--wl-text);
    font-family: Tahoma, Arial, sans-serif;
}

/* کانتینرها */
.wl-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

/* هدر */
header,
.wl-header {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 5px 25px rgba(16,59,103,0.07);
}

/* لینک‌های منو */
nav a,
.wl-nav a {
    transition: color .25s ease, background .25s ease;
}

nav a:hover,
.wl-nav a:hover {
    color: var(--wl-blue);
}

/* بخش اصلی صفحه */
.wl-hero {
    position: relative;
    overflow: hidden;
    background-color: #103b67;
}

.wl-hero-content {
    animation: wlFadeUp .9s ease both;
}

.wl-hero h1 {
    color: #fff;
    line-height: 1.8;
    text-shadow: 0 3px 15px rgba(0,0,0,.2);
}

.wl-hero p {
    line-height: 2.2;
}

/* عنوان بخش‌ها */
.wl-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.wl-section-heading {
    text-align: center;
    margin-bottom: 38px;
}

.wl-section-heading span {
    color: var(--wl-blue);
    font-weight: bold;
    letter-spacing: .3px;
}

.wl-section-heading h2 {
    color: var(--wl-dark);
    font-size: 27px;
    margin-top: 12px;
    line-height: 1.8;
}

/* درباره وین‌لند */
.wl-about {
    background: linear-gradient(135deg, #f4f9ff, #fff);
}

.wl-about-content {
    background: #fff;
    border: 1px solid var(--wl-border);
    border-right: 5px solid var(--wl-blue);
    border-radius: 22px;
    padding: 35px;
    box-shadow: var(--wl-shadow);
}

.wl-about-content h2 {
    color: var(--wl-dark);
}

.wl-about-content p,
#about p {
    color: #53677d;
    line-height: 2.3;
    text-align: justify;
}

/* شبکه محصولات */
.wl-products-grid {
    gap: 25px;
}

/* کارت محصولات */
.wl-product-card {
    background: #fff;
    border: 1px solid var(--wl-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 7px 25px rgba(16,59,103,.07);
    transition: transform .3s ease, box-shadow .3s ease;
}

.wl-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 17px 38px rgba(16,59,103,.14);
}

.wl-product-image {
    background: var(--wl-light);
    overflow: hidden;
}

.wl-product-image img {
    transition: transform .45s ease;
}

.wl-product-card:hover .wl-product-image img {
    transform: scale(1.06);
}

.wl-product-info {
    padding: 22px;
}

.wl-product-info h3 {
    color: var(--wl-dark);
    font-size: 19px;
    line-height: 1.8;
}

.wl-product-info p {
    color: #63768a;
    line-height: 2;
}

/* قیمت */
.wl-product-info strong,
.wl-product-price {
    color: var(--wl-blue);
    font-size: 18px;
}

/* دکمه‌ها */
button,
.wl-product-button,
input[type="submit"] {
    transition: all .25s ease;
}

.wl-product-button,
input[type="submit"] {
    border-radius: 12px;
}

.wl-product-button:hover,
input[type="submit"]:hover {
    background-color: #075a9e;
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(8,120,209,.2);
}

/* مزیت‌های وین‌لند */
#features {
    background: linear-gradient(135deg, #f0f7ff, #fff);
}

.wl-features-grid {
    gap: 24px;
}

.wl-feature {
    background: #fff;
    padding: 30px;
    border: 1px solid var(--wl-border);
    border-radius: 19px;
    box-shadow: 0 7px 25px rgba(16,59,103,.06);
    transition: transform .3s ease, box-shadow .3s ease;
}

.wl-feature:hover {
    transform: translateY(-7px);
    box-shadow: var(--wl-shadow);
    border-color: #abd6f7;
}

.wl-feature h3 {
    color: var(--wl-blue);
    font-size: 19px;
    line-height: 1.8;
}

.wl-feature p {
    color: #63768a;
    line-height: 2.2;
}

/* فرم‌ها */
input,
textarea,
select {
    border: 1px solid #dce8f3;
    border-radius: 10px;
    padding: 12px;
    transition: border-color .25s, box-shadow .25s;
}
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--wl-blue);
    box-shadow: 0 0 0 3px rgba(8,120,209,.1);
}

/* فوتر */
footer,
.wl-footer {
    background: #103b67;
    color: #fff;
}

footer a,
.wl-footer a {
    color: #d7ecff;
    transition: color .25s;
}

footer a:hover,
.wl-footer a:hover {
    color: #fff;
}

/* انیمیشن ورود */
@keyframes wlFadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* نمایش تبلت */
@media (max-width: 900px) {
    .wl-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .wl-section-heading h2 {
        font-size: 24px;
    }
}

/* نمایش موبایل */
@media (max-width: 600px) {
    .wl-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .wl-section-heading h2 {
        font-size: 22px;
    }

    .wl-about-content {
        padding: 22px;
        border-radius: 16px;
    }

    .wl-product-card {
        border-radius: 16px;
    }

    .wl-product-card:hover,
    .wl-feature:hover {
        transform: none;
    }

    .wl-feature {
        padding: 23px;
    }
}

/* احترام به تنظیم کاهش حرکت دستگاه */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}