/* ===============================================
   CUSTOM BUTTONS & COMPONENTS
   Дополнительные стили для элементов движка
   =============================================== */

/* Button Variants */
.button-primary {
    background-color: #000000;
    color: #fff;
    border: 2px solid #c1c1c1;
    padding: 12px 40px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.button-primary:hover {
    background-color: #000000;
    border-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 211, 174, 0.3);
}

.button-default {
    background-color: #fff;
    color: #333;
    border: 2px solid #ccc;
    padding: 12px 40px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.button-default:hover {
    background-color: #f5f5f5;
    border-color: #999;
}

.button-danger {
    background-color: #d9534f;
    color: #fff;
    border: 2px solid #d9534f;
}

.button-danger:hover {
    background-color: #c9302c;
    border-color: #c9302c;
}

/* Form Controls */
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #c1c1c1;
    box-shadow: 0 0 0 3px rgba(46, 211, 174, 0.1);
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    color: #3c763d;
}

.alert-danger {
    background-color: #f2dede;
    border: 1px solid #ebccd1;
    color: #a94442;
}

.alert-warning {
    background-color: #fcf8e3;
    border: 1px solid #faebcc;
    color: #8a6d3b;
}

.alert-info {
    background-color: #d9edf7;
    border: 1px solid #bce8f1;
    color: #31708f;
}

/* Cart Styles */
.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item-controls button {
    min-width: 30px;
    height: 30px;
    padding: 0;
    line-height: 1;
    font-size: 16px;
}

/* List Inline for Social Icons */
.list-inline-sm {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.list-inline-sm li {
    display: inline-block;
}

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.icon-sm {
    width: 35px;
    height: 35px;
    font-size: 16px;
}

.icon-gray-4 {
    background-color: rgba(255, 255, 255, 0.1);
    color: #999;
}

.icon-gray-4:hover {
    background-color: #c1c1c1;
    color: #fff;
    transform: translateY(-3px);
}

/* Loading Animation */
.cssload-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cssload-speeding-wheel {
    width: 60px;
    height: 60px;
    border: 4px solid #c1c1c1;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Page Loader */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page.loaded #page-loader {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0s 0.5s;
}

/* Utility Classes */
.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.text-muted {
    color: #777 !important;
}

.text-italic {
    font-style: italic !important;
}

/* Shell & Range (Grid System Support) */
.shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.shell-fluid {
    width: 100%;
    padding: 0 15px;
}

.shell-limit {
    max-width: 1400px;
    margin: 0 auto;
}

/* Dividers */

.divider {
    display: block;
    width: 100%;
    height: 1px;
    background: #ececee;
  }
  
  .divider-minimal {
    width: 38px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 2px;
    border-top: 3px solid;
    border-bottom: 1px solid;
    color: #000;
  }
  
  .divider__left {
    margin-left: 0;
  }
  
  .divider-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .divider-wrap:before, .divider-wrap:after {
    content: "";
    display: inline-block;
    width: 100%;
    height: 1px;
    background: #ececee;
  }
  
  .divider-wrap > * {
    flex-basis: 30%;
    padding-left: 15px;
    padding-right: 15px;
    white-space: nowrap;
  }
  
  .divider-wrap {
    margin-top: 35px;
    margin-bottom: 35px;
  }
  

/* Responsive Utilities */
@media (max-width: 767px) {
    .visible-xs-inline {
        display: inline !important;
    }
    
    .hidden-xs {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .visible-lg-inline {
        display: inline !important;
    }
    
    .reveal-lg-block {
        display: block !important;
    }
}

