* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: MTFont, Helvetica, sans-serif;
  background: #fff;
}

body {
  min-width: 320px;
}

/* =========================
   FONT
   ========================= */
   
@font-face {
  font-family: "MTFont";
  src: url("fonts/mtfont.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

/* =========================
   HEADER — 1349 x 48px
   ========================= */

.site-header {
  width: 100%;
  height: 48px;
  background: #fff;
  border-bottom: 1px solid #eeeeee;
  
  position: sticky;
top: 0;
z-index: 1000;
}

.header-inner {
  width: 100%;
  max-width: 1349px;
  height: 48px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  position: relative;
  box-shadow: 0 6px 16px rgb(25 25 25 / 6%);
}

/* logo */

.logo {
  margin-left: 32px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
}

.logo img {
  display: block;
  width: 105px;
  height: 32px;
  object-fit: contain;
}

/* Navigation */

.main-nav {
  position: absolute;
  left: 50%;
  top: 0;
  height: 48px;
  transform: translateX(-50%);

  display: flex;
  align-items: center;
  gap: 44px;
  white-space: nowrap;
}

.main-nav a {
    color: #1c242d;
    font-size: 14px;
    text-decoration: none;
    position: relative;
    height: 48px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

/* ქვედა ხაზი */
.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #03bc45;
    transition: width 0.3s ease;
}

/* ტექსტიც იცვლის ფერს */
.main-nav a:hover {
    color: #03bc45;
}

/* ხაზი მარცხნიდან მარჯვნივ */
.main-nav a:hover::after {
    width: 100%;
}

/* აქტიური კატეგორია */
.main-nav a.active {
    color: #05bd45;
}

.main-nav a.active::after {
    width: 100%;
}

/* Search + account */

.header-actions {
  margin-left: auto;
  margin-right: 31px;

  height: 48px;
  display: flex;
  align-items: center;
  gap: 25px;
}

.icon-button {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;

  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.icon-button img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

/* =========================
   BANNER — 1349 x 476px
   ========================= */

.hero-banner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  background: #eef0f4;
}

.hero-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 900px) {
  .main-nav {
    gap: 20px;
  }

  .main-nav a {
    font-size: 12px;
  }

  .logo {
    margin-left: 16px;
  }

  .header-actions {
    margin-right: 16px;
    gap: 12px;
  }
}

@media (max-width: 650px) {
  .main-nav {
    display: none;
  }

  .site-header,
  .header-inner {
    height: 48px;
  }

  .hero-banner {
    height: auto;
    aspect-ratio: 1349 / 476;
  }
}

/* =========================
   PRODUCTS SECTION
   ========================= */

.products-section {
    width: 100%;
    max-width: 1349px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;

    padding: 14px 16px 24px;

    background: #f5f5f5;
}


/* =========================
   PRODUCT CARD
   ========================= */

.product-card {
    background: #fff;
    min-width: 0;

    transition: box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
    
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    text-decoration: none;
    color: inherit;
}

.product-card h3,
.product-card p,
.product-card div {
    text-decoration: none;
}

.product-card:hover {
    box-shadow: 0 8px 25px rgb(0 0 0 / 7%);
    z-index: 2;
}

.product-image {
    width: 100%;
    height: 300px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;
    overflow: hidden;
	
	transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-image img {
    width: 100%;
    height: 90%;
    object-fit: contain;
    display: block;
}

/* =========================
   PRODUCT INFO
   ========================= */
.products-section {
    margin-top: 30px;
    margin-bottom: 30px;
}

.product-info {
    background: #fff;
    padding: 0 40px 38px;
}

.product-info h3 {
    margin: 0;
    padding-top: 3px;

    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;

    color: #111;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    margin-top: 35px;

    font-size: 20px;
    font-weight: 400;
    color: #111;
}

.product-old-price {
    margin-top: 7px;

    font-size: 14px;
    font-weight: 400;
    color: #aaa;
}

.old-price {
    margin-left: 1px;
    color: #bdbdbd;
    font-size: 14px;
    text-decoration: line-through;
    font-weight: 400;
}

/* =========================
   ALL PRODUCTS
   ========================= */

.all-products {
    background: #fff;
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    color: #111;

    transition: box-shadow 0.3s ease;
}

.all-products:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    z-index: 2;
}

.all-products-title {
    font-size: 22px;
    font-weight: 600;
}

.all-products-arrow {
    width: 36px;
    height: 36px;

    margin-top: 36px;

    border: 2px solid #03bc45;
    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #03bc45;
    font-size: 25px;
    line-height: 1;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.all-products:hover .all-products-arrow {
    background: #03bc45;
    color: #fff;
    transform: translateX(4px);
}


/* =========================
   RESPONSIVE
   ========================= */

/* =========================
   RESPONSIVE PRODUCT CARDS
   ========================= */

@media (max-width: 900px) {
    .products-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 12px;
    }

    .product-image {
        height: clamp(160px, 28vw, 240px);
    }

    .product-info {
        padding: 0 16px 22px;
    }

    .product-info h3 {
        font-size: 15px;
        white-space: normal;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-height: 1.35;
        min-height: 2.7em;
    }

    .product-price {
        margin-top: 18px;
        font-size: 18px;
    }

    .product-old-price {
        margin-top: 6px;
        font-size: 12px;
    }

    .all-products-title {
        font-size: 18px;
        text-align: center;
        padding: 0 8px;
    }

    .all-products-arrow {
        margin-top: 20px;
    }
}

@media (max-width: 550px) {
    .products-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 8px;
        margin-top: 18px;
        margin-bottom: 18px;
    }

    .product-card {
        min-width: 0;
    }

    .product-image {
        height: clamp(125px, 35vw, 180px);
    }

    .product-image img {
        width: 94%;
        height: 88%;
        object-fit: contain;
    }

    .product-info {
        padding: 0 9px 14px;
    }

    .product-info h3 {
        padding-top: 5px;
        font-size: clamp(11px, 2.9vw, 13px);
        line-height: 1.35;
        min-height: 2.7em;
        white-space: normal;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow-wrap: anywhere;
    }

    .product-price {
        margin-top: 12px;
        font-size: clamp(14px, 3.8vw, 17px);
    }

    .product-old-price {
        margin-top: 5px;
        font-size: clamp(10px, 2.6vw, 12px);
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    .all-products-title {
        font-size: clamp(12px, 3.3vw, 14px);
        line-height: 1.4;
        text-align: center;
        padding: 0 5px;
    }

    .all-products-arrow {
        width: 30px;
        height: 30px;
        margin-top: 14px;
        font-size: 21px;
        border-radius: 8px;
    }
}

@media (max-width: 360px) {
    .products-section {
        gap: 6px;
        padding: 6px;
    }

    .product-info {
        padding-right: 7px;
        padding-left: 7px;
    }

    .product-info h3 {
        font-size: 11px;
    }

    .product-price {
        font-size: 14px;
    }

    .product-old-price {
        font-size: 10px;
    }
}

/* =========================
   FOOTER
========================= */

.site-footer {
    width: 100%;
    background: #000;
    color: #fff;
}


/* მთავარი ნაწილი */

.footer-main {
    width: 100%;
    max-width: 1349px;
    min-height: 370px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 2.1fr 1.9fr 1.2fr 1.4fr;

    padding: 45px 48px 40px;
}


/* ლოგო */

.footer-logo {
    width: 165px;
    height: auto;
    display: block;
    margin-bottom: 38px;
}


/* საკონტაქტო ინფორმაცია */

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-item {
    display: flex;
    align-items: center;

    font-size: 14px;
    line-height: 1.45;
    color: #ddd;
}

.contact-icon {
    width: 26px;
    flex-shrink: 0;

    color: #fff;
    font-size: 15px;
}


/* Footer სვეტები */

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column h3 {
    margin: 0 0 20px;

    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.footer-column a {
    display: block;

    margin-bottom: 13px;

    font-size: 14px;
    line-height: 1.4;

    color: #ddd;
    text-decoration: none;

    transition: color 0.25s ease;
}

.footer-column a:hover {
    color: #fff;
}


/* ქვედა ზოლი */

.footer-bottom {
    width: 100%;
    height: 48px;

    border-top: 1px solid #252525;

    display: flex;
    align-items: center;

    padding: 0 14px;

    font-size: 13px;
    color: #ddd;
}

/* =========================
   SEARCH DROPDOWN
========================= */

.search-panel {
    position: fixed;
    top: 48px;
    left: 0;

    width: 100%;
    height: 0;

    background: #fff;

    overflow: hidden;

    opacity: 0;
    visibility: hidden;

    z-index: 999;

    transition:
        height 0.35s ease,
        opacity 0.25s ease,
        visibility 0.35s ease;
}


/* გახსნილი */

.search-panel.open {
    height: 570px;

    opacity: 1;
    visibility: visible;
}


/* შიდა კონტეინერი */

.search-container {
    width: 755px;
    max-width: calc(100% - 40px);

    margin: 80px auto 0;
}


/* საძიებო ველი */

.search-input-wrapper {
    width: 100%;
    height: 40px;

    border: 1px solid #05bd45;
    border-radius: 15px;

    display: flex;
    align-items: center;

    padding: 0 14px;

    background: #fff;
}


/* Search icon */

.search-input-wrapper svg {
    width: 19px;
    height: 19px;

    flex-shrink: 0;

    color: #888;

    margin-right: 14px;
}


/* Input */

.search-input-wrapper input {
    flex: 1;

    width: 100%;
    height: 100%;

    border: none;
    outline: none;

    background: transparent;

    font-family: inherit;
    font-size: 16px;

    color: #222;
}

.search-input-wrapper input::placeholder {
    color: #999;
}


/* X ღილაკი */

.search-close {
    width: 25px;
    height: 25px;

    padding: 0;

    border: none;
    background: transparent;

    color: #999;

    font-size: 24px;
    font-weight: 300;

    line-height: 25px;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================
   SEARCH RESULTS
========================= */

.search-results {
    width: 100%;

    margin-top: 10px;
}


.search-result {
    position: relative;

    display: flex;
    align-items: center;

    height: 51px;

    padding: 0 46px;

    text-decoration: none;

    color: #222;

    font-size: 18px;
}


.search-result strong {
    font-weight: 700;

    margin-right: 5px;
}


.search-result span:not(.result-arrow) {
    color: #999;
}


.result-arrow {
    position: absolute;

    right: 47px;

    color: #888;

    font-size: 30px;
    font-weight: 300;

    line-height: 1;
}


.search-result:hover {
    background: #fafafa;
}

/* =========================================
   PRODUCT PAGE
========================================= */

.product-page {
    width: 100%;
    min-height: calc(100vh - 48px);
    display: grid;
    grid-template-columns: 58% 42%;
    background: #fff;
	
	padding-top: 35px;
	padding-bottom: 35px;
    box-sizing: border-box;
}


/* =========================================
   GALLERY
========================================= */

.product-gallery {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-product-image {
    position: relative;
    width: 100%;
    height: 520px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.main-product-image img {
    width: 620px;
    max-width: 82%;
    height: 500px;

    object-fit: contain;
    display: block;

    transition: opacity 0.2s ease, transform 0.35s ease;
}


/* =========================================
   SLIDER BUTTONS
========================================= */

.slider-btn {
    position: absolute;

    width: 42px;
    height: 42px;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.92);
    color: #202731;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: Arial, sans-serif;
    font-size: 34px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    opacity: 0;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.10);

    transition:
        opacity 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
    
    z-index: 5;
}

.main-product-image:hover .slider-btn {
    opacity: 1;
}

.slider-btn:hover {
    background: #fff;
    transform: scale(1.06);
}

.slider-prev {
    left: 35px;
}

.slider-next {
    right: 35px;
}


/* =========================================
   THUMBNAILS
========================================= */

.product-thumbnails {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 19px;
}

.thumbnail {
    width: 71px;
    height: 62px;

    padding: 4px;

    background: #fff;
    border: 2px solid transparent;
    border-radius: 9px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.thumbnail.active {
    border-color: green;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.thumbnail:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.thumbnail.active {
    border-color: #05bd45;
}


/* =========================================
   PRODUCT DETAILS
========================================= */

.product-details {
    padding-top: 14px;
    padding-left: 5px;
    padding-right: 93px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-details h1 {
    margin: 0;

    font-size: 30px;
    line-height: 1.25;
    font-weight: 400;

    color: #111;
}

.product-price-main {
    margin-top: 32px;

    font-size: 30px;
    line-height: 1;

    font-weight: 400;
    color: #111;
}

.installment {
    margin-top: 8px;

    font-size: 16px;
    line-height: 1.3;

    color: #888;
}


/* =========================================
   STOCK
========================================= */

.stock-status {
    margin-top: 39px;

    height: 39px;
    padding: 0 14px;

    border: 1px solid #05bd45;
    border-radius: 10px;

    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 15px;
    color: #222;
}

.stock-status span {
    width: 7px;
    height: 7px;

    border-radius: 50%;
    background: #05bd45;

    display: block;
}

/* მწვანე - მარაგშია */
.stock-status.in-stock {
    border-color: #05bd45;
}

.stock-status.in-stock span {
    background: #05bd45;
}


/* წითელი - არ არის მარაგში */
.stock-status.out-stock {
    border-color: #e53935;
    color: #e53935;
}

.stock-status.out-stock span {
    background: #e53935;
}

/* =========================================
   ACTION BUTTONS
========================================= */

.product-actions {
    width: 100%;

    margin-top: 54px;
}

.buy-button {
    width: 100%;
    height: 52px;

    border: none;
    border-radius: 15px;

    background: #05bd45;
    color: #fff;

    font-family: inherit;
    font-size: 20px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.2s ease;
}

.buy-button:hover {
    background: #04aa3e;
}

.installment-row {
    width: 100%;

    margin-top: 9px;

    display: flex;
    gap: 9px;
}

.installment-button {
    flex: 1;
    height: 61px;

    border: none;
    border-radius: 15px;

    background: #202731;
    color: #fff;

    font-family: inherit;
    font-size: 20px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.2s ease;
}

.installment-button:hover {
    background: #171d24;
}

.cart-button {
    width: 63px;
    height: 61px;

    border: none;
    border-radius: 10px;

    background: #202731;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.2s ease;
}

.cart-button:hover {
    background: #171d24;
    transform: translateY(-1px);
}


/* =========================================
   PRODUCT CODE
========================================= */

.product-code {
    margin-top: 36px;

    font-size: 15px;
    color: #888;
}


/* =========================================
   SLIDER ANIMATION
========================================= */

.main-product-image img.slide-out {
    opacity: 0;
    transform: scale(0.97);
}

.main-product-image img.slide-in {
    opacity: 1;
    transform: scale(1);
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1000px) {

    .product-page {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        padding-top: 20px;
    }

    .product-details {
        padding: 30px 40px 50px;
    }

    .main-product-image {
        height: 500px;
    }

}

@media (max-width: 600px) {

    .product-details {
        padding: 25px 20px 40px;
    }

    .product-details h1 {
        font-size: 24px;
    }

    .product-price-main {
        font-size: 27px;
    }

    .main-product-image {
        height: 390px;
    }

    .main-product-image img {
        height: 370px;
    }

    .slider-btn {
        opacity: 1;
        width: 38px;
        height: 38px;
    }

    .slider-prev {
        left: 15px;
    }

    .slider-next {
        right: 15px;
    }

    .product-thumbnails {
        gap: 15px;
    }

    .thumbnail {
        width: 65px;
        height: 57px;
    }

}

.product-description {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
}


/* ზედა ცალკე "აღწერა" */

.product-description__tab {
    width: 100%;
    height: 42px;

    display: flex;
    justify-content: center;
    align-items: flex-end;

    border-bottom: 1px solid #e7e7e7;
}

.product-description__tab span {
    position: relative;

    display: inline-block;

    padding: 0 12px 7px;

    color: #222;
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
}

.product-description__tab span::before {
    content: "";

    position: absolute;

    width: 55px;
    height: 3px;

    top: -1px;
    left: 50%;

    transform: translateX(-50%);

    background: #03bc45;
    border-radius: 10px;
}


/* მთავარი ბლოკი */

.product-description__inner {
    position: relative;

    width: calc(100% - 40px);
    max-width: 1320px;

    margin: 17px auto 0;
    padding: 20px 14px 22px;

    border: 1px solid #e1e1e1;
    border-radius: 10px;

    background: #fff;

    overflow: hidden;
}


/* iPhone 17 Pro */

.product-description__title {
    margin: 0 0 25px;
    padding: 0;

    color: #202124;

    font-size: 23px;
    line-height: 1.25;
    font-weight: 700;
}


/* სათაურები */

.product-description__subtitle {
    margin: 0 0 22px;
    padding: 0;

    color: #202124;

    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;
}

.product-description__subtitle--specs {
    margin-top: 4px;
    margin-bottom: 20px;
}


/* აღწერის ტექსტი */

.product-description__text {
    margin: 0 0 22px;

    color: #858585;

    font-size: 14px;
    line-height: 1.65;
}

.product-description__text p {
    margin: 0 0 15px;
}

.product-description__text p:last-child {
    margin-bottom: 0;
}

.product-specifications p {
    line-height: 1;
}

/* მახასიათებლები */

.product-description__specs {
    position: relative;
    z-index: 2;

    margin: 0;
    padding: 0 0 0 25px;

    color: #858585;

    font-size: 13px;
    line-height: 1.55;
}

.product-description__specs li {
    margin: 0 0 12px;
    padding-left: 2px;
}

.product-description__specs li:last-child {
    margin-bottom: 0;
}

.product-description__specs strong {
    color: #707070;
    font-weight: 700;
}


/* მარჯვენა დეკორატიული წრეები */

.product-description__inner::before {
    content: "";

    position: absolute;

    width: 58px;
    height: 58px;

    top: 45px;
    right: -8px;

    border: 2px solid #ededed;
    border-left-color: transparent;
    border-bottom-color: transparent;

    border-radius: 50%;

    transform: rotate(-25deg);

    pointer-events: none;
}

.product-description__inner::after {
    content: "";

    position: absolute;

    width: 55px;
    height: 55px;

    right: -5px;
    bottom: 85px;

    border: 2px solid #ededed;
    border-left-color: transparent;
    border-bottom-color: transparent;

    border-radius: 50%;

    transform: rotate(10deg);

    pointer-events: none;
}


/* Tablet */

@media (max-width: 900px) {

    .product-description__inner {
        width: calc(100% - 28px);
        padding: 18px 14px 20px;
    }

    .product-description__title {
        font-size: 21px;
    }

    .product-description__subtitle {
        font-size: 18px;
    }

    .product-description__text,
    .product-description__specs {
        font-size: 12px;
    }
}


/* Mobile */

@media (max-width: 600px) {

    .product-description__tab {
        height: 40px;
    }

    .product-description__tab span {
        font-size: 13px;
    }

    .product-description__inner {
        width: calc(100% - 20px);
        margin-top: 13px;

        padding: 16px 12px 18px;

        border-radius: 8px;
    }

    .product-description__title {
        margin-bottom: 20px;
        font-size: 19px;
    }

    .product-description__subtitle {
        margin-bottom: 17px;
        font-size: 17px;
    }

    .product-description__text,
    .product-description__specs {
        font-size: 11.5px;
    }

    .product-description__specs {
        padding-left: 20px;
    }

    .product-description__specs li {
        margin-bottom: 10px;
    }
}

/* =========================
   MOBILE BURGER BUTTON
   ========================= */

.burger-toggle {
  display: none;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  cursor: pointer;
}

.burger-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  border-radius: 2px;
  background: #1c242d;
}

@media (max-width: 650px) {
  .burger-toggle {
    display: flex;
  }

}

/* =========================
   MOBILE MENU
   ========================= */

.mobile-menu-overlay {
  position: fixed;
  top: 48px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-menu {
  position: fixed;
  top: 48px;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  z-index: 1101;
  background: #fff;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.25s ease, visibility 0.25s ease;
  overflow-y: auto;
}

.mobile-menu-header {
  min-height: 58px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  color: #1c242d;
  font-size: 16px;
  font-weight: 600;
}

.mobile-menu-close {
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: #1c242d;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  padding: 8px 20px 24px;
}

.mobile-menu-links a {
  padding: 16px 0;
  border-bottom: 1px solid #eee;
  color: #1c242d;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-menu-links a:hover {
  color: #03bc45;
}

body.mobile-menu-open {
  overflow: hidden;
}

body.mobile-menu-open .mobile-menu {
  transform: translateX(0);
  visibility: visible;
}

body.mobile-menu-open .mobile-menu-overlay {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 651px) {
  .mobile-menu,
  .mobile-menu-overlay {
    display: none;
  }
}


/* Footer — mobile responsive */
@media (max-width: 767px) {
    .site-footer .footer-main {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
        width: 100%;
    }

    .site-footer .footer-brand,
    .site-footer .footer-column {
        width: 100%;
        min-width: 0;
    }

    .site-footer .footer-logo {
        max-width: 160px;
        height: auto;
        display: block;
        margin-bottom: 16px;
    }

    .site-footer .footer-contact {
        display: flex;
        flex-direction: column;
        gap: 10px;
        overflow-wrap: anywhere;
    }
    
    .site-footer .footer-main {
    padding-left: 15px;
    padding-right: 15px;
}

.site-footer .footer-brand,
.site-footer .footer-column {
    padding-left: 0;
    margin-left: 0;
}
}

.search-result-item {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #222;
}

.search-result-item:hover {
    background: #f5f5f5;
}

html {
    overflow-y: scroll;
}

/* =========================
   SEARCH
   ========================= */
/* SEARCH PAGE */

.page-search-page {
    font-family: "MTFont", sans-serif;
    min-height: 70vh;
    padding: 40px 20px;
}


/* Search input area */

.page-search-form {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}


.page-search-box {
    position: relative;
    width: 590px;
}


.page-search-box input {
    width: 100%;
    height: 42px;

    border: 1px solid #ddd;
    border-radius: 22px;

    padding-left: 45px;
    padding-right: 20px;

    font-family: "MTFont", sans-serif;
    font-size: 16px;

    outline: none;
    box-sizing: border-box;

    background: #fff;
}


/* Search icon */

.page-search-icon {
    position: absolute;

    left: 17px;
    top: 50%;

    transform: translateY(-50%);

    width: 18px;
    height: 18px;

    fill: #777;

    pointer-events: none;
}


/* No results */

.page-no-results {

    width:100%;

    display:flex;

    justify-content:center;
    align-items:center;

    margin-top:70px;

    font-family:"MTFont", sans-serif;

    font-size:18px;

    color:#999;

}


/* Products grid */

.page-search-products {

    display:grid;

    grid-template-columns:repeat(4, 1fr);

    gap:25px;

}


/* Tablet */

@media(max-width:1000px){

    .page-search-products {

        grid-template-columns:repeat(2,1fr);

    }

}


/* Mobile */

@media(max-width:600px){

    .page-search-box {

        width:100%;

    }


    .page-search-products {

        grid-template-columns:1fr;

    }

}


/* PRODUCTS PAGE FILTERS */

.products-filters {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 30px 0 40px;
}


.products-filters select,
.products-filters input {
    height: 42px;
    border: 1px solid #d9d9d9;
    border-radius: 12px;
    padding: 0 15px;
    font-family: "MTFont", sans-serif;
    font-size: 15px;
    outline: none;
    background: #fff;
}


.products-filters select {
    min-width: 180px;
    cursor: pointer;
}



/* ფასის ბლოკი */

.price-filter {
    display: flex;
    gap: 10px;
}


.price-filter input {
    width: 150px;
}



/* პროდუქციის სათაური */

.products-page h1 {
    font-family: "MTFont", sans-serif;
    font-size: 32px;
    margin-bottom: 20px;
}



/* როცა პროდუქტი ვერ მოიძებნა */

.page-no-results {
    width: 100%;
    text-align: center;
    padding: 60px 0;
    font-family: "MTFont", sans-serif;
    font-size: 22px;
    color: #999;
}



/* მობილური */

@media(max-width:768px){

    .products-filters {
        flex-direction: column;
        align-items: stretch;
    }


    .products-filters select {
        width:100%;
    }


    .price-filter {
        width:100%;
    }


    .price-filter input {
        width:50%;
    }

}

/* PRODUCTS FILTERS */

.products-filters {
    display: flex;
    align-items: flex-end;
    gap: 25px;
    margin: 30px 0 40px;
}


.filter-item {
    display: flex;
    flex-direction: column;
}


.filter-label {
    font-family: "MTFont", sans-serif;
    font-size: 12px;
    margin-bottom: 8px;
}


.products-filters select {
    width: 180px;
    cursor: pointer;
}


.price-filter {
    display: flex;
    gap: 10px;
}


.price-filter input {
    width: 140px;
}



/* Mobile */

@media(max-width:768px){

    .products-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }


    .products-filters select,
    .price-filter input {
        width: 100%;
    }


    .price-filter {
        width: 100%;
    }

}