/* ძირითადი პარამეტრები */
:root {
    --primary: #facc15;
    --secondary: #1e293b;
    --bg: #050a18;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

*{
box-sizing: border-box;

}

/* ფონტების იმპორტი */
@font-face {
    font-family: 'b1';
    src: url('../fonts/font-2.otf');
}

@font-face {
    font-family: 'abrama';
    src: url('../fonts/dafont.ttf');
}

body {
    margin: 0;
    padding: 0;
    font-family: 'b1', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg);
    color: var(--white);
    overflow-x: hidden;
}

/* ნავბარი */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    background: rgba(5, 10, 24, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--white);
    letter-spacing: 1px;
}

.logo span { color: var(--primary); }

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li { margin-left: 30px; }

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active { color: var(--primary); }

.btn-login {
    background: var(--primary);
    color: black !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: bold !important;
    text-decoration: none !important;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Sidebar (მობილურის მენიუ) */
.sidebar {
    position: fixed;
    top: 0;
    right: -100%; /* დამალულია */
    width: 280px;
    height: 100%;
    background: #0f172a;
    z-index: 2000;
    transition: var(--transition);
    padding: 30px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}

.sidebar.active { right: 0; }

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.close-btn { font-size: 1.5rem; cursor: pointer; color: var(--primary); }

.sidebar-links {
    list-style: none;
    padding: 0;
}

.sidebar-links li { margin-bottom: 25px; }

.sidebar-links a {
    text-decoration: none;
    color: white;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.sidebar-login { color: var(--primary) !important; font-weight: bold; }

.overlay-sidebar {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    z-index: 1500;
}

.overlay-sidebar.active { display: block; }

/* Hero Section */
.hero {
    height: auto;
    display: flex;
    margin-top: 80px;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(5, 10, 24, 0.7), rgba(5, 10, 24, 0.7)), url('https://images.unsplash.com/photo-1526367790999-0150786486a9?q=80&w=2070&auto=format&fit=crop') center/cover;
}

.hero-content { max-width: 800px; padding: 20px; }

.hero-content h1 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.2; }

.hero-content h1 span { color: var(--primary); }

.hero-content p { font-size: 1.2rem; margin-bottom: 35px; color: rgba(255, 255, 255, 0.7); }

.hero-btns { display: flex; justify-content: center; gap: 20px; }

.btn-primary {
    background: var(--primary);
    color: black;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 10px;
    font-weight: bold;
    transition: var(--transition);
}

.btn-secondary {
    border: 1px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 10px;
    font-weight: bold;
    transition: var(--transition);
}

.btn-primary:hover { transform: scale(1.05); }
.btn-secondary:hover { background: var(--primary); color: black; }

/* რესპონსივი */
@media (max-width: 768px) {
    /* .nav-links { display: none; } */
    .menu-toggle { display: block; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-btns { flex-direction: column; }
   
}


/* კონტეინერი ღილაკებისთვის */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px; /* დაშორება ღილაკებს შორის */
}










/* დაამატე ეს კოდი შენს სტილებში */
input, 
textarea, 
select {
    font-size: 16px !important;
}

/* თუ გინდა, რომ ვიზუალურად პატარა გამოჩნდეს, გამოიყენე padding */
.input-field {
    font-size: 16px;
    padding: 12px;
}




 



/* Selected Product Box */
.selected-product {
    display: flex;
    gap: 20px;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
}

.item-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 18px;
    border: 2px solid #facc15;
}

.item-details h3 {
    margin: 0;
    font-size: 1.4rem;
}

.item-details small {
    color: #94a3b8;
}

.unit-price {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: 800;
    color: #facc15;
}

/* Form Styles */
.form-grid, .pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.pricing-grid {
    grid-template-columns: 150px 1fr;
    align-items: end;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #94a3b8;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.input-field {
    width: 100%;
    padding: 15px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: white;
    outline: none;
    box-sizing: border-box;
    font-size: 16px; /* აჩერებს iOS Zoom-ს */
    transition: 0.3s;
}

.input-field:focus {
    border-color: #facc15;
}

.qty-input {
    border: 1px solid #facc15;
    font-weight: bold;
    text-align: center;
}

.textarea-field {
    resize: none;
}

/* Total Amount Box */
.total-box {
    background: rgba(250, 204, 21, 0.1);
    padding: 15px;
    border-radius: 15px;
    border: 1px dashed #facc15;
    text-align: center;
    margin-bottom: 20px;
}

.total-label {
    color: #94a3b8;
    font-size: 0.8rem;
    display: block;
}

.total-amount {
    color: #facc15;
    font-size: 1.5rem;
    font-weight: 900;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 20px;
    background: #facc15;
    border: none;
    border-radius: 18px;
    font-weight: 900;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
    color: #050a18;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(250, 204, 21, 0.2);
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .form-grid, .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-grid {
        align-items: stretch;
    }
}



/* ==========================================================================
   COMPARE SECTION - შედარების გვერდი
   ========================================================================== */

/* მთავარი კონტეინერი */
.compare-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* მთავარი ბარათი (Wrapper) */
.compare-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 40px;
    margin-top: 50px;
    backdrop-filter: blur(20px);
}

/* ==========================================================================
   FILTER FORM - ფილტრაციის პანელი
   ========================================================================== */

.filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: end;
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 20px;
    margin-top: 30px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ინპუტების საერთო სტილი */
.filter-form select, 
.filter-form input {
    width: 100%;
    padding: 14px;
    background: #0f172a;
    border: 1px solid #1e293b;
    color: white;
    border-radius: 12px;
    outline: none;
    font-size: 16px; /* iOS-ზე ავტო-ზუმის საწინააღმდეგოდ */
    transition: all 0.3s ease;
}

.filter-form select:focus, 
.filter-form input:focus {
    border-color: #facc15;
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.1);
}

/* შედარების ღილაკი */
.btn-compare {
    width: 100%;
    padding: 15px;
    background: #facc15;
    color: #000;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-compare:hover {
    background: #eab308;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(250, 204, 21, 0.2);
}

/* ==========================================================================
   COMPARE TABLE - შედარების ცხრილი
   ========================================================================== */

.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
}

.compare-table th {
    text-align: left;
    padding: 20px;
    border-bottom: 2px solid #1e293b;
    color: #facc15;
    font-size: 0.95rem;
}

.compare-table td {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    vertical-align: middle;
}

/* სტატუსები და ფასები */
.better-price {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 800;
    border: 1px solid rgba(74, 222, 128, 0.2);
    display: inline-block;
}

.normal-price {
    font-weight: 600;
    color: #cbd5e1;
}

.no-data {
    color: #475569;
    font-style: italic;
    font-size: 0.9rem;
}

.empty-msg {
    text-align: center;
    padding: 60px;
    color: #64748b;
}

/* Responsive კორექტირება მობილურისთვის */
@media (max-width: 768px) {
    .filter-form { gap: 15px; }
    .compare-card { padding: 20px; }
    .compare-table { display: block; overflow-x: auto; }
}







/* Checkout ძირითადი სტილები */
.checkout-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* ორი სვეტი */
    gap: 30px;
    padding: 120px 20px 60px;
    max-width: 1250px;
    margin: 0 auto;
    align-items: start;
}

.checkout-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 30px;
    color: white;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.card-title span {
    color: #facc15;
}

/* პროდუქტების სია */
.product-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.item-main {
    display: flex;
    align-items: center;
    gap: 15px;
}

.item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
}

.item-name {
    margin: 0;
    font-size: 1.1rem;
}

.item-shop {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 4px 0;
}

.price-tag {
    color: #facc15;
    font-weight: 700;
}

/* რაოდენობის და წაშლის ბლოკი */
.item-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.qty-control {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 10px;
    border-radius: 10px;
}

.qty-btn {
    background: none;
    border: none;
    color: #facc15;
    font-size: 1.2rem;
    cursor: pointer;
    width: 25px;
}

.qty-val {
    width: 35px;
    text-align: center;
    background: none;
    border: none;
    color: white;
    font-weight: bold;
}

.remove-item {
    color: #ff4757;
    font-size: 1.1rem;
    transition: 0.3s;
}

.remove-item:hover {
    transform: scale(1.2);
}

/* ფორმის სტილები */
.input-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 8px;
}

.custom-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    border-radius: 12px;
    color: white;
    outline: none;
    transition: 0.3s;
}

.custom-input:focus {
    border-color: #facc15;
}

.submit-btn {
    width: 100%;
    background: #facc15;
    color: #000;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    font-size: 1.1rem;
}

/* ჯამი */
.summary-box {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.total-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-amount {
    color: #facc15;
    margin: 0;
}



