/* Polygon card styles for product cards (shared between home and product list) */
.polygon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0 1rem 2.5rem 1rem;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(.4,0,.2,1);
}
.polygon-card:hover {
    transform: translateY(-8px) scale(1.05);
    z-index: 10;
}
.polygon-wrapper {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.polygon-shape {
    width: 180px;
    height: 180px;
    background: #fff;
    /* Decagon (10 edges) clip-path */
    clip-path: polygon(
        50% 0%,
        81% 12%,
        97% 38%,
        97% 62%,
        81% 88%,
        50% 100%,
        19% 88%,
        3% 62%,
        3% 38%,
        19% 12%
    );
    box-shadow: 0 6px 18px rgb(0 0 0 / 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: box-shadow 0.4s;
}
.polygon-card:hover .polygon-shape {
    box-shadow: 0 12px 32px rgb(0 123 255 / 0.25);
}
.polygon-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.polygon-card:hover .polygon-image {
    transform: scale(1.12);
}
.polygon-title {
    font-weight: 600;
    font-size: 1.15rem;
    color: #2b2b2b;
    margin-top: 10px;
    text-align: center;
}
@media (max-width: 1199px) {
    .polygon-wrapper { width: 160px; height: 160px; }
    .polygon-shape { width: 140px; height: 140px; }
}
@media (max-width: 991px) {
    .polygon-wrapper { width: 120px; height: 120px; }
    .polygon-shape { width: 100px; height: 100px; }
}
@media (max-width: 767px) {
    .polygon-wrapper { width: 100px; height: 100px; }
    .polygon-shape { width: 80px; height: 80px; }
}
