/* Main Form Styles */
:root {
  --primary-color: #00c6ff;
  --secondary-color: #9d25be;
  --dark-bg: #101318;
  --card-bg: #1a1e24;
  --light-text: #ffffff;
  --muted-text: #a0a0a0;
  --accent-color: #ff3e5e;
  --border-color: #2a2f38;
  --success-color: #0df39a;
  --neon-glow: 0 0 10px rgba(0, 198, 255, 0.7), 0 0 20px rgba(0, 198, 255, 0.4);
  --purple-glow: 0 0 10px rgba(157, 37, 190, 0.7), 0 0 20px rgba(157, 37, 190, 0.4);
}

/* Main Container */
.psu-suggestion-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--dark-bg);
  border-radius: 12px;
  color: var(--light-text);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(0, 198, 255, 0.07) 0%, transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(157, 37, 190, 0.07) 0%, transparent 60%);
}

/* Form Styles */
.psu-suggestion-form {
  margin-bottom: 2rem;
}

.psu-form-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  gap: 20px;
}

.psu-form-group {
  flex: 1 1 300px;
}

.psu-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Select Styling */
.psu-form-group select {
  width: 100%;
  padding: 12px 15px;
  font-size: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  background-color: var(--card-bg);
  color: var(--light-text);
  appearance: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300c6ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 15px;
}

.psu-form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 198, 255, 0.2);
}

.psu-form-group select option {
  background-color: var(--card-bg);
  color: var(--light-text);
}

/* Button Styling */
.psu-calculate-button {
  display: inline-block;
  background: linear-gradient(135deg, #0085ba 0%, #00639c 100%);
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 133, 186, 0.3);
  position: relative;
  overflow: hidden;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 10px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.psu-calculate-button:hover {
  background: linear-gradient(135deg, #00a0e1 0%, #0085ba 100%);
  box-shadow: 0 6px 15px rgba(0, 133, 186, 0.4);
  transform: translateY(-2px);
}

.psu-calculate-button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(0, 133, 186, 0.3);
}

.psu-calculate-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 133, 186, 0.3), 0 4px 12px rgba(0, 133, 186, 0.3);
}

/* Loading State */
.loading {
  text-align: center;
  padding: 20px;
  color: var(--muted-text);
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

/* Results Display */
.psu-suggestion-results {
  margin-top: 2rem;
}

.psu-result {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 1.5rem;
  position: relative;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.psu-result::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.psu-result h3 {
  color: var(--success-color);
  margin-top: 0;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.psu-result ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.psu-result ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
}

.psu-result ul li::before {
  content: '⚡';
  margin-right: 10px;
  color: var(--primary-color);
}

/* Recommendation Cards */
.psu-recommendations {
  margin-top: 2rem;
}

.psu-recommendations h4 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
}

.psu-recommendations h4::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  margin: 10px auto 0;
}

.psu-recommendation {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
}

.psu-recommendation:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border-color: var(--primary-color);
}

.psu-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 10px;
}

.psu-image img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
}

.psu-recommendation h5 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: var(--light-text);
}

.psu-recommendation ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.psu-recommendation ul li {
  font-size: 0.9rem;
  position: relative;
  padding-left: 15px;
  color: var(--muted-text);
}

.psu-recommendation ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.psu-recommendation ul li strong {
  color: var(--light-text);
  font-weight: 600;
}

.psu-buy-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--light-text);
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  width: auto;
  margin-top: 10px;
}

.psu-buy-button:hover {
  background-color: #ff5a73;
  transform: translateY(-2px);
}

/* Error Styling */
.error {
  padding: 15px;
  background-color: rgba(255, 62, 94, 0.1);
  border-left: 4px solid var(--accent-color);
  color: var(--light-text);
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

/* Results Page Styles */
.psu-results-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--dark-bg);
    color: var(--light-text);
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(0, 198, 255, 0.07) 0%, transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(157, 37, 190, 0.07) 0%, transparent 60%);
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

.psu-summary {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
}

.psu-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.psu-summary h2 {
    margin-top: 0;
    color: var(--success-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.psu-summary p {
    font-size: 1.1rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.psu-summary p strong {
    color: var(--primary-color);
    font-weight: 600;
}

.psu-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.psu-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.psu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.psu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.psu-image {
    text-align: center;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
}

.psu-image img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
}

.psu-card h4 {
    margin-top: 0;
    font-size: 1.3rem;
    color: var(--light-text);
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.psu-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.psu-card ul li {
    margin-bottom: 10px;
    font-size: 1rem;
    position: relative;
    padding-left: 20px;
    color: var(--muted-text);
}

.psu-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.psu-card ul li strong {
    color: var(--light-text);
    font-weight: 600;
    margin-right: 5px;
}

.psu-buy-button {
    display: inline-block;
    background: linear-gradient(90deg, #FF9900, #FF6D24);
    color: #000000;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

.psu-buy-button:hover {
    background: linear-gradient(90deg, #FFB037, #FF8F52);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 153, 0, 0.3);
}

.psu-buy-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.psu-buy-button:hover::before {
    left: 100%;
}

.psu-explanation {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
}

.psu-explanation h3 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.psu-explanation p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--muted-text);
}

.psu-calculator-link {
    text-align: center;
    margin-top: 40px;
}

.psu-calculator-link a {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    padding: 14px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    box-shadow: var(--neon-glow);
    position: relative;
    overflow: hidden;
}

.psu-calculator-link a:hover {
    transform: translateY(-2px);
    box-shadow: var(--purple-glow);
}

.psu-calculator-link a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.psu-calculator-link a:hover::before {
    left: 100%;
}

/* Recommendations Section Title */
.psu-recommendations h3 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 40px 0 30px;
    position: relative;
    letter-spacing: 1px;
}

.psu-recommendations h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 15px auto 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .psu-cards {
        grid-template-columns: 1fr;
    }
    
    .psu-recommendation {
        grid-template-columns: 1fr;
    }
    
    .psu-image {
        height: auto;
        margin-bottom: 15px;
    }
    
    .psu-form-row {
        flex-direction: column;
    }
    
    .psu-calculate-button {
        padding: 14px 28px;
        font-size: 16px;
    }
    
    .psu-results-page {
        padding: 15px 10px;
        overflow-x: hidden;
        width: 100%;
    }
    
    /* Fix breadcrumb spacing */
    .psu-breadcrumb {
        font-size: 0.8rem;
        padding: 8px 10px;
        white-space: normal;
        word-break: break-word;
    }
    
    /* Improve header display */
    .psu-title {
        font-size: 1.8rem;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    /* Make specs grid stack on small screens */
    .psu-specs-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    /* Fix row card layout */
    .psu-row-card {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }
    
    .psu-row-card-left {
        grid-row: 1;
    }
    
    .psu-row-card-middle {
        grid-row: 2;
    }
    
    .psu-row-card-right {
        grid-row: 3;
    }
    
    /* Adjust features display */
    .psu-row-features {
        grid-template-columns: 1fr;
    }
    
    /* Make sure comparison table scrolls horizontally */
    .psu-comparison-table-wrapper {
        max-width: 100vw;
        margin-left: -10px;
        margin-right: -10px;
        padding: 0 10px;
    }
    
    .psu-comparison-table {
        min-width: 600px; /* Ensure table has minimum width */
    }
    
    /* Fix sharing buttons layout */
    .psu-share-buttons {
        flex-direction: column;
    }
    
    /* Adjust scenario cards */
    .psu-scenario-cards {
        grid-template-columns: 1fr;
    }
    
    /* Fix installation tips */
    .psu-tips-content {
        grid-template-columns: 1fr;
    }
    
    /* Ensure buy button is properly sized */
    .psu-buy-button {
        width: 100%;
        padding: 12px 10px;
    }
    
    /* Add styles for component summary on mobile */
    .psu-component-summary {
        width: 100%;
        padding: 10px 5px;
        box-sizing: border-box;
    }
    
    .psu-components {
        font-size: 1.1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        display: flex;
        flex-direction: column;
        gap: 5px;
        align-items: center;
    }
    
    .psu-component-cpu, 
    .psu-component-gpu {
        max-width: 100%;
        display: inline-block;
        text-align: center;
    }
    
    .psu-component-plus {
        display: block;
        margin: 2px 0;
    }
    
    /* Remove scrolling where not needed */
    .psu-summary,
    .psu-explanation,
    .psu-usage-scenarios,
    .psu-installation-tips,
    .psu-share-section {
        width: 100%;
        box-sizing: border-box;
        margin-left: 0;
        margin-right: 0;
    }
    
    .psu-component-summary {
        width: 100%;
        padding: 10px 5px;
        box-sizing: border-box;
    }
    
    .psu-components {
        font-size: 1.1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        display: flex;
        flex-direction: column;
        gap: 5px;
        align-items: center;
    }
    
    .psu-component-cpu, 
    .psu-component-gpu {
        max-width: 100%;
        display: inline-block;
        text-align: center;
    }
    
    .psu-component-summary .psu-components span + span:before {
        content: "";
        display: none;
    }
    
    .psu-specs-grid {
        grid-template-columns: 1fr;
    }
    
    .psu-row-card {
        flex-direction: column;
        padding: 15px;
    }
    
    .psu-row-card-left {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .psu-row-card-middle {
        width: 100%;
        padding: 0;
    }
    
    .psu-row-card-right {
        width: 100%;
        padding: 15px 0 0 0;
        display: flex;
        justify-content: center;
    }
    
    .psu-row-features {
        grid-template-columns: 1fr;
    }
    
    .psu-comparison-table th,
    .psu-comparison-table td {
        padding: 8px;
        font-size: 0.9rem;
    }
    
    .psu-explanation-item {
        flex-direction: column;
    }
    
    .psu-explanation-icon {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .psu-results-page {
        padding: 10px 5px;
    }
    
    .psu-title {
        font-size: 1.5rem;
    }
    
    .psu-specs-grid {
        grid-template-columns: 1fr;
    }
    
    .psu-row-image {
        height: 120px;
    }
    
    .psu-row-title {
        font-size: 1.1rem;
    }
    
    .psu-section-header h2 {
        font-size: 1.3rem;
    }
    
    .psu-section-subtitle {
        font-size: 0.9rem;
    }
    
    /* Ensure feature icons and text fit */
    .psu-feature-label {
        width: auto;
        min-width: 70px;
    }
    
    .psu-breadcrumb {
        font-size: 0.8rem;
        padding: 8px;
    }
    
    .psu-calculate-button {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .notification {
        max-width: 90%;
        left: 5%;
        right: 5%;
        text-align: center;
    }
    
    .psu-searchable-input {
        font-size: 14px;
        padding: 10px;
    }
    
    .psu-suggestion {
        padding: 10px;
        font-size: 14px;
    }
    
    .psu-summary-value {
        font-size: 20px;
    }
    
    .psu-results-header h2 {
        font-size: 22px;
    }
    
    .psu-header-components {
        font-size: 16px;
    }
}

/* Add styles for horizontal product cards */
.psu-cards-scroll-container {
    position: relative;
    margin: 30px 0;
    width: 100%;
}

.psu-cards-horizontal {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 10px 5px;
    scrollbar-width: none; /* Firefox */
}

.psu-cards-horizontal::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.psu-cards-horizontal .psu-card {
    flex: 0 0 calc(20% - 16px);
    min-width: 220px;
    max-width: 300px;
    margin: 0;
    scroll-snap-align: start;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.05), rgba(157, 37, 190, 0.05));
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.psu-cards-horizontal .psu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.psu-card-header {
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 198, 255, 0.1);
}

.psu-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--light-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.psu-card-image {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
}

.psu-card-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.psu-card-image-placeholder {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(157, 37, 190, 0.1));
}

.psu-placeholder-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
}

.psu-card-features {
    display: flex;
    justify-content: space-around;
    padding: 15px 10px;
    background: rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.psu-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.psu-feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 5px;
}

.psu-feature-name {
    font-size: 0.8rem;
    color: var(--muted-text);
}

.psu-card-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.psu-card-details ul {
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0;
    flex-grow: 1;
}

.psu-card-details li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--muted-text);
}

.psu-buy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #00c6ff, #9d25be);
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
}

.psu-buy-button:hover {
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.5);
    transform: translateY(-2px);
}

.psu-btn-icon {
    margin-right: 8px;
}

/* Scroll buttons */
.psu-scroll-buttons {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.psu-scroll-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 198, 255, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, transform 0.2s ease;
}

.psu-scroll-button:hover {
    background: rgba(0, 198, 255, 0.8);
    transform: scale(1.1);
}

.psu-scroll-left {
    margin-left: 10px;
}

.psu-scroll-right {
    margin-right: 10px;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(25% - 15px);
    }
}

@media (max-width: 992px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(33.33% - 14px);
    }
}

@media (max-width: 768px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(100% - 10px);
    }
}

/* Add styles for vertical product cards */
.psu-cards-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.psu-row-card {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 20px;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.05), rgba(157, 37, 190, 0.05));
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    position: relative;
}

.psu-row-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.psu-row-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.psu-row-card-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.psu-row-image {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 10px;
}

.psu-row-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.psu-image-placeholder {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(157, 37, 190, 0.1));
}

.psu-row-title {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    color: var(--light-text);
    border-bottom: 1px solid rgba(0, 198, 255, 0.1);
    padding-bottom: 10px;
}

.psu-row-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.psu-row-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.psu-feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50%;
    font-size: 14px;
}

.psu-feature-label {
    color: var(--muted-text);
    font-size: 0.9rem;
    font-weight: 500;
    width: 85px;
}

.psu-feature-value {
    color: var(--light-text);
    font-size: 0.9rem;
    font-weight: 600;
}

.psu-price-feature {
    background: rgba(0, 198, 255, 0.1);
    border-radius: 8px;
    padding: 5px 10px;
}

.psu-price-feature .psu-feature-value {
    color: var(--success-color);
    font-weight: 700;
}

.psu-row-card-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.psu-icon-modular:before {
    content: "🔌";
}

/* Responsive styles for vertical layout */
@media (max-width: 768px) {
    .psu-row-card {
        grid-template-columns: 1fr;
    }
    
    .psu-row-card-left {
        grid-row: 1;
    }
    
    .psu-row-card-middle {
        grid-row: 2;
    }
    
    .psu-row-card-right {
        grid-row: 3;
        margin-top: 15px;
    }
    
    .psu-row-image {
        height: 180px;
    }
}

/* Add styles for component summary */
.psu-component-summary {
    margin: 0 auto 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px;
    max-width: 700px;
}

.psu-components {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 1.2rem;
    color: var(--light-text);
}

.psu-component-cpu, 
.psu-component-gpu {
    font-weight: 600;
    color: var(--primary-color);
}

.psu-component-plus {
    display: inline-block;
    opacity: 0.7;
}

/* Fix horizontal overflow issues */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Power meter styling */
.psu-power-meter {
    margin: 25px 0 15px;
    width: 100%;
}

.psu-power-meter-explanation {
    margin-bottom: 10px;
    text-align: center;
}

.psu-meter-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.psu-meter-description {
    color: var(--muted-text);
    font-size: 0.9rem;
}

.psu-power-meter-bar {
    height: 24px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
    margin-bottom: 25px;
}

.psu-power-meter-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    width: 0;
    transition: width 1s ease-in-out;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
}

.psu-power-current-value {
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.psu-power-meter-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shimmer 2s infinite;
}

.psu-power-meter-markers {
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 100%;
}

.psu-power-marker {
    position: absolute;
    bottom: 100%;
    transform: translateX(-50%);
}

.psu-marker-label {
    font-size: 0.8rem;
    color: var(--muted-text);
    white-space: nowrap;
    margin-bottom: 5px;
}

.psu-marker-system .psu-marker-label {
    color: var(--primary-color);
}

.psu-marker-recommended .psu-marker-label {
    color: var(--secondary-color);
}

.psu-power-meter-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    color: var(--muted-text);
    font-size: 0.9rem;
}

.psu-power-label {
    display: flex;
    align-items: center;
}

.psu-power-label span {
    font-weight: 600;
    margin-left: 5px;
}

.psu-power-usage span {
    color: var(--primary-color);
}

.psu-power-max span {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .psu-power-meter {
        margin: 15px 0;
    }
    
    .psu-power-meter-bar {
        height: 20px;
    }
    
    .psu-meter-title {
        font-size: 1rem;
    }
    
    .psu-meter-description {
        font-size: 0.85rem;
    }
    
    .psu-power-meter-labels {
        font-size: 0.8rem;
        flex-direction: column;
        gap: 8px;
    }
}

/* End power meter styling */

/* Add these styles for the searchable inputs and suggestions */

/* Main Form Styles */
:root {
  --primary-color: #00c6ff;
  --secondary-color: #9d25be;
  --dark-bg: #101318;
  --card-bg: #1a1e24;
  --light-text: #ffffff;
  --muted-text: #a0a0a0;
  --accent-color: #ff3e5e;
  --border-color: #2a2f38;
  --success-color: #0df39a;
  --neon-glow: 0 0 10px rgba(0, 198, 255, 0.7), 0 0 20px rgba(0, 198, 255, 0.4);
  --purple-glow: 0 0 10px rgba(157, 37, 190, 0.7), 0 0 20px rgba(157, 37, 190, 0.4);
}

/* Main Container */
.psu-suggestion-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--dark-bg);
  border-radius: 12px;
  color: var(--light-text);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(0, 198, 255, 0.07) 0%, transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(157, 37, 190, 0.07) 0%, transparent 60%);
}

/* Form Styles */
.psu-suggestion-form {
  margin-bottom: 2rem;
}

.psu-form-row {
    display: flex;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
    gap: 20px;
}

.psu-form-group {
  flex: 1 1 300px;
}

.psu-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Select Styling */
.psu-form-group select {
  width: 100%;
  padding: 12px 15px;
  font-size: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  background-color: var(--card-bg);
  color: var(--light-text);
  appearance: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300c6ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 15px;
}

.psu-form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 198, 255, 0.2);
}

.psu-form-group select option {
  background-color: var(--card-bg);
    color: var(--light-text);
}

/* Button Styling */
.psu-calculate-button {
  display: inline-block;
  background: linear-gradient(135deg, #0085ba 0%, #00639c 100%);
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 133, 186, 0.3);
  position: relative;
    overflow: hidden;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 10px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.psu-calculate-button:hover {
  background: linear-gradient(135deg, #00a0e1 0%, #0085ba 100%);
  box-shadow: 0 6px 15px rgba(0, 133, 186, 0.4);
  transform: translateY(-2px);
}

.psu-calculate-button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(0, 133, 186, 0.3);
}

.psu-calculate-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 133, 186, 0.3), 0 4px 12px rgba(0, 133, 186, 0.3);
}

/* Loading State */
.loading {
  text-align: center;
  padding: 20px;
  color: var(--muted-text);
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

/* Results Display */
.psu-suggestion-results {
  margin-top: 2rem;
}

.psu-result {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 1.5rem;
  position: relative;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.psu-result::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.psu-result h3 {
  color: var(--success-color);
  margin-top: 0;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.psu-result ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.psu-result ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.psu-result ul li::before {
  content: '⚡';
  margin-right: 10px;
  color: var(--primary-color);
}

/* Recommendation Cards */
.psu-recommendations {
  margin-top: 2rem;
}

.psu-recommendations h4 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
}

.psu-recommendations h4::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  margin: 10px auto 0;
}

.psu-recommendation {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
}

.psu-recommendation:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border-color: var(--primary-color);
}

.psu-image {
    display: flex;
    align-items: center;
    justify-content: center;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 10px;
}

.psu-image img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
}

.psu-recommendation h5 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: var(--light-text);
}

.psu-recommendation ul {
    list-style: none;
    padding: 0;
  margin: 0 0 20px 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.psu-recommendation ul li {
  font-size: 0.9rem;
  position: relative;
  padding-left: 15px;
    color: var(--muted-text);
}

.psu-recommendation ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.psu-recommendation ul li strong {
  color: var(--light-text);
  font-weight: 600;
}

.psu-buy-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--light-text);
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
    text-decoration: none;
  font-weight: 600;
    transition: all 0.3s ease;
  text-align: center;
  width: auto;
  margin-top: 10px;
}

.psu-buy-button:hover {
  background-color: #ff5a73;
    transform: translateY(-2px);
}

/* Error Styling */
.error {
  padding: 15px;
  background-color: rgba(255, 62, 94, 0.1);
  border-left: 4px solid var(--accent-color);
  color: var(--light-text);
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

/* Results Page Styles */
.psu-results-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--dark-bg);
    color: var(--light-text);
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(0, 198, 255, 0.07) 0%, transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(157, 37, 190, 0.07) 0%, transparent 60%);
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

.psu-summary {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
}

.psu-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.psu-summary h2 {
    margin-top: 0;
    color: var(--success-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.psu-summary p {
    font-size: 1.1rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.psu-summary p strong {
    color: var(--primary-color);
    font-weight: 600;
}

.psu-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.psu-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.psu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.psu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.psu-image {
    text-align: center;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
}

.psu-image img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
}

.psu-card h4 {
    margin-top: 0;
    font-size: 1.3rem;
    color: var(--light-text);
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.psu-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.psu-card ul li {
    margin-bottom: 10px;
    font-size: 1rem;
    position: relative;
    padding-left: 20px;
    color: var(--muted-text);
}

.psu-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.psu-card ul li strong {
    color: var(--light-text);
    font-weight: 600;
    margin-right: 5px;
}

.psu-buy-button {
    display: inline-block;
    background: linear-gradient(90deg, #FF9900, #FF6D24);
    color: #000000;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

.psu-buy-button:hover {
    background: linear-gradient(90deg, #FFB037, #FF8F52);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 153, 0, 0.3);
}

.psu-buy-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.psu-buy-button:hover::before {
    left: 100%;
}

.psu-explanation {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
}

.psu-explanation h3 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.psu-explanation p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--muted-text);
}

.psu-calculator-link {
    text-align: center;
    margin-top: 40px;
}

.psu-calculator-link a {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    padding: 14px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    box-shadow: var(--neon-glow);
    position: relative;
    overflow: hidden;
}

.psu-calculator-link a:hover {
    transform: translateY(-2px);
    box-shadow: var(--purple-glow);
}

.psu-calculator-link a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.psu-calculator-link a:hover::before {
    left: 100%;
}

/* Recommendations Section Title */
.psu-recommendations h3 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 40px 0 30px;
    position: relative;
    letter-spacing: 1px;
}

.psu-recommendations h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 15px auto 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .psu-cards {
        grid-template-columns: 1fr;
    }
    
    .psu-recommendation {
        grid-template-columns: 1fr;
    }
    
    .psu-image {
        height: auto;
        margin-bottom: 15px;
    }
    
    .psu-form-row {
    flex-direction: column;
    }
    
    .psu-calculate-button {
        padding: 14px 28px;
        font-size: 16px;
    }
    
    .psu-results-page {
        padding: 15px 10px;
        overflow-x: hidden;
        width: 100%;
    }
    
    /* Fix breadcrumb spacing */
    .psu-breadcrumb {
        font-size: 0.8rem;
        padding: 8px 10px;
        white-space: normal;
        word-break: break-word;
    }
    
    /* Improve header display */
    .psu-title {
        font-size: 1.8rem;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    /* Make specs grid stack on small screens */
    .psu-specs-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    /* Fix row card layout */
    .psu-row-card {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }
    
    .psu-row-card-left {
        grid-row: 1;
    }
    
    .psu-row-card-middle {
        grid-row: 2;
    }
    
    .psu-row-card-right {
        grid-row: 3;
    }
    
    /* Adjust features display */
    .psu-row-features {
        grid-template-columns: 1fr;
    }
    
    /* Make sure comparison table scrolls horizontally */
    .psu-comparison-table-wrapper {
        max-width: 100vw;
        margin-left: -10px;
        margin-right: -10px;
        padding: 0 10px;
    }
    
    .psu-comparison-table {
        min-width: 600px; /* Ensure table has minimum width */
    }
    
    /* Fix sharing buttons layout */
    .psu-share-buttons {
        flex-direction: column;
    }
    
    /* Adjust scenario cards */
    .psu-scenario-cards {
        grid-template-columns: 1fr;
    }
    
    /* Fix installation tips */
    .psu-tips-content {
        grid-template-columns: 1fr;
    }
    
    /* Ensure buy button is properly sized */
    .psu-buy-button {
        width: 100%;
        padding: 12px 10px;
    }
    
    /* Add styles for component summary on mobile */
.psu-component-summary {
        width: 100%;
        padding: 10px 5px;
        box-sizing: border-box;
}

.psu-components {
        font-size: 1.1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
    display: flex;
        flex-direction: column;
        gap: 5px;
    align-items: center;
}

.psu-component-cpu, 
.psu-component-gpu {
        max-width: 100%;
        display: inline-block;
        text-align: center;
}

.psu-component-plus {
        display: block;
        margin: 2px 0;
    }
    
    /* Remove scrolling where not needed */
    .psu-summary,
    .psu-explanation,
    .psu-usage-scenarios,
    .psu-installation-tips,
    .psu-share-section {
        width: 100%;
        box-sizing: border-box;
        margin-left: 0;
        margin-right: 0;
    }
    
    .psu-component-summary {
    width: 100%;
        padding: 10px 5px;
        box-sizing: border-box;
    }
    
    .psu-components {
        font-size: 1.1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        display: flex;
        flex-direction: column;
        gap: 5px;
        align-items: center;
    }
    
    .psu-component-cpu, 
    .psu-component-gpu {
        max-width: 100%;
        display: inline-block;
        text-align: center;
    }
    
    .psu-component-summary .psu-components span + span:before {
        content: "";
        display: none;
    }
    
    .psu-specs-grid {
        grid-template-columns: 1fr;
    }
    
    .psu-row-card {
        flex-direction: column;
        padding: 15px;
    }
    
    .psu-row-card-left {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .psu-row-card-middle {
        width: 100%;
        padding: 0;
    }
    
    .psu-row-card-right {
        width: 100%;
        padding: 15px 0 0 0;
    display: flex;
        justify-content: center;
    }
    
    .psu-row-features {
        grid-template-columns: 1fr;
    }
    
    .psu-comparison-table th,
    .psu-comparison-table td {
        padding: 8px;
        font-size: 0.9rem;
    }
    
    .psu-explanation-item {
        flex-direction: column;
    }
    
    .psu-explanation-icon {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .psu-results-page {
        padding: 10px 5px;
    }
    
    .psu-title {
        font-size: 1.5rem;
    }
    
    .psu-specs-grid {
        grid-template-columns: 1fr;
    }
    
    .psu-row-image {
        height: 120px;
    }
    
    .psu-row-title {
        font-size: 1.1rem;
    }
    
    .psu-section-header h2 {
        font-size: 1.3rem;
    }
    
    .psu-section-subtitle {
        font-size: 0.9rem;
    }
    
    /* Ensure feature icons and text fit */
    .psu-feature-label {
        width: auto;
        min-width: 70px;
    }
    
    .psu-breadcrumb {
        font-size: 0.8rem;
        padding: 8px;
    }
    
    .psu-calculate-button {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .notification {
        max-width: 90%;
        left: 5%;
        right: 5%;
        text-align: center;
    }
    
    .psu-searchable-input {
        font-size: 14px;
        padding: 10px;
    }
    
    .psu-suggestion {
        padding: 10px;
        font-size: 14px;
    }
    
    .psu-summary-value {
        font-size: 20px;
    }
    
    .psu-results-header h2 {
        font-size: 22px;
    }
    
    .psu-header-components {
        font-size: 16px;
    }
}

/* Add styles for horizontal product cards */
.psu-cards-scroll-container {
    position: relative;
    margin: 30px 0;
    width: 100%;
}

.psu-cards-horizontal {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 10px 5px;
    scrollbar-width: none; /* Firefox */
}

.psu-cards-horizontal::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.psu-cards-horizontal .psu-card {
    flex: 0 0 calc(20% - 16px);
    min-width: 220px;
    max-width: 300px;
    margin: 0;
    scroll-snap-align: start;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.05), rgba(157, 37, 190, 0.05));
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.psu-cards-horizontal .psu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.psu-card-header {
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 198, 255, 0.1);
}

.psu-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--light-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.psu-card-image {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
}

.psu-card-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.psu-card-image-placeholder {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(157, 37, 190, 0.1));
}

.psu-placeholder-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
}

.psu-card-features {
    display: flex;
    justify-content: space-around;
    padding: 15px 10px;
    background: rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.psu-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.psu-feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 5px;
}

.psu-feature-name {
    font-size: 0.8rem;
    color: var(--muted-text);
}

.psu-card-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.psu-card-details ul {
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0;
    flex-grow: 1;
}

.psu-card-details li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--muted-text);
}

.psu-buy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #00c6ff, #9d25be);
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
}

.psu-buy-button:hover {
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.5);
    transform: translateY(-2px);
}

.psu-btn-icon {
    margin-right: 8px;
}

/* Scroll buttons */
.psu-scroll-buttons {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.psu-scroll-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 198, 255, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, transform 0.2s ease;
}

.psu-scroll-button:hover {
    background: rgba(0, 198, 255, 0.8);
    transform: scale(1.1);
}

.psu-scroll-left {
    margin-left: 10px;
}

.psu-scroll-right {
    margin-right: 10px;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(25% - 15px);
    }
}

@media (max-width: 992px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(33.33% - 14px);
    }
}

@media (max-width: 768px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(100% - 10px);
    }
}

/* Add styles for vertical product cards */
.psu-cards-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.psu-row-card {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 20px;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.05), rgba(157, 37, 190, 0.05));
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    position: relative;
}

.psu-row-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.psu-row-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.psu-row-card-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.psu-row-image {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 10px;
}

.psu-row-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.psu-image-placeholder {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(157, 37, 190, 0.1));
}

.psu-row-title {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    color: var(--light-text);
    border-bottom: 1px solid rgba(0, 198, 255, 0.1);
    padding-bottom: 10px;
}

.psu-row-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.psu-row-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.psu-feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50%;
    font-size: 14px;
}

.psu-feature-label {
    color: var(--muted-text);
    font-size: 0.9rem;
    font-weight: 500;
    width: 85px;
}

.psu-feature-value {
    color: var(--light-text);
    font-size: 0.9rem;
    font-weight: 600;
}

.psu-price-feature {
    background: rgba(0, 198, 255, 0.1);
    border-radius: 8px;
    padding: 5px 10px;
}

.psu-price-feature .psu-feature-value {
    color: var(--success-color);
    font-weight: 700;
}

.psu-row-card-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.psu-icon-modular:before {
    content: "🔌";
}

/* Responsive styles for vertical layout */
@media (max-width: 768px) {
    .psu-row-card {
        grid-template-columns: 1fr;
    }
    
    .psu-row-card-left {
        grid-row: 1;
    }
    
    .psu-row-card-middle {
        grid-row: 2;
    }
    
    .psu-row-card-right {
        grid-row: 3;
        margin-top: 15px;
    }
    
    .psu-row-image {
        height: 180px;
    }
}

/* Add styles for component summary */
.psu-component-summary {
    margin: 0 auto 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px;
    max-width: 700px;
}

.psu-components {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 1.2rem;
    color: var(--light-text);
}

.psu-component-cpu, 
.psu-component-gpu {
    font-weight: 600;
    color: var(--primary-color);
}

.psu-component-plus {
    display: inline-block;
    opacity: 0.7;
}

/* Fix horizontal overflow issues */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Power meter styling */
.psu-power-meter {
    margin: 15px 0;
    width: 100%;
}

.psu-power-meter-bar {
    height: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.psu-power-meter-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    width: 0;
    transition: width 1s ease-in-out;
    position: relative;
}

.psu-power-meter-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.psu-power-meter-labels {
    display: flex;
    justify-content: flex-end;
    margin-top: 5px;
    color: var(--muted-text);
    font-size: 0.85rem;
}

.psu-power-meter-max {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .psu-power-meter {
        margin: 10px 0;
    }
    
    .psu-power-meter-bar {
        height: 12px;
    }
    
    .psu-power-meter-labels {
        font-size: 0.8rem;
    }
}

/* End power meter styling */

/* Add these styles for the searchable inputs and suggestions */

/* Searchable input container */
.psu-searchable-container {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
}

/* Search input style */
.psu-searchable-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    background-color: white;
    color: #333;
}

.psu-searchable-input:focus {
    border-color: #0085ba;
    box-shadow: 0 2px 8px rgba(0,133,186,0.2);
    outline: none;
}

.psu-searchable-input.psu-error {
    border-color: #f44336;
    background-color: rgba(244,67,54,0.03);
}

/* Suggestions container */
.psu-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 250px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 10;
}

/* Individual suggestion */
.psu-suggestion {
    padding: 12px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    font-size: 15px;
}

.psu-suggestion:last-child {
    border-bottom: none;
}

.psu-suggestion:hover {
    background-color: #f0f8ff;
}

.psu-suggestion .highlight {
    background-color: rgba(0,133,186,0.2);
    font-weight: 600;
    color: #0085ba;
    padding: 0 2px;
}

/* Loading indicator in suggestions */
.psu-suggestion-loading {
    padding: 12px 15px;
    color: #555;
    font-style: italic;
    text-align: center;
    font-size: 14px;
    background-color: #f9f9f9;
}

.psu-suggestion-empty {
    padding: 12px 15px;
    color: #666;
    text-align: center;
    font-size: 14px;
    background-color: #f9f9f9;
}

/* Results styling */
.psu-results-container {
    margin-top: 30px;
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.psu-results-header {
    text-align: center;
    margin-bottom: 25px;
}

.psu-header-components {
    font-size: 18px;
    margin-top: 5px;
    color: #555;
}

.psu-component {
    font-weight: 500;
    color: #0085ba;
}

.psu-summary {
    background-color: #f8fcff;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 30px;
}

.psu-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.psu-summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.psu-summary-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.psu-summary-value {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.psu-highlight .psu-summary-value {
    color: #0085ba;
}

.psu-power-meter {
    margin-top: 20px;
}

.psu-power-meter-bar {
    height: 12px;
    background-color: #e9f5fb;
    border-radius: 6px;
    overflow: hidden;
}

.psu-power-meter-fill {
    height: 100%;
    width: 0;
    background-color: #0085ba;
    transition: width 1s ease-out;
}

.psu-power-meter-fill.animate-fill {
    width: var(--width-set-inline);
}

.psu-power-meter-labels {
    display: flex;
    justify-content: flex-end;
    margin-top: 5px;
}

.psu-power-meter-max {
    font-size: 12px;
    color: #666;
}

.psu-recommendations {
    margin-top: 30px;
}

.psu-recommendations h3 {
    text-align: center;
    margin-bottom: 20px;
}

.psu-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.psu-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.psu-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.psu-card-header {
    background-color: #f8f9fa;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.psu-card-header h4 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.psu-card-content {
    padding: 15px;
}

.psu-specs {
    margin-bottom: 15px;
}

.psu-spec {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.psu-spec-label {
    color: #666;
}

.psu-spec-value {
    font-weight: 500;
    color: #333;
}

.psu-buy-button {
    display: block;
    text-align: center;
    background-color: #0085ba;
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.psu-buy-button:hover {
    background-color: #006799;
    color: white;
}

.psu-view-details {
    text-align: center;
    margin-top: 30px;
}

.psu-details-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #fafafa;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.psu-details-button:hover {
    background-color: #f0f0f0;
    border-color: #ccc;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    .psu-summary-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .psu-cards {
        grid-template-columns: 1fr;
    }
    
    .psu-searchable-input {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .psu-suggestion {
        padding: 8px 12px;
        font-size: 14px;
    }
}

/* Loading spinner */
.psu-loading {
    text-align: center;
    padding: 30px;
    margin: 20px 0;
}

.psu-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0,133,186,0.2);
    border-radius: 50%;
    border-top-color: #0085ba;
    animation: psu-spin 1s ease-in-out infinite;
    margin-bottom: 15px;
}

@keyframes psu-spin {
    to { transform: rotate(360deg); }
}

/* Error message */
.psu-error-message {
    padding: 15px;
    background-color: #fff3f3;
    border-left: 4px solid #f44336;
    color: #333;
    margin: 20px 0;
}

/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 300px;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: linear-gradient(90deg, #0ca678, #0085ba);
}

.notification.error {
    background: linear-gradient(90deg, #e03131, #c92a2a);
}

.notification.info {
    background: linear-gradient(90deg, #228be6, #1971c2);
}

/* Light/Dark theme compatibility */
.psu-mobile-compatible {
    background: var(--dark-bg, #101318);
    color: var(--light-text, #ffffff);
}

/* White background for input elements for better visibility */
.psu-searchable-input {
    background-color: white;
    color: #333;
}

/* More prominent and high-contrast button */
.psu-calculate-button {
    display: inline-block;
    background: linear-gradient(135deg, #0085ba 0%, #00639c 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 133, 186, 0.3);
    position: relative;
    overflow: hidden;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
    /* Ensure high contrast for visibility */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Add styles for horizontal product cards */
.psu-cards-scroll-container {
    position: relative;
    margin: 30px 0;
    width: 100%;
}

.psu-cards-horizontal {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 10px 5px;
    scrollbar-width: none; /* Firefox */
}

.psu-cards-horizontal::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.psu-cards-horizontal .psu-card {
    flex: 0 0 calc(20% - 16px);
    min-width: 220px;
    max-width: 300px;
    margin: 0;
    scroll-snap-align: start;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.05), rgba(157, 37, 190, 0.05));
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.psu-cards-horizontal .psu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.psu-card-header {
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 198, 255, 0.1);
}

.psu-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--light-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.psu-card-image {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
}

.psu-card-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.psu-card-image-placeholder {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(157, 37, 190, 0.1));
}

.psu-placeholder-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
}

.psu-card-features {
    display: flex;
    justify-content: space-around;
    padding: 15px 10px;
    background: rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.psu-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.psu-feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 5px;
}

.psu-feature-name {
    font-size: 0.8rem;
    color: var(--muted-text);
}

.psu-card-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.psu-card-details ul {
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0;
    flex-grow: 1;
}

.psu-card-details li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--muted-text);
}

.psu-buy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #00c6ff, #9d25be);
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
}

.psu-buy-button:hover {
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.5);
    transform: translateY(-2px);
}

.psu-btn-icon {
    margin-right: 8px;
}

/* Scroll buttons */
.psu-scroll-buttons {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.psu-scroll-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 198, 255, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, transform 0.2s ease;
}

.psu-scroll-button:hover {
    background: rgba(0, 198, 255, 0.8);
    transform: scale(1.1);
}

.psu-scroll-left {
    margin-left: 10px;
}

.psu-scroll-right {
    margin-right: 10px;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(25% - 15px);
    }
}

@media (max-width: 992px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(33.33% - 14px);
    }
}

@media (max-width: 768px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(100% - 10px);
    }
}

/* Add styles for vertical product cards */
.psu-cards-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.psu-row-card {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 20px;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.05), rgba(157, 37, 190, 0.05));
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    position: relative;
}

.psu-row-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.psu-row-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.psu-row-card-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.psu-row-image {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 10px;
}

.psu-row-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.psu-image-placeholder {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(157, 37, 190, 0.1));
}

.psu-row-title {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    color: var(--light-text);
    border-bottom: 1px solid rgba(0, 198, 255, 0.1);
    padding-bottom: 10px;
}

.psu-row-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.psu-row-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.psu-feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50%;
    font-size: 14px;
}

.psu-feature-label {
    color: var(--muted-text);
    font-size: 0.9rem;
    font-weight: 500;
    width: 85px;
}

.psu-feature-value {
    color: var(--light-text);
    font-size: 0.9rem;
    font-weight: 600;
}

.psu-price-feature {
    background: rgba(0, 198, 255, 0.1);
    border-radius: 8px;
    padding: 5px 10px;
}

.psu-price-feature .psu-feature-value {
    color: var(--success-color);
    font-weight: 700;
}

.psu-row-card-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.psu-icon-modular:before {
    content: "🔌";
}

/* Responsive styles for vertical layout */
@media (max-width: 768px) {
    .psu-row-card {
        grid-template-columns: 1fr;
    }
    
    .psu-row-card-left {
        grid-row: 1;
    }
    
    .psu-row-card-middle {
        grid-row: 2;
    }
    
    .psu-row-card-right {
        grid-row: 3;
        margin-top: 15px;
    }
    
    .psu-row-image {
        height: 180px;
    }
}

/* Add styles for component summary */
.psu-component-summary {
    margin: 0 auto 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px;
    max-width: 700px;
}

.psu-components {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 1.2rem;
    color: var(--light-text);
}

.psu-component-cpu, 
.psu-component-gpu {
    font-weight: 600;
    color: var(--primary-color);
}

.psu-component-plus {
    display: inline-block;
    opacity: 0.7;
}

/* Fix horizontal overflow issues */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Power meter styling */
.psu-power-meter {
    margin: 15px 0;
    width: 100%;
}

.psu-power-meter-bar {
    height: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.psu-power-meter-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    width: 0;
    transition: width 1s ease-in-out;
    position: relative;
}

.psu-power-meter-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.psu-power-meter-labels {
    display: flex;
    justify-content: flex-end;
    margin-top: 5px;
    color: var(--muted-text);
    font-size: 0.85rem;
}

.psu-power-meter-max {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .psu-power-meter {
        margin: 10px 0;
    }
    
    .psu-power-meter-bar {
        height: 12px;
    }
    
    .psu-power-meter-labels {
        font-size: 0.8rem;
    }
}

/* End power meter styling */

/* Add styles for horizontal product cards */
.psu-cards-scroll-container {
    position: relative;
    margin: 30px 0;
    width: 100%;
}

.psu-cards-horizontal {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 10px 5px;
    scrollbar-width: none; /* Firefox */
}

.psu-cards-horizontal::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.psu-cards-horizontal .psu-card {
    flex: 0 0 calc(20% - 16px);
    min-width: 220px;
    max-width: 300px;
    margin: 0;
    scroll-snap-align: start;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.05), rgba(157, 37, 190, 0.05));
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.psu-cards-horizontal .psu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.psu-card-header {
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 198, 255, 0.1);
}

.psu-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--light-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.psu-card-image {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
}

.psu-card-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.psu-card-image-placeholder {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(157, 37, 190, 0.1));
}

.psu-placeholder-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
}

.psu-card-features {
    display: flex;
    justify-content: space-around;
    padding: 15px 10px;
    background: rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.psu-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.psu-feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 5px;
}

.psu-feature-name {
    font-size: 0.8rem;
    color: var(--muted-text);
}

.psu-card-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.psu-card-details ul {
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0;
    flex-grow: 1;
}

.psu-card-details li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--muted-text);
}

.psu-buy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #00c6ff, #9d25be);
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
}

.psu-buy-button:hover {
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.5);
    transform: translateY(-2px);
}

.psu-btn-icon {
    margin-right: 8px;
}

/* Scroll buttons */
.psu-scroll-buttons {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.psu-scroll-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 198, 255, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, transform 0.2s ease;
}

.psu-scroll-button:hover {
    background: rgba(0, 198, 255, 0.8);
    transform: scale(1.1);
}

.psu-scroll-left {
    margin-left: 10px;
}

.psu-scroll-right {
    margin-right: 10px;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(25% - 15px);
    }
}

@media (max-width: 992px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(33.33% - 14px);
    }
}

@media (max-width: 768px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(100% - 10px);
    }
}

/* Add styles for vertical product cards */
.psu-cards-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.psu-row-card {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 20px;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.05), rgba(157, 37, 190, 0.05));
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    position: relative;
}

.psu-row-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.psu-row-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.psu-row-card-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.psu-row-image {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 10px;
}

.psu-row-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.psu-image-placeholder {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(157, 37, 190, 0.1));
}

.psu-row-title {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    color: var(--light-text);
    border-bottom: 1px solid rgba(0, 198, 255, 0.1);
    padding-bottom: 10px;
}

.psu-row-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.psu-row-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.psu-feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50%;
    font-size: 14px;
}

.psu-feature-label {
    color: var(--muted-text);
    font-size: 0.9rem;
    font-weight: 500;
    width: 85px;
}

.psu-feature-value {
    color: var(--light-text);
    font-size: 0.9rem;
    font-weight: 600;
}

.psu-price-feature {
    background: rgba(0, 198, 255, 0.1);
    border-radius: 8px;
    padding: 5px 10px;
}

.psu-price-feature .psu-feature-value {
    color: var(--success-color);
    font-weight: 700;
}

.psu-row-card-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.psu-icon-modular:before {
    content: "🔌";
}

/* Responsive styles for vertical layout */
@media (max-width: 768px) {
    .psu-row-card {
        grid-template-columns: 1fr;
    }
    
    .psu-row-card-left {
        grid-row: 1;
    }
    
    .psu-row-card-middle {
        grid-row: 2;
    }
    
    .psu-row-card-right {
        grid-row: 3;
        margin-top: 15px;
    }
    
    .psu-row-image {
        height: 180px;
    }
}

/* Add styles for component summary */
.psu-component-summary {
    margin: 0 auto 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px;
    max-width: 700px;
}

.psu-components {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 1.2rem;
    color: var(--light-text);
}

.psu-component-cpu, 
.psu-component-gpu {
    font-weight: 600;
    color: var(--primary-color);
}

.psu-component-plus {
    display: inline-block;
    opacity: 0.7;
}

/* Fix horizontal overflow issues */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Power meter styling */
.psu-power-meter {
    margin: 15px 0;
    width: 100%;
}

.psu-power-meter-bar {
    height: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.psu-power-meter-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    width: 0;
    transition: width 1s ease-in-out;
    position: relative;
}

.psu-power-meter-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.psu-power-meter-labels {
    display: flex;
    justify-content: flex-end;
    margin-top: 5px;
    color: var(--muted-text);
    font-size: 0.85rem;
}

.psu-power-meter-max {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .psu-power-meter {
        margin: 10px 0;
    }
    
    .psu-power-meter-bar {
        height: 12px;
    }
    
    .psu-power-meter-labels {
        font-size: 0.8rem;
    }
}

/* End power meter styling */

/* Add styles for horizontal product cards */
.psu-cards-scroll-container {
    position: relative;
    margin: 30px 0;
    width: 100%;
}

.psu-cards-horizontal {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 10px 5px;
    scrollbar-width: none; /* Firefox */
}

.psu-cards-horizontal::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.psu-cards-horizontal .psu-card {
    flex: 0 0 calc(20% - 16px);
    min-width: 220px;
    max-width: 300px;
    margin: 0;
    scroll-snap-align: start;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.05), rgba(157, 37, 190, 0.05));
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.psu-cards-horizontal .psu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.psu-card-header {
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 198, 255, 0.1);
}

.psu-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--light-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.psu-card-image {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
}

.psu-card-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.psu-card-image-placeholder {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(157, 37, 190, 0.1));
}

.psu-placeholder-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
}

.psu-card-features {
    display: flex;
    justify-content: space-around;
    padding: 15px 10px;
    background: rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.psu-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.psu-feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 5px;
}

.psu-feature-name {
    font-size: 0.8rem;
    color: var(--muted-text);
}

.psu-card-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.psu-card-details ul {
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0;
    flex-grow: 1;
}

.psu-card-details li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--muted-text);
}

.psu-buy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #00c6ff, #9d25be);
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
}

.psu-buy-button:hover {
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.5);
    transform: translateY(-2px);
}

.psu-btn-icon {
    margin-right: 8px;
}

/* Scroll buttons */
.psu-scroll-buttons {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.psu-scroll-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 198, 255, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, transform 0.2s ease;
}

.psu-scroll-button:hover {
    background: rgba(0, 198, 255, 0.8);
    transform: scale(1.1);
}

.psu-scroll-left {
    margin-left: 10px;
}

.psu-scroll-right {
    margin-right: 10px;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(25% - 15px);
    }
}

@media (max-width: 992px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(33.33% - 14px);
    }
}

@media (max-width: 768px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(100% - 10px);
    }
}

/* Add styles for vertical product cards */
.psu-cards-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.psu-row-card {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 20px;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.05), rgba(157, 37, 190, 0.05));
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    position: relative;
}

.psu-row-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.psu-row-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.psu-row-card-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.psu-row-image {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 10px;
}

.psu-row-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.psu-image-placeholder {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(157, 37, 190, 0.1));
}

.psu-row-title {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    color: var(--light-text);
    border-bottom: 1px solid rgba(0, 198, 255, 0.1);
    padding-bottom: 10px;
}

.psu-row-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.psu-row-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.psu-feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50%;
    font-size: 14px;
}

.psu-feature-label {
    color: var(--muted-text);
    font-size: 0.9rem;
    font-weight: 500;
    width: 85px;
}

.psu-feature-value {
    color: var(--light-text);
    font-size: 0.9rem;
    font-weight: 600;
}

.psu-price-feature {
    background: rgba(0, 198, 255, 0.1);
    border-radius: 8px;
    padding: 5px 10px;
}

.psu-price-feature .psu-feature-value {
    color: var(--success-color);
    font-weight: 700;
}

.psu-row-card-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.psu-icon-modular:before {
    content: "🔌";
}

/* Responsive styles for vertical layout */
@media (max-width: 768px) {
    .psu-row-card {
        grid-template-columns: 1fr;
    }
    
    .psu-row-card-left {
        grid-row: 1;
    }
    
    .psu-row-card-middle {
        grid-row: 2;
    }
    
    .psu-row-card-right {
        grid-row: 3;
        margin-top: 15px;
    }
    
    .psu-row-image {
        height: 180px;
    }
}

/* Add styles for component summary */
.psu-component-summary {
    margin: 0 auto 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px;
    max-width: 700px;
}

.psu-components {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 1.2rem;
    color: var(--light-text);
}

.psu-component-cpu, 
.psu-component-gpu {
    font-weight: 600;
    color: var(--primary-color);
}

.psu-component-plus {
    display: inline-block;
    opacity: 0.7;
}

/* Fix horizontal overflow issues */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Power meter styling */
.psu-power-meter {
    margin: 15px 0;
    width: 100%;
}

.psu-power-meter-bar {
    height: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.psu-power-meter-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    width: 0;
    transition: width 1s ease-in-out;
    position: relative;
}

.psu-power-meter-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.psu-power-meter-labels {
    display: flex;
    justify-content: flex-end;
    margin-top: 5px;
    color: var(--muted-text);
    font-size: 0.85rem;
}

.psu-power-meter-max {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .psu-power-meter {
        margin: 10px 0;
    }
    
    .psu-power-meter-bar {
        height: 12px;
    }
    
    .psu-power-meter-labels {
        font-size: 0.8rem;
    }
}

/* End power meter styling */

/* Add styles for horizontal product cards */
.psu-cards-scroll-container {
    position: relative;
    margin: 30px 0;
    width: 100%;
}

.psu-cards-horizontal {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 10px 5px;
    scrollbar-width: none; /* Firefox */
}

.psu-cards-horizontal::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.psu-cards-horizontal .psu-card {
    flex: 0 0 calc(20% - 16px);
    min-width: 220px;
    max-width: 300px;
    margin: 0;
    scroll-snap-align: start;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.05), rgba(157, 37, 190, 0.05));
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.psu-cards-horizontal .psu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.psu-card-header {
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 198, 255, 0.1);
}

.psu-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--light-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.psu-card-image {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
}

.psu-card-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.psu-card-image-placeholder {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(157, 37, 190, 0.1));
}

.psu-placeholder-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
}

.psu-card-features {
    display: flex;
    justify-content: space-around;
    padding: 15px 10px;
    background: rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.psu-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.psu-feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 5px;
}

.psu-feature-name {
    font-size: 0.8rem;
    color: var(--muted-text);
}

.psu-card-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.psu-card-details ul {
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0;
    flex-grow: 1;
}

.psu-card-details li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--muted-text);
}

.psu-buy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #00c6ff, #9d25be);
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
}

.psu-buy-button:hover {
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.5);
    transform: translateY(-2px);
}

.psu-btn-icon {
    margin-right: 8px;
}

/* Scroll buttons */
.psu-scroll-buttons {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.psu-scroll-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 198, 255, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, transform 0.2s ease;
}

.psu-scroll-button:hover {
    background: rgba(0, 198, 255, 0.8);
    transform: scale(1.1);
}

.psu-scroll-left {
    margin-left: 10px;
}

.psu-scroll-right {
    margin-right: 10px;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(25% - 15px);
    }
}

@media (max-width: 992px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(33.33% - 14px);
    }
}

@media (max-width: 768px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(100% - 10px);
    }
}

/* Add styles for vertical product cards */
.psu-cards-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.psu-row-card {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 20px;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.05), rgba(157, 37, 190, 0.05));
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    position: relative;
}

.psu-row-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.psu-row-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.psu-row-card-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.psu-row-image {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 10px;
}

.psu-row-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.psu-image-placeholder {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(157, 37, 190, 0.1));
}

.psu-row-title {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    color: var(--light-text);
    border-bottom: 1px solid rgba(0, 198, 255, 0.1);
    padding-bottom: 10px;
}

.psu-row-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.psu-row-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.psu-feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50%;
    font-size: 14px;
}

.psu-feature-label {
    color: var(--muted-text);
    font-size: 0.9rem;
    font-weight: 500;
    width: 85px;
}

.psu-feature-value {
    color: var(--light-text);
    font-size: 0.9rem;
    font-weight: 600;
}

.psu-price-feature {
    background: rgba(0, 198, 255, 0.1);
    border-radius: 8px;
    padding: 5px 10px;
}

.psu-price-feature .psu-feature-value {
    color: var(--success-color);
    font-weight: 700;
}

.psu-row-card-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.psu-icon-modular:before {
    content: "🔌";
}

/* Responsive styles for vertical layout */
@media (max-width: 768px) {
    .psu-row-card {
        grid-template-columns: 1fr;
    }
    
    .psu-row-card-left {
        grid-row: 1;
    }
    
    .psu-row-card-middle {
        grid-row: 2;
    }
    
    .psu-row-card-right {
        grid-row: 3;
        margin-top: 15px;
    }
    
    .psu-row-image {
        height: 180px;
    }
}

/* Add styles for component summary */
.psu-component-summary {
    margin: 0 auto 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px;
    max-width: 700px;
}

.psu-components {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 1.2rem;
    color: var(--light-text);
}

.psu-component-cpu, 
.psu-component-gpu {
    font-weight: 600;
    color: var(--primary-color);
}

.psu-component-plus {
    display: inline-block;
    opacity: 0.7;
}

/* Fix horizontal overflow issues */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Power meter styling */
.psu-power-meter {
    margin: 15px 0;
    width: 100%;
}

.psu-power-meter-bar {
    height: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.psu-power-meter-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    width: 0;
    transition: width 1s ease-in-out;
    position: relative;
}

.psu-power-meter-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.psu-power-meter-labels {
    display: flex;
    justify-content: flex-end;
    margin-top: 5px;
    color: var(--muted-text);
    font-size: 0.85rem;
}

.psu-power-meter-max {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .psu-power-meter {
        margin: 10px 0;
    }
    
    .psu-power-meter-bar {
        height: 12px;
    }
    
    .psu-power-meter-labels {
        font-size: 0.8rem;
    }
}

/* End power meter styling */

/* Add styles for horizontal product cards */
.psu-cards-scroll-container {
    position: relative;
    margin: 30px 0;
    width: 100%;
}

.psu-cards-horizontal {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 10px 5px;
    scrollbar-width: none; /* Firefox */
}

.psu-cards-horizontal::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.psu-cards-horizontal .psu-card {
    flex: 0 0 calc(20% - 16px);
    min-width: 220px;
    max-width: 300px;
    margin: 0;
    scroll-snap-align: start;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.05), rgba(157, 37, 190, 0.05));
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.psu-cards-horizontal .psu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.psu-card-header {
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 198, 255, 0.1);
}

.psu-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--light-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.psu-card-image {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
}

.psu-card-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.psu-card-image-placeholder {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(157, 37, 190, 0.1));
}

.psu-placeholder-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
}

.psu-card-features {
    display: flex;
    justify-content: space-around;
    padding: 15px 10px;
    background: rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.psu-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.psu-feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 5px;
}

.psu-feature-name {
    font-size: 0.8rem;
    color: var(--muted-text);
}

.psu-card-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.psu-card-details ul {
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0;
    flex-grow: 1;
}

.psu-card-details li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--muted-text);
}

.psu-buy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #00c6ff, #9d25be);
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
}

.psu-buy-button:hover {
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.5);
    transform: translateY(-2px);
}

.psu-btn-icon {
    margin-right: 8px;
}

/* Scroll buttons */
.psu-scroll-buttons {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.psu-scroll-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 198, 255, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, transform 0.2s ease;
}

.psu-scroll-button:hover {
    background: rgba(0, 198, 255, 0.8);
    transform: scale(1.1);
}

.psu-scroll-left {
    margin-left: 10px;
}

.psu-scroll-right {
    margin-right: 10px;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(25% - 15px);
    }
}

@media (max-width: 992px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(33.33% - 14px);
    }
}

@media (max-width: 768px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(100% - 10px);
    }
}

/* Add styles for vertical product cards */
.psu-cards-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.psu-row-card {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 20px;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.05), rgba(157, 37, 190, 0.05));
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    position: relative;
}

.psu-row-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.psu-row-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.psu-row-card-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.psu-row-image {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 10px;
}

.psu-row-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.psu-image-placeholder {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(157, 37, 190, 0.1));
}

.psu-row-title {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    color: var(--light-text);
    border-bottom: 1px solid rgba(0, 198, 255, 0.1);
    padding-bottom: 10px;
}

.psu-row-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.psu-row-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.psu-feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50%;
    font-size: 14px;
}

.psu-feature-label {
    color: var(--muted-text);
    font-size: 0.9rem;
    font-weight: 500;
    width: 85px;
}

.psu-feature-value {
    color: var(--light-text);
    font-size: 0.9rem;
    font-weight: 600;
}

.psu-price-feature {
    background: rgba(0, 198, 255, 0.1);
    border-radius: 8px;
    padding: 5px 10px;
}

.psu-price-feature .psu-feature-value {
    color: var(--success-color);
    font-weight: 700;
}

.psu-row-card-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.psu-icon-modular:before {
    content: "🔌";
}

/* Responsive styles for vertical layout */
@media (max-width: 768px) {
    .psu-row-card {
        grid-template-columns: 1fr;
    }
    
    .psu-row-card-left {
        grid-row: 1;
    }
    
    .psu-row-card-middle {
        grid-row: 2;
    }
    
    .psu-row-card-right {
        grid-row: 3;
        margin-top: 15px;
    }
    
    .psu-row-image {
        height: 180px;
    }
}

/* Add styles for component summary */
.psu-component-summary {
    margin: 0 auto 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px;
    max-width: 700px;
}

.psu-components {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 1.2rem;
    color: var(--light-text);
}

.psu-component-cpu, 
.psu-component-gpu {
    font-weight: 600;
    color: var(--primary-color);
}

.psu-component-plus {
    display: inline-block;
    opacity: 0.7;
}

/* Fix horizontal overflow issues */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Power meter styling */
.psu-power-meter {
    margin: 15px 0;
    width: 100%;
}

.psu-power-meter-bar {
    height: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.psu-power-meter-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    width: 0;
    transition: width 1s ease-in-out;
    position: relative;
}

.psu-power-meter-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.psu-power-meter-labels {
    display: flex;
    justify-content: flex-end;
    margin-top: 5px;
    color: var(--muted-text);
    font-size: 0.85rem;
}

.psu-power-meter-max {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .psu-power-meter {
        margin: 10px 0;
    }
    
    .psu-power-meter-bar {
        height: 12px;
    }
    
    .psu-power-meter-labels {
        font-size: 0.8rem;
    }
}

/* End power meter styling */

/* Add styles for horizontal product cards */
.psu-cards-scroll-container {
    position: relative;
    margin: 30px 0;
    width: 100%;
}

.psu-cards-horizontal {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 10px 5px;
    scrollbar-width: none; /* Firefox */
}

.psu-cards-horizontal::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.psu-cards-horizontal .psu-card {
    flex: 0 0 calc(20% - 16px);
    min-width: 220px;
    max-width: 300px;
    margin: 0;
    scroll-snap-align: start;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.05), rgba(157, 37, 190, 0.05));
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.psu-cards-horizontal .psu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.psu-card-header {
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 198, 255, 0.1);
}

.psu-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--light-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.psu-card-image {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
}

.psu-card-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.psu-card-image-placeholder {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(157, 37, 190, 0.1));
}

.psu-placeholder-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
}

.psu-card-features {
    display: flex;
    justify-content: space-around;
    padding: 15px 10px;
    background: rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.psu-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.psu-feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 5px;
}

.psu-feature-name {
    font-size: 0.8rem;
    color: var(--muted-text);
}

.psu-card-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.psu-card-details ul {
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0;
    flex-grow: 1;
}

.psu-card-details li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--muted-text);
}

.psu-buy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #00c6ff, #9d25be);
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
}

.psu-buy-button:hover {
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.5);
    transform: translateY(-2px);
}

.psu-btn-icon {
    margin-right: 8px;
}

/* Scroll buttons */
.psu-scroll-buttons {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.psu-scroll-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 198, 255, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, transform 0.2s ease;
}

.psu-scroll-button:hover {
    background: rgba(0, 198, 255, 0.8);
    transform: scale(1.1);
}

.psu-scroll-left {
    margin-left: 10px;
}

.psu-scroll-right {
    margin-right: 10px;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(25% - 15px);
    }
}

@media (max-width: 992px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(33.33% - 14px);
    }
}

@media (max-width: 768px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(100% - 10px);
    }
}

/* Add styles for vertical product cards */
.psu-cards-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.psu-row-card {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 20px;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.05), rgba(157, 37, 190, 0.05));
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    position: relative;
}

.psu-row-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.psu-row-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.psu-row-card-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.psu-row-image {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 10px;
}

.psu-row-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.psu-image-placeholder {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(157, 37, 190, 0.1));
}

.psu-row-title {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    color: var(--light-text);
    border-bottom: 1px solid rgba(0, 198, 255, 0.1);
    padding-bottom: 10px;
}

.psu-row-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.psu-row-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.psu-feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50%;
    font-size: 14px;
}

.psu-feature-label {
    color: var(--muted-text);
    font-size: 0.9rem;
    font-weight: 500;
    width: 85px;
}

.psu-feature-value {
    color: var(--light-text);
    font-size: 0.9rem;
    font-weight: 600;
}

.psu-price-feature {
    background: rgba(0, 198, 255, 0.1);
    border-radius: 8px;
    padding: 5px 10px;
}

.psu-price-feature .psu-feature-value {
    color: var(--success-color);
    font-weight: 700;
}

.psu-row-card-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.psu-icon-modular:before {
    content: "🔌";
}

/* Responsive styles for vertical layout */
@media (max-width: 768px) {
    .psu-row-card {
        grid-template-columns: 1fr;
    }
    
    .psu-row-card-left {
        grid-row: 1;
    }
    
    .psu-row-card-middle {
        grid-row: 2;
    }
    
    .psu-row-card-right {
        grid-row: 3;
        margin-top: 15px;
    }
    
    .psu-row-image {
        height: 180px;
    }
}

/* Add styles for component summary */
.psu-component-summary {
    margin: 0 auto 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px;
    max-width: 700px;
}

.psu-components {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 1.2rem;
    color: var(--light-text);
}

.psu-component-cpu, 
.psu-component-gpu {
    font-weight: 600;
    color: var(--primary-color);
}

.psu-component-plus {
    display: inline-block;
    opacity: 0.7;
}

/* Fix horizontal overflow issues */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Power meter styling */
.psu-power-meter {
    margin: 15px 0;
    width: 100%;
}

.psu-power-meter-bar {
    height: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.psu-power-meter-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    width: 0;
    transition: width 1s ease-in-out;
    position: relative;
}

.psu-power-meter-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.psu-power-meter-labels {
    display: flex;
    justify-content: flex-end;
    margin-top: 5px;
    color: var(--muted-text);
    font-size: 0.85rem;
}

.psu-power-meter-max {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .psu-power-meter {
        margin: 10px 0;
    }
    
    .psu-power-meter-bar {
        height: 12px;
    }
    
    .psu-power-meter-labels {
        font-size: 0.8rem;
    }
}

/* End power meter styling */

/* Add styles for horizontal product cards */
.psu-cards-scroll-container {
    position: relative;
    margin: 30px 0;
    width: 100%;
}

.psu-cards-horizontal {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 10px 5px;
    scrollbar-width: none; /* Firefox */
}

.psu-cards-horizontal::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.psu-cards-horizontal .psu-card {
    flex: 0 0 calc(20% - 16px);
    min-width: 220px;
    max-width: 300px;
    margin: 0;
    scroll-snap-align: start;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.05), rgba(157, 37, 190, 0.05));
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.psu-cards-horizontal .psu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.psu-card-header {
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 198, 255, 0.1);
}

.psu-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--light-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.psu-card-image {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
}

.psu-card-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.psu-card-image-placeholder {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(157, 37, 190, 0.1));
}

.psu-placeholder-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
}

.psu-card-features {
    display: flex;
    justify-content: space-around;
    padding: 15px 10px;
    background: rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.psu-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.psu-feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 5px;
}

.psu-feature-name {
    font-size: 0.8rem;
    color: var(--muted-text);
}

.psu-card-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.psu-card-details ul {
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0;
    flex-grow: 1;
}

.psu-card-details li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--muted-text);
}

.psu-buy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #00c6ff, #9d25be);
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
}

.psu-buy-button:hover {
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.5);
    transform: translateY(-2px);
}

.psu-btn-icon {
    margin-right: 8px;
}

/* Scroll buttons */
.psu-scroll-buttons {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.psu-scroll-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 198, 255, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, transform 0.2s ease;
}

.psu-scroll-button:hover {
    background: rgba(0, 198, 255, 0.8);
    transform: scale(1.1);
}

.psu-scroll-left {
    margin-left: 10px;
}

.psu-scroll-right {
    margin-right: 10px;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(25% - 15px);
    }
}

@media (max-width: 992px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(33.33% - 14px);
    }
}

@media (max-width: 768px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(100% - 10px);
    }
}

/* Add styles for vertical product cards */
.psu-cards-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.psu-row-card {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 20px;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.05), rgba(157, 37, 190, 0.05));
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    position: relative;
}

.psu-row-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.psu-row-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.psu-row-card-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.psu-row-image {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 10px;
}

.psu-row-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.psu-image-placeholder {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(157, 37, 190, 0.1));
}

.psu-row-title {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    color: var(--light-text);
    border-bottom: 1px solid rgba(0, 198, 255, 0.1);
    padding-bottom: 10px;
}

.psu-row-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.psu-row-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.psu-feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50%;
    font-size: 14px;
}

.psu-feature-label {
    color: var(--muted-text);
    font-size: 0.9rem;
    font-weight: 500;
    width: 85px;
}

.psu-feature-value {
    color: var(--light-text);
    font-size: 0.9rem;
    font-weight: 600;
}

.psu-price-feature {
    background: rgba(0, 198, 255, 0.1);
    border-radius: 8px;
    padding: 5px 10px;
}

.psu-price-feature .psu-feature-value {
    color: var(--success-color);
    font-weight: 700;
}

.psu-row-card-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.psu-icon-modular:before {
    content: "🔌";
}

/* Responsive styles for vertical layout */
@media (max-width: 768px) {
    .psu-row-card {
        grid-template-columns: 1fr;
    }
    
    .psu-row-card-left {
        grid-row: 1;
    }
    
    .psu-row-card-middle {
        grid-row: 2;
    }
    
    .psu-row-card-right {
        grid-row: 3;
        margin-top: 15px;
    }
    
    .psu-row-image {
        height: 180px;
    }
}

/* Add styles for component summary */
.psu-component-summary {
    margin: 0 auto 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px;
    max-width: 700px;
}

.psu-components {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 1.2rem;
    color: var(--light-text);
}

.psu-component-cpu, 
.psu-component-gpu {
    font-weight: 600;
    color: var(--primary-color);
}

.psu-component-plus {
    display: inline-block;
    opacity: 0.7;
}

/* Fix horizontal overflow issues */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Power meter styling */
.psu-power-meter {
    margin: 15px 0;
    width: 100%;
}

.psu-power-meter-bar {
    height: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.psu-power-meter-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    width: 0;
    transition: width 1s ease-in-out;
    position: relative;
}

.psu-power-meter-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.psu-power-meter-labels {
    display: flex;
    justify-content: flex-end;
    margin-top: 5px;
    color: var(--muted-text);
    font-size: 0.85rem;
}

.psu-power-meter-max {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .psu-power-meter {
        margin: 10px 0;
    }
    
    .psu-power-meter-bar {
        height: 12px;
    }
    
    .psu-power-meter-labels {
        font-size: 0.8rem;
    }
}

/* End power meter styling */

/* Add styles for horizontal product cards */
.psu-cards-scroll-container {
    position: relative;
    margin: 30px 0;
    width: 100%;
}

.psu-cards-horizontal {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 10px 5px;
    scrollbar-width: none; /* Firefox */
}

.psu-cards-horizontal::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.psu-cards-horizontal .psu-card {
    flex: 0 0 calc(20% - 16px);
    min-width: 220px;
    max-width: 300px;
    margin: 0;
    scroll-snap-align: start;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.05), rgba(157, 37, 190, 0.05));
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.psu-cards-horizontal .psu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.psu-card-header {
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 198, 255, 0.1);
}

.psu-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--light-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.psu-card-image {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
}

.psu-card-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.psu-card-image-placeholder {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(157, 37, 190, 0.1));
}

.psu-placeholder-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
}

.psu-card-features {
    display: flex;
    justify-content: space-around;
    padding: 15px 10px;
    background: rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.psu-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.psu-feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 5px;
}

.psu-feature-name {
    font-size: 0.8rem;
    color: var(--muted-text);
}

.psu-card-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.psu-card-details ul {
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0;
    flex-grow: 1;
}

.psu-card-details li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--muted-text);
}

.psu-buy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #00c6ff, #9d25be);
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
}

.psu-buy-button:hover {
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.5);
    transform: translateY(-2px);
}

.psu-btn-icon {
    margin-right: 8px;
}

/* Scroll buttons */
.psu-scroll-buttons {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.psu-scroll-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 198, 255, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, transform 0.2s ease;
}

.psu-scroll-button:hover {
    background: rgba(0, 198, 255, 0.8);
    transform: scale(1.1);
}

.psu-scroll-left {
    margin-left: 10px;
}

.psu-scroll-right {
    margin-right: 10px;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(25% - 15px);
    }
}

@media (max-width: 992px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(33.33% - 14px);
    }
}

@media (max-width: 768px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(100% - 10px);
    }
}

/* Add styles for vertical product cards */
.psu-cards-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.psu-row-card {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 20px;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.05), rgba(157, 37, 190, 0.05));
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    position: relative;
}

.psu-row-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.psu-row-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.psu-row-card-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.psu-row-image {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 10px;
}

.psu-row-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.psu-image-placeholder {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(157, 37, 190, 0.1));
}

.psu-row-title {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    color: var(--light-text);
    border-bottom: 1px solid rgba(0, 198, 255, 0.1);
    padding-bottom: 10px;
}

.psu-row-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.psu-row-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.psu-feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50%;
    font-size: 14px;
}

.psu-feature-label {
    color: var(--muted-text);
    font-size: 0.9rem;
    font-weight: 500;
    width: 85px;
}

.psu-feature-value {
    color: var(--light-text);
    font-size: 0.9rem;
    font-weight: 600;
}

.psu-price-feature {
    background: rgba(0, 198, 255, 0.1);
    border-radius: 8px;
    padding: 5px 10px;
}

.psu-price-feature .psu-feature-value {
    color: var(--success-color);
    font-weight: 700;
}

.psu-row-card-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.psu-icon-modular:before {
    content: "🔌";
}

/* Responsive styles for vertical layout */
@media (max-width: 768px) {
    .psu-row-card {
        grid-template-columns: 1fr;
    }
    
    .psu-row-card-left {
        grid-row: 1;
    }
    
    .psu-row-card-middle {
        grid-row: 2;
    }
    
    .psu-row-card-right {
        grid-row: 3;
        margin-top: 15px;
    }
    
    .psu-row-image {
        height: 180px;
    }
}

/* Add styles for component summary */
.psu-component-summary {
    margin: 0 auto 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px;
    max-width: 700px;
}

.psu-components {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 1.2rem;
    color: var(--light-text);
}

.psu-component-cpu, 
.psu-component-gpu {
    font-weight: 600;
    color: var(--primary-color);
}

.psu-component-plus {
    display: inline-block;
    opacity: 0.7;
}

/* Fix horizontal overflow issues */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Power meter styling */
.psu-power-meter {
    margin: 15px 0;
    width: 100%;
}

.psu-power-meter-bar {
    height: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.psu-power-meter-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    width: 0;
    transition: width 1s ease-in-out;
    position: relative;
}

.psu-power-meter-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.psu-power-meter-labels {
    display: flex;
    justify-content: flex-end;
    margin-top: 5px;
    color: var(--muted-text);
    font-size: 0.85rem;
}

.psu-power-meter-max {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .psu-power-meter {
        margin: 10px 0;
    }
    
    .psu-power-meter-bar {
        height: 12px;
    }
    
    .psu-power-meter-labels {
        font-size: 0.8rem;
    }
}

/* End power meter styling */

/* Add styles for horizontal product cards */
.psu-cards-scroll-container {
    position: relative;
    margin: 30px 0;
    width: 100%;
}

.psu-cards-horizontal {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 10px 5px;
    scrollbar-width: none; /* Firefox */
}

.psu-cards-horizontal::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.psu-cards-horizontal .psu-card {
    flex: 0 0 calc(20% - 16px);
    min-width: 220px;
    max-width: 300px;
    margin: 0;
    scroll-snap-align: start;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.05), rgba(157, 37, 190, 0.05));
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.psu-cards-horizontal .psu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.psu-card-header {
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 198, 255, 0.1);
}

.psu-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--light-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.psu-card-image {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
}

.psu-card-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.psu-card-image-placeholder {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(157, 37, 190, 0.1));
}

.psu-placeholder-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
}

.psu-card-features {
    display: flex;
    justify-content: space-around;
    padding: 15px 10px;
    background: rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.psu-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.psu-feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 5px;
}

.psu-feature-name {
    font-size: 0.8rem;
    color: var(--muted-text);
}

.psu-card-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.psu-card-details ul {
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0;
    flex-grow: 1;
}

.psu-card-details li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--muted-text);
}

.psu-buy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #00c6ff, #9d25be);
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
}

.psu-buy-button:hover {
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.5);
    transform: translateY(-2px);
}

.psu-btn-icon {
    margin-right: 8px;
}

/* Scroll buttons */
.psu-scroll-buttons {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.psu-scroll-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 198, 255, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, transform 0.2s ease;
}

.psu-scroll-button:hover {
    background: rgba(0, 198, 255, 0.8);
    transform: scale(1.1);
}

.psu-scroll-left {
    margin-left: 10px;
}

.psu-scroll-right {
    margin-right: 10px;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(25% - 15px);
    }
}

@media (max-width: 992px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(33.33% - 14px);
    }
}

@media (max-width: 768px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(100% - 10px);
    }
}

/* Add styles for vertical product cards */
.psu-cards-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.psu-row-card {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 20px;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.05), rgba(157, 37, 190, 0.05));
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    position: relative;
}

.psu-row-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.psu-row-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.psu-row-card-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.psu-row-image {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 10px;
}

.psu-row-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.psu-image-placeholder {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(157, 37, 190, 0.1));
}

.psu-row-title {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    color: var(--light-text);
    border-bottom: 1px solid rgba(0, 198, 255, 0.1);
    padding-bottom: 10px;
}

.psu-row-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.psu-row-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.psu-feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50%;
    font-size: 14px;
}

.psu-feature-label {
    color: var(--muted-text);
    font-size: 0.9rem;
    font-weight: 500;
    width: 85px;
}

.psu-feature-value {
    color: var(--light-text);
    font-size: 0.9rem;
    font-weight: 600;
}

.psu-price-feature {
    background: rgba(0, 198, 255, 0.1);
    border-radius: 8px;
    padding: 5px 10px;
}

.psu-price-feature .psu-feature-value {
    color: var(--success-color);
    font-weight: 700;
}

.psu-row-card-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.psu-icon-modular:before {
    content: "🔌";
}

/* Responsive styles for vertical layout */
@media (max-width: 768px) {
    .psu-row-card {
        grid-template-columns: 1fr;
    }
    
    .psu-row-card-left {
        grid-row: 1;
    }
    
    .psu-row-card-middle {
        grid-row: 2;
    }
    
    .psu-row-card-right {
        grid-row: 3;
        margin-top: 15px;
    }
    
    .psu-row-image {
        height: 180px;
    }
}

/* Add styles for component summary */
.psu-component-summary {
    margin: 0 auto 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px;
    max-width: 700px;
}

.psu-components {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 1.2rem;
    color: var(--light-text);
}

.psu-component-cpu, 
.psu-component-gpu {
    font-weight: 600;
    color: var(--primary-color);
}

.psu-component-plus {
    display: inline-block;
    opacity: 0.7;
}

/* Fix horizontal overflow issues */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Power meter styling */
.psu-power-meter {
    margin: 15px 0;
    width: 100%;
}

.psu-power-meter-bar {
    height: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.psu-power-meter-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    width: 0;
    transition: width 1s ease-in-out;
    position: relative;
}

.psu-power-meter-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.psu-power-meter-labels {
    display: flex;
    justify-content: flex-end;
    margin-top: 5px;
    color: var(--muted-text);
    font-size: 0.85rem;
}

.psu-power-meter-max {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .psu-power-meter {
        margin: 10px 0;
    }
    
    .psu-power-meter-bar {
        height: 12px;
    }
    
    .psu-power-meter-labels {
        font-size: 0.8rem;
    }
}

/* End power meter styling */

/* Add styles for horizontal product cards */
.psu-cards-scroll-container {
    position: relative;
    margin: 30px 0;
    width: 100%;
}

.psu-cards-horizontal {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 10px 5px;
    scrollbar-width: none; /* Firefox */
}

.psu-cards-horizontal::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.psu-cards-horizontal .psu-card {
    flex: 0 0 calc(20% - 16px);
    min-width: 220px;
    max-width: 300px;
    margin: 0;
    scroll-snap-align: start;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.05), rgba(157, 37, 190, 0.05));
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.psu-cards-horizontal .psu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.psu-card-header {
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 198, 255, 0.1);
}

.psu-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--light-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.psu-card-image {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
}

.psu-card-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.psu-card-image-placeholder {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(157, 37, 190, 0.1));
}

.psu-placeholder-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
}

.psu-card-features {
    display: flex;
    justify-content: space-around;
    padding: 15px 10px;
    background: rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.psu-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.psu-feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 5px;
}

.psu-feature-name {
    font-size: 0.8rem;
    color: var(--muted-text);
}

.psu-card-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.psu-card-details ul {
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0;
    flex-grow: 1;
}

.psu-card-details li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--muted-text);
}

.psu-buy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #00c6ff, #9d25be);
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
}

.psu-buy-button:hover {
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.5);
    transform: translateY(-2px);
}

.psu-btn-icon {
    margin-right: 8px;
}

/* Scroll buttons */
.psu-scroll-buttons {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.psu-scroll-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 198, 255, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, transform 0.2s ease;
}

.psu-scroll-button:hover {
    background: rgba(0, 198, 255, 0.8);
    transform: scale(1.1);
}

.psu-scroll-left {
    margin-left: 10px;
}

.psu-scroll-right {
    margin-right: 10px;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(25% - 15px);
    }
}

@media (max-width: 992px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(33.33% - 14px);
    }
}

@media (max-width: 768px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(100% - 10px);
    }
}

/* Add styles for vertical product cards */
.psu-cards-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.psu-row-card {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 20px;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.05), rgba(157, 37, 190, 0.05));
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    position: relative;
}

.psu-row-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.psu-row-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.psu-row-card-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.psu-row-image {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 10px;
}

.psu-row-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.psu-image-placeholder {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(157, 37, 190, 0.1));
}

.psu-row-title {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    color: var(--light-text);
    border-bottom: 1px solid rgba(0, 198, 255, 0.1);
    padding-bottom: 10px;
}

.psu-row-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.psu-row-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.psu-feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50%;
    font-size: 14px;
}

.psu-feature-label {
    color: var(--muted-text);
    font-size: 0.9rem;
    font-weight: 500;
    width: 85px;
}

.psu-feature-value {
    color: var(--light-text);
    font-size: 0.9rem;
    font-weight: 600;
}

.psu-price-feature {
    background: rgba(0, 198, 255, 0.1);
    border-radius: 8px;
    padding: 5px 10px;
}

.psu-price-feature .psu-feature-value {
    color: var(--success-color);
    font-weight: 700;
}

.psu-row-card-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.psu-icon-modular:before {
    content: "🔌";
}

/* Responsive styles for vertical layout */
@media (max-width: 768px) {
    .psu-row-card {
        grid-template-columns: 1fr;
    }
    
    .psu-row-card-left {
        grid-row: 1;
    }
    
    .psu-row-card-middle {
        grid-row: 2;
    }
    
    .psu-row-card-right {
        grid-row: 3;
        margin-top: 15px;
    }
    
    .psu-row-image {
        height: 180px;
    }
}

/* Add styles for component summary */
.psu-component-summary {
    margin: 0 auto 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px;
    max-width: 700px;
}

.psu-components {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 1.2rem;
    color: var(--light-text);
}

.psu-component-cpu, 
.psu-component-gpu {
    font-weight: 600;
    color: var(--primary-color);
}

.psu-component-plus {
    display: inline-block;
    opacity: 0.7;
}

/* Fix horizontal overflow issues */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Power meter styling */
.psu-power-meter {
    margin: 15px 0;
    width: 100%;
}

.psu-power-meter-bar {
    height: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.psu-power-meter-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    width: 0;
    transition: width 1s ease-in-out;
    position: relative;
}

.psu-power-meter-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.psu-power-meter-labels {
    display: flex;
    justify-content: flex-end;
    margin-top: 5px;
    color: var(--muted-text);
    font-size: 0.85rem;
}

.psu-power-meter-max {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .psu-power-meter {
        margin: 10px 0;
    }
    
    .psu-power-meter-bar {
        height: 12px;
    }
    
    .psu-power-meter-labels {
        font-size: 0.8rem;
    }
}

/* End power meter styling */

/* Add styles for horizontal product cards */
.psu-cards-scroll-container {
    position: relative;
    margin: 30px 0;
    width: 100%;
}

.psu-cards-horizontal {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 10px 5px;
    scrollbar-width: none; /* Firefox */
}

.psu-cards-horizontal::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.psu-cards-horizontal .psu-card {
    flex: 0 0 calc(20% - 16px);
    min-width: 220px;
    max-width: 300px;
    margin: 0;
    scroll-snap-align: start;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.05), rgba(157, 37, 190, 0.05));
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.psu-cards-horizontal .psu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.psu-card-header {
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 198, 255, 0.1);
}

.psu-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--light-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.psu-card-image {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
}

.psu-card-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.psu-card-image-placeholder {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(157, 37, 190, 0.1));
}

.psu-placeholder-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
}

.psu-card-features {
    display: flex;
    justify-content: space-around;
    padding: 15px 10px;
    background: rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.psu-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.psu-feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 5px;
}

.psu-feature-name {
    font-size: 0.8rem;
    color: var(--muted-text);
}

.psu-card-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.psu-card-details ul {
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0;
    flex-grow: 1;
}

.psu-card-details li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--muted-text);
}

.psu-buy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #00c6ff, #9d25be);
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
}

.psu-buy-button:hover {
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.5);
    transform: translateY(-2px);
}

.psu-btn-icon {
    margin-right: 8px;
}

/* Scroll buttons */
.psu-scroll-buttons {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.psu-scroll-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 198, 255, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, transform 0.2s ease;
}

.psu-scroll-button:hover {
    background: rgba(0, 198, 255, 0.8);
    transform: scale(1.1);
}

.psu-scroll-left {
    margin-left: 10px;
}

.psu-scroll-right {
    margin-right: 10px;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(25% - 15px);
    }
}

@media (max-width: 992px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(33.33% - 14px);
    }
}

@media (max-width: 768px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(100% - 10px);
    }
}

/* Add styles for vertical product cards */
.psu-cards-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.psu-row-card {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 20px;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.05), rgba(157, 37, 190, 0.05));
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    position: relative;
}

.psu-row-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.psu-row-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.psu-row-card-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.psu-row-image {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 10px;
}

.psu-row-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.psu-image-placeholder {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(157, 37, 190, 0.1));
}

.psu-row-title {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    color: var(--light-text);
    border-bottom: 1px solid rgba(0, 198, 255, 0.1);
    padding-bottom: 10px;
}

.psu-row-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.psu-row-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.psu-feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50%;
    font-size: 14px;
}

.psu-feature-label {
    color: var(--muted-text);
    font-size: 0.9rem;
    font-weight: 500;
    width: 85px;
}

.psu-feature-value {
    color: var(--light-text);
    font-size: 0.9rem;
    font-weight: 600;
}

.psu-price-feature {
    background: rgba(0, 198, 255, 0.1);
    border-radius: 8px;
    padding: 5px 10px;
}

.psu-price-feature .psu-feature-value {
    color: var(--success-color);
    font-weight: 700;
}

.psu-row-card-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.psu-icon-modular:before {
    content: "🔌";
}

/* Responsive styles for vertical layout */
@media (max-width: 768px) {
    .psu-row-card {
        grid-template-columns: 1fr;
    }
    
    .psu-row-card-left {
        grid-row: 1;
    }
    
    .psu-row-card-middle {
        grid-row: 2;
    }
    
    .psu-row-card-right {
        grid-row: 3;
        margin-top: 15px;
    }
    
    .psu-row-image {
        height: 180px;
    }
}

/* Add styles for component summary */
.psu-component-summary {
    margin: 0 auto 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px;
    max-width: 700px;
}

.psu-components {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 1.2rem;
    color: var(--light-text);
}

.psu-component-cpu, 
.psu-component-gpu {
    font-weight: 600;
    color: var(--primary-color);
}

.psu-component-plus {
    display: inline-block;
    opacity: 0.7;
}

/* Fix horizontal overflow issues */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Power meter styling */
.psu-power-meter {
    margin: 15px 0;
    width: 100%;
}

.psu-power-meter-bar {
    height: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.psu-power-meter-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    width: 0;
    transition: width 1s ease-in-out;
    position: relative;
}

.psu-power-meter-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.psu-power-meter-labels {
    display: flex;
    justify-content: flex-end;
    margin-top: 5px;
    color: var(--muted-text);
    font-size: 0.85rem;
}

.psu-power-meter-max {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .psu-power-meter {
        margin: 10px 0;
    }
    
    .psu-power-meter-bar {
        height: 12px;
    }
    
    .psu-power-meter-labels {
        font-size: 0.8rem;
    }
}

/* End power meter styling */

/* Add styles for horizontal product cards */
.psu-cards-scroll-container {
    position: relative;
    margin: 30px 0;
    width: 100%;
}

.psu-cards-horizontal {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 10px 5px;
    scrollbar-width: none; /* Firefox */
}

.psu-cards-horizontal::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.psu-cards-horizontal .psu-card {
    flex: 0 0 calc(20% - 16px);
    min-width: 220px;
    max-width: 300px;
    margin: 0;
    scroll-snap-align: start;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.05), rgba(157, 37, 190, 0.05));
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.psu-cards-horizontal .psu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.psu-card-header {
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 198, 255, 0.1);
}

.psu-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--light-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.psu-card-image {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
}

.psu-card-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.psu-card-image-placeholder {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(157, 37, 190, 0.1));
}

.psu-placeholder-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
}

.psu-card-features {
    display: flex;
    justify-content: space-around;
    padding: 15px 10px;
    background: rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.psu-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.psu-feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 5px;
}

.psu-feature-name {
    font-size: 0.8rem;
    color: var(--muted-text);
}

.psu-card-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.psu-card-details ul {
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0;
    flex-grow: 1;
}

.psu-card-details li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--muted-text);
}

.psu-buy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #00c6ff, #9d25be);
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
}

.psu-buy-button:hover {
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.5);
    transform: translateY(-2px);
}

.psu-btn-icon {
    margin-right: 8px;
}

/* Scroll buttons */
.psu-scroll-buttons {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.psu-scroll-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 198, 255, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, transform 0.2s ease;
}

.psu-scroll-button:hover {
    background: rgba(0, 198, 255, 0.8);
    transform: scale(1.1);
}

.psu-scroll-left {
    margin-left: 10px;
}

.psu-scroll-right {
    margin-right: 10px;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(25% - 15px);
    }
}

@media (max-width: 992px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(33.33% - 14px);
    }
}

@media (max-width: 768px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(100% - 10px);
    }
}

/* Add styles for vertical product cards */
.psu-cards-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.psu-row-card {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 20px;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.05), rgba(157, 37, 190, 0.05));
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    position: relative;
}

.psu-row-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.psu-row-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.psu-row-card-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.psu-row-image {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 10px;
}

.psu-row-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.psu-image-placeholder {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(157, 37, 190, 0.1));
}

.psu-row-title {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    color: var(--light-text);
    border-bottom: 1px solid rgba(0, 198, 255, 0.1);
    padding-bottom: 10px;
}

.psu-row-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.psu-row-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.psu-feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50%;
    font-size: 14px;
}

.psu-feature-label {
    color: var(--muted-text);
    font-size: 0.9rem;
    font-weight: 500;
    width: 85px;
}

.psu-feature-value {
    color: var(--light-text);
    font-size: 0.9rem;
    font-weight: 600;
}

.psu-price-feature {
    background: rgba(0, 198, 255, 0.1);
    border-radius: 8px;
    padding: 5px 10px;
}

.psu-price-feature .psu-feature-value {
    color: var(--success-color);
    font-weight: 700;
}

.psu-row-card-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.psu-icon-modular:before {
    content: "🔌";
}

/* Responsive styles for vertical layout */
@media (max-width: 768px) {
    .psu-row-card {
        grid-template-columns: 1fr;
    }
    
    .psu-row-card-left {
        grid-row: 1;
    }
    
    .psu-row-card-middle {
        grid-row: 2;
    }
    
    .psu-row-card-right {
        grid-row: 3;
        margin-top: 15px;
    }
    
    .psu-row-image {
        height: 180px;
    }
}

/* Add styles for component summary */
.psu-component-summary {
    margin: 0 auto 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px;
    max-width: 700px;
}

.psu-components {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 1.2rem;
    color: var(--light-text);
}

.psu-component-cpu, 
.psu-component-gpu {
    font-weight: 600;
    color: var(--primary-color);
}

.psu-component-plus {
    display: inline-block;
    opacity: 0.7;
}

/* Fix horizontal overflow issues */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Power meter styling */
.psu-power-meter {
    margin: 15px 0;
    width: 100%;
}

.psu-power-meter-bar {
    height: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.psu-power-meter-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    width: 0;
    transition: width 1s ease-in-out;
    position: relative;
}

.psu-power-meter-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.psu-power-meter-labels {
    display: flex;
    justify-content: flex-end;
    margin-top: 5px;
    color: var(--muted-text);
    font-size: 0.85rem;
}

.psu-power-meter-max {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .psu-power-meter {
        margin: 10px 0;
    }
    
    .psu-power-meter-bar {
        height: 12px;
    }
    
    .psu-power-meter-labels {
        font-size: 0.8rem;
    }
}

/* End power meter styling */

/* Add styles for horizontal product cards */
.psu-cards-scroll-container {
    position: relative;
    margin: 30px 0;
    width: 100%;
}

.psu-cards-horizontal {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 10px 5px;
    scrollbar-width: none; /* Firefox */
}

.psu-cards-horizontal::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.psu-cards-horizontal .psu-card {
    flex: 0 0 calc(20% - 16px);
    min-width: 220px;
    max-width: 300px;
    margin: 0;
    scroll-snap-align: start;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.05), rgba(157, 37, 190, 0.05));
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.psu-cards-horizontal .psu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.psu-card-header {
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 198, 255, 0.1);
}

.psu-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--light-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.psu-card-image {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
}

.psu-card-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.psu-card-image-placeholder {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(157, 37, 190, 0.1));
}

.psu-placeholder-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
}

.psu-card-features {
    display: flex;
    justify-content: space-around;
    padding: 15px 10px;
    background: rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.psu-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.psu-feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 5px;
}

.psu-feature-name {
    font-size: 0.8rem;
    color: var(--muted-text);
}

.psu-card-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.psu-card-details ul {
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0;
    flex-grow: 1;
}

.psu-card-details li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--muted-text);
}

.psu-buy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #00c6ff, #9d25be);
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
}

.psu-buy-button:hover {
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.5);
    transform: translateY(-2px);
}

.psu-btn-icon {
    margin-right: 8px;
}

/* Scroll buttons */
.psu-scroll-buttons {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.psu-scroll-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 198, 255, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, transform 0.2s ease;
}

.psu-scroll-button:hover {
    background: rgba(0, 198, 255, 0.8);
    transform: scale(1.1);
}

.psu-scroll-left {
    margin-left: 10px;
}

.psu-scroll-right {
    margin-right: 10px;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(25% - 15px);
    }
}

@media (max-width: 992px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(33.33% - 14px);
    }
}

@media (max-width: 768px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .psu-cards-horizontal .psu-card {
        flex: 0 0 calc(100% - 10px);
    }
}

/* Add styles for vertical product cards */
.psu-cards-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.psu-row-card {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 20px;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.05), rgba(157, 37, 190, 0.05));
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    position: relative;
}

.psu-row-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.psu-row-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.psu-row-card-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.psu-row-image {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 10px;
}

.psu-row-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.psu-image-placeholder {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(157, 37, 190, 0.1));
}

.psu-row-title {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    color: var(--light-text);
    border-bottom: 1px solid rgba(0, 198, 255, 0.1);
    padding-bottom: 10px;
}

.psu-row-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.psu-row-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.psu-feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50%;
    font-size: 14px;
}

.psu-feature-label {
    color: var(--muted-text);
    font-size: 0.9rem;
    font-weight: 500;
    width: 85px;
}

.psu-feature-value {
    color: var(--light-text);
    font-size: 0.9rem;
    font-weight: 600;
}

.psu-price-feature {
    background: rgba(0, 198, 255, 0.1);
    border-radius: 8px;
    padding: 5px 10px;
}

.psu-price-feature .psu-feature-value {
    color: var(--success-color);
    font-weight: 700;
}

.psu-row-card-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.psu-icon-modular:before {
    content: "🔌";
}

/* Responsive styles for vertical layout */
@media (max-width: 768px) {
    .psu-row-card {
        grid-template-columns: 1fr;
    }
    
    .psu-row-card-left {
        grid-row: 1;
    }
    
    .psu-row-card-middle {
        grid-row: 2;
    }
    
    .psu-row-card-right {
        grid-row: 3;
        margin-top: 15px;
    }
    
    .psu-row-image {
        height: 180px;
    }
}

/* Add styles for component summary */
.psu-component-summary {
    margin: 0 auto 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px;
    max-width: 700px;
}

.psu-components {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 1.2rem;
    color: var(--light-text);
}

.psu-component-cpu, 
.psu-component-gpu {
    font-weight: 600;
    color: var(--primary-color);
}

.psu-component-plus {
    display: inline-block;
    opacity: 0.7;
}

/* Fix horizontal overflow issues */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Power meter styling */
.psu-power-meter {
    margin: 15px 0;
    width: 100%;
}

.psu-power-meter-bar {
    height: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.psu-power-meter-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    width: 0;
    transition: width 1s ease-in-out;
    position: relative;
}

.psu-power-meter-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% { transform: translateX(100%); }
    0% { transform: translateX(-100%); }}