/* Minimal luxury grid - light background, black text */
.nivoda-wrapper { max-width:1200px;margin:20px auto;padding:0 12px; }
.nivoda-heading { font-family: Georgia, serif; font-size:32px; margin-bottom:16px; color:#111; letter-spacing:1px; }
.nivoda-controls { display:flex; gap:12px; align-items:center; margin-bottom:18px; }
#nivoda-shape { padding:10px 12px; border:1px solid #e6e6e6; background:#fff; color:#222; min-width:160px; }
.nivoda-btn-search { padding:10px 16px; border:1px solid #333; background:#fff; color:#111; cursor:pointer; }

/* Grid */
.nivoda-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:18px; }
.nivoda-card { background:#fff; border:1px solid #eee; border-radius:8px; overflow:hidden; position:relative; transition: box-shadow .25s ease, transform .25s ease; }
.nivoda-card:hover { transform: translateY(-6px); box-shadow: 0 10px 30px rgba(0,0,0,0.06); }

/* Thumbnail & hover zoom */
.nivoda-thumb { width:100%; height:260px; overflow:hidden; display:flex; align-items:center; justify-content:center; background:#fafafa; }
.nivoda-thumb img { max-width:100%; max-height:100%; transition: transform .35s ease, filter .35s ease; display:block; }
.nivoda-card:hover .nivoda-thumb img { transform: scale(1.07); filter: brightness(1.04); }

/* Overlay at bottom with details and buttons */
.nivoda-overlay { position:absolute; left:12px; right:12px; bottom:12px; background: rgba(255,255,255,0.96); padding:12px; border-radius:6px; opacity:0; transform: translateY(8px); transition: opacity .22s ease, transform .22s ease; text-align:left; }
.nivoda-card:hover .nivoda-overlay { opacity:1; transform: translateY(0); }
.nivoda-title { font-weight:600; margin:4px 0; font-size:14px; color:#111; }
.nivoda-meta { color:#666; font-size:13px; margin-top:6px; }
.nivoda-price { font-weight:700; margin-top:8px; font-size:15px; color:#111; }

/* buttons */
.nivoda-action { display:inline-block; padding:8px 12px; border-radius:4px; text-decoration:none; font-size:14px; cursor:pointer; }
.nivoda-view { border:1px solid #333; background:#fff; color:#111; margin-right:8px; }
.nivoda-buy { background:#111; color:#fff; border:1px solid #111; }

/* small product card appearance when no image */
.nivoda-noimage { height:200px; display:flex; align-items:center; justify-content:center; color:#999; }

/* responsive */
@media (max-width:600px){
  .nivoda-thumb { height:180px; }
}



.diamond-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:20px;
}
.diamond-card {
  border:1px solid #eee;
  padding:12px;
  text-align:center;
}
.diamond-card img {
  max-width:100%;
}

/* ================================
   DIAMOND GRID LAYOUT
================================ */
.diamond-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
    margin: 40px 0;
}

/* ================================
   DIAMOND CARD
================================ */
.diamond-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
    position: relative;
}

.diamond-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.15);
}

/* ================================
   DIAMOND IMAGE
================================ */
.diamond-card img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    background: #f8f8f8;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 14px;
}

/* ================================
   DIAMOND TITLE
================================ */
.diamond-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

/* ================================
   DIAMOND PRICE
================================ */
.diamond-price {
    font-size: 17px;
    font-weight: 700;
    color: #b08d3c; /* luxury gold */
}

/* ================================
   HOVER BORDER EFFECT
================================ */
.diamond-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid rgba(176, 141, 60, 0.25);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.diamond-card:hover::after {
    opacity: 1;
}

/* ================================
   MOBILE RESPONSIVE
================================ */
@media (max-width: 1024px) {
    .diamond-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .diamond-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .diamond-grid {
        grid-template-columns: 1fr;
    }
}


/* ===== ACTION BUTTONS ===== */
.diamond-actions {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.diamond-card:hover .diamond-actions {
    opacity: 1;
    transform: translateY(0);
}

.diamond-actions .button {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Add to cart */
.add-to-cart-btn {
    background: #b08d3c;
    color: #fff;
}

.add-to-cart-btn:hover {
    background: #9c7a2f;
}

/* View product */
.view-btn {
    border: 1px solid #b08d3c;
    color: #b08d3c;
    background: transparent;
}

.view-btn:hover {
    background: #b08d3c;
    color: #fff;
}