/* 
 * Webze Ready-Made Software Catalog Stylesheet
 * Premium Component Layout, Dual Slider, & Responsive Actions
 */

/* Main Page Container */
.products-main {
    background-color: var(--bg-secondary);
    padding-bottom: 80px;
    min-height: 80vh;
}

/* Page Header / Breadcrumb Section */
.products-hero-header {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 40px 0 30px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 16px;
}
.breadcrumb a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}
.breadcrumb a:hover {
    color: var(--primary);
}
.breadcrumb svg {
    width: 12px;
    height: 12px;
    stroke: var(--text-muted);
}
.header-title-wrapper h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.header-title-wrapper p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    line-height: 1.5;
}

/* Catalog Grid Layout */
.catalog-section {
    padding-bottom: 60px;
}
.catalog-layout {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 32px;
    align-items: start;
}

/* Sidebar Filters styling */
.catalog-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.filter-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-normal);
}
.filter-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
}
.filter-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(248, 250, 252, 0.5);
}
.filter-card-header svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}
.filter-card-header h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}
.filter-card-body {
    padding: 20px;
}

/* Category List */
.category-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}
.category-item:hover {
    background-color: var(--bg-secondary);
    color: var(--primary);
}
.category-item.active {
    background-color: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
}
.category-badge {
    background-color: var(--bg-tertiary);
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}
.category-item.active .category-badge {
    background-color: var(--primary);
    color: #ffffff;
}

/* Price Dual Range Slider Styling */
.price-slider-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 15px;
}
.dual-range-inputs {
    position: relative;
    height: 18px;
    margin: 10px 0;
}
.dual-range-inputs input[type="range"] {
    position: absolute;
    width: 100%;
    height: 6px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}
/* Slider track background */
.dual-range-inputs::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 6px;
    background-color: var(--bg-tertiary);
    border-radius: 3px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
}
/* Highlighted active track track */
.slider-track {
    position: absolute;
    height: 6px;
    background: var(--gradient-blue);
    border-radius: 3px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    left: 0%;
    width: 100%;
}
/* Range Thumb Styling */
.dual-range-inputs input[type="range"]::-webkit-slider-thumb {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    pointer-events: auto;
    -webkit-appearance: none;
    transition: var(--transition-fast);
}
.dual-range-inputs input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background-color: var(--primary-light);
    box-shadow: 0 0 0 6px var(--primary-glow);
}
.dual-range-inputs input[type="range"]::-moz-range-thumb {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    pointer-events: auto;
    transition: var(--transition-fast);
}
.dual-range-inputs input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.15);
    background-color: var(--primary-light);
    box-shadow: 0 0 0 6px var(--primary-glow);
}

.price-inputs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.price-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.price-input-lbl {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}
.number-input-box {
    position: relative;
    display: flex;
    align-items: center;
}
.number-input-box input {
    width: 100%;
    padding: 8px 24px 8px 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    outline: none;
    transition: var(--transition-fast);
}
.number-input-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}
.currency-symbol {
    position: absolute;
    right: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* Sidebar Actions */
.filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.filter-apply-btn {
    flex: 1;
    padding: 10px 16px;
    font-size: 0.85rem;
    gap: 6px;
}
.filter-apply-btn svg {
    width: 14px;
    height: 14px;
}
.filter-reset-btn {
    padding: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}
.filter-reset-btn svg {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    transition: transform var(--transition-normal);
}
.filter-reset-btn:hover svg {
    color: var(--primary);
    transform: rotate(-180deg);
}

/* Toolbar elements */
.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 20px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}
.toolbar-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.products-found-count {
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.products-found-count b {
    color: var(--text-primary);
    font-weight: 700;
}
.active-search-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}
.active-search-badge a {
    color: var(--text-muted);
    font-weight: 700;
    transition: var(--transition-fast);
}
.active-search-badge a:hover {
    color: #ef4444;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.toolbar-search-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 200px;
    transition: width var(--transition-normal);
}
.toolbar-search-box:focus-within {
    width: 250px;
}
.toolbar-search-box input {
    width: 100%;
    padding: 8px 36px 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
    outline: none;
    transition: var(--transition-fast);
}
.toolbar-search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}
.toolbar-search-btn {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
}
.toolbar-search-btn svg {
    width: 14px;
    height: 14px;
}
.toolbar-search-btn:hover {
    color: var(--primary);
}

.sort-selector-wrapper select {
    padding: 8px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    outline: none;
    cursor: pointer;
    transition: var(--transition-fast);
}
.sort-selector-wrapper select:hover {
    border-color: var(--border-hover);
}

/* Products Grid & Card Mockups */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 24px;
}
.featured-products-block {
    position: relative;
    margin-bottom: 28px;
    padding: 3px;
    border-radius: calc(var(--radius-md) + 3px);
    background: var(--bg-primary);
    isolation: isolate;
}
.featured-products-block::before {
    content: "";
    position: absolute;
    inset: -3px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(120deg, #ef4444, #f59e0b, #eab308, #22c55e, #06b6d4, #3b82f6, #8b5cf6, #ec4899, #ef4444);
    background-size: 300% 300%;
    animation: free-product-rainbow 5s linear infinite;
    padding: 3px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.featured-products-title {
    margin: 14px 14px 18px;
    color: transparent;
    font-size: 1.35rem;
    font-weight: 800;
    text-align: center;
    background: linear-gradient(120deg, #ef4444, #f59e0b, #eab308, #22c55e, #06b6d4, #3b82f6, #8b5cf6, #ec4899, #ef4444);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: free-product-rainbow 5s linear infinite;
}
.product-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card.is-free {
    overflow: visible;
}
.product-card.is-free::before {
    content: "";
    position: absolute;
    inset: -3px;
    z-index: 1;
    border-radius: calc(var(--radius-md) + 3px);
    background: linear-gradient(120deg, #ef4444, #f59e0b, #eab308, #22c55e, #06b6d4, #3b82f6, #8b5cf6, #ec4899, #ef4444);
    background-size: 300% 300%;
    animation: free-product-rainbow 5s linear infinite;
    pointer-events: none;
    padding: 3px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}
.product-card.is-free .product-card-media {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.product-card.is-free .product-card-content {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}
@keyframes free-product-rainbow {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-premium);
    border-color: var(--border-hover);
}

/* Product Card Media representation (Premium mockups) */
.product-card-media {
    height: 180px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f1f5f9 !important;
}
.product-card-media.has-image {
    padding: 0;
}
.product-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.1) 100%);
    z-index: 1;
}
.mockup-screen {
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.85);
    border-radius: 8px;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .mockup-screen {
    transform: scale(1.04) rotate(-1deg);
}

.mockup-header {
    height: 24px;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mockup-header span[class^="dot-"] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.mockup-title {
    font-family: monospace;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.35);
    margin-left: auto;
}

.mockup-body {
    flex: 1;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.mockup-body-left {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.mockup-body-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mockup-line-long, .mockup-line-mid, .mockup-line-short {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}
.mockup-line-long { width: 85%; }
.mockup-line-mid { width: 55%; background-color: var(--primary); }
.mockup-line-short { width: 35%; }

/* Card Content details */
.product-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.product-category-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background-color: var(--primary-light);
    padding: 3px 8px;
    border-radius: 4px;
}
.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}
.stars {
    display: flex;
    gap: 2px;
}
.star-icon {
    width: 12px;
    height: 12px;
}
.reviews-count {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 6px;
    transition: var(--transition-fast);
}
.product-card:hover .product-title {
    color: var(--primary);
}
.product-subtitle {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 38px;
}

.product-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--border-color);
    padding-top: 18px;
}
.product-specs li {
    display: flex;
    align-items: start;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.3;
}
.check-icon {
    width: 14px;
    height: 14px;
    color: #10b981;
    margin-top: 2px;
    flex-shrink: 0;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-top: auto;
    margin-bottom: 18px;
}
.product-languages {
    display: flex;
    gap: 6px;
}
.lang-flag-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-secondary);
    background-color: var(--bg-tertiary);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 4px;
}
.lang-text {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.product-price-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.old-price {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 500;
}
.current-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
}

/* Card Actions Grid */
.product-actions-grid {
    display: flex;
    gap: 10px;
}
.action-whatsapp-btn {
    flex: 1;
    padding: 10px 16px;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
}
.icon-actions {
    display: flex;
    gap: 6px;
}
.icon-btn-action {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}
.icon-btn-action:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: var(--primary-light);
    transform: translateY(-1px);
}
.icon-btn-action svg {
    width: 16px;
    height: 16px;
}

/* Empty State Styling */
.no-products-state {
    grid-column: 1 / -1;
    background-color: var(--bg-primary);
    border: 1px dashed var(--border-hover);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
    margin: 40px auto;
}
.no-products-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}
.no-products-state h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.no-products-state p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 24px;
}

/* WhatsApp Support Banner */
.presales-banner-section {
    padding-top: 40px;
}
.whatsapp-support-banner {
    background: linear-gradient(135deg, #e6fcf5 0%, #d3f9ed 100%);
    border: 1px solid #a7f3d0;
    border-radius: var(--radius-lg);
    padding: 32px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: var(--shadow-md);
}
.whatsapp-banner-left {
    display: flex;
    align-items: center;
    gap: 24px;
}
.whatsapp-banner-icon-bg {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 16px rgba(37, 211, 102, 0.25);
    animation: bannerIconPulse 2.5s infinite;
}
@keyframes bannerIconPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.wa-banner-svg {
    width: 32px;
    height: 32px;
}
.whatsapp-banner-texts h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #064e3b;
    margin-bottom: 4px;
}
.whatsapp-banner-texts p {
    color: #047857;
    font-size: 0.92rem;
    font-weight: 500;
}
.wa-cta-btn {
    background-color: #25d366;
    color: #ffffff;
    padding: 14px 32px;
    font-weight: 700;
    border-radius: var(--radius-md);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}
.wa-cta-btn:hover {
    background-color: #20ba59;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
    color: #ffffff;
}

/* Toast Notifications styling */
.cart-toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #0f172a;
    color: #ffffff;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index: 10000;
    transform: translateY(120px) scale(0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.cart-toast-notification.show-toast {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}
.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
}
.toast-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #10b981;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
}
.toast-message {
    font-size: 0.85rem;
    font-weight: 500;
}
.toast-message strong {
    color: #60a5fa;
}

/* Pulse Animation for Cart Badge */
@keyframes badgePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}
.pulse-animation {
    animation: badgePulse 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Responsive Breakpoints */
@media(max-width: 991px) {
    .catalog-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .catalog-sidebar {
        position: static;
    }
    .whatsapp-support-banner {
        flex-direction: column;
        text-align: center;
        padding: 24px;
        align-items: center;
    }
    .whatsapp-banner-left {
        flex-direction: column;
        gap: 16px;
    }
    .wa-cta-btn {
        width: 100%;
        text-align: center;
    }
}

@media(max-width: 576px) {
    .products-hero-header {
        padding: 30px 0 20px;
    }
    .header-title-wrapper h1 {
        font-size: 1.95rem;
    }
    .header-title-wrapper p {
        font-size: 0.95rem;
    }
    .catalog-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .toolbar-right {
        flex-direction: column;
        align-items: stretch;
    }
    .toolbar-search-box {
        width: 100% !important;
    }
    .sort-selector-wrapper select {
        width: 100%;
    }
    .product-specs {
        margin-bottom: 16px;
    }
    .product-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 12px;
    }
    .product-price-box {
        align-items: flex-start;
    }
}

/* ==========================================
 * PRODUCT DETAILS VIEW STYLES (show.blade.php)
 * ========================================== */

.products-detail-header {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 50px 0 40px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0;
}
.product-detail-headline-block {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-top: 15px;
}
.headline-left h1 {
    font-size: 2.85rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-top: 12px;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.subtitle-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 800px;
}
.product-meta-row {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.langs-badge-list {
    display: flex;
    gap: 8px;
}

.product-detail-layout-section {
    padding: 60px 0;
}
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}

/* Detail Main Column */
.detail-main-column {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.detail-media-banner {
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    border: 1px solid var(--border-color);
}
.mockup-screen-large {
    width: 100%;
    background-color: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.mockup-screen-large .mock-header {
    height: 32px;
    background-color: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
}
.mockup-screen-large .mock-dots {
    display: flex;
    gap: 6px;
}
.mockup-screen-large .mock-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.mockup-screen-large .mock-dots .r { background: #ef4444; }
.mockup-screen-large .mock-dots .y { background: #f59e0b; }
.mockup-screen-large .mock-dots .g { background: #10b981; }

.mockup-screen-large .mock-url {
    font-size: 0.72rem;
    font-family: monospace;
    color: rgba(255, 255, 255, 0.35);
    margin-left: auto;
}
.mockup-screen-large .mock-body {
    display: flex;
    height: 280px;
}
.mockup-screen-large .mock-sidebar {
    width: 60px;
    background-color: rgba(255, 255, 255, 0.02);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 0;
    gap: 12px;
}
.mockup-screen-large .mock-logo {
    width: 28px;
    height: 28px;
    background: var(--gradient-blue);
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.mockup-screen-large .mock-menu-item {
    width: 24px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}
.mockup-screen-large .mock-menu-item.active {
    background-color: var(--primary);
}
.mockup-screen-large .mock-content {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.mockup-screen-large .mock-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.mockup-screen-large .mock-card {
    height: 50px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}
.mockup-screen-large .mock-chart {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 20px;
    height: 120px;
}
.mockup-screen-large .mock-bar {
    width: 24px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 4px 4px 0 0;
    transition: height var(--transition-slow);
}
.mockup-screen-large:hover .mock-bar {
    background-color: var(--primary);
}

.detail-description-card, .detail-features-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}
.detail-description-card h2, .detail-features-card h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.detail-description-card h2::before, .detail-features-card h2::before {
    content: '';
    width: 4px;
    height: 20px;
    border-radius: var(--radius-full);
    background: var(--gradient-blue);
    display: inline-block;
}
.description-content {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}
.description-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 24px 0 12px;
}
.description-content ul, .description-content ol {
    margin: 12px 0 18px 20px;
}
.description-content li {
    margin-bottom: 6px;
}

.features-checklist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.feature-checklist-item {
    display: flex;
    align-items: start;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.4;
}
.check-circle-wrapper {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #d1fae5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.check-circle-wrapper svg {
    width: 12px;
    height: 12px;
}

/* Sidebar Column */
.detail-sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 100px;
}
.purchase-sidebar-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
}
.card-price-header {
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}
.old-price-tag {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
}
.price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}
.current-price-tag {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}
.tax-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}

.sidebar-checkout-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}
.whatsapp-order-btn {
    width: 100%;
    padding: 14px;
    font-weight: 700;
    text-align: center;
    font-size: 0.95rem;
    background-color: #0f172a;
    color: #ffffff;
}
.whatsapp-order-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}
.detail-live-demo-btn, .sidebar-cart-add-btn {
    width: 100%;
    padding: 12px;
    font-weight: 600;
    font-size: 0.88rem;
    gap: 8px;
}
.btn-icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
}
.guarantee-badge {
    display: flex;
    align-items: start;
    gap: 12px;
    background-color: var(--bg-secondary);
    padding: 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}
.badge-icon {
    font-size: 1.25rem;
}
.badge-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.badge-text strong {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-primary);
}
.badge-text span {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.specs-sidebar-card .specs-table {
    width: 100%;
    border-collapse: collapse;
}
.specs-table tr {
    border-bottom: 1px solid var(--bg-secondary);
}
.specs-table tr:last-child {
    border-bottom: none;
}
.specs-table td {
    padding: 10px 0;
    font-size: 0.82rem;
    color: var(--text-secondary);
}
.specs-table td:last-child {
    text-align: right;
    color: var(--text-primary);
}

.support-sidebar-card .support-sidebar-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 16px;
}
.sidebar-wa-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px;
    background-color: #e6fcf5;
    color: #047857;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    border: 1px solid #a7f3d0;
    transition: var(--transition-fast);
}
.sidebar-wa-link:hover {
    background-color: #d1fae5;
    color: #065f46;
    transform: translateY(-1px);
}

.related-products-section {
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
}
.section-header-left {
    margin-bottom: 32px;
}
.section-header-left h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.section-header-left p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Responsive Show Page details */
@media(max-width: 991px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .detail-sidebar-column {
        position: static;
    }
}
@media(max-width: 576px) {
    .headline-left h1 {
        font-size: 2.15rem;
    }
    .subtitle-text {
        font-size: 1rem;
    }
    .product-meta-row {
        gap: 16px;
        margin-top: 16px;
    }
    .features-checklist-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .detail-description-card, .detail-features-card {
        padding: 24px;
    }
}

/* Custom additions for cover image and secure download */
.product-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}
.product-card:hover .product-cover-image {
    transform: scale(1.04);
}

.mock-body-image-wrapper {
    width: 100%;
    height: 320px;
    background-color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.mockup-screenshot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.detail-download-btn {
    border-color: #10b981 !important;
    background-color: transparent !important;
    color: #10b981 !important;
    transition: all 0.2s ease !important;
}
.detail-download-btn:hover {
    background-color: #e6fdf5 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.15);
}

/* ============================================================
   Neutral Card Theme Overrides (Colors removed outside image)
   ============================================================ */
.product-card .product-category-tag {
    color: var(--text-secondary) !important;
    background-color: var(--bg-tertiary) !important;
}

.product-card .product-title a {
    color: var(--text-primary) !important;
}

.product-card:hover .product-title a {
    color: var(--text-primary) !important;
    text-decoration: underline !important;
}

.product-card .check-icon {
    color: var(--text-muted) !important;
}

/* Redesign Details button inside product card to be neutral dark slate */
.product-card .btn-primary.action-whatsapp-btn {
    background: var(--text-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08) !important;
}

.product-card .btn-primary.action-whatsapp-btn:hover {
    background: #000000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.16) !important;
}

/* Redesign action icon buttons (cart, preview) inside product card to be neutral */
.product-card .icon-btn-action:hover {
    border-color: var(--text-primary) !important;
    color: var(--text-primary) !important;
    background-color: var(--bg-tertiary) !important;
}

/* Product reviews */
.product-reviews-section { padding: 28px; background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.product-reviews-heading, .review-compose-top, .review-compose-actions, .review-card-top { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.reviews-kicker { color:var(--primary); font-size:.68rem; font-weight:800; letter-spacing:.12em; }
.product-reviews-heading h2 { margin:4px 0 0; font-size:1.45rem; color:var(--text-primary); }
.reviews-summary { display:grid; grid-template-columns:auto auto; align-items:center; column-gap:10px; text-align:right; }
.reviews-summary strong { grid-row:span 2; color:var(--text-primary); font-size:2rem; line-height:1; }
.reviews-summary-stars, .review-card-top > span { color:#f59e0b; letter-spacing:2px; }
.reviews-summary small { color:var(--text-muted); font-size:.74rem; }
.review-compose-card { margin-top:22px; padding:20px; border:1px solid #dbeafe; border-radius:14px; background:#f8fbff; }
.review-compose-top h3 { margin:0; color:var(--text-primary); font-size:1rem; }
.review-compose-top p { margin:4px 0 0; color:var(--text-muted); font-size:.8rem; }
.review-rating-field { display:grid; gap:5px; color:var(--text-muted); font-size:.72rem; font-weight:700; }
.review-rating-field select { min-width:150px; padding:9px 12px; border:1px solid var(--border-color); border-radius:8px; background:#fff; color:#d97706; font-weight:700; }
.review-textarea { display:block; box-sizing:border-box; width:100%; margin-top:16px; padding:13px 15px; resize:vertical; border:1px solid var(--border-color); border-radius:10px; background:#fff; color:var(--text-primary); font:inherit; line-height:1.5; outline:none; }
.review-textarea:focus { border-color:var(--primary); box-shadow:0 0 0 3px rgba(37,99,235,.12); }
.review-compose-actions { margin-top:12px; }
.review-compose-actions small { color:var(--text-muted); font-size:.72rem; }
.review-delete-form { margin-top:8px; text-align:right; }
.review-delete-form button { border:0; background:transparent; color:#dc2626; cursor:pointer; font-size:.78rem; font-weight:700; }
.review-login-note, .reviews-empty { margin-top:20px; padding:16px; border:1px dashed var(--border-color); border-radius:10px; color:var(--text-muted); text-align:center; font-size:.86rem; }
.review-login-note a { color:var(--primary); font-weight:700; }
.reviews-list { display:grid; gap:12px; margin-top:22px; }
.review-card { padding:16px; border:1px solid var(--border-color); border-radius:12px; background:#fff; }
.review-card-top strong { color:var(--text-primary); font-size:.9rem; }
.review-owner-badge { display:inline-block; margin-left:8px; padding:3px 7px; border-radius:999px; background:#ecfdf5; color:#059669; font-size:.66rem; font-weight:800; }
.review-card p { margin:10px 0 8px; color:var(--text-muted); font-size:.86rem; line-height:1.6; }
.review-card time { color:#94a3b8; font-size:.7rem; }
@media (max-width: 640px) {
    .product-reviews-section { padding:18px; }
    .product-reviews-heading, .review-compose-top { align-items:flex-start; flex-direction:column; }
    .reviews-summary { text-align:left; }
    .review-rating-field, .review-rating-field select { width:100%; }
}


/* Teknik destek durum kartı (ürün detay) */
.support-status-card { margin-top: 16px; }
.support-state { margin: 0; font-size: 0.85rem; line-height: 1.55; padding: 12px 14px; border-radius: 10px; }
.support-state--ok { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.support-state--off { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.support-buy-note { display: block; margin-top: 8px; font-size: 0.72rem; color: #94a3b8; text-align: center; }

/* Ücretsiz ürün görev notu */
.free-task-note { margin: 8px 0 0; font-size: 0.76rem; color: #b45309; background: #fffbeb; border: 1px solid #fde68a; padding: 8px 11px; border-radius: 9px; line-height: 1.45; }
