:root {
  --blue: #007bff;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #e83e8c;
  --red: #dc3545;
  --orange: #fd7e14;
  --yellow: #ffc107;
  --green: #28a745;
  --teal: #20c997;
  --cyan: #17a2b8;
  --white: #fff;
  --gray: #6c757d;
  --gray-dark: #343a40;
  --primary: #007bff;
  --secondary: #6c757d;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #343a40;
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.product-details-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 1200px;
    overflow: hidden;
}

.product-image {
    overflow: hidden;
    position: relative;
    text-align: center;
    padding: 20px;
}

.product-image img {
    width: 100%;
    max-width: 300px;
    margin-top: 25%;
    margin-bottom: 25%;
    border-radius: 8px;
    border: 1px solid #e1e1e1;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.product-image:hover img {

    transform: scale(1.1);
}

.product-info {
    text-align: center;
    padding: 20px;
}

.product-info h3 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 700;
}

.product-info p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0 0 15px;
}

.product-info .price {
    font-size: 1.5rem;
    color: var(--orange);
    font-weight: 700;
}

.product-actions {
    margin-top: 20px;
}

.product-box {
    padding: 20px;
    box-sizing: border-box;
}

.product-description {
    white-space: break-spaces;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    text-align: left;
}

.rating p, .price, .product-actions p {
    margin: 0;
    padding: 5px 0;
}

.product-actions .btn {
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    color: #87a922; /* Text color */
    background-color: transparent; /* Transparent background */
    border: 2px solid #87a922; /* Border to match text color */
}

.product-actions .btn:hover {
    background-color: #87a922; /* Background color on hover */
    color: #fff; /* Text color on hover */
    border: 2px solid #87a922;
}

@media (min-width: 2500px) {
    .product-details-container {
        flex-direction: row;
        align-items: flex-start;
    }

    .product-image {
        margin-right: 50px;
    }

    .product-info {
        text-align: left;
    }
}
