/**
 * Sample Request System Styles
 * Version 2.0 - High-End Minimalist Edition
 */

/* General Styles */
.sample-basket-container,
.sample-request-form-container,
.sample-catalog-container {
  margin-bottom: 60px;
}

h1.sample-catalog-container {
    color: black;
}
.sample-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #000;
  color: white;
  padding: 15px 20px;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.basket-indicator {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #000;
  color: white;
  padding: 15px 20px;
  z-index: 999;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
}
.basket-indicator:hover {
  background-color: #333;
}
.basket-count {
  font-weight: 600;
  margin-right: 8px;
}

/* Basket Items */
.basket-item {
  display: flex;
  border: 1px solid #eee;
  margin-bottom: 20px;
  padding: 20px;
  position: relative;
  transition: all 0.2s ease;
}

.basket-item:hover {
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.basket-item-preview {
  flex: 0 0 120px;
  margin-right: 25px;
}

.basket-item-preview img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid #f5f5f5
}

.basket-item-info {
  flex: 1;
}

.basket-item-info h3 {
  margin-top: 0;
  margin-bottom: 0px;
  font-size: 18px !important;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.basket-item-info p {
  margin: 6px 0;
  font-size: 14px;
  color: #666;
  letter-spacing: 0.2px;
}

.remove-sample-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: transparent;
  color: #000;
  border: none;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  padding: 0;
  transition: all 0.2s ease;
}

.remove-sample-btn:hover {
  color: red;
}

.no-image-placeholder {
  width: 100%;
  height: 120px;
  background-color: #f5f5f5;
}

/* Form Styles */
.request-form {
  background-color: #fafafa;
  padding: 30px;
}

.form-row {
  margin-bottom: 25px;
}

.form-row label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  font-size: 15px;
  background-color: #fff;
}

.form-row.hidden {
  display: none;
}

.submit-sample-request {
  background-color: #000;
  color: white;
  border: none;
  padding: 15px 25px;
  cursor: pointer;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.submit-sample-request:hover {
  background-color: #333;
}

/* Sample Catalog Styles */
.sample-catalog-container h1 {
  margin-bottom: 40px;
  font-weight: 300;
  letter-spacing: 1px;
  color: black;
}

.sample-filters {
  background-color: #fafafa;
  padding: 30px;
  margin-top: 30px;
}

.sample-filter-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 20px;
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

.filter-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.filter-group input[type="text"],
.filter-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  background-color: #fff;
  font-size: 15px;
}

.filter-button {
  background-color: #000;
  color: white;
  border: none;
  padding: 12px 25px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.filter-button:hover {
  background-color: #333;
}

.reset-filters {
  display: inline-block;
  margin-left: 15px;
  color: #666;
  text-decoration: none;
  font-size: 14px;
}

.samples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 50px;
}

.sample-item {
  border: 1px solid #eee;
  padding: 0;
  background-color: #fff;
  transition: all 0.2s ease;
}

.sample-item:hover {
  box-shadow: 0 1px 10px rgba(0,0,0,0.05);
}

.sample-image {
  margin-bottom: 0;
}

.sample-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.sample-details {
  padding: 20px;
  
}

.sample-details h6 {
	margin: 0 0 10px 0;
}

.sample-details h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 400;
  color: black;
}

.sample-details p {
  margin: 8px 0;
  font-size: 14px;
  color: #666;
}

.add-sample-btn {
  display: inline-block;
  width: 170px;
  background-color: #000125;
  color: white;
  border: none;
  padding: 16px 25px;
  cursor: pointer;
  font-size: 14px;
font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s ease;
}

.add-sample-btn:hover {
  background-color: #000125;
  color: #9e7653;
}

.add-sample-btn.added {
  background-color: #000125;
  border: none;
  color: white;
}

.pagination {
  text-align: center;
  margin-top: 50px;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 10px 15px;
  margin: 0 5px;
  border: 1px solid #eee;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pagination .page-numbers.current {
  background-color: #000;
  color: white;
  border-color: #000;
}

.pagination .page-numbers:hover:not(.current) {
  background-color: #f5f5f5;
}

.no-samples-found {
  padding: 80px 0;
  text-align: center;
  font-size: 18px;
  color: #666;
  letter-spacing: 0.5px;
}

/* Loading States */
.sample-basket-loading,
.sample-request-loading {
  padding: 30px;
  text-align: center;
  color: #666;
  letter-spacing: 0.5px;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
  .sample-request-layout {
    display: block;
  }
  
  .sample-basket-column,
  .sample-form-column {
    width: 100%;
    margin-bottom: 40px;
  }
  
  .related-samples-grid, .samples-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    gap: 5px !important;
  }
  
.view-all-image, .mini-sample-item .sample-image , .mini-sample-item .sample-image img , .sample-image img {
      height: 170px !important;
  }
  
  .sample-filter-form {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }
  
  .filter-group {
           flex: 0 0 calc(50% - 7.5px); /* 50% width minus half the gap */
        min-width: 0; /* Allows items to shrink below content size */
    }
  
  .basket-indicator {
    bottom: 20px;
    right: 20px;
    padding: 10px 15px;
    font-size: 14px;
  }
}

/* Side by Side Layout */
.sample-request-layout {
  display: flex;
  gap: 40px;
}

.sample-basket-column {
  flex: 1;
}

.sample-form-column {
  flex: 1;
}

/* Empty State Styles */
.empty-basket {
  padding: 40px 0;
  text-align: left;
  color: #666;
  letter-spacing: 0.5px;
}

/* Success Message */
.sample-request-success {
  background-color: #f5f5f5;
  color: #333;
  padding: 30px;
  margin-bottom: 30px;
  text-align: center;
  letter-spacing: 0.5px;
}


/* Sample Filters - Updated Minimalist Style */
.sample-filters {
  background-color: transparent;
  padding: 0 0 30px 0;
  margin-bottom: 20px;
}

.sample-filter-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 25px;
}

.filter-group {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.filter-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Search Input with Bottom Border Only */
.filter-group input[type="text"] {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid #ddd;
  background-color: transparent;
  font-size: 15px;
  color: black;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>');
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 30px;
  transition: border-color 0.2s ease;
}

.filter-group input[type="text"]:focus {
  outline: none;
  border-bottom: 1px solid #000;
}

/* Select Dropdowns with Just Arrow */
.filter-group select {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid #ddd;
  background-color: transparent;
  font-size: 15px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 30px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.filter-group select:focus {
  outline: none;
  border-bottom: 1px solid #000;
}

/* Black Square Filter Button */
.filter-button {
  background-color: #000 !important; 
  color: white !important; 
  border-radius: none !important;
  padding: 12px 25px !important;
  cursor: pointer !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  font-size: 14px !important;
  transition: background-color 0.2s ease !important;
}

.filter-button:hover {
  background-color: #333 !important;
}

.reset-filters {
  display: inline-block;
  margin-left: 15px;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.reset-filters:hover {
  color: #000;
  text-decoration: underline;
}

/* Media Query for Mobile */
@media (max-width: 768px) {
  
    .sample-filters .sample-filter-form {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 15px;
        width: 100%;
        align-items: flex-start;
    }
    
    .sample-filters .filter-group {
        flex: 0 0 calc(50% - 7.5px) !important; /* 50% width minus half the gap */
        min-width: 0 !important; /* Allows items to shrink below content size */
        box-sizing: border-box !important;
        display: block !important;
        float: none !important; /* Override any float */
        clear: none !important; /* Override any clear */
        width: calc(50% - 7.5px) !important; /* Backup width */
    }
	
  .filter-button,
  .reset-filters {
    flex-basis: 100%;
    text-align: center;
    order: 999;
  }
  
  .filter-button {
    display: block;
  }
  
  .reset-filters {
    margin: 0;
  }
}

/* Fixes for filter styles */

/* Make search text color consistent with other filters */
.filter-group input[type="text"]::placeholder {
  color: #666;
  opacity: 1;
}

/* Fix vertical alignment of search field */
.filter-group input[type="text"] {
  padding: 8px 0; /* Reduced padding to align with other filter inputs */
  margin-top: 0; /* Remove any default margins */
  line-height: 1.5; /* Consistent line height */
}

/* Make dropdown arrows smaller */
.filter-group select {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
  background-size: 10px 10px; /* Control the size of the arrow */
  background-position: right 5px center; /* Position the arrow more precisely */
}

/* Add styles for View Cart button in catalog */
.view-cart-button {
  display: inline-block;
  background-color: transparent;
  color: #000;
  border: 1px solid #000125;
  padding: 12px 25px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.view-cart-button:hover {
  background-color: #000125;
  color: #fff;
}

/* Single sample page styles */
.single-sample-container {
  max-width: 1200px;
  margin: 0 auto;
}

.sample-info-column h1 {
    font-size: 30px;
}

.single-sample-layout {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
}

.sample-image-column {
  max-width: 50%;
}

.sample-info-column {
    flex: 1;
}

.single-sample-image {
  max-height: 500px;
  object-fit: cover;
}

.sample-description {
  line-height: 1.6;
  color: #333;
}

.related-samples-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}

.related-samples-section h2 {
  margin-bottom: 30px;
font-size: 25px;
  letter-spacing: 1px;
}

.related-samples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}

@media (max-width: 768px) {
  .single-sample-layout {
    flex-direction: column;
  }
  
  .sample-image-column {
    max-width: 100%;
  }
}


/* Button styling - side by side */
.sample-info-column .add-sample-btn,
.sample-info-column .view-cart-button {
  display: inline-block;
  width: auto;
  margin-right: 15px;
  margin-top:0px;
}

/* Make sure the side-by-side layout works well */
.single-sample-layout {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  align-items: center;
}

/* Make sure the related samples section is properly spaced */
.related-samples-section {

  padding-top: 40px;
  border-top: 1px solid #eee;
  clear: both;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .single-sample-layout {
    flex-direction: column;
  }
  
  .sample-image-column,
  .sample-info-column {
    justify-content: start;
    width: 90%;
    max-width: 90%;
  }
  
  .sample-info-column {
    margin-top: 0px;
  }
  
  .sample-info-column h1 {
      margin-top: 0rem;
  }
      
.single-sample-image {
    margin: 0 0;
}

.related-samples-section {
    width: 90%;
    margin: 0 auto;
}

.sample-actions {
    flex-wrap: wrap !important;
    align-items: flex-start !important; /* Aligns items to the top */
}

}

/* Safari-compatible CSS for the Mini Sample Grid */

.mini-samples-grid {
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
    /* Adding explicit prefixes for Safari compatibility */
    display: -ms-grid;
    display: -webkit-grid;
}

.mini-sample-item {
    border: 1px solid black;
    background: white;
}

/* Fix for aspect-ratio issues in Safari */
.mini-sample-item .sample-image {
    position: relative;
    width: 100%;
    overflow: hidden;
	height: 230px;
}

.mini-sample-item .sample-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
		height: 230px;
    object-fit: cover;
    display: block;
    /* Safari specific object-fit support */
    font-family: 'object-fit: cover;'; /* For object-fit polyfill if needed */
	border-bottom: 1px solid black;
}

.mini-sample-item .sample-details {
    padding: 10px;
	padding-bottom: 0px;
}

.mini-sample-item h3 {
    margin: 5px 0;
    font-size: 18px !important;
	font-weight: 500;
    line-height: 1.2;
}

.mini-sample-item p {
    margin: 0 0 5px 0;
    font-size: 13px;
    line-height: 1.3;
    color: #666;
}

.mini-sample-item .add-sample-btn {
    width: 100%;
	background-color: white;
    padding: 8px 0px;
    color: black;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 16px;
	font-weight: 500;
	margin-top: 5px;
	margin-bottom: 5px;
    /* Safari button appearance fix */
    -webkit-appearance: none;
    border-radius: 0;
}

 .mini-sample-item .add-sample-btn.added {
  color: #D9544D;
  background-color: white;
}

 .mini-sample-item .add-sample-btn.added:hover {
  background-color: #C4463F;
	 color: white;
}

.mini-sample-item .add-sample-btn:hover {
    background: none;
	color: #9e7653;
}

.mini-sample-item .no-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f5f5f5;
}

/* Responsive adjustments with better Safari support */
@media (max-width: 1100px) {
    .mini-samples-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        -ms-grid-columns: 1fr 15px 1fr 15px 1fr 15px 1fr !important;
        -webkit-grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 800px) {
    .mini-samples-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        -ms-grid-columns: 1fr 15px 1fr 15px 1fr !important;
        -webkit-grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 550px) {
    .mini-samples-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        -ms-grid-columns: 1fr 15px 1fr !important;
        -webkit-grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Add this to your sample-request.css file */

/* Make the sample request page layout responsive */
.sample-request-page {
    width: 100%;
}

.sample-request-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.sample-basket-column, 
.sample-form-column {
    flex: 1;
    min-width: 300px;
}

/* On smaller screens, make columns full width */
@media (max-width: 768px) {
    .sample-request-layout {
        flex-direction: column;
    }
    
    .sample-basket-container {
        margin-bottom: 0px;
    }
    
    .sample-basket-column, 
    .sample-form-column {
        width: 100%;
        flex-basis: 100%;
    }
    
     .sample-basket-column {
        margin-bottom: 0px;
    }
    
    .basket-item {
        margin-bottom: 0px;
    }
}

/* If you need even smaller breakpoints for very small devices */
@media (max-width: 480px) {
    .sample-basket-column, 
    .sample-form-column {
        padding: 0;
    }

}

.related-samples-section .mini-samples-grid {
    grid-template-columns: repeat(5, 1fr);
    -ms-grid-columns: 1fr 15px 1fr 15px 1fr 15px 1fr 15px 1fr;
    -webkit-grid-template-columns: repeat(5, 1fr);
}

.sample-details {
    padding: 15px;

}

.sample-meta {
    display: flex;
    justify-content: space-between;
    align-items: start;
    font-size: 14px;
    color: #9e7653;
}

.sample-colour-code {
    font-weight: 400;
}

.sample-material {
    font-weight: 400;
    text-transform: uppercase;
	text-align: right;
	font-size: 14px;
	margin-bottom: 10px;
}

.sample-brand {
	font-weight: 600;
}

.sample-divider {
    height: 1px;
    background-color: #5d5e65;
    width: 100%;
}
				
.sample-content {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: stretch; /* This allows children to maintain their own alignment */
	min-height: 90px;
}
    

.sample-actions {
    margin: 20px 0;
}

.sample-actions > * {
    margin-right: 15px;
    display: inline-block;
}

.sample-actions > *:last-child {
    margin-right: 0;
}


        /* Basic carousel styling */
        .samples-carousel-container {
            width: 100%;
            padding: 20px 0;
        }
        
        /* Slide styling */
        .carousel-slide {
            padding: 0 10px;
        }
        
        /* Sample item styling */
        .samples-carousel .mini-sample-item {
            margin: 0 auto;
            width: 100%;
			height: 100%;
        }
        
        /* Slick overrides for proper display */
        .samples-carousel .slick-track {
            display: flex;
        }
        
        .samples-carousel .slick-slide {
            height: inherit;
            display: flex;
        }
        
        .slick-arrows-container {
            position: absolute;
            top: -50px;
            transform: translateX(1200px); /* Half of 1240px to move to the right edge */
            display: flex;
            gap: 10px;
            z-index: 10;
        }
        
        /* Navigation arrows with custom SVGs */
        .slick-prev,
        .slick-next {
            width: 40px !important;
            height: 40px !important;
            position: static !important;
            transform: none !important;
            background: transparent !important;
            cursor: pointer;
            display: flex !important;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            outline: none;
            font-size: 0 !important; /* Hide original arrow text */
        }
        
        /* Hide original Slick arrows */
        .slick-prev:before,
        .slick-next:before {
            display: none !important; /* Hide default Slick arrows */
        }

        /* Custom SVG arrows using ::after pseudo-elements */
        .slick-prev::after,
        .slick-next::after {
            content: '';
            display: block;
            width: 40px;
            height: 40px;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            filter: brightness(0) saturate(100%) invert(50%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(50%) contrast(100%); /* Grey color */
        }

        .slick-prev::after {
            background-image: url('https://conceptwashroom.co.uk/wp-content/uploads/2025/06/left.svg');
        }

        .slick-next::after {
            background-image: url('https://conceptwashroom.co.uk/wp-content/uploads/2025/06/right-arrow.svg');
        }

        /* Hover effect - change to black */
        .slick-prev:hover::after,
        .slick-next:hover::after {
            filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%); /* Black color */
        }
        
        /* Dots styling */
        .samples-carousel .slick-dots {
            bottom: -30px;
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .carousel-slide {
                padding: 0 5px;
            }
        }
        
        @media (max-width: 1199px) {
            .slick-arrows-container { 
                display: none;
            }
        }

/* Quantity Controls - Minimal Styling */
.quantity-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
}

.quantity-btn:hover {
    color: #000;
}

.quantity-input {
    background: none;
    border: none;
    border-bottom: 1px solid #ccc;
    width: 50px;
    text-align: center;
    outline: none;
}

/* Hide number spinners */
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input[type=number] {
    -moz-appearance: textfield;
}

 .view-all-btn {
        text-align: center;
        padding: 8px;
        display: block;
        width: 100% ;
    }
    
    .view-all-btn:hover {
        color: #9e7653;
    }
    .custom-sample-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
        margin: 20px 0;
    }
    
    .custom-sample-grid .mini-sample-item {
        width: 100%;
        max-width: none;
        display: flex;
        flex-direction: column;
    }
    
    .view-all-plus {
        font-size: 4rem;
        font-weight: bold;
        color: #6c757d;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        min-height: 200px;
    }
    
    .view-all-image {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f8f9fa;
		padding-bottom: 0px !important;
    }
    
    @media (max-width: 1024px) {
        .custom-sample-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }
    
    @media (max-width: 768px) {
        .custom-sample-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    
    @media (max-width: 480px) {
        .custom-sample-grid {
            grid-template-columns: 1fr;
        }
    }