457 lines
9.3 KiB
CSS
Executable File
457 lines
9.3 KiB
CSS
Executable File
/**
|
|
* Dutchie Analytics - Beautiful Styles
|
|
* Modern, clean, and professional design
|
|
*/
|
|
|
|
/* Products Grid */
|
|
.dutchie-products-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
gap: 24px;
|
|
margin: 24px 0;
|
|
}
|
|
|
|
.dutchie-products-grid[data-columns="3"] {
|
|
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
}
|
|
|
|
.dutchie-products-grid[data-columns="4"] {
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
}
|
|
|
|
.dutchie-products-grid[data-columns="5"] {
|
|
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
|
|
}
|
|
|
|
/* Product Cards - Modern Style */
|
|
.dutchie-product-card-modern {
|
|
background: #ffffff;
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
|
transition: all 0.3s ease;
|
|
border: 1px solid #e5e7eb;
|
|
}
|
|
|
|
.dutchie-product-card-modern:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
|
|
}
|
|
|
|
/* Product Cards - Minimal Style */
|
|
.dutchie-product-card-minimal {
|
|
background: #ffffff;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
box-shadow: none;
|
|
transition: all 0.2s ease;
|
|
border: 1px solid #e5e7eb;
|
|
}
|
|
|
|
.dutchie-product-card-minimal:hover {
|
|
border-color: #3b82f6;
|
|
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
|
|
}
|
|
|
|
/* Product Cards - Bold Style */
|
|
.dutchie-product-card-bold {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
border-radius: 20px;
|
|
overflow: hidden;
|
|
box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
|
|
transition: all 0.3s ease;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.dutchie-product-card-bold:hover {
|
|
transform: scale(1.05);
|
|
box-shadow: 0 12px 28px rgba(102, 126, 234, 0.4);
|
|
}
|
|
|
|
.dutchie-product-card-bold .dutchie-product-name,
|
|
.dutchie-product-card-bold .dutchie-product-brand,
|
|
.dutchie-product-card-bold .dutchie-product-description {
|
|
color: #ffffff;
|
|
}
|
|
|
|
/* Product Image */
|
|
.dutchie-product-image {
|
|
position: relative;
|
|
width: 100%;
|
|
aspect-ratio: 1;
|
|
background: #f9fafb;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.dutchie-product-image img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.dutchie-product-card:hover .dutchie-product-image img {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
/* Stock Badge */
|
|
.dutchie-stock-badge {
|
|
position: absolute;
|
|
top: 12px;
|
|
right: 12px;
|
|
padding: 6px 12px;
|
|
border-radius: 20px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.dutchie-stock-badge.in-stock {
|
|
background: rgba(16, 185, 129, 0.9);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.dutchie-stock-badge.out-of-stock {
|
|
background: rgba(239, 68, 68, 0.9);
|
|
color: #ffffff;
|
|
}
|
|
|
|
/* Product Content */
|
|
.dutchie-product-content {
|
|
padding: 20px;
|
|
}
|
|
|
|
.dutchie-product-name {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: #111827;
|
|
margin: 0 0 8px 0;
|
|
line-height: 1.4;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.dutchie-product-brand {
|
|
font-size: 13px;
|
|
color: #6b7280;
|
|
margin: 0 0 12px 0;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.dutchie-product-description {
|
|
font-size: 13px;
|
|
color: #6b7280;
|
|
line-height: 1.5;
|
|
margin: 0 0 16px 0;
|
|
}
|
|
|
|
/* Product Meta */
|
|
.dutchie-product-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.dutchie-product-price {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
color: #3b82f6;
|
|
}
|
|
|
|
.dutchie-thc-badge,
|
|
.dutchie-cbd-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 4px 10px;
|
|
border-radius: 12px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.dutchie-thc-badge {
|
|
background: #ecfdf5;
|
|
color: #059669;
|
|
}
|
|
|
|
.dutchie-cbd-badge {
|
|
background: #eff6ff;
|
|
color: #2563eb;
|
|
}
|
|
|
|
.dutchie-product-weight {
|
|
font-size: 12px;
|
|
color: #9ca3af;
|
|
margin: 8px 0 0 0;
|
|
}
|
|
|
|
/* Carousel Wrapper */
|
|
.dutchie-products-carousel-wrapper {
|
|
margin: 24px 0;
|
|
position: relative;
|
|
}
|
|
|
|
.dutchie-products-carousel-wrapper .swiper {
|
|
padding: 0 50px 50px 50px;
|
|
}
|
|
|
|
.dutchie-products-carousel-wrapper .swiper-button-prev,
|
|
.dutchie-products-carousel-wrapper .swiper-button-next {
|
|
width: 44px;
|
|
height: 44px;
|
|
background: #ffffff;
|
|
border-radius: 50%;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.dutchie-products-carousel-wrapper .swiper-button-prev:hover,
|
|
.dutchie-products-carousel-wrapper .swiper-button-next:hover {
|
|
background: #3b82f6;
|
|
color: #ffffff;
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.dutchie-products-carousel-wrapper .swiper-button-prev::after,
|
|
.dutchie-products-carousel-wrapper .swiper-button-next::after {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.dutchie-products-carousel-wrapper .swiper-pagination-bullet {
|
|
width: 10px;
|
|
height: 10px;
|
|
background: #d1d5db;
|
|
opacity: 1;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.dutchie-products-carousel-wrapper .swiper-pagination-bullet-active {
|
|
background: #3b82f6;
|
|
width: 28px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
/* Stores Grid */
|
|
.dutchie-stores-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
gap: 24px;
|
|
margin: 24px 0;
|
|
}
|
|
|
|
.dutchie-store-card {
|
|
background: #ffffff;
|
|
border-radius: 16px;
|
|
padding: 24px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
|
transition: all 0.3s ease;
|
|
text-align: center;
|
|
border: 1px solid #e5e7eb;
|
|
}
|
|
|
|
.dutchie-store-card:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
|
|
}
|
|
|
|
.dutchie-store-logo {
|
|
width: 80px;
|
|
height: 80px;
|
|
object-fit: contain;
|
|
margin: 0 auto 16px;
|
|
display: block;
|
|
}
|
|
|
|
.dutchie-store-card h3 {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: #111827;
|
|
margin: 0 0 12px 0;
|
|
}
|
|
|
|
.dutchie-store-stats {
|
|
font-size: 14px;
|
|
color: #6b7280;
|
|
margin: 0 0 16px 0;
|
|
}
|
|
|
|
.dutchie-store-link {
|
|
display: inline-block;
|
|
padding: 10px 20px;
|
|
background: #3b82f6;
|
|
color: #ffffff;
|
|
text-decoration: none;
|
|
border-radius: 8px;
|
|
font-weight: 500;
|
|
font-size: 14px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.dutchie-store-link:hover {
|
|
background: #2563eb;
|
|
transform: scale(1.05);
|
|
color: #ffffff;
|
|
}
|
|
|
|
/* Brands Grid */
|
|
.dutchie-brands-grid {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
margin: 24px 0;
|
|
}
|
|
|
|
.dutchie-brand-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 10px 18px;
|
|
background: #f3f4f6;
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 24px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: #374151;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.dutchie-brand-badge:hover {
|
|
background: #3b82f6;
|
|
color: #ffffff;
|
|
border-color: #3b82f6;
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
|
|
}
|
|
|
|
/* Specials Grid */
|
|
.dutchie-specials-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
gap: 24px;
|
|
margin: 24px 0;
|
|
}
|
|
|
|
.dutchie-special-card {
|
|
background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
|
|
border-radius: 16px;
|
|
padding: 24px;
|
|
box-shadow: 0 8px 16px rgba(251, 191, 36, 0.3);
|
|
color: #ffffff;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.dutchie-special-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: -50%;
|
|
right: -50%;
|
|
width: 200%;
|
|
height: 200%;
|
|
background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.dutchie-special-card img {
|
|
width: 100%;
|
|
height: 200px;
|
|
object-fit: cover;
|
|
border-radius: 12px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.dutchie-special-card h3 {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
color: #ffffff;
|
|
margin: 0 0 12px 0;
|
|
}
|
|
|
|
.dutchie-special-card p {
|
|
font-size: 14px;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
margin: 0 0 16px 0;
|
|
}
|
|
|
|
.dutchie-discount-badge {
|
|
display: inline-block;
|
|
padding: 8px 16px;
|
|
background: rgba(255, 255, 255, 0.2);
|
|
backdrop-filter: blur(10px);
|
|
border: 2px solid rgba(255, 255, 255, 0.4);
|
|
border-radius: 20px;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
color: #ffffff;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
/* Responsive Design */
|
|
@media (max-width: 768px) {
|
|
.dutchie-products-grid,
|
|
.dutchie-stores-grid,
|
|
.dutchie-specials-grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.dutchie-products-carousel-wrapper .swiper {
|
|
padding: 0 0 40px 0;
|
|
}
|
|
|
|
.dutchie-product-name {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.dutchie-product-price {
|
|
font-size: 18px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.dutchie-products-grid,
|
|
.dutchie-stores-grid,
|
|
.dutchie-specials-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* Loading State */
|
|
.dutchie-loading {
|
|
text-align: center;
|
|
padding: 40px;
|
|
color: #6b7280;
|
|
}
|
|
|
|
.dutchie-loading::after {
|
|
content: '';
|
|
display: inline-block;
|
|
width: 32px;
|
|
height: 32px;
|
|
border: 3px solid #e5e7eb;
|
|
border-top-color: #3b82f6;
|
|
border-radius: 50%;
|
|
animation: dutchie-spin 0.8s linear infinite;
|
|
}
|
|
|
|
@keyframes dutchie-spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* Error State */
|
|
.dutchie-error {
|
|
background: #fee2e2;
|
|
border: 1px solid #fecaca;
|
|
border-radius: 8px;
|
|
padding: 16px;
|
|
color: #991b1b;
|
|
margin: 16px 0;
|
|
}
|