button {
    cursor: pointer;
    border: none;
    background: none;
}

.btn {
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

/* STATUS STORIES */
.status-section {
    padding: 2px 0;
}

.status-container {
    display: flex;
    justify-content: center;
    padding: 10px 15;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #f1f1f1;
    gap: 35px;
}

.status-container::-webkit-scrollbar {
    height: 4px;
}

.status-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.status-container::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 2px;
}

.status-item {
    flex: 0 0 calc((100% - 9 * 10px) / 10);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    flex: 0 0 auto;
    width: 100px;
}

.status-circle {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    padding: 4px;
    background: linear-gradient(60deg, #f6f6f6, #fefefe);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease; /* transform üçün transition */
}

.status-circle:hover {
    transform: scale(1.15);
}

.status-circle::after {
    content: '';
    position: absolute;
    inset: %; /* 85% əvəzinə daha stabil */
    border-radius: 50%;
    background: white;
    z-index: 1;
    transition: inherit; /* parent transform ilə birlikdə */
}

.status-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    z-index: 2;
}

.status-text {
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    color: var(--text-dark);
}

@media (max-width: 576px) {

    .status-section {
        padding: 4px 0;
    }

    .status-container {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        max-width: 100%;
        padding: 0 12px 10px;          /* ⬅️ alt boşluq scrollbar üçün */
        justify-content: flex-start;   /* ⬅️ SOLDAN BAŞLA */
        scroll-snap-type: x mandatory;
        scroll-padding-left: 12px;     /* ⬅️ ilk story tam görünsün */
    }

    .status-item {
        width: 130px;
        flex: 0 0 10px;
        scroll-snap-align: start;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .status-circle {
        width: 100%;
        aspect-ratio: 1 / 1;
        border-radius: 50%;
        padding: 2px;
        background: linear-gradient (60deg, #d4d4d4, #d4d4d4);
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
        transition: transform 0.25s ease;
    }

    .status-circle::after {
        content: '';
        position: absolute;
        inset: 4%;
        border-radius: 50%;
        background: #fff;
        z-index: 1;
    }

    .status-circle:hover {
        transform: scale(1.08);
    }

    .status-circle img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        z-index: 2;
        position: relative;
    }

    .status-text {
        font-size: 0.85rem;
        max-width: 118px;
    }

    /* Scrollbar (mobil üçün incə və səliqəli) */
    .status-container::-webkit-scrollbar {
        height: 4px;
    }

    .status-container::-webkit-scrollbar-thumb {
        background: var(--primary);
        border-radius: 2px;
    }
}


@media (max-width: 912px) and (max-width: 992px) {

    .status-section {
        padding: 4px 0;
    }

    .status-container {
        display: flex;
        gap: 35px;
        overflow-x: auto;
        max-width: 100%;
        padding: 0 12px 10px;          /* ⬅️ alt boşluq scrollbar üçün */
        justify-content: flex-start;   /* ⬅️ SOLDAN BAŞLA */
        scroll-snap-type: x mandatory;
        scroll-padding-left: 12px;     /* ⬅️ ilk story tam görünsün */
        scrollbar-width: none;
        -ms-overflow-style: none; /* IE 10+ */
    }

    .status-item {
        width: 150px;
        flex: 0 0 10px;
        scroll-snap-align: start;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .status-circle {
        width: 100px;
        aspect-ratio: 1 / 1;
        border-radius: 50%;
        padding: 4px;
        background: linear-gradient(60deg, #f1f1f1, #ffffff);
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
        transition: transform 0.25s ease;
    }

    .status-circle::after {
        content: '';
        position: absolute;
        inset: 4%;
        border-radius: 50%;
        background: #fff;
        z-index: 1;
    }

    .status-circle:hover {
        transform: scale(1.08);
    }

    .status-circle img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        z-index: 2;
        position: relative;
    }

    .status-text {
        font-size: 0.85rem;
        max-width: 118px;
    }

    /* Scrollbar (mobil üçün incə və səliqəli) */
    .status-container::-webkit-scrollbar {
        height: 4px;
        display: none;
    }

    .status-container::-webkit-scrollbar-thumb {
        background: var(--primary);
        border-radius: 2px;
    }
}





/* MAIN LAYOUT */
.main-content {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}


/* KATEQORÄ°YALAR */
.categories-sidebar {
    width: 37%;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 20px;
}

.category-header {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark);
}

.category-toggle {
    display: none;
    cursor: pointer;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.category-item {
    display: flex;
    align-items: center;
    padding: 10px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    background: #f8f8f8;
    color: var(--text-dark);
}

.category-item:hover {
    background: #e2e2e2;
}

.category-item i {
    margin-right: 10px;
    color: var(--primary);
}

.category-list li a {
    color: black;
}

/* Product details */
.product-details {
    padding: 30px;
}

.product-detail-item {
    margin-bottom: 3px;
}

.product-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.add-to-favorites {
    background: #e9ecef;
    color: var(--text-dark);
}

.add-to-favorites:hover {
    background: var(--secondary);
    color: white;
}

/* SLIDER */
.slider-container {
    width: 100%;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    height: 503px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 0%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: white;
}

.slider-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 10;
}

.slider-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* ADS SIDEBAR */
.ads-sidebar {
    width: 32%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ad-square {
    height: calc(33.33% - 10px);
    border-radius: 0px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.ad-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.ad-square:hover img {
    transform: scale(1.05);
}

.ad-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Additional image below slider */
.slider-additional {
    display: none;
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 150px;
}

.slider-additional img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* YENÄ° EKLENEN KISIM: Ä°KONLU BÄ°LGÄ°LENDÄ°RME */
.feature-container {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 20px;
}

.feature-item {
    flex: 1;
    text-align: center;
    padding: 0 15px;
    position: relative;
}

.feature-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: #eee;
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--primary);
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.4;
}

/* MÆHSULLAR */
.products-section {
    padding: 40px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.product-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    opacity: 1;
    transform: scale(1);
    animation: fadeIn 0.5s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    z-index: 2;
}

.product-img {
    height: 180px;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-action {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.product-action:hover {
    background: var(--primary);
    color: white;
}

/* .product-info {
    padding: 15px;
} */

.product-category {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-title {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--dark);
    /* height: 40px; */
    overflow: hidden;
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.product-btn {
    width: 100%;
    text-align: center;
    background: var(--primary);
    color: white;
    padding: 8px;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
}

.product-btn:hover {
    background: var(--primary-dark);
}

/* STATUS MODAL */
.status-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.status-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 90%;
    max-width: 700px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.modal-header {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--primary);
    color: white;
}

.modal-close {
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    max-height: 70vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-media {
    width: 100%;
    max-height: 400px;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.modal-media img,
.modal-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-body h3 {
    margin-bottom: 15px;
    color: var(--dark);
    text-align: center;
}

.modal-body p {
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: center;
    color: var(--text-dark);
}

.dropdown-header {
    padding: 20px;
    background: var(--primary);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-close {
    cursor: pointer;
    font-size: 1.5rem;
}

.dropdown-content {
    padding: 20px;
}

.subcategory-item {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-dark);
}

.subcategory-item:hover {
    color: var(--primary);
}

.subcategory-item i {
    margin-right: 10px;
}

/* AUTH MODAL */
.auth-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 15px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    color: var(--dark);
}

.auth-tab.active {
    border-bottom: 3px solid var(--primary);
    color: var(--primary);
    font-weight: 500;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: var(--transition);
}

.form-group input:focus {
    border-color: var(--primary);
    outline: none;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
    transition: var(--transition);
}

.social-btn:hover {
    background: #f8f9fa;
}

.divider {
    text-align: center;
    position: relative;
    margin: 20px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #eee;
    z-index: 1;
}

.divider span {
    position: relative;
    z-index: 2;
    background: white;
    padding: 0 10px;
    color: var(--gray);
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.remove-btn {
    color: #dc3545;
    cursor: pointer;
    transition: var(--transition);
}

.remove-btn:hover {
    color: #bd2130;
}

/* FOOTER */
.footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 30px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-links a i {
    width: 20px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    gap: 15px;
}

.contact-item i {
    color: var(--secondary);
    font-size: 1.2rem;
    min-width: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.products-home-section {
    padding: 40px 0;
}

.products-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.product-home-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.product-home-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-home-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 30px;
    font-size: 0.8rem;
    z-index: 2;
}

.product-home-img {
    height: 180px;
    position: relative;
}

.product-home-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-home-actions {
    position: absolute;
    top: 10px;
    right: 5px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
}

.product-home-action {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    /* box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1); */
    transition: var(--transition);
}

.product-home-info {
    padding: 15px;
}

.product-home-category {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.product-home-title {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--dark);
    height: 40px;
    overflow: hidden;
}

.product-home-details {
    font-size: 0.85rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.product-home-detail-item {
    margin-bottom: 3px;
}

.product-home-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

h1 {
    font-size: 2.5rem;
    color: #3d4a5f;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

/* Responsive ayarlar */
@media (max-width: 1050px) {
    .main-content {
        flex-direction: column;
    }

    .categories-sidebar,
    .slider-container,
    .ads-sidebar {
        width: 100%;
    }

    .feature-container {
        flex-direction: column;
    }

    .feature-item {
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid #eee;
    }

    .feature-item:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .feature-item:not(:last-child)::after {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .category-header {
        cursor: pointer;
    }

    .category-toggle {
        display: block;
    }

    .slider-additional {
        display: block;
    }

    .logo {
        margin-left: 54px;
    }

    /* Mobilde kategoriyalarÄ± slider'dan sonra gÃ¶ster */
    .mobile-categories {
        display: block;
        margin-top: 20px;
    }

    .desktop-categories {
        display: none;
    }
}

@media (min-width: 993px) {
    .mobile-categories {
        display: none;
    }

    .desktop-categories {
        display: block;
    }
}

@media (max-width: 768px) {
    .search-box {
        display: none;
    }

    .slider-container {
        height: 300px;
    }

    .product-card {
        max-width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .language-selector select {
        padding: 3px 5px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .social-icons {
        margin: 0 auto;
    }

    .slider-container {
        height: 250px;
    }

    .status-circle {
        width: 100px;
        height: 100px;
    }

    .status-circle img {
        width: 100%;
        height: 100%;
    }

    .status-text {
        font-size: 0.8rem;
    }

    .top-bar-content {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .top-links,
    .language-selector,
    .social-icons {
        margin: 5px 0;
    }
}

@media (max-width: 480px) {
    .product-category {
        color: var(--primary);
        font-size: 0.9rem;
        margin-bottom: 1px;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .product-details {
    padding: 20px;
        margin-top: -20px;
}
}