/**
 * Product Detail Page Styles
 * Modular CSS following OCSAPP design system
 */

/* Page Layout */
.page-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Breadcrumb Menu */
.breadcrumb-menu {
    background: transparent;
    padding: 20px 5%;
    display: flex;
    gap: 15px;
    align-items: center;
    max-width: 1400px;
    margin: 20px auto 0;
    position: relative;
}

.breadcrumb-menu::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: #e6e6e6;
}

.breadcrumb-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f7f7f7;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s;
    border: 1px solid #e6e6e6;
}

.breadcrumb-btn:hover {
    background: #00b207;
    color: white;
    border-color: #00b207;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,178,7,0.2);
}

.breadcrumb-btn.active {
    background: #00b207;
    color: white;
    border-color: #00b207;
}

/* Product Container */
.product-container {
    max-width: calc(1400px - 10%);
    margin: 0 auto 40px auto;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Image Gallery */
.image-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: zoom-in;
    border: 1px solid #e9ecef;
    transition: transform 0.3s;
}

.main-image:hover {
    transform: scale(1.02);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

/* Image Thumbnails */
.image-thumbs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.image-thumbs::-webkit-scrollbar {
    height: 6px;
}

.image-thumbs::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.image-thumbs::-webkit-scrollbar-thumb {
    background: #00b207;
    border-radius: 10px;
}

.thumb {
    min-width: 90px;
    width: 90px;
    height: 90px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    scroll-snap-align: start;
}

.thumb.active {
    border-color: #00b207;
    box-shadow: 0 0 0 3px rgba(0, 178, 7, 0.15);
}

.thumb:hover {
    border-color: #00b207;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

/* Product Info (Main Product Detail Section) */
.product-container .product-info {
    padding: 20px 0;
}

.product-container .product-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.product-container .badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.product-container .badge.veg {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.product-container .badge.featured {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
}

.product-container .badge.organic {
    background: linear-gradient(135deg, #cce5ff 0%, #99ccff 100%);
    color: #004085;
}

.product-container .badge-success {
    background: linear-gradient(135deg, #00b207 0%, #009206 100%);
    color: white;
}

.product-container .badge-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
    color: #000;
}

.product-container .badge-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.product-container .product-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #1a1a1a;
    line-height: 1.2;
}

/* Rating (Main Product Detail Section) */
.product-container .product-rating {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.product-container .stars {
    color: #ffc107;
    font-size: 20px;
}

.product-container .rating-text {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Price Section */
.price-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.current-price {
    font-size: 42px;
    font-weight: 800;
    color: #00b207;
}

.original-price {
    font-size: 26px;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
}

.discount-badge {
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.3);
}

/* Product Meta */
.product-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.meta-item {
    font-size: 14px;
}

.meta-label {
    color: #666;
    margin-bottom: 6px;
    font-size: 13px;
}

.meta-value {
    font-weight: 700;
    color: #333;
    font-size: 15px;
}

/* Quantity Section */
.quantity-section {
    margin-bottom: 30px;
}

.quantity-label {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.qty-controls {
    display: flex;
    align-items: center;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

.qty-btn {
    width: 45px;
    height: 45px;
    border: none;
    background: white;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    color: #00b207;
}

.qty-btn:hover {
    background: #f0f9f0;
}

.qty-btn:active {
    background: #e0f3e0;
}

.qty-input {
    width: 70px;
    height: 45px;
    border: none;
    border-left: 1px solid #e9ecef;
    border-right: 1px solid #e9ecef;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.stock-info {
    font-size: 14px;
    color: #666;
    padding: 8px 14px;
    background: #f8f9fa;
    border-radius: 8px;
}

.stock-info.low {
    color: #ff4444;
    background: #fff5f5;
    font-weight: 600;
}

.stock-warning {
    margin-top: 12px;
    padding: 12px 16px;
    background: #fff3cd;
    border-left: 4px solid #ff9800;
    border-radius: 8px;
    font-size: 14px;
    color: #856404;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    flex: 1;
    background: linear-gradient(135deg, #00b207 0%, #009206 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(0, 178, 7, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #009206 0%, #007a05 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 178, 7, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: white;
    border: 2px solid #e9ecef;
    color: #666;
    min-width: 54px;
}

.btn-secondary:hover {
    background: #f8f9fa;
    border-color: #00b207;
    color: #00b207;
}

/* Shop Info */
.shop-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
}

.shop-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.shop-logo {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border: 2px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.shop-details {
    flex: 1;
}

.shop-name {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
}

.shop-rating {
    font-size: 14px;
    color: #666;
}

.shop-rating a {
    color: #00b207;
    text-decoration: none;
    font-weight: 600;
}

.shop-rating a:hover {
    text-decoration: underline;
}

.shop-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    font-size: 13px;
}

.shop-meta-item {
    text-align: center;
    padding: 12px;
    background: white;
    border-radius: 8px;
}

.shop-meta-label {
    color: #999;
    margin-bottom: 6px;
    font-size: 12px;
}

.shop-meta-value {
    font-weight: 700;
    color: #333;
    font-size: 16px;
}

/* Tabs Section */
.tabs-section {
    max-width: calc(1400px - 10%);
    margin: 0 auto 40px auto;
}

.tabs {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.tab-nav {
    display: flex;
    gap: 10px;
    border-bottom: 3px solid #e9ecef;
    margin-bottom: 30px;
    overflow-x: auto;
}

.tab-btn {
    padding: 16px 24px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 700;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
    white-space: nowrap;
    border-radius: 12px 12px 0 0;
}

.tab-btn:hover {
    color: #00b207;
    background: rgba(0, 178, 7, 0.05);
}

.tab-btn.active {
    color: #00b207;
    background: rgba(0, 178, 7, 0.1);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #00b207 0%, #009206 100%);
    border-radius: 4px 4px 0 0;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Description Tab */
.description {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

.description h3 {
    color: #333;
    margin: 25px 0 12px;
    font-weight: 700;
    font-size: 20px;
}

.description ul {
    margin: 15px 0;
    padding-left: 25px;
    line-height: 1.9;
}

.description li {
    margin-bottom: 8px;
}

/* Nutrition Table */
.nutrition-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.nutrition-table td {
    padding: 14px;
    border-bottom: 1px solid #e9ecef;
}

.nutrition-table td:first-child {
    font-weight: 700;
    color: #333;
    width: 220px;
}

.nutrition-table td:last-child {
    color: #666;
}

/* Reviews */
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    flex-wrap: wrap;
    gap: 20px;
}

.review-summary {
    display: flex;
    align-items: center;
    gap: 35px;
}

.review-score {
    text-align: center;
}

.review-score-number {
    font-size: 52px;
    font-weight: 800;
    color: #00b207;
    line-height: 1;
}

.review-score-stars {
    color: #ffc107;
    font-size: 22px;
    margin: 12px 0;
}

.review-score-count {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.write-review-btn {
    background: white;
    border: 2px solid #00b207;
    color: #00b207;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.write-review-btn:hover {
    background: #00b207;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 178, 7, 0.3);
}

.review-item {
    padding: 25px 0;
    border-bottom: 1px solid #e9ecef;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 12px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #00b207 0%, #009206 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.review-name {
    font-weight: 700;
    color: #333;
    font-size: 15px;
}

.review-verified {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.review-date {
    font-size: 13px;
    color: #999;
    font-weight: 500;
}

.review-rating {
    color: #ffc107;
    margin-bottom: 12px;
    font-size: 16px;
}

.review-text {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* Related Products */
.related-section {
    max-width: 1400px;
    margin: 0 auto 40px;
    padding: 0 5%;
}

.related-section .section-title,
.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #333;
}

.related-section .products-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 20px;
    width: 100%;
}

.related-section .products-grid .product-card {
    width: 100%;
    max-width: none;
}

/* Product Card Styles */
.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 1;
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid #00b207;
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    transform: translateY(-6px);
    z-index: 10;
}

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

.product-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: #f5f5f5;
    display: block;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background: #f0f0f0;
    color: #ccc;
}

.product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.product-category {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #9ca3af;
    letter-spacing: 0.5px;
}

.product-name {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-name a:hover {
    color: #00b207;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
}

.product-rating .stars {
    color: #ffa500;
    font-size: 14px;
    display: flex;
    gap: 2px;
}

.product-rating .stars i {
    font-size: 12px;
}

.rating-number {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: #00b207;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0;
}

.old-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
}

.stock-status i {
    font-size: 12px;
}

.stock-status.in-stock {
    color: #00b207;
}

.stock-status.low-stock {
    color: #f59e0b;
}

.stock-status.out-of-stock {
    color: #ef4444;
}

.product-card .product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 10;
}

.product-card .product-badge {
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.3px;
}

.product-card .product-badge.sale {
    background: #ff4444;
}

.product-card .product-badge.featured {
    background: #ff9800;
}

.product-card .product-badge.bestseller {
    background: #ffc107;
    color: #333;
}

.product-card .product-badge.new {
    background: #00b207;
}

.product-card .product-badge.organic {
    background: #4caf50;
}

.product-card .product-badge.premium {
    background: #9c27b0;
}

.product-card .wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.product-card .wishlist-btn:hover {
    background: #fef2f2;
    transform: scale(1.1);
}

.product-card .wishlist-btn.active i,
.product-card .wishlist-btn i.fas {
    color: #ef4444;
}

.product-card .wishlist-btn i {
    font-size: 16px;
    color: #6b7280;
}

.product-card .add-to-cart {
    width: 100%;
    padding: 12px;
    background: #00b207;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-card .add-to-cart:hover {
    background: #009206;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 178, 7, 0.4);
}

.product-card .add-to-cart:disabled {
    background: #d1d5db;
    cursor: not-allowed;
}

.product-card .add-to-cart:disabled:hover {
    transform: none;
    box-shadow: none;
}


/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.image-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.modal-close:hover {
    background: #f8f9fa;
    transform: scale(1.1) rotate(90deg);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.modal-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.modal-nav.prev {
    left: 25px;
}

.modal-nav.next {
    right: 25px;
}

.modal-counter {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .breadcrumb-menu {
        padding: 20px 4%;
    }

    .breadcrumb-menu::after {
        left: 4%;
        right: 4%;
    }

    .product-container {
        max-width: calc(1400px - 8%);
        padding: 40px;
    }

    .tabs-section {
        max-width: calc(1400px - 8%);
    }

    .related-section {
        padding: 0 4%;
    }
}

@media (max-width: 768px) {
    .breadcrumb-menu {
        gap: 10px;
    }

    .product-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 25px;
        max-width: calc(1400px - 8%);
    }

    .tabs-section {
        max-width: calc(1400px - 8%);
    }

    .image-thumbs {
        gap: 10px;
    }

    .thumb {
        min-width: 75px;
        width: 75px;
        height: 75px;
    }

    .product-container .product-info {
        padding: 10px 0;
    }

    .product-container .product-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .product-container .current-price {
        font-size: 32px;
    }

    .product-container .original-price {
        font-size: 22px;
    }

    .product-meta {
        gap: 15px;
        padding: 20px 0;
    }

    .qty-btn {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    .qty-input {
        width: 75px;
        height: 48px;
        font-size: 18px;
    }

    .action-buttons {
        flex-direction: row;
        gap: 12px;
    }

    .btn-primary {
        flex: 1;
        padding: 18px 24px;
    }

    .btn-secondary {
        min-width: 54px;
        padding: 18px;
    }

    .shop-info {
        padding: 20px;
        margin-bottom: 25px;
    }

    .shop-meta {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .shop-meta-item {
        text-align: left;
    }

    .tabs {
        padding: 25px;
    }

    .related-section {
        padding: 0 4%;
    }

    .related-section .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
        gap: 16px;
    }

    .tab-nav {
        gap: 8px;
        padding-bottom: 5px;
    }

    .tab-btn {
        padding: 14px 18px;
        font-size: 15px;
    }

    .related-section .section-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .review-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}
