/* Shop Specific Styles */
.sh-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 40px 20px;
}

.sh-page-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-text-primary);
    margin-bottom: 30px;
}

.sh-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.sh-sidebar {
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: var(--border-radius-base);
    padding: 24px;
    height: fit-content;
}

.sh-filter-group {
    margin-bottom: 24px;
}

.sh-filter-group:last-child {
    margin-bottom: 0;
}

.sh-filter-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--color-text-primary);
    border-bottom: 1px solid rgba(229, 211, 179, 0.1);
    padding-bottom: 8px;
}

.sh-input, .sh-select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(229, 211, 179, 0.2);
    border-radius: 8px;
    color: var(--color-text-primary);
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
}

.sh-input:focus, .sh-select:focus {
    outline: none;
    border-color: var(--color-accent);
}

.sh-select option {
    background: var(--color-bg-secondary);
    color: var(--color-text-primary);
}

.sh-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--color-text-secondary);
}

.sh-checkbox {
    accent-color: var(--color-accent);
    width: 18px;
    height: 18px;
}

.sh-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.sh-product-card {
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: var(--border-radius-base);
    overflow: hidden;
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.sh-product-card:hover {
    transform: translateY(-5px);
    border-color: var(--card-border-hover);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.sh-product-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.sh-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sh-product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sh-product-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text-primary);
    margin: 0 0 12px 0;
    text-decoration: none;
}

.sh-product-desc {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.sh-product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.sh-product-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-accent);
}

.sh-btn {
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition-base);
    font-family: var(--font-body);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.sh-btn-primary {
    background: var(--color-accent);
    color: var(--color-bg-main);
}

.sh-btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
}

.sh-btn-secondary {
    background: transparent;
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.sh-btn-secondary:hover {
    background: rgba(229, 211, 179, 0.1);
}

.sh-btn-danger {
    background: transparent;
    border-color: #ff5252;
    color: #ff5252;
}

.sh-btn-danger:hover {
    background: rgba(255, 82, 82, 0.1);
}

.sh-btn-block {
    width: 100%;
}

.sh-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Product Page */
.sh-breadcrumb {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.sh-breadcrumb-link {
    color: var(--color-text-secondary);
    text-decoration: none;
}

.sh-breadcrumb-link:hover {
    color: var(--color-accent);
}

.sh-breadcrumb-sep {
    color: rgba(229, 211, 179, 0.3);
}

.sh-breadcrumb-current {
    color: var(--color-accent);
}

.sh-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.sh-gallery-main {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--border-radius-base);
    overflow: hidden;
    border: 1px solid rgba(229, 211, 179, 0.1);
    cursor: zoom-in;
    margin-bottom: 16px;
}

.sh-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sh-gallery-thumbs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.sh-gallery-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.sh-gallery-thumb.active {
    border-color: var(--color-accent);
}

.sh-product-details h1 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.sh-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.sh-badge-success {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.sh-badge-danger {
    background: rgba(244, 67, 54, 0.1);
    color: #F44336;
    border: 1px solid rgba(244, 67, 54, 0.2);
}

.sh-product-price-large {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent);
    margin: 24px 0;
}

.sh-product-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
}

.sh-add-to-cart-row {
    display: flex;
    gap: 20px;
    align-items: center;
}

.sh-qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid rgba(229, 211, 179, 0.2);
    border-radius: 50px;
    height: 50px;
    overflow: hidden;
}

.sh-qty-btn {
    background: transparent;
    border: none;
    color: var(--color-text-primary);
    width: 40px;
    height: 100%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.2s ease;
}

.sh-qty-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.sh-qty-input {
    width: 50px;
    height: 100%;
    background: transparent;
    border: none;
    color: var(--color-text-primary);
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0;
    border-radius: 0;
}

.sh-qty-input:focus {
    outline: none;
}

/* Cart */
.sh-cart-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.sh-cart-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: var(--border-radius-base);
    margin-bottom: 16px;
}

.sh-cart-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
}

.sh-cart-info {
    flex-grow: 1;
}

.sh-cart-title a {
    color: var(--color-text-primary);
    text-decoration: none;
    font-size: 1.25rem;
    font-family: var(--font-heading);
}

.sh-cart-price {
    color: var(--color-accent);
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 8px;
}

.sh-cart-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sh-cart-actions .sh-qty-input {
    width: 80px;
    text-align: center;
}

.sh-cart-summary {
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: var(--border-radius-base);
    padding: 32px;
    height: fit-content;
}

.sh-summary-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 24px;
}

.sh-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    color: var(--color-text-secondary);
    font-size: 1.1rem;
}

.sh-summary-total {
    border-top: 1px solid rgba(229, 211, 179, 0.1);
    padding-top: 24px;
    margin-top: 24px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
}

.sh-hidden {
    display: none !important;
}

.sh-mt-4 {
    margin-top: 24px;
}

.sh-loading-text, .sh-empty-text, .sh-error {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
}

.sh-error {
    color: #ff5252;
}

/* Lightbox */
.sh-lightbox {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(13, 18, 15, 0.95);
    z-index: 2000;
    cursor: zoom-out;
    backdrop-filter: blur(10px);
}

.sh-lightbox-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 40px;
}

.sh-lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

@media (max-width: 992px) {
    .sh-layout, .sh-product-layout, .sh-cart-layout {
        grid-template-columns: 1fr;
    }
}