html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Header Calculator Icon Styles */
.header-calculator .calculator-link {
    color: #fff !important;
}

.header-calculator .calculator-link i {
    color: #fff !important;
}

.header-calculator .calculator-link:hover {
    opacity: 0.8;
}

/* Header Cart Icon Styles */
.header-cart .cart-link {
    color: #fff !important;
}

.header-cart .cart-link i {
    color: #fff !important;
}

.header-cart .cart-link:hover {
    opacity: 0.8;
}

/* Header Search Styles */
.header-search {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box .form-control {
    padding: 8px 40px 8px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    font-size: 14px;
    min-width: 200px;
    transition: all 0.3s ease;
}

.search-box .form-control:focus {
    outline: none;
    border-color: #258cfb;
    box-shadow: 0 0 0 0.2rem rgba(37, 140, 251, 0.25);
}

.search-box .search-btn {
    position: absolute;
    right: 5px;
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-box .search-btn i {
    font-size: 16px;
    display: inline-block;
}

.search-box .search-btn:hover {
    color: #258cfb;
}

@media (max-width: 991px) {
    .header-search {
        margin-right: 0;
        margin-bottom: 15px;
        width: 100%;
    }
    
    .search-box {
        width: 100%;
    }
    
    .search-box .form-control {
        width: 100%;
    }
}

/* Search Results Page Styles */
.search-form-large {
    margin-bottom: 40px;
}

.search-box-large {
    display: flex;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.search-box-large .form-control {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-size: 16px;
}

.search-box-large .form-control:focus {
    outline: none;
    border-color: #258cfb;
    box-shadow: 0 0 0 0.2rem rgba(37, 140, 251, 0.25);
}

.search-btn-large {
    padding: 12px 30px;
    background: #258cfb;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-btn-large i {
    font-size: 16px;
    display: inline-block;
}

.search-btn-large:hover {
    background: #1a6fd8;
}

.search-results-list h3 {
    margin-bottom: 30px;
    color: #333;
}

.search-results-items {
    margin-top: 30px;
}

.search-result-item {
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
}

.search-result-item:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-result-item h4 {
    margin-bottom: 10px;
}

.search-result-item h4 a {
    color: #258cfb;
    text-decoration: none;
}

.search-result-item h4 a:hover {
    text-decoration: underline;
}

.search-result-item p {
    color: #666;
    margin-bottom: 8px;
}

.search-result-url {
    color: #28a745;
    font-size: 14px;
}

.search-no-results {
    text-align: center;
    padding: 40px 20px;
}

.search-no-results p {
    margin-bottom: 20px;
    color: #666;
}

.search-suggestions {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.search-suggestions li a {
    color: #258cfb;
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid #258cfb;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.search-suggestions li a:hover {
    background: #258cfb;
    color: white;
}

.search-empty {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

/* Footer Links Horizontal Layout */
.footer-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 25px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 0;
}

.footer-links ul li::marker {
    display: none;
}

.footer-links ul li::before {
    display: none;
}

@media (max-width: 768px) {
    .footer-links ul {
        flex-direction: column;
        gap: 10px;
    }
}

/* Toast Notification Styles */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast-notification {
    background: #fff;
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 300px;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInRight 0.3s ease-out;
    border-left: 4px solid #28a745;
}

.toast-notification.error {
    border-left-color: #dc3545;
}

.toast-notification.warning {
    border-left-color: #ffc107;
}

.toast-notification.info {
    border-left-color: #17a2b8;
}

.toast-notification .toast-icon {
    font-size: 24px;
    color: #28a745;
    flex-shrink: 0;
}

.toast-notification.error .toast-icon {
    color: #dc3545;
}

.toast-notification.warning .toast-icon {
    color: #ffc107;
}

.toast-notification.info .toast-icon {
    color: #17a2b8;
}

.toast-notification .toast-content {
    flex: 1;
}

.toast-notification .toast-title {
    font-weight: 600;
    font-size: 16px;
    margin: 0 0 4px 0;
    color: #333;
}

.toast-notification .toast-message {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.toast-notification .toast-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color 0.2s;
}

.toast-notification .toast-close:hover {
    color: #333;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.toast-notification.hiding {
    animation: slideOutRight 0.3s ease-out forwards;
}

/* Cart Page White Background */
.page-product-single {
    background: #fff;
}

.cart-table {
    background: #fff !important;
}

.cart-summary {
    background: #fff !important;
}

/* Product Hover Overlay with Buttons */
.product-item-img {
    position: relative;
    overflow: hidden;
}

.product-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.product-item:hover .product-item-overlay {
    opacity: 1;
}

.product-item-overlay .btn-overlay {
    padding: 12px 24px;
    background: #fff;
    color: #333;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    transform: translateY(10px);
    opacity: 0;
}

.product-item:hover .product-item-overlay .btn-overlay {
    transform: translateY(0);
    opacity: 1;
}

.product-item-overlay .btn-overlay:first-child {
    transition-delay: 0.1s;
}

.product-item-overlay .btn-overlay:last-child {
    transition-delay: 0.2s;
}

.product-item-overlay .btn-overlay:hover {
    background: var(--accent-color, #28a745);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Hero Card Item Overlay */
.card-item {
    position: relative;
}

.card-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    border-radius: 15px;
}

.card-item:hover .card-item-overlay {
    opacity: 1;
}

.card-item-overlay .btn-overlay {
    padding: 12px 24px;
    background: #fff;
    color: #333;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    transform: translateY(10px);
    opacity: 0;
}

.card-item:hover .card-item-overlay .btn-overlay {
    transform: translateY(0);
    opacity: 1;
}

.card-item-overlay .btn-overlay:first-child {
    transition-delay: 0.1s;
}

.card-item-overlay .btn-overlay:last-child {
    transition-delay: 0.2s;
}

.card-item-overlay .btn-overlay:hover {
    background: var(--accent-color, #28a745);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.product-item-overlay .btn-overlay i {
    font-size: 16px;
}

/* Breadcrumb Override - Remove awaikenthemes URL */
.breadcrumb-item + .breadcrumb-item::before {
    content: "/" !important;
}

/* Product Single Content Price Styles */
.product-single-content h3 span {
    font-size: 20px;
    color: var(--primary-color);
    opacity: 0.3;
}