
/* Flirt Custom Styles */
:root {
    --primary-color: #e91e63;
    --secondary-color: #f8bbd9;
    --accent-color: #ad1457;
    --dark-color: #2c2c2c;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 80px 0;
}

.product-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.category-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.category-icon {
    font-size: 3rem;
    color: var(--primary-color);
}

.price-tag {
    background: var(--primary-color);
    color: white !important;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.price-display {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

.navbar-dark {
    background-color: var(--dark-color) !important;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .product-card img {
        height: 200px;
    }
}

/* Age verification notice */
.age-notice {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
}

/* Loading animation */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Search and filter styles */
.search-container {
    position: relative;
}

.search-results {
    max-height: 400px;
    overflow-y: auto;
}

.product-highlight {
    background-color: rgba(233, 30, 99, 0.1);
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

/* Ensure clickable descriptions maintain original text color */
.card-text a.text-decoration-none.text-muted,
.card-text a.text-decoration-none.text-muted:hover,
.card-text a.text-decoration-none.text-muted:focus,
.card-text a.text-decoration-none.text-muted:active {
    color: #6c757d !important; /* Bootstrap's text-muted color */
    text-decoration: none !important;
}

.lead a.text-decoration-none,
.lead a.text-decoration-none:hover,
.lead a.text-decoration-none:focus,
.lead a.text-decoration-none:active {
    color: inherit !important; /* Inherit the lead text color */
    text-decoration: none !important;
}

/* Clickable product card styles */
.product-card-link {
    color: inherit;
    text-decoration: none;
    display: block;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    cursor: pointer;
}

.product-card-link:hover {
    color: inherit;
    text-decoration: none;
    transform: translateY(-5px);
}

.product-card-link:hover .card {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.product-card-link .card {
    transition: box-shadow 0.2s ease-in-out;
    cursor: pointer;
}

/* Product card link styles - ensure everything is clickable */
.product-card-link {
    cursor: pointer;
    display: block;
    width: 100%;
    /* Removed height: 100% to prevent extra whitespace */
}

.product-card-link:hover {
    text-decoration: none;
}

.product-card-link .card {
    height: 100%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.product-card-link .card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Individual links within the card */
.product-card-link .card-title a {
    color: inherit;
    text-decoration: none;
    position: relative;
    z-index: 10;
}

.product-card-link .card-text a {
    color: inherit;
    text-decoration: none;
}

.product-card-link .card-text a:hover {
    color: var(--primary-color);
}

/* Ensure product description text maintains original color when card is a link */
.product-card-link .card-text,
.product-card-link .card-text:hover,
.product-card-link .card-text:focus,
.product-card-link .card-text:active {
    color: #6c757d !important; /* Bootstrap's text-muted color */
}

/* Fix card layout and prevent text overlapping */
.product-card-link .card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.product-card-link .card-title {
    margin-bottom: 0.75rem;
    line-height: 1.3;
    word-wrap: break-word;
}

.product-card-link .card-text {
    margin-bottom: 0.5rem;
    flex-grow: 1;
}

/* Fix button spacing */
.product-card-link .d-flex.justify-content-between {
    margin-top: auto;
    padding-top: 0.5rem;
}

/* Reduce excessive whitespace above products grid */
section.py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 3rem !important;
}

.product-card-link .price-tag a {
    color: white !important;
    text-decoration: none;
    font-weight: bold;
}

.product-card-link .price-tag a:hover {
    color: white !important;
}

/* Ensure price text is always white in all contexts */
.price-tag,
.price-tag *,
.price-tag a,
.price-tag a:hover,
.price-tag a:visited,
.price-tag a:active {
    color: white !important;
}

.product-card-link .view-details-btn {
    text-decoration: none;
}

.product-card-link .view-details-btn:hover {
    text-decoration: none;
}

.product-card-link .card-title a:hover {
    color: var(--primary-color) !important;
    text-decoration: none !important;
}

/* View Details button inherits clickability from parent link */
.view-details-btn {
    cursor: pointer;
}

/* Footer link styles */
footer a {
    color: white !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
    text-decoration: none !important;
}
