/* Base */
html, body { height: 100%; margin: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #111111; color: #333; }

.header { margin: 0 auto;text-align:center; padding: 40px;max-width: 100%; padding-left: 0px;padding-right: 0px; padding-bottom: 20px; }

.header-image { max-width: 100%;padding-top: 20px; }
.container { max-width: 1200px; margin: 0px auto; text-align: center; padding-left: 20px; padding-right: 20px;}

.logo { max-width: 300px; height: auto; margin-bottom: 20px; margin-top: 10px; }

.note_1 {
    font-family: "Comfortaa", sans-serif;
    font-optical-sizing: auto;

  font-style: normal;
  font-size:28px;
  color: #ffffff;
  padding-top:30px;
  padding-bottom:5px;
}
.note_2 {
    font-family: "Comfortaa", sans-serif;
    font-optical-sizing: auto;

  font-style: normal;
  font-size:22px;
  color:  #c3c3c3;
  padding-bottom:40px;
}

@media only screen and (max-width: 900px) {

    .note_1 {
    font-family: "Comfortaa", sans-serif;
    font-optical-sizing: auto;

  font-style: normal;
  font-size:18px;
  color: #ffffff;
  padding-top:20px;
  padding-bottom:5px;
}
.note_2 {
    font-family: "Comfortaa", sans-serif;
    font-optical-sizing: auto;

  font-style: normal;
  font-size:14px;
  color:  #c3c3c3;
  padding: 10px;
  padding-top: 5px;
}

}
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.paymentmethods, .shippingmethods { font-size: 14px; }
.paymentmethods { border-top: 1px #000000 solid; padding-top: 10px;}
.logo-jewore {
    margin: 0 auto;
    position: relative;
    text-align: center;
}

.clg-modal-description-box {
    padding: 10px;
    background: #f9f9f9;
    margin-top: 10px;
    font-size: 18px;
    line-height: 1.5;
    border-top: 1px solid #ddd;
    display: none;
}

.clg-modal-description-box.show {
    display: block !important;
}

.clg-modal-actions button[data-modal-desc-btn] {
    white-space: nowrap;
}

.clg-hidden {
    display: none !important;
}

.logo-jewore img { margin-top: 20px; width: 150px; }
/* FULLSCREEN MODAL */
.clg-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 0;
}

.clg-modal-hidden {
    display: none !important;
}

.clg-modal-inner {
    background: #fff;
    width: 100%;
    height: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.clg-modal-header {
    padding: 20px;
    border-bottom: 1px solid #e5e5e5;
}
.clg-modal-actions {
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 12px;
}
.clg-modal-actions .btn {

padding: 20px;
font-size: 18px;
}
.clg-modal-title {
    font-size: 20px;
    font-weight: bold;
}

.clg-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: #000;
    color: #fff;
    width: 36px;
    height: 36px;
    font-size: 22px;
    cursor: pointer;
    border-radius: 50%;
}

/* HORIZONTAL SCROLL AREA */
.clg-modal-strip {
    flex: 1;
    overflow-x: auto;
    white-space: nowrap;
    padding: 20px;
}

.clg-modal-strip img {
    height: 100%;
    margin-right: 12px;
    border-radius: 8px;
    display: inline-block;
}
/* Скриваме scrollbars */
.clg-modal-strip {
    scrollbar-width: none;       /* Firefox */
}
.clg-modal-strip::-webkit-scrollbar {
    display: none;               /* Chrome/Safari */
}

/* За drag курсор */
.clg-modal-strip.grabbing {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}
.clg-modal-strip img {
    user-select: none; 
    pointer-events: none; /* за по-гладко drag-ване */
        max-height: 100%;
}
@media (max-width: 768px) {
    /* на мобилни НЕ ИСКАМЕ да има клик → модалът никога няма да се показва */
    .clg-modal-strip img {
        height: 300px;
    }
}
.btn-add-active {
    background: #111827 !important;
    color: white !important;
    border-color: #111827 !important;
}
.clg-modal-strip img,
.clg-card img,
.clg-slide img {
    -webkit-user-drag: none;
    user-drag: none;
    user-select: none;
    pointer-events: auto; /* за да работи кликът */
    cursor: pointer;
}
.clg-load {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

/* ↓ Стрелката */
.clg-load-arrow {
    width: 8px;
    height: 8px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    display: inline-block;

    /* анимация */
    animation: clg-bounce 1.2s infinite ease-in-out;
}

/* Анимацията на подскачане */
@keyframes clg-bounce {
    0%   { transform: rotate(-45deg) translateY(0); opacity: 0.5; }
    50%  { transform: rotate(-45deg) translateY(0); opacity: 1; }
    100% { transform: rotate(-45deg) translateY(0); opacity: 0.5; }
}
/* Grid / Cards */
.clg-wrap { font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
.clg-controls { display:flex; justify-content:center; margin:12px 0 0; }
.clg-load { padding:10px 14px; border-radius:10px; border:1px solid #111827; background:#fff; font-weight:600; cursor:pointer; margin-bottom: 30px; margin-top: 10px;  font-size:18px;}
.clg-grid { display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap:16px; width:100%; }
@media (max-width: 640px) { .clg-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); } }
.clg-card { border:1px solid #e5e7eb; border-radius:12px; overflow:hidden; background:#fff;     box-shadow: 0 4px 18px rgb(95 95 95); display:flex; flex-direction:column; }
.clg-media { width:100%; background:#fafafa; }
.clg-swiper { width:100%; height:auto; }
.clg-slide { display:flex; align-items:center; justify-content:center; }
.clg-slide img { width:100%; height:auto; object-fit:cover; aspect-ratio: 1 / 1; background:#fafafa; }
.clg-body { padding:12px; display:flex; flex-direction:column; gap:8px; height: 100%;}
.clg-title { font-size:18px; line-height:1.3; font-weight:600; color:#111827; height: 100%; border-bottom: 1px #d8d8d8 solid; padding-bottom: 20px; margin-bottom: 10px; }
.clg-price { font-size:14px; font-weight:500; }
.clg-actions { display:flex; gap:8px; margin-top:8px; justify-content: center; }

/* Buttons */
.btn { cursor:pointer; display:inline-flex; align-items:center; justify-content:center; padding:8px 10px; border-radius:10px; border:1px solid #111827; color:#111827; text-decoration:none; line-height:13px; font-size:13px; font-weight:600; transition: background .2s, color .2s; }
.btn:hover { background:#111827; color:#fff; }
.btn-outline { background:#fff; border-color:#969696; color:#111827; }
.btn-primary { background:#111827; color:#fff; border-color:#111827; }

/* Cart bar */
.cartbar { position:sticky; bottom:12px; display:flex; gap:8px; justify-content:center; margin-top:16px; display: none;}

/* FAB button */
.fab-cart { position:fixed; right:40px; top:35px; z-index:9999; display:inline-flex; align-items:center; gap:8px; background:#cd1414; color:#fff; border:1px solid #111827; padding:10px 14px; border-radius:999px; font-weight:700; cursor:pointer; box-shadow:0 6px 18px rgba(0,0,0,.15); }

@media (max-width: 900px) {
.fab-cart { bottom:16px !important; top:auto !important; right:16px !important;}
}

.fab-badge { margin-left:6px; background:#fff; color:#111827; border-radius:999px; padding:2px 8px; font-weight:800; }

/* Drawer */
.cart-drawer { }
.cart-backdrop { position:fixed; inset:0; background:rgba(0,0,0,.35); opacity:0; pointer-events:none; transition:.2s; z-index:99996; }
.cart-panel { position:fixed; top:0; right:-380px; height:100vh; width:360px; max-width:90vw; background:#fff; box-shadow:-8px 0 24px rgba(0,0,0,.15); transition:right .25s ease; z-index:99997; display:flex; flex-direction:column; font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif; }
.cart-header { padding:16px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid #eee; }
.cart-title { font-size:16px; font-weight:700; }
.cart-close { border:none; background:transparent; font-size:20px; cursor:pointer; line-height:1; }
.cart-list { padding:12px; overflow:auto;}
.cart-row { display:flex; gap:10px; align-items:center; padding:8px 4px; border-bottom:1px dashed #eee; }
.cart-thumb { width:56px; height:56px; object-fit:cover; border-radius:8px; background:#f5f5f5; }
.cart-row-title { font-weight:600; font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cart-price-line { font-size:12px; color:#374151; }
.cart-footer { border-top:1px solid #eee; padding:12px; display:flex; flex-direction:column; gap:8px; }
.cart-total { display:flex; justify-content:space-between; font-weight:700; margin-bottom:10px; }

/* Empty */
.clg-empty { padding:24px; text-align:center; color:#6b7280; }
.cart-action-buttons {
    display:flex; gap:8px; justify-content:space-between;
    padding-bottom:10px;
}


/* SWIPER CUSTOMIZATION */

:root {
    --swiper-theme-color: rgb(0, 0, 0);
}

.clg-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    transition: transform .2s ease, box-shadow .2s ease;
    overflow: hidden;
}

.clg-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

.clg-title {
    font-size: 17px;
    font-weight: 600;
}

.clg-body {
    padding: 18px;
}

/* Височина на swiper контейнера */
.clg-media {
    height: 500px; /* ↑ увеличи стойността ако искаш още */
}

/* Височина на слайдовете */
.clg-slide {
    height: 100%;
}

/* Снимките да запълват, но да не се изрязват */
.clg-slide img {
    height: 100%;
    width: 100%;
    object-fit: cover; /* Можеш да пробваш cover за по-плътно */
}
.swiper-slide { height: 500px; }