/* ОСНОВНА ПАНЕЛЬ */
#psy-custom-menu {
    background: #7369D9 !important; 
    border: none !important;
    border-radius: 12px !important;
    min-height: 50px;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ДЕСКТОПНЕ МЕНЮ */
.main-nav-list {
    float: none !important;
    display: flex !important;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.main-nav-list > li > a {
    color: #ffffff !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 15px 20px !important;
    background: transparent !important;
    transition: 0.3s !important;
}

/* МОБІЛЬНА АДАПТАЦІЯ */
@media (max-width: 767px) {
    #psy-custom-menu {
        border-radius: 8px !important;
        margin-top: 10px;
        padding: 5px 0;
    }

    /* Напис поруч з іконкою */
    .psy-mobile-menu-text {
        color: #fff !important;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 13px;
        line-height: 48px;
        display: inline-block;
        letter-spacing: 1px;
        cursor: pointer;
    }

    .navbar-toggle {
        background: rgba(255,255,255,0.1) !important;
        border: none !important;
        float: left !important; /* Пересуваємо іконку вліво */
        margin-left: 10px;
        margin-right: 10px;
        margin-top: 6px;
    }

    #navbar-ex1-collapse {
        background: #665cc7;
        border-radius: 0 0 8px 8px;
        border: none;
        box-shadow: inset 0 2px 10px rgba(0,0,0,0.1);
    }

    .main-nav-list {
        display: block !important;
        padding: 10px 0 !important;
    }

    .main-nav-list > li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .main-nav-list > li > a {
        padding: 12px 20px !important;
        text-align: left !important;
        font-size: 14px !important;
    }

    .main-nav-list > li:last-child {
        border-bottom: none;
    }
}

.psydye-stories-slider { padding: 40px 0; background: #fff; overflow: hidden; width: 100%; }
.stories-header { text-align: center; font-weight: 800; margin-bottom: 25px; letter-spacing: 2px; text-transform: uppercase; color: #333; }

/* Виправлення для мобілок: щоб слайди не зникали до ініціалізації */
.slick-reviews:not(.slick-initialized) {
    display: flex;
    overflow-x: auto;
}

.slick-reviews .review-item { padding: 0 8px; outline: none; }
.review-wrap { 
    border-radius: 12px; 
    overflow: hidden; 
    aspect-ratio: 9/16; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    background: #f9f9f9;
}
.review-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Кнопки прокрутки */
.slick-prev:before, .slick-next:before { 
    color: #7369D9 !important; 
    font-size: 28px; 
}
.slick-prev { left: -35px; }
.slick-next { right: -35px; }

/* Адаптація для мобільних пристроїв */
@media (max-width: 768px) {
    .psydye-stories-slider { padding: 25px 0; }
    .slick-prev, .slick-next { display: none !important; }
    .slick-dots { bottom: -20px; }
    .slick-dots li button:before { color: #7369D9; }
    
    /* Щоб на мобілці контейнер не обрізав тіні */
    .psydye-stories-slider .container { padding: 0 10px; }
}

.btn-psydye {
    background: linear-gradient(45deg, #2b32b2, #1488cc);
    color: #fff !important;
    border: none;
    padding: 12px 35px;
    border-radius: 25px;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s all ease;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(43, 50, 178, 0.3);
}
.btn-psydye:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(43, 50, 178, 0.5);
}

  @media (max-width: 767px) {
    /* Робимо заголовок фільтра трохи меншим, щоб не "кричав" */
    .panel-default .panel-heading {
        font-size: 12px !important;
        padding: 12px !important;
        text-align: center;
    }

    /* Візуально розділяємо групи фільтрів (якщо їх буде декілька) */
    .list-group-item {
        border-bottom: 1px solid #f0f0f0 !important;
    }

    /* Стилізуємо кожен пункт як велику кнопку */
    .checkbox label {
        background: #fff;
        border: 1.5px solid #eee; /* Чіткіша рамка */
        padding: 14px !important;
        border-radius: 10px;
        font-weight: 500 !important;
        justify-content: flex-start;
        margin-bottom: 4px;
        transition: all 0.2s ease;
    }

    /* Колір при натисканні (активний стан) */
    .checkbox input[type="checkbox"]:checked + label, 
    .checkbox label:active {
        border-color: #7b61ff;
        background: #f8f7ff;
    }

    /* Кнопка "Обрати" має бути максимально зручною */
    #button-filter {
        border-radius: 10px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    }
}
  /* Примусово показуємо ліву колонку, якщо вона була прихована шаблоном */
@media (max-width: 767px) {
    #column-left {
        display: block !important;
        width: 100% !important;
        float: none !important;
        padding: 0 15px !important;
    }
    
    /* Додаємо невеликий відступ, щоб фільтр не злипався з шапкою */
    .panel-default {
        margin-top: 20px !important;
    }
}
  
  /* ЗАГАЛЬНИЙ ДИЗАЙН (Десктоп) */
  .panel-default {
    border: 1px solid #eee !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
  }

  .panel-default .panel-heading {
    background: #fdfdfd !important;
    color: #222 !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 15px !important;
  }

  .list-group-item { border: none !important; padding: 10px 15px !important; }

  a.list-group-item {
    color: #7b61ff !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 13px;
    background: none !important;
  }

  .checkbox label {
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    font-weight: normal !important;
    padding: 5px 0;
  }

  .checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0 12px 0 0 !important;
    accent-color: #7b61ff;
  }

  #button-filter {
    width: 100%;
    background: #222 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
  }

  /* МОБІЛЬНА АДАПТАЦІЯ (Тільки стилі) */
  @media (max-width: 767px) {
    /* Робимо список опцій компактнішим, щоб не займав весь екран */
    .list-group-item .checkbox {
        display: inline-block;
        width: 48%; /* Розміри стануть у два стовпчики */
        margin-bottom: 10px;
    }

    .checkbox label {
        background: #fcfcfc;
        border: 1px solid #f0f0f0;
        padding: 10px !important;
        border-radius: 8px;
        justify-content: center; /* Центруємо для зручності */
    }

    .checkbox input[type="checkbox"] {
        margin-right: 8px !important;
    }

    /* Кнопка "Обрати" стає більшою для великих пальців */
    #button-filter {
        padding: 16px !important;
        font-size: 16px;
    }
  }

  /* Накладаємо дизайн на стандартні класи OpenCart */
  .panel-default {
    border: 1px solid #eee !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
  }

  .panel-default .panel-heading {
    background: #fdfdfd !important;
    color: #222 !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 15px !important;
  }

  .list-group-item {
    border: none !important;
    padding: 10px 15px !important;
  }

  /* Назва групи (Розмір) */
  a.list-group-item {
    color: #7b61ff !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 13px;
    background: none !important;
  }

  .checkbox label {
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    font-weight: normal !important;
  }

  .checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0 12px 0 0 !important;
    accent-color: #7b61ff;
    position: relative;
    top: 0;
  }

  .panel-footer {
    background: #fff !important;
    padding: 15px !important;
    border-top: 1px solid #eee !important;
  }

  /* Кнопка "Обрати" */
  #button-filter {
    width: 100%;
    background: #222 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
  }

  #button-filter:hover {
    background: #7b61ff !important;
    transform: translateY(-2px);
  }

   /* СТИЛІ ДЛЯ ПОКРАЩЕННЯ ЧИТАБЕЛЬНОСТІ */
  footer h5 {
    color: #333 !important; /* Робимо заголовки стовпчиків темнішими для контрасту */
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    margin-bottom: 20px !important;
    letter-spacing: 0.5px;
  }
  
  footer .list-unstyled li {
    margin-bottom: 10px !important;
  }
  
  footer .list-unstyled li a {
    color: #666 !important;
    transition: color 0.3s ease;
    font-size: 14px;
    text-decoration: none !important;
  }
  
  footer .list-unstyled li a:hover {
    color: #7369D9 !important; /* Колір при наведенні як у вашому меню */
  }

  /* Адаптивність для мобільних пристроїв */
  @media (max-width: 767px) {
    footer .col-sm-4 {
      text-align: center;
      margin-bottom: 40px;
    }
    footer div[style*="display: flex"] {
      justify-content: center;
    }
  }

    /* 1. БАЗОВІ СТИЛІ ІКОНОК (Instagram, YouTube, Coffee) */
  .header-icons-item a {
      text-decoration: none;
      display: flex;
      flex-direction: column;
      align-items: center;
      color: #333;
  }
  .header-icons-item i { margin-bottom: 5px; }
  .header-icon-label {
      font-size: 10px;
      text-transform: uppercase;
      font-weight: 600;
  }

  /* 2. ДИЗАЙН МОДАЛЬНОГО ВІКНА (Попап кошика) - ЗАФІКСОВАНО */
  body .modal-content {
      border: none !important;
      border-radius: 15px !important;
      box-shadow: 0 15px 45px rgba(0,0,0,0.2) !important;
  }
  body .modal-header { background: #fdfdff !important; border-bottom: 1px solid #eee !important; padding: 20px !important; }
  body .modal-body .alert-success { background: #f4f3ff !important; color: #7369D9 !important; border: 1px solid #e1dfff !important; border-radius: 10px !important; padding: 15px !important; }
  body .modal-footer { border-top: none !important; padding: 20px !important; display: flex !important; gap: 12px !important; }
  body .modal-footer .btn { flex: 1 !important; padding: 12px !important; font-weight: 700 !important; text-transform: uppercase !important; border-radius: 8px !important; margin: 0 !important; }
  body .modal-footer .btn-default { background: #fff !important; border: 2px solid #7369D9 !important; color: #7369D9 !important; }
  body .modal-footer .btn-primary { background: #7369D9 !important; border: 2px solid #7369D9 !important; color: #fff !important; }

  /* 3. АГРЕСИВНИЙ АДАПТИВ ДЛЯ МОБІЛЬНИХ (До 767px) */
  @media (max-width: 767px) {
  /* Додайте це всередину @media (max-width: 767px) */
#top {
    display: block !important;
    text-align: center;
    background: #fdfdff; /* легкий фон для панелі мови/валюти */
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}
#top .pull-right {
    float: none !important;
    display: flex;
    justify-content: center;
    gap: 15px;
}
      /* Контейнер хедера */
      .top-2__container { 
          display: flex !important; 
          flex-direction: column !important; 
          align-items: center !important; 
          padding: 15px !important;
      }
      
      /* ЛОГОТИП - ПОВЕРТАЄМО РОЗМІР */
      .logo-column { width: 100% !important; text-align: center !important; margin-bottom: 15px !important; }
      #logo img { 
          display: inline-block !important; 
          min-width: 260px !important; /* Гарантуємо, що не буде малим */
          width: 85% !important;
          height: auto !important;
      }

      .tagline-column { display: none !important; }

      /* ІКОНКИ СОЦМЕРЕЖ - ПОВЕРТАЄМО В РЯДОК */
      .header-icons-column { 
          width: 100% !important; 
          margin-bottom: 20px !important;
          display: block !important;
      }
      .header-icons-container { 
          display: flex !important; 
          flex-direction: row !important; /* Тільки в рядок */
          justify-content: center !important; 
          gap: 25px !important; 
      }
      .header-icon-label { display: block !important; }

      /* КОШИК - РОБИМО КНОПКОЮ ТА ПОВЕРТАЄМО ТЕКСТ */
      .cart-column { width: 100% !important; text-align: center !important; }
      #cart > button {
          display: inline-block !important;
          background: #f4f3ff !important;
          border: 1px solid #7369D9 !important;
          border-radius: 25px !important;
          padding: 10px 25px !important;
          color: #7369D9 !important;
          font-weight: bold;
          min-width: 180px;
      }
      
      /* Змушуємо цифри (суму) з'явитися, якщо вони приховані темою */
      #cart-total { display: inline !important; font-size: 14px !important; }

      body .modal-footer { flex-direction: column !important; }
  }

  /* 1. Контейнер для тексту (тільки центрування, без фону) */
.psydye-sold-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none; /* ПОВНІСТЮ ПРИБРАЛИ ФОН */
    z-index: 25;
    pointer-events: none;
}

/* 2. Напис "Продано" */
.psydye-sold-text {
    background: #e53935;
    color: #fff;
    padding: 10px 22px;
    font-size: 17px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 3px;
    /* Тінь залишаємо, щоб текст не зливався з яскравим принтом */
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    transform: rotate(-5deg);
    border: 2px solid #fff; /* Біла рамка для кращої читаємості на яскравому */
}

/* 3. Стан картки товару */
.sold-out-item {
    opacity: 1 !important; /* Жодної прозорості */
}

.sold-out-item img {
    filter: none !important; /* ЖОДНОГО СІРОГО ФІЛЬТРА */
}

/* 4. Кнопка для проданого товару */
.sold-out-item .product-thumb__button-buy {
    background: #444 !important; /* Темно-сіра кнопка, щоб відрізнити від активної */
    color: #888 !important;
    cursor: not-allowed;
    pointer-events: none;
    border: none !important;
}

/* Для мобільних */
@media (max-width: 767px) {
    .psydye-sold-text {
        font-size: 13px;
        padding: 7px 14px;
    }
}
.psydye-size-badge {
    position: absolute;
    /* Зсуваємо правіше та нижче, на чорний фон */
    top: 1%;
    left: 11%;
    z-index: 10;
    
    /* Збільшуємо розмір плашки */
    padding: 10px 18px; 
    
    /* Додаємо напівпрозорість, щоб він виглядав легшим */
    background: rgba(115, 105, 217, 0.85); /* rgba(фіолетовий, прозорість) */
    color: #fff;
    
    /* Максимально збільшуємо текст і робимо його жирним */
    font-size: 14px; 
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    
    /* М'які кути, щоб пасували до білої рамки */
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4); /* Сильніша тінь */
    
    pointer-events: none;
    transition: all 0.3s ease; /* Додаємо плавність для ефекту */
}

/* При наведенні на товар робимо стікер непрозорим */
.product-thumb:hover .psydye-size-badge {
    background: rgba(115, 105, 217, 1);
    transform: translateY(-3px); /* Трохи підіймаємо */
}
  
  /* 1. ЗАГАЛЬНІ СТИЛІ ТА ФІЛЬТР (ПРАВА КОЛОНКА) */
  #column-right {
    padding-left: 30px;
  }

  .panel-default {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    margin-bottom: 30px !important;
  }

  .panel-default > .panel-heading {
    background: transparent !important;
    border: none !important;
    padding: 0 0 15px 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
  }

  .list-group-item {
    background: transparent !important;
    border: none !important;
    padding: 8px 0 !important;
    font-size: 13px;
    color: #666;
  }

  .list-group-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 400;
    transition: color 0.3s;
  }

  .list-group-item label:hover {
    color: #7369D9; 
  }

  .list-group-item input[type="checkbox"] {
    margin-right: 12px !important;
    width: 16px;
    height: 16px;
    accent-color: #7369D9;
    cursor: pointer;
  }

  #button-filter {
    width: 100% !important;
    background: #333 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 12px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 10px;
  }

  #button-filter:hover {
    background: #000 !important;
    letter-spacing: 2px;
  }

  /* 2. ПРИМУСОВА СІТКА ТА ТОВАРИ (ДЕСКТОП) */
  #content .row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -10px !important;
    margin-right: -10px !important;
  }

  #content .row > div.col-xs-6 {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
    padding: 10px !important;
    display: block !important;
    float: none !important;
  }

  .product-thumb {
    border: none !important;
    margin-bottom: 30px !important;
    text-align: center;
    background: transparent !important;
    transition: transform 0.3s ease;
  }

  .product-thumb:hover {
    transform: translateY(-5px);
  }

  .product-thumb__image {
    position: relative !important;
    background: #fff !important;
    overflow: hidden !important;
    display: block !important;
    width: 100% !important;
    aspect-ratio: 1 / 1; 
    border-radius: 4px;
  }

  .product-thumb__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    transition: opacity 0.6s ease-in-out !important;
  }

  .main-img {
    position: relative !important;
    z-index: 1 !important;
    opacity: 1 !important;
  }

  .img-extra {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 2 !important;
    opacity: 0 !important;
  }

  .product-thumb__image.has-extra:hover .main-img { opacity: 0 !important; }
  .product-thumb__image.has-extra:hover .img-extra { opacity: 1 !important; }

  .product-thumb__name {
    font-size: 14px !important;
    font-weight: 600;
    text-transform: uppercase;
    margin: 15px 0 5px !important;
    display: block;
    color: #333;
    text-decoration: none !important;
    min-height: 40px;
  }

  .price {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
  }

  .product-thumb__button-buy {
    width: 100% !important;
    background: #7369D9 !important;
    color: #fff !important;
    padding: 12px 0 !important;
    font-size: 13px !important;
    font-weight: bold;
    text-transform: uppercase;
    border: none !important;
    border-radius: 6px !important;
    transition: background 0.3s;
  }

  .product-thumb__button-buy:hover {
    background: #5e54c2 !important;
  }

  /* 3. МОБІЛЬНА АДАПТАЦІЯ (ТОВАРИ ПО 1 В РЯД) */
  @media (max-width: 767px) {
    #content .row > div.col-xs-6 {
      width: 100% !important;
      max-width: 100% !important;
      flex: 0 0 100% !important;
      padding: 15px !important;
    }

    .product-thumb__name {
      font-size: 16px !important;
      min-height: auto;
      margin-top: 10px !important;
    }

    .price {
      font-size: 18px !important;
      margin-bottom: 20px;
    }

    .product-thumb__button-buy {
      padding: 15px 0 !important; /* Більша кнопка для пальця */
    }
  }

  /* ХОВАЄМО ЗАЙВЕ */
  .product-thumb__compare, .product-thumb__wishlist, .rating, .price-tax, .breadcrumb {
    display: none !important;
  }

    /* Твої оригінальні стилі - НЕ ЗМІНЮЄМО */
  .hidden, input.hidden { display: none !important; visibility: hidden !important; }
  #product input[type="hidden"] { display: none; }
  .product-divider { height: 1px; background-color: #f0f0f0; margin: 30px 0; width: 100%; }
  .main-desc { line-height: 1.8 !important; color: #555 !important; font-size: 15px !important; }
  .main-desc strong, .main-desc b { color: #333; font-weight: 700; }
  .conversion-wrap { background: #ffffff !important; padding: 20px !important; border-radius: 15px !important; border: 1px solid #f0f0f0 !important; box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important; margin: 20px 0 !important; }
  .conversion-wrap .price-group { margin-bottom: 15px !important; }
  .conversion-wrap .price, .conversion-wrap [class*="price"] { font-size: 28px !important; font-weight: 800 !important; color: #333 !important; white-space: nowrap !important; display: block !important; }
  .cart-group { display: flex !important; align-items: center !important; gap: 10px !important; }
  #input-quantity { display: block !important; width: 60px !important; height: 46px !important; border-radius: 8px !important; border: 1px solid #ddd !important; text-align: center !important; padding: 0 !important; margin: 0 !important; }
  #button-cart { display: flex !important; align-items: center !important; justify-content: center !important; height: 46px !important; background-color: #7369D9 !important; color: #fff !important; border: none !important; border-radius: 8px !important; padding: 0 20px !important; font-weight: 700 !important; text-transform: uppercase !important; flex-grow: 1 !important; transition: 0.3s !important; }
  #button-cart:hover { background-color: #000 !important; }
  .btn-one-click { width: 100%; height: 46px; background: transparent !important; color: #7369D9 !important; border: 2px solid #7369D9 !important; border-radius: 8px !important; font-weight: 700 !important; text-transform: uppercase !important; margin-top: 10px !important; transition: 0.3s !important; cursor: pointer; }
  .btn-one-click:hover { background-color: #7369D9 !important; color: #fff !important; }
  
  /* НОВІ СТИЛІ ДЛЯ ПРОДАНОГО ТОВАРУ */
  .psydye-sold-overlay {
      position: absolute;
      top: 0; left: 0; width: 100%; height: 100%;
      display: flex; align-items: center; justify-content: center;
      background: rgba(0,0,0,0.02);
      z-index: 50; pointer-events: none;
  }
  .psydye-sold-text {
      background: #e53935; color: #fff; padding: 12px 25px;
      font-size: 22px; font-weight: 900; text-transform: uppercase;
      transform: rotate(-5deg); border: 2px solid #fff;
      box-shadow: 0 4px 15px rgba(0,0,0,0.4);
      letter-spacing: 2px;
  }
  .btn-sold-out {
      width: 100% !important; height: 46px !important;
      background: #555 !important; color: #aaa !important;
      border-radius: 8px !important; border: none !important;
      font-weight: 700 !important; text-transform: uppercase !important;
      cursor: not-allowed !important; display: flex !important;
      align-items: center !important; justify-content: center !important;
      margin-bottom: 10px;
  }
  .btn-repeat-design {
      width: 100%; height: 46px;
      background: transparent !important; color: #7369D9 !important;
      border: 2px solid #7369D9 !important; border-radius: 8px !important;
      font-weight: 700 !important; text-transform: uppercase !important;
      cursor: pointer; transition: 0.3s;
  }
  .btn-repeat-design:hover { background: #7369D9 !important; color: #fff !important; }

  /* Решта твоїх стилів */
  .quantity-group, .product-info--quantity, .control-label[for="input-quantity"], .quantity-wrapper, #input-quantity--pluse, #input-quantity--minus, .input-group-btn { display: none !important; }
  .product-h1 { margin-top: 0; font-size: 28px; font-weight: 300; letter-spacing: 1px; }
  .unique-badge { display: inline-block; margin-bottom: 10px; padding: 3px 10px; background: #000; color: #fff; font-size: 10px; font-weight: bold; text-transform: uppercase; letter-spacing: 2px; }
  .spec-row { border-top: 1px solid #eee; padding: 10px 0; display: flex; justify-content: space-between; font-size: 14px; }
  .psydye-product-reviews-inline { margin: 50px 0; padding-top: 30px; border-top: 1px solid #f0f0f0; clear: both; }
  .stories-header { text-align: center; font-weight: 800; margin-bottom: 30px; text-transform: uppercase; letter-spacing: 2px; font-size: 22px; color: #333; }
  .review-wrap { border-radius: 12px; overflow: hidden; aspect-ratio: 9/16; box-shadow: 0 4px 12px rgba(0,0,0,0.06); background: #f9f9f9; }
  .review-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .slick-reviews-product .slick-prev:before, .slick-reviews-product .slick-next:before { color: #7369D9 !important; font-size: 28px; }
  .slick-reviews-product .slick-prev { left: -35px; z-index: 5; }
  .slick-reviews-product .slick-next { right: -35px; z-index: 5; }

  @media (max-width: 768px) {
    .psydye-product-reviews-inline { margin: 30px 0; }
    .stories-header { font-size: 16px; margin-bottom: 20px; }
    .slick-reviews-product .slick-prev, .slick-reviews-product .slick-next { display: none !important; }
    .slick-dots { bottom: -30px; display: flex !important; justify-content: center; list-style: none; padding: 0; }
    .slick-dots li { margin: 0 4px; }
    .slick-dots li button:before { font-size: 8px; color: #7369D9 !important; }
  }

  #modal-quick-order .modal-content { border-radius: 20px; border: none; }
  .form-group-quick { margin-bottom: 15px; }
  .form-group-quick label { display: block; font-size: 11px; text-transform: uppercase; color: #999; margin-bottom: 5px; font-weight: bold; text-align: left; }
  .form-group-quick input { width: 100%; padding: 12px; border: 1px solid #eee; border-radius: 8px; background: #f9f9f9; }

  @media (max-width: 480px) {
    #modal-quick-order .modal-dialog { margin: 10px auto; width: 95% !important; max-width: 380px; }
    .form-group-quick input { font-size: 16px !important; }
  }
  
  
  #scroll-to-top {
    position: fixed !important;
    bottom: 30px !important; /* Трохи вище для зручності */
    right: 30px !important;
    z-index: 9999 !important;
    
    /* Кольори в стилі PsyDye (фіолетовий) */
    background-color: #7E71D9 !important; 
    color: #FFFFFF !important;
    
    /* Форма та розмір під стиль кнопок сайту */
    width: 45px !important;
    height: 45px !important;
    border: none !important;
    border-radius: 4px !important; /* Мінімальне заокруглення, як у кнопок 'Купити' */
    
    /* Тінь та ефекти */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15) !important;
    cursor: pointer !important;
    transition: background-color 0.3s, opacity 0.3s !important;
    
    /* Вирівнювання стрілки по центру */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important; /* Розмір стрілки */
    line-height: 1 !important;
    
    /* Схована за замовчуванням */
    opacity: 0;
    pointer-events: none;
}

/* Коли кнопка стає видимою */
#scroll-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

/* Ефект при наведенні */
#scroll-to-top:hover {
    background-color: #5D50B8 !important; /* Темніший фіолетовий */
    box-shadow: 0 6px 15px rgba(0,0,0,0.25) !important;
}

/* Адаптація для мобільних */
@media (max-width: 768px) {
    #scroll-to-top {
        bottom: 15px !important;
        right: 15px !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 20px !important;
        background-color: rgba(126, 113, 217, 0.8) !important; /* Напівпрозора на мобільних */
    }
}

.grecaptcha-badge { 
    visibility: hidden !important; 
}

/* ЕСТЕТИЧНА КНОПКА ОЧИСТИТИ КОШИК */
.checkout-heading-button {
    float: right;
    margin-top: 2px; /* Вирівнювання по центру заголовка */
}

.checkout-heading-button a[data-onclick="clearCart"] {
    display: inline-block !important;
    background: rgba(255, 255, 255, 0.15) !important; /* Напівпрозорий фон */
    color: #ffffff !important;
    padding: 5px 15px !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important; /* Тонка біла рамка */
    border-radius: 20px !important; /* Округла форма */
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out !important;
}

/* Ефект при наведенні */
.checkout-heading-button a[data-onclick="clearCart"]:hover {
    background: #ffffff !important;
    color: #7369D9 !important; /* Текст стає фіолетовим при наведенні */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Адаптація під мобільні пристрої */
@media (max-width: 767px) {
    .checkout-heading-button {
        float: none;
        display: block;
        text-align: right;
        margin-bottom: 5px;
    }
    
    .checkout-heading-button a[data-onclick="clearCart"] {
        font-size: 10px !important;
        padding: 4px 12px !important;
    }
}

<style>
/* Скидаємо контейнер col-sm-12, щоб він не заважав центруванню */
.text-center {
    text-align: center !important;
}

/* Налаштування самого списку пагінації */
ul.pagination {
    display: inline-flex !important; /* Дозволяє центрувати через text-center батька */
    flex-wrap: wrap !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 20px auto !important;
    border: none !important;
    float: none !important; /* Критично для OpenCart тем */
}

/* Налаштування елементів списку */
ul.pagination li {
    display: inline-flex !important;
    float: none !important; /* Прибираємо стандартний Bootstrap float */
    margin: 0 4px !important;
    padding: 0 !important;
}

/* Стиль кнопок (цифр та стрілок) */
ul.pagination li a, 
ul.pagination li span {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    min-width: 40px !important;
    height: 40px !important;
    padding: 0 10px !important;
    
    background-color: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px !important; /* Твій фірмовий стиль */
    
    color: #444 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    line-height: 1 !important;
}

/* Активна сторінка (Фіолетовий PSYDYE) */
ul.pagination li.active span {
    background-color: #7369D9 !important;
    border-color: #7369D9 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(115, 105, 217, 0.25) !important;
}

/* Адаптація під мобільні пристрої */
@media (max-width: 767px) {
    /* Гарантуємо, що батьківський div дає місце для центрування */
    .col-sm-12.text-center {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
    }

    ul.pagination {
        display: flex !important;
        width: 100% !important;
        justify-content: center !important;
        gap: 5px !important;
    }

    ul.pagination li a, 
    ul.pagination li span {
        min-width: 36px !important;
        height: 36px !important;
        padding: 0 5px !important;
        font-size: 13px !important;
    }
}
</style>
