@font-face {
	font-family: 'nova';
	src: url('../fonts/nova-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'nova';
	src: url('../fonts/nova-Medium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: 'nova';
	src: url('../fonts/nova-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
}

:root{
	--black-color		        : #000000;
	--primary-color		      : #323232;
	--secondary-color		    : #9D9DA8;
	--text-color			      : #2c2c2c;
	--accent-color			    : #36B8FE;
	--accent-color-2		    : #5c4b00;
	--divider-color			    : #16161A;
	--dark-divider-color	  : #0f0f0f;
    --divider-line	        : #ededed;
	--error-color			      : rgb(230, 87, 87);
	--default-font			    : 'nova', sans-serif;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-button {
  width: 0px;
  height: 0px;
}
::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border: 0px none #ffffff;
  border-radius: 0px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}
::-webkit-scrollbar-thumb:active {
  background: var(--accent-color);
}
::-webkit-scrollbar-track {
  background: var(--secondary-color);
  border: 0px none #ffffff;
  border-radius: 0px;
}
::-webkit-scrollbar-track:hover {
  background: var(--secondary-color);
}
::-webkit-scrollbar-track:active {
  background: var(--secondary-color);
}
::-webkit-scrollbar-corner {
  background: transparent;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f5f5f5;
    color: #333;
    font-family: var(--default-font);
    font-feature-settings: "case" on;
    font-weight: 300;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-slide {
    margin: 0 auto;
}
header {
    background-color: #ffffff;
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.logo img {
    display: inline;
    max-width: 250px;
    height: auto;
}

.nav-desktop {
    display: flex;
    gap: 20px;
}

.nav-desktop a {
    color: var(--text-color);
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s;
    font-weight: 500;
}

.nav-desktop a:hover {
    background-color: var(--accent-color);
    color: #ffffff;
}

.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger-menu span {
    height: 3px;
    width: 25px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--divider-line);
    transition: right 0.3s ease;
    z-index: 101;
    padding: 10px 20px 20px;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav a {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    padding: 15px 0;
    border-bottom: 1px solid var(--text-color);
}

.close-menu {
    position: absolute;
    top: 27px;
    right: 30px;
    color: var(--text-color);
    font-size: 30px;
    cursor: pointer;
}

.filters-section {
    background-color: white;
    padding: 10px 20px;
    margin: 20px 0;
    border-radius: 8px;
    border: 1px solid var(--accent-color);
}

.filters-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px 0;
}

.filters-toggle h2 {
    font-size: 18px;
}

.filters-content {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.filters-content.active {
    display: grid;
    border-top: 1px solid var(--divider-line);
    padding-top: 15px;
}

.filter-group {
    margin-bottom: 15px;
}

.filter-group h3 {
    margin-bottom: 10px;
    font-size: 16px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.price-range {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-inputs {
    display: flex;
    gap: 10px;
    font-family: var(--default-font);
}

.price-inputs input {
    width: 100%;
    padding: 8px;
    border: 2px solid var(--divider-line);
    border-radius: 4px;
    font-family: var(--default-font);
    font-feature-settings: "case" on;
    outline: none;
}

.price-inputs input:focus-visible {
    border: 2px solid var(--accent-color);
}

.sort-section {
    display: flex;
    justify-content: end;
    margin-bottom: 20px;
}

.sort-section select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--divider-line);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    transform: scale(1.03);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background-color: #ffffff;
    padding: 10px;
}

.product-info {
    padding: 15px;
}

.product-title {
    font-size: 16px;
    margin-bottom: 10px;
    height: 25px;
    overflow: hidden;
    font-weight: 500;
    display: flex;
    justify-content: center;
    text-align: center;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.current-price {
    font-size: 18px;
    font-weight: bold;
    color: #ff5454;
}

.old-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.add-to-cart {
    width: 100%;
    padding: 10px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
    font-family: var(--default-font);
    font-feature-settings: "case" on;
}

.add-to-cart:hover {
    background-color: #2980b9;
}

.btn-filter {
    width: 100%;
    padding: 15px;
    background-color: var(--accent-color);
    border: 0px solid #00a6ff;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s;
    font-size: 14px;
    font-family: var(--default-font);
    font-feature-settings: "case" on;
    font-weight: 500;
}

.btn-filter:hover {
    background-color: #40abe5;
    color: #ffffff;
}

.btn-filter-clear {
    width: 100%;
    padding: 15px;
    background-color: #f5f5f5;
    border: 2px solid var(--divider-line);
    color: var(--text-color);
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s;
    font-size: 14px;
    font-family: var(--default-font);
    font-feature-settings: "case" on;
    font-weight: 500;
}

.btn-filter-clear:hover {
    background-color: var(--accent-color);
    color: #ffffff;
}

.product-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
}

.product-popup.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: white;
    border-radius: 10px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 30px;
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
    color: #333;
    z-index: 10;
    background: rgba(255,255,255,0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
}

.popup-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 768px) {
    .popup-body {
        flex-direction: row;
    }
}

.popup-images {
    flex: 1;
    position: relative;
}

.main-image {
    width: 100%;
    height: 300px;
    object-fit: contain;
    margin-bottom: 10px;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.image-slider {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
    background-color: #f0f0f0;
}

.thumbnail.active {
    opacity: 1;
    border: 2px solid #3498db;
}

.popup-details {
    flex: 1;
}

.popup-title-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.popup-title {
    font-size: 24px;
    margin-bottom: 0;
}

.product-id {
    font-size: 15px;
    color: var(--secondary-color);
    font-weight: 500;
}

.popup-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.popup-current-price {
    font-size: 28px;
    font-weight: bold;
    color: #ff5454;
}

.popup-old-price {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
}

.popup-description {
    margin-bottom: 20px;
    line-height: 20px;
    font-feature-settings: "case" off;
    font-size: 14px;
}

.popup-specs {
    margin-bottom: 0px;
}

.specs-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.specs-list {
    list-style-type: none;
    font-size: 14px;
}

.specs-list li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.popup-actions {
    display: flex;
    gap: 10px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    background-color: #eee;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.quantity-input {
    width: 50px;
    text-align: center;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

footer {
    background-color: #ffffff;
    color: white;
    padding: 20px 0;
    text-align: center;
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filters-content {
        grid-template-columns: 1fr;
    }
    
    .popup-content {
        width: 95%;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .popup-body {
        flex-direction: column;
    }
    
    .popup-actions {
        flex-direction: column;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #3c3c3c;
}

.footer-column p {
    line-height: 1.6;
    color: #4e4e4e;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #4e4e4e;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #3498db;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 5px;
    color: #4e4e4e;
    display: flow;
    align-items: center;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    color: #3c3c3c;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.rainbow-rgb-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        #ff0000, #ff4000, #ff8000, #ffbf00, 
        #ffff00, #bfff00, #80ff00, #40ff00,
        #00ff00, #00ff40, #00ff80, #00ffbf,
        #00ffff, #00bfff, #0080ff, #0040ff,
        #0000ff, #4000ff, #8000ff, #bf00ff,
        #ff00ff, #ff00bf, #ff0080, #ff0040,
        #ff0000);
    background-size: 400% 100%;
    animation: rainbowFlow 8s linear infinite;
}

.rainbow-rgb-underline2 {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        #ff0000, #ff4000, #ff8000, #ffbf00, 
        #ffff00, #bfff00, #80ff00, #40ff00,
        #00ff00, #00ff40, #00ff80, #00ffbf,
        #00ffff, #00bfff, #0080ff, #0040ff,
        #0000ff, #4000ff, #8000ff, #bf00ff,
        #ff00ff, #ff00bf, #ff0080, #ff0040,
        #ff0000);
    background-size: 400% 100%;
    animation: rainbowFlow 8s linear infinite;
}

@keyframes rainbowFlow {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 400% 0%;
    }
}


        .checkbox-group {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        /* ძირითადი სტილები checkbox-ისთვის */
        .checkbox-container {
            position: relative;
            cursor: pointer;
            padding-left: 40px;
            font-size: 18px;
            color: #34495e;
            line-height: 28px;
            display: flex;
            align-items: center;
            transition: all 0.3s ease;
            border-radius: 8px;
            padding: 5px 5px 5px 40px;
            background-color: #f5f5f5;
        }

        .checkbox-container:hover {
            background-color: #edf2f7;
        }

        /* დავამთხვინოთ HTML-ს */
        .checkbox-container input[type="checkbox"] {
            position: absolute;
            opacity: 0;
            cursor: pointer;
            height: 0;
            width: 0;
        }

        /* checkbox-ის ყუთი */
        .checkmark {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            height: 20px;
            width: 20px;
            border: 2px solid #bdc3c7;
            border-radius: 4px;
            background-color: #fff;
            transition: all 0.3s ease;
        }

        /* check მარკა */
        .checkmark:after {
            content: "";
            position: absolute;
            display: none;
            left: 5px;
            top: 1px;
            width: 4px;
            height: 10px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }

        /* checked მდგომარეობა */
        .checkbox-container input[type="checkbox"]:checked ~ .checkmark {
            background-color: var(--accent-color);
            border-color: var(--accent-color);
        }

        .checkbox-container input[type="checkbox"]:checked ~ .checkmark:after {
            display: block;
        }

        /* hover ეფექტი */
        .checkbox-container:hover input[type="checkbox"] ~ .checkmark {
            border-color: #95a5a6;
        }

        /* focus ეფექტი */
        .checkbox-container input[type="checkbox"]:focus ~ .checkmark {
            box-shadow: 0 0 0 3px rgba(76, 122, 175, 0.2);
            border-color: var(--accent-color);
        }

        /* ანიმაცია checked მდგომარეობისთვის */
        .checkbox-container input[type="checkbox"]:checked ~ .checkmark {
            animation: pulse 0.5s ease;
        }

        @keyframes pulse {
            0% { transform: translateY(-50%) scale(1); }
            50% { transform: translateY(-50%) scale(1.1); }
            100% { transform: translateY(-50%) scale(1); }
        }

        /* ვარიანტები სხვადასხვა ფერებისთვის */
        .checkbox-primary input[type="checkbox"]:checked ~ .checkmark {
            background-color: #3498db;
            border-color: #3498db;
        }

        .checkbox-warning input[type="checkbox"]:checked ~ .checkmark {
            background-color: #f39c12;
            border-color: #f39c12;
        }

        .checkbox-danger input[type="checkbox"]:checked ~ .checkmark {
            background-color: #e74c3c;
            border-color: #e74c3c;
        }

        .checkbox-purple input[type="checkbox"]:checked ~ .checkmark {
            background-color: #9b59b6;
            border-color: #9b59b6;
        }


select.minimal {
  background-image: linear-gradient(45deg, transparent 50%, gray 50%),
    linear-gradient(135deg, gray 50%, transparent 50%),
    linear-gradient(to right, #ccc, #ccc);
  background-position: calc(100% - 20px) calc(1em + 2px),
    calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
  background-size: 5px 5px, 5px 5px, 1px 1.5em;
  background-repeat: no-repeat;
}

select.minimal:focus {
  background-image: linear-gradient(45deg, green 50%, transparent 50%),
    linear-gradient(135deg, transparent 50%, green 50%),
    linear-gradient(to right, #ccc, #ccc);
  background-position: calc(100% - 15px) 1em, calc(100% - 20px) 1em,
    calc(100% - 2.5em) 0.5em;
  background-size: 5px 5px, 5px 5px, 1px 1.5em;
  background-repeat: no-repeat;
  border-color: var(--accent-color);
  outline: 0;
}

select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #000;
}

select {
  /* styling */
  background-color: white;
  border: thin solid blue;
  border-radius: 8px;
  display: inline-block;
  font: inherit;
  line-height: 1.5em;
  padding: 0.5em 3.5em 0.5em 1em;

  /* reset */

  margin: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-size: 15px;
}


.slider-container {
    position: relative;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 350px; /* შეგიძლიათ შეცვალოთ სიმაღლე */
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 30px;
    text-align: center;
}

.slide-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.slide-description {
    font-size: 1.1rem;
}

/* ნავიგაციის ღილაკები */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.7);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 10;
}

.slider-btn:hover {
    background: rgba(255,255,255,0.9);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* ინდიკატორები */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 60px;
    height: 4px;
    border-radius: 3px;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: var(--accent-color);
}

/* ვიდეო ფლეიერის სტილები */
.video-thumbnail {
    position: relative;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.video-thumbnail:hover {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.video-thumbnail.active {
    border-color: var(--accent-color);
}

.video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.video-thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-thumbnail:hover .video-thumbnail-image {
    transform: scale(1.1);
}

.video-player-container {
    width: 100%;
    height: 300px; /* იგივე სიმაღლე, რაც სურათებს */
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.video-player {
    width: 100%;
    height: 100%;
    outline: none;
}

/* წაშალე ვიდეო კონტროლების სტილები */
.video-controls,
.video-control-btn {
    display: none;
}

/* Zoom ფუნქციონალის სტილები */
.main-media {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.main-image {
    width: 100%;
    height: 300px;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.main-media.zoomed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: zoom-out;
}

.main-media.zoomed .main-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    transform: scale(1);
    cursor: zoom-out;
}

.main-media.zoomed .video-player-container {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
}

.zoom-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1001;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.zoom-overlay.active {
    display: flex;
}

.zoom-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

.zoom-overlay .video-player-container {
    max-width: 90vw;
    max-height: 90vh;
}

.close-zoom {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1002;
    font-size: 24px;
}

.close-zoom.show {
    display: flex;
}

.zoom-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s;
}

.main-media:hover .zoom-icon {
    opacity: 1;
}

.zoomed-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    cursor: zoom-out;
}

.zoom-overlay.active .video-player-container {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
}

/* Zoom ღილაკის სტილები მობილურისთვის */
@media (max-width: 768px) {
    .zoom-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
        opacity: 0.8; /* მობილურზე უფრო ნათელი იყოს */
    }
    
    .main-media:hover .zoom-icon {
        opacity: 0.8; /* მობილურზე ყოველთვის ნაწილობრივ ხილული იყოს */
    }
    
    /* დავრწმუნდეთ, რომ close ღილაკი ყოველთვის ხილულია */
    .close-popup {
        opacity: 1 !important;
        background: rgba(255,255,255,0.95);
        width: 45px;
        height: 45px;
        font-size: 24px;
        z-index: 1001;
    }
}

/* Footer სტილები */
.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #3c3c3c;
    font-weight: 600;
}

.footer-column p {
    line-height: 1.6;
    color: #4e4e4e;
}

/* სოციალური ქსელების სტილები */
.social-links {
    display: inline-flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-link:hover {
    background-color: #2987ba;
    transform: translateY(-2px);
    color: white;
}

.footer-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* ბმულების სტილები */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    color: #4e4e4e;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
    display: block;
    padding: 4px 0;
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* საკონტაქტო ინფორმაციის სტილები */
.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 15px;
    color: #4e4e4e;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
}

.contact-info i {
    color: var(--accent-color);
    width: 16px;
    margin-top: 2px;
    font-size: 14px;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid var(--divider-line);
    padding-top: 20px;
    text-align: center;
    color: #3c3c3c;
    font-size: 14px;
}

/* რესპონსივი დიზაინი */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-column:first-child {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-column:first-child {
        grid-column: auto;
    }
    
    .contact-info li {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        gap: 25px;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* დაამატეთ style.css-ში */
.popup-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.popup-current-price {
    font-size: 28px;
    font-weight: bold;
    color: #ff5454;
}

.popup-old-price {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
}

.stock-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 5px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-left: inherit;
}

.stock-in {
    background-color: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.stock-out {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.stock-low {
    background-color: #fff3e0;
    color: #ef6c00;
    border: 1px solid #ffe0b2;
}

.stock-icon {
    font-size: 12px;
}

/* ტოპ პროდუქტების სექცია */

.container-topslider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
}

.top-products-section {
    padding: 20px 0 10px 0;
    background-color: #fff;
    margin: 0px auto;
    border: 1px solid var(--divider-line);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 0 15px;
}

.section-title {
    font-size: 24px;
    color: var(--text-color);
    font-weight: 700;
}

.section-controls {
    display: flex;
    gap: 10px;
}

.control-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    border: 1px solid var(--divider-line);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: var(--text-color);
}

.control-btn:hover {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.control-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.control-btn:disabled:hover {
    background-color: #f5f5f5;
    color: var(--text-color);
    border-color: var(--divider-line);
}

.top-products-wrapper {
    position: relative;
    padding: 0 6px;
}

.top-products-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.top-products-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.top-product-card {
    flex: 0 0 calc(20% - 16px); /* 5 პროდუქტი რიგში დესკტოპზე */
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--divider-line);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    margin: 10px 8px;
}

.top-product-card:hover {
    transform: translateY(-5px);
    transform: scale(1.03);
}

.top-product-image {
    width: 100%;
    height: 180px;
    object-fit: contain;
    background-color: #ffffff;
    padding: 10px;
}

.top-product-info {
    padding: 15px;
}

.top-product-title {
    font-size: 14px;
    margin-bottom: 10px;
    height: 40px;
    overflow: hidden;
    font-weight: 500;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.top-product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.top-current-price {
    font-size: 16px;
    font-weight: bold;
    color: #ff5454;
}

.top-old-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

/* რესპონსივი დიზაინი */
@media (max-width: 1200px) {
    .top-product-card {
        flex: 0 0 calc(25% - 15px); /* 4 პროდუქტი რიგში */
    }
}

@media (max-width: 992px) {
    .top-product-card {
        flex: 0 0 calc(33.333% - 14px); /* 3 პროდუქტი რიგში */
    }
}

@media (max-width: 768px) {
    .top-product-card {
        flex: 0 0 calc(50% - 10px); /* 2 პროდუქტი რიგში */
    }
    
    .section-header {
        flex-direction: row;
        gap: 15px;
        align-items: flex-start;
    }
    
    .section-controls {
        align-self: flex-end;
    }
    
    .top-product-image {
        height: 150px;
    }
}

@media (max-width: 576px) {
    .top-product-card {
        flex: 0 0 calc(100% - 16px); /* 1 პროდუქტი რიგში მობილურზე */
        margin: 6px 8px;
    }
    
    .top-product-image {
        height: 200px;
    }
    
    /* მობილურზე ღილაკების სტილები */
    .section-controls {
        display: flex !important; /* ყოველთვის ჩანდეს */
        align-self: center;
    }
    
    .control-btn {
        width: 45px;
        height: 45px;
    }
    
    .control-btn:hover {
        background-color: var(--accent-color);
    }
}
