/* Item page styles */
.item-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  max-height: 400px;
  overflow: hidden;
  border-radius: var(--gg-radius);
}
.item-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.item-meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
  font-size: 0.75rem;
  color: #666;
  margin-top: 8px;
}
.item-meta-icon {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

/* Tools grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.tool-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 8px;
    background: #f8f8f8;
    border: 2px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    color: var(--gg-blue);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    text-align: center;
    gap: 8px;
}
.tool-btn:hover {
    background: white;
    border-color: var(--gg-green);
    color: var(--gg-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.tool-icon {
    width: 24px;
    height: 24px;
    color: currentColor;
}

.background-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.background-info h4 {
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.9;
}
.background-info p {
    font-size: 13px;
    margin: 0;
    opacity: 0.95;
    line-height: 1.5;
}

/* Card 3: Share & Embed */
.share-buttons {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));*/
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}
.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
    gap: 6px;
}
.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.share-btn.facebook { border-color: #1877f2; color: #1877f2; }
.share-btn.twitter { border-color: #000000; color: #000000; }
.share-btn.pinterest { border-color: #e60023; color: #e60023; }
.share-btn.reddit { border-color: #ff4500; color: #ff4500; }
.share-btn.tumblr { border-color: #35465c; color: #35465c; }

.share-btn svg {
    width: 18px;
    height: 18px;
}

.embed-section {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 16px;
}

.embed-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.embed-input-group {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.embed-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 13px;
    font-family: monospace;
    background: white;
}

.copy-btn {
    padding: 10px 16px;
    background: var(--gg-green);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.copy-btn:hover {
    background: #7cb342;
}

.copy-btn.copied {
    background: #4caf50;
} 

.card-title {
    color: var(--gg-blue);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-title-icon {
    width: 20px;
    height: 20px;
    color: var(--gg-green);
}   

/* Responsive */
@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .tool-btn {
        word-break: break-word;
        hyphens: auto;
        max-width: 80px;
        line-height: 1.2;
        padding: 12px 6px;
    }

    .share-buttons {
        grid-template-columns: repeat(4, 1fr);
    }
}       
  
.dmca-notice, .dmca-notice a {  
  font-size: 12px;
  color: #666;
  margin-top: 20px;
}