/* ===========================
   CUSTOM PRODUCT PAGE STYLES
   =========================== */

/* --- Общи стилове --- */
body {
  background-color: #f8f9fa;
}

.product-title-bp {
  font-weight: 700;
  font-size: 1.6rem;
}

.price-bp {
  font-size: 1.4rem;
  color: #dc3545;
  font-weight: 600;
}

.order-btn-bp {
  background-color: #28a745;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  width: 100%;
  margin-top: 10px;
  transition: 0.3s;
}

.order-btn-bp:hover {
  background-color: #218838;
}

/* --- Галерия на продукта --- */
.product-gallery-bp {
  text-align: center;
}

.product-gallery-bp img.main-img-bp {
  width: 100%;
  max-width: 450px;
  border-radius: 10px;
  margin-bottom: 10px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.thumbnail-row-bp {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.thumbnail-row-bp img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: 0.3s;
  background: #fff;
}

.thumbnail-row-bp img:hover {
  border-color: #007bff;
}

/* --- Табове (Описание, Характеристики, Видео) --- */
.nav-tabs .nav-link.active {
  font-weight: bold;
}

.tab-content-bp {
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-top: none;
  padding: 15px;
  border-radius: 0 0 8px 8px;
}

/* --- Свързани продукти --- */
.related-products-bp .card {
  border: none;
  transition: transform 0.25s ease;
}

.related-products-bp .card:hover {
  transform: scale(1.03);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.related-products-bp h5 {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .product-title-bp { font-size: 1.4rem; }
  .price-bp { font-size: 1.2rem; }
}

/* === FIX ACCESSORY CARDS ALIGNMENT (INWARD) === */
.container .row.mb-4.g-1 {
  margin-left: 0px !important;
  margin-right: 0px !important;
}

.container .row.mb-4.g-1 > [class*="col"] {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.container .row.mb-4.g-1 .card {
  margin: 0 4px 8px 4px !important;
  border-radius: 13px;
}

/* === FIX CARD HEIGHT JUMPING === */
.card1 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 310px;
}

.card1 img {
  max-height: 260px;
  object-fit: contain;
}

.card1 .card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.card1 .card-footer {
  margin-top: auto;
}

/* SOLD OUT */
.text-center.position-relative {
  position: relative;
  overflow: hidden;
}

.ribbon-soldout {
  position: absolute;
  top: 6px;
  right: 6px;
  background: #d9534f;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 5;
  opacity: 0.95;
}

/* Discount ribbon */
.ribbon-discount {
  position: absolute;
  top: 12px;
  left: -45px;
  width: 150px;
  text-align: center;
  transform: rotate(-45deg);
  z-index: 5;
  background: #ff0000;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 24px;
  padding: 2px 0;
  border: none;
}

/* адаптивност за малки екрани */
@media (max-width: 768px) {
  .card1 {
    min-height: 330px;
  }
}

/* === PRODUCT IMAGE CONTAINER FIX === */
.media-box-bp {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
}

.main-img-bp {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
  transition: opacity 0.3s ease;
}

.thumbnail-row-bp {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.thumbnail-row-bp img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.3s;
}

.thumbnail-row-bp img:hover {
  border-color: #1fa84f;
}

/* --- адаптивност --- */
@media (max-width: 768px) {
  .media-box-bp {
    max-width: 90%;
  }

  .main-img-bp {
    border-radius: 8px;
  }
}

/* === CONTENT WIDTH LIMIT === */
.product-content-bp {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
  text-align: center;
}

@media (max-width: 768px) {
  .product-content-bp {
    max-width: 95%;
    padding: 0 10px;
  }
}


/* ===== PURE SHELF (no Bootstrap carousel) ===== */

#beachTennisShelf .shelf-btn {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  outline: none;
}

#beachTennisShelf .shelf-btn:disabled {
  opacity: .35;
  cursor: default;
}

#beachTennisShelf .shelf-viewport {
  position: relative;
  overflow: hidden;                 /* скрива хор. скролбара */
}

#beachTennisShelf .shelf-track {
  display: grid;
  grid-auto-flow: column;           /* елементи в редица */
  grid-auto-columns: calc((100% - 10px) / 2); /* 2 карти по ширина на мобилен (с 10px gap) */
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 2px 2px 6px 2px;         /* малко въздух вътре */
}

#beachTennisShelf .shelf-track::-webkit-scrollbar { display: none; }
#beachTennisShelf .shelf-track { scrollbar-width: none; }

#beachTennisShelf .shelf-item {
  scroll-snap-align: start;
  height: 100%;
}

#beachTennisShelf .card1 {
  margin: 0;                        /* gap вече държи разстоянията */
  height: 100%;
}

/* снимките да имат разумна височина и на по-широки екрани */
#beachTennisShelf .card1 img {
  max-height: 300px;
  object-fit: contain;
}

/* ≥992px: 4 карти по ред, красив централен контейнер */
@media (min-width: 992px) {
  #beachTennisShelf .shelf-track {
    grid-auto-columns: calc((100% - (3 * 14px)) / 4); /* 4 колони + 3 gap-а по 14px */
    gap: 14px;
    max-width: 1160px;               /* спира прекаленото разтягане */
    margin: 0 auto;
  }
  #beachTennisShelf .card1 img {
    max-height: 320px;
  }
}

/* малко по-компактно на много тесни екрани */
@media (max-width: 360px) {
  #beachTennisShelf .shelf-track {
    grid-auto-columns: calc((100% - 8px) / 2);
    gap: 8px;
  }
}





/* MOBILE FILTER — allow full scrolling */
@media (max-width: 768px) {
    #filterModal .modal-dialog {
        max-height: 100vh;
        margin: 0;
        padding: 0;
    }

    #filterModal .modal-content {
        height: 100vh;
        overflow-y: auto;
    }
}










/* === Responsive fix: 2 карти на ред под 992px === */

/* Изрично казваме на Bootstrap grid в този карусел как да се държи */
#carouselBeachTennis .carousel-item .row > [class*="col-"] {
  flex: 0 0 25%;     /* 4 карти на ред по подразбиране (>=992px) */
  max-width: 25%;
}

/* 📱 За малки и таблети: 2 карти на ред */
@media (max-width: 991.98px) {
  #carouselBeachTennis .carousel-item .row > [class*="col-"] {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
}


/* === INDEX PAGE PRICE ADJUSTMENTS === */





.close-filter-btn {
    position: absolute;
    top: -12px;
    right: -12px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 0 4px rgba(0,0,0,0.3);
    z-index: 50;
}

.close-filter-btn:hover {
    background: #c82333;
}

.filter-panel {
    padding:10px;
    border:1px solid #ddd;
    border-radius:8px;
    background:white;
}

#search-results {
    max-height: 250px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* гладък скрол на iPhone */
}

.bg-black .navbar-nav .nav-link {
    color: #fff !important;
}

.bg-black .navbar-nav .nav-link:hover,
.bg-black .navbar-nav .nav-link:focus {
    color: #ddd !important;
}

/* Dropdown — текстът да е бял */
.bg-black .dropdown-menu .dropdown-item {
    color: #fff !important;
}

.bg-black .dropdown-menu .dropdown-item:hover {
    background-color: #222 !important;
    color: #fff !important;
}




.navbar-bg {
  background-image: url("https://sportech-store.com/images/black-friday.jpg") !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 576px) {
  .navbar-bg {
    background-image: url("https://sportech-store.com/images/black-friday-small.jpg") !important;
    background-position: center top;
  }
}



@media (max-width: 767.98px) {
    #sidebar {
        min-height: auto !important;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }
    #sidebar ul {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }
}





/* ============================
   SPORTECH RACKET WIZARD BANNER (ALL SCREENS)
   ============================ */

.sportech-wizard-banner {
    width: 100%;
    background: #000000;
    text-align: center;
    padding: 8px 0;
    border-bottom: 1px solid #222;
    position: fixed;
    top: 145px;   /* ← вижда се под синята лента + navbar менюто */
    z-index: 900; /* над съдържанието, под top blue bar */
}

.sportech-wizard-banner a {
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    text-decoration: none;
}

.sportech-wizard-banner a:hover {
    color: #53d8ff !important;
}

@media (max-width: 768px) {
    .sportech-wizard-banner {
        top: 80px; /* намалено за mobile */
        padding: 6px 0;
    }

    .sportech-wizard-banner a {
        font-size: 15px;
    }
}

/* ============================
   EXTRA LINK INSIDE MOBILE DROPDOWN
   ============================ */

.sportech-wizard-mobile-link a {
    font-weight: 700;
    color: #00bfff !important;
}

.sportech-wizard-mobile-link a:hover {
    color: #53d8ff !important;
}

/* ============================
   GLOBAL PAGE OFFSET (CRITICAL)
   ============================ */

#index-page main {
    margin-top: 185px !important;
}

/* На мобилен navbar-ът става по-висок */
@media (max-width: 768px) {
    #index-page main {
        margin-top: 115px !important;
    }
}

#accessories-page main {
    margin-top: 185px !important;
}

/* На мобилен navbar-ът става по-висок */
@media (max-width: 768px) {
    #accessories-page main {
        margin-top: 115px !important;
    }
}




/* =============================
   WIZARD GLOBAL STYLES
   ============================= */

.wizard-badge {
    background: #000;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    font-weight: 600;
}

.wizard-title {
    font-size: 1.6rem;
    font-weight: 700;
}

.wizard-subtitle {
    color: #777;
    font-size: 1rem;
}

/* =============================
   SPORT CARDS
   ============================= */

.wizard-sport-container {
    margin-top: 30px;
}

.wizard-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px 12px;
    text-align: center;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: 0.25s ease;
}

.wizard-card:hover {
    transform: translateY(-5px);
    border-color: #000;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.wizard-card.selected {
    border-color: #000;
    box-shadow: 0 0 0 2px #000;
}

.wizard-sport-icon {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 12px;
}

/* Mobile */
@media (max-width: 768px) {
    .wizard-sport-icon {
        width: 70px;
        height: 70px;
    }
}


/* ============================
   WIZARD PAGE OFFSET (CRITICAL)
   ============================ */

#wizard-page main {
    margin-top: 200px !important; /* същото като index-page */
}

/* Mobile offset */
@media (max-width: 768px) {
    #wizard-page main {
        margin-top: 140px !important;
    }
}


/* ===== Wizard Badge – Desktop ===== */
.wizard-badge {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 1rem; /* твоя нов размер */
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: none;
    white-space: nowrap;
}

.wizard-badge-en::after {
    content: " / ";
}

/* ===== Wizard Badge – Mobile ===== */
@media (max-width: 480px) {

    .wizard-badge {
        white-space: normal;
        text-align: center;
        line-height: 1.2; /* по-компактно */
        padding: 6px 12px;
    }

    /* Премахваме "/" */
    .wizard-badge-en::after {
        content: "";
    }

    /* Добавяме тънка линия между двата реда */
    .wizard-badge-en {
        display: block;
        margin-bottom: 6px; /* минимално разстояние */
        position: relative;
    }

    .wizard-badge-en::after {
        content: "";
        display: block;
        width: 200px;           /* дължина на линията */
        height: 1px;           /* тънка линия */
        background: #ffffff88; /* бяла, 50% transparency */
        margin: 7px auto;      /* минимален space */
    }
}


/* КАРТА – фон + квадрат + закръглени ъгли */
.wizard-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

/* лек тъмен градиент за по-добър контраст */
.wizard-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.15)
    );
    border-radius: 18px;
}

/* Текст вътре в картата */
.wizard-label {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-weight: 800;
    font-size: 1.5rem;
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
    letter-spacing: 0.5px;
}

/* Hover ефект */
.wizard-card:hover {
    transform: scale(1.06);
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* Избран елемент */
.sport-card.selected {
    outline: 3px solid #00bfff;
    box-shadow: 0 0 15px rgba(0, 191, 255, .9);
}


/* Мобилен изглед: една карта в ред, по-малко въздух */
@media (max-width: 768px) {

    .wizard-card {
        margin-bottom: 12px; /* по-малко разстояние между кутиите */
    }

    .wizard-label {
        font-size: 2rem; /* малко по-малък текст вътре */
        bottom: 10px;
    }

    /* Контейнерът да е по-плътен */
    .wizard-sport-container .row > div {
        margin-bottom: 8px !important; /* още по-плътен вид */
    }
}


.wizard-back {
    position: absolute;
    left: 0;
    top: 0;
    background: transparent;
    border: none;
    color: #00bfff;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 5px 10px;
}

.wizard-back-icon {
    width: 22px;
    margin-right: 6px;
    filter: brightness(0) invert(1); /* прави иконата бяла */
}

.wizard-back:hover {
    color: #53d8ff;
}

@media (max-width: 768px) {
    .wizard-back {
        font-size: 0.8rem;
        padding: 4px 6px;
    }
    .wizard-back-icon {
        width: 18px;
    }
}


/* ======================================================
   STEP 2 — Perfect SQUARE Cards + 2 per row on mobile
   ====================================================== */

/* Base square cards */
.step2 .wizard-card {
    aspect-ratio: 1/1;              /* гарантира квадрат */
    width: 80%;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
}

/* Label overlay inside square */
.step2 .wizard-label {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;              /* гарантира центрация и предотвратява излизане */
    text-align: center;
    font-size: 2rem;       /* по-четливо */
    line-height: 1.25;
    font-weight: 700;
    color: white;
    z-index: 2;
    padding: 0 4px;          /* малко пространство за текста вътре */
    word-wrap: break-word;
    white-space: normal;
}


/* Overlay shading */
.step2 .wizard-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

/* ====================================
   Mobile: 2 cards per row (50% width)
   ==================================== */
@media (max-width: 768px) {

    .step2 .col-12.col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
        padding-left: 8px;
        padding-right: 8px;
    }

    .step2 .wizard-label {
        font-size: 1.5rem;
        bottom: 8px;
    }
}

/* ===============================
   Very small screens (<420px)
   =============================== */
@media (max-width: 420px) {

    .step2 .wizard-label {
        font-size: 1rem;
        bottom: 6px;
    }
}

/* Force proper centering of cards in Step 2 */
.step2 .row {
    display: flex;
    justify-content: center !important;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* Ensure columns do not stretch weirdly */
.step2 .col-12.col-md-4 {
    display: flex;
    justify-content: center;
}

/* ============================================
   Fix: Make Step 2 cards sit next to each other
   ============================================ */

/* Cards should fill their column fully */
.step2 .wizard-card {
    width: 100% !important;
}

/* Desktop: 3 cards per row */
@media (min-width: 992px) {
    .step2 .col-12.col-md-4 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* Mobile: already 2 per row from your code */


.wizard-form-group {
    margin-bottom: 18px;
}

.wizard-label-form {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 6px;
    display: block;
    color: #002762;
}

.wizard-select {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: none;
    background: #9b9b9b;
    color: #fff;
    font-size: 1rem;
}

.wizard-checkbox {
    transform: scale(1.4);
    margin-left: 10px;
}

.wizard-next-btn {
    background: #9b9b9b;
    color: #000;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 10px;
    border: none;
    font-size: 1rem;
}

.balance-bar-container {
    width: 100%;
    height: 14px;
    background: #ddd;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 8px;
}

.balance-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00c853, #ffeb3b, #e53935);
    transition: width 0.3s ease;
}

.balance-text {
    margin-top: 4px;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 700;
}


/* Hardness Bar */
.hardness-bar-container {
    width: 100%;
    height: 10px;
    background: #ddd;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 6px;
}

.hardness-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #4ad7ff, #ff4e4e);
    transition: width 0.25s ease;
}

.hardness-text {
    margin-top: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
}

/* Червена рамка при грешка */
.field-invalid {
    border-color: #ff3b3b !important;
    box-shadow: 0 0 0 2px rgba(255, 59, 59, 0.25);
}

/* Текстът под полето */
.field-error {
    color: #ff3b3b;
    font-size: 13px;
    margin-top: 4px;
}

/* Наистина deactivated бутон */
.wizard-next-btn[disabled] {
    opacity: 0.4 !important;
    pointer-events: none !important;
}


.wizard-guide {
    background: #fafafa;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.55;
}

.wizard-guide h3,
.wizard-guide h4 {
    font-weight: 700;
}

.wizard-guide h5 {
    margin-top: 12px;
    font-weight: 600;
}


.category-description-box {
    overflow: hidden; /* предотвратява margin collapse */
}

.category-description-box p {
    margin-top: 0 !important;
    margin-bottom: 14px;
}


/* ============================
   SEO BOX – BASE STYLE (ALL PAGES)
   ============================ */

.seo-info-box {
    background: #ffffff;
    padding: 20px 20px;
    border-radius: 14px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    color: #333;
}

.seo-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .seo-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
  }
}


.seo-info-box p {
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .seo-info-box p {
    font-size: 0.9rem;
    line-height: 1.3;
  `}
}

.seo-links a {
    font-size: 0.95rem;
    color: #007bff;
    margin: 0 4px;
}

.seo-links a:hover {
    text-decoration: underline;
}

#pickleball-page main {
    margin-top: 185px !important;
}

/* На мобилен navbar-ът става по-висок */
@media (max-width: 768px) {
    #pickleball-page main {
        margin-top: 115px !important;
    }
}

.padel-guide-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 35px 30px;
    margin-top: 40px;
    margin-bottom: 40px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

/* Заглавия */
.padel-guide-section h2 {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #222;
}

.padel-guide-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333;
}

/* параграфи */
.padel-guide-section p {
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 15px;
    color: #444;
}

/* списъци */
.padel-guide-section ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.padel-guide-section li {
    margin-bottom: 8px;
    font-size: 1.03rem;
}

/* Карти за ниво на играч */
.padel-level-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 18px 20px;
    border: 1px solid #e3e3e3;
    margin-bottom: 15px;
}

/* Икони */
.padel-icon {
    width: 26px;
    height: 26px;
    vertical-align: -4px;
    margin-right: 6px;
    opacity: 0.8;
}

/* CTA бутони */
.padel-cta-wrapper {
    text-align: center;
    margin-top: 40px;
}

.padel-cta-btn {
    display: inline-block;
    background: #1e73be;
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.25s;
    margin: 5px 10px;
}

.padel-cta-btn:hover {
    background: #155d96;
    color: #fff;
}

.dark-blue-link {
    color: #2e00b2 !important;
    text-decoration: none !important;
}

.dark-blue-link:hover {
    color: #ea0000 !important;
    opacity: 0.9;
}

#cart-page main {
    margin-top: 200px !important;
}

/* На мобилен navbar-ът става по-висок */
@media (max-width: 768px) {
    #cart-page main {
        margin-top: 130px !important;
    }
}

/* ================================
   PAYMENT CANCEL PAGE
   ================================ */

.payment-cancel-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f5f7fa;
}

.payment-cancel-card {
    background: #fff;
    max-width: 520px;
    width: 100%;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
}

.payment-cancel-icon {
    font-size: 56px;
    margin-bottom: 15px;
}

.payment-cancel-card h1 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 700;
}

.payment-cancel-card p {
    font-size: 15px;
    color: #666;
    margin-bottom: 25px;
}

.payment-cancel-order {
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
}

.payment-cancel-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.payment-btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: 0.2s ease;
}

.payment-btn-retry {
    background: #dc3545;
    color: #fff;
}

.payment-btn-retry:hover {
    background: #c82333;
}

.payment-btn-home {
    background: #e9ecef;
    color: #333;
}

.payment-btn-home:hover {
    background: #dde1e5;
}


/* ================================
   PAYMENT SUCCESS PAGE
   ================================ */

.payment-success-icon {
    font-size: 56px;
    margin-bottom: 15px;
    color: #28a745;
}

.payment-btn-success {
    background: #28a745;
    color: #fff;
}

.payment-btn-success:hover {
    background: #218838;
}

/* Floating Cart - positioned UNDER contact */
.floating-cart {
  position: fixed;
  right: 20px;
  bottom: 20px;   /* винаги видима */

  width: 55px;
  height: 55px;
  background: #111;
  color: #fff;
  border-radius: 50%;
  font-size: 24px;

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

  text-decoration: none;
  z-index: 9998; /* под contact */
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.floating-cart:hover {
  background: #0b2a4a;
  color: #fff;
}

.floating-cart .cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #e60023;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 50%;
  line-height: 1;
}

.floating-cart,
.floating-cart:hover,
.floating-cart:focus,
.floating-cart:active {
  text-decoration: none !important;
  background: #0f355e; /* леко по-светъл на hover */
}

.cart-toast {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: #0b2c55; /* тъмносин */
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 6px 15px rgba(0,0,0,.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all .3s ease;
    z-index: 9999;
}

.cart-toast.show {
    opacity: 1;
    transform: translateY(0);
}



/* ================================
   PROMO FULL WIDTH
================================ */

.promo-fullwidth {
  width: 100%;
  margin: 0;
  padding: 0;
}

.promo-fullwidth img,
.promo-fullwidth video {
  width: 100%;
  height: auto;
  display: block;
}

/* carousel fix */
.promo-fullwidth .carousel,
.promo-fullwidth .carousel-inner,
.promo-fullwidth .carousel-item {
  width: 100%;
}

.promo-fullwidth .carousel-item img {
  width: 100%;
  display: block;
}

/* ==============================
   PRODUCT CARD – PRICE (GLOBAL)
   ============================== */

/* ==============================
   PRODUCT CARD – PRICE (GLOBAL)
   ============================== */

.product-card-price {
  padding: 6px 8px;
}

.product-card-price .price-line {
  font-size: 0.9rem;     /* desktop / tablet */
  line-height: 1.25;
}

.product-card-price del {
  font-size: 0.8rem;
}

.product-card-price strong {
  font-size: 1rem;
}

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

@media (max-width: 768px) {
  .product-card-price .price-line {
    font-size: 0.8rem;   /* както беше на index-а */
    line-height: 1.2;
  }

  .product-card-price strong {
    font-size: 0.9rem;
  }

  .product-card-price del {
    font-size: 0.75rem;
  }
}

.category-page main {
    padding-top: 185px;
}

@media (max-width: 768px) {
    .category-page main {
        padding-top: 115px;
    }
}

.filter-panel {
    /* МАХАМЕ display:none оттук! */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #ffffff;
}

.filter-btn {
    cursor: pointer;
    padding: 10px;
    background: #007bff;
    color: white;
    border-radius: 6px;
    text-align: center;
}

.close-filter-btn {
    position: absolute;
    top: -12px;
    right: -12px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 0 4px rgba(0,0,0,0.3);
    z-index: 50;
}

.close-filter-btn:hover {
    background: #c82333;
}

/* Wrapper за full-width фон под container */
.promo-bg-wrapper {
  position: relative;
  z-index: 1;
}

.promo-bg-wrapper {
  position: relative;
  z-index: 1;
}

/* Full-width фон с „въздух“ нагоре и надолу */
.promo-bg-wrapper::before {
  content: "";
  position: absolute;

  /* ⬇️ разширение */
  top: -15px;        /* колко да хване НАГОРЕ */
  bottom: -15px;     /* колко да хване НАДОЛУ */

  left: 50%;
  transform: translateX(-50%);
  width: 100vw;

  background-color: #0d2a4a;
  z-index: -1;
}


/* Mobile typography for product cards */
@media (max-width: 576px) {

  .product-card-body .card-title {
    font-size: 0.85rem;   /* по-малко от bootstrap h6 */
    line-height: 1.15;
  }

  .product-card-body .card-text {
    font-size: 0.75rem;
    line-height: 1.2;
  }
  
}


/* =========================
   PRODUCT CARD – NEW UI
   ========================= */

/* CARD */
.product-card-ui{
  display:flex;
  flex-direction:column;
  height:100%;
  border:1px solid #e6e6e6;
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 4px 12px rgba(0,0,0,.06);
  transition:transform .2s ease, box-shadow .2s ease;
}

.product-card-ui:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 28px rgba(0,0,0,.14);
}

/* IMAGE WRAPPER */
.product-card-ui .position-relative{
  padding:1px;
  background:#fff;
}

.product-card-ui img{
  width:100%;
  height:200px;                 /* 🔒 стабилна височина */
  object-fit:contain;
  display:block;
}

/* BODY (TITLE + DESC) */
.product-card-body-ui{
  padding:5px 5px 5px 5px !important;
  display:flex;
  flex-direction:column;
  gap:6px;

  height:60px;                  /* 🔒 фиксиран блок */
}

/* TITLE – 1 ред */
.product-card-body-ui .card-title{
  font-size:0.95rem;
  font-weight:700;
  line-height:1.15;
  margin:0 !important;

  white-space:normal;
  overflow:visible;
  
}

/* DESC – 2 реда */
.product-card-body-ui .card-text{
  font-size:0.8rem;
  line-height:1.2;
  color:#555;
  margin:0 !important;

  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}

/* FOOTER (PRICE) */
.product-card-footer-ui{
  margin-top:auto;              /* footer винаги долу */
  padding:8px 12px !important;
  background:#fafafa;
  border-top:1px solid #eee;
}

.product-card-footer-ui strong{
  font-size:1.05rem;
}

.product-card-footer-ui del{
  font-size:0.8rem;
}

/* MOBILE TUNING */
@media (max-width:576px){
  .product-card-ui img{ height:200px; }

  .product-card-body-ui{
    height:50px;
    padding:5px 5px 5px 5px !important;
  }

  .product-card-body-ui .card-title{ font-size:0.8rem; }
  .product-card-body-ui .card-text{ font-size:0.74rem; }
}


/* ============================
   COLLECTION BAR
   ============================ */

.collection-bar{
  display:flex;
  align-items:center;
  background:#f9f9f9;
  border-left:5px solid #D50100;
  padding:10px 16px;
  border-radius:8px;
  font-weight:700;
  letter-spacing:.5px;
  color:#111;
}

.collection-text span{
  color:#D50100;
  margin-left:3px;
  font-size:20px;
font-weight:500;
}


/* ============================
   SECTION HEADER (MATCH COLLECTION BAR)
   ============================ */

.section-header{
  background:#f9f9f9;
  border-left:5px solid #D50100;
  border-radius:8px;
}

.section-header-inner{
  display:flex;
  align-items:center;
  justify-content:flex-start !important;  /* ⬅️ не space-between */
  padding:10px 16px;
}

.section-title{
  font-weight:700;
  letter-spacing:.5px;
  color:#111;
  flex:1;                                  /* ⬅️ взима цялото място */
  text-align:left !important;
}

.section-link{
  color:#111;
  text-decoration:none;
text-align:left !important;
}

.section-link:hover{
  color:#D50100;
  text-decoration:none !important;
}

/* ===== Arrows ===== */

.section-arrows{
  display:flex;
  gap:8px;
}

.section-arrows a{
  width:32px;
  height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border-radius:6px;
  border:1px solid #ddd;
  color:#111;
  font-size:18px;
  font-weight:700;
  text-decoration:none;
  transition:.2s ease;
}

.section-arrows a:hover{
  background:#D50100;
  color:#fff;
  border-color:#D50100;
}


.arrow-btn{
  width:40px;
  height:34px;
  background:#111;
  display:flex;
  align-items:center;
  justify-content:center;
  transform:skewX(-12deg);
  transition:.2s ease;
}

.arrow-btn svg{
  transform:skewX(12deg);
  stroke:#b5b5b5;
  stroke-width:2;
  fill:none;
}

.arrow-btn:hover{
  background:#D50100;
}
