/* ============================================
   PRODUCTS - GYRH SOURCINGS
   ============================================ */

/* FILTER TABS */
.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-tab {
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--gray-200);
    background: white;
    color: var(--gray-600);
}

.filter-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(192,57,43,0.05);
}

.filter-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(192,57,43,0.3);
}

/* PRODUCTS GRID */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

/* PRODUCT CARD */
.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
}

.product-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(192,57,43,0.2);
}

/* PRODUCT IMAGE */
.product-img-wrap {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: var(--gray-100);
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 1;
    letter-spacing: 0.5px;
}

.badge-red { background: var(--primary); color: white; }
.badge-green { background: var(--success); color: white; }
.badge-blue { background: var(--info); color: white; }
.badge-gold { background: var(--gold); color: white; }
.badge-orange { background: var(--gold-dark); color: white; }

.product-stock {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stock-in {
    background: rgba(39,174,96,0.15);
    color: var(--success);
    border: 1px solid rgba(39,174,96,0.3);
}

.stock-out {
    background: rgba(231,76,60,0.15);
    color: var(--danger);
    border: 1px solid rgba(231,76,60,0.3);
}

.stock-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.product-actions-hover {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    gap: 8px;
    padding: 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    transition: var(--transition);
    justify-content: center;
}

.product-card:hover .product-actions-hover {
    bottom: 0;
}

.action-btn {
    width: 38px;
    height: 38px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    box-shadow: var(--shadow-sm);
}

.action-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* PRODUCT BODY */
.product-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-desc {
    font-size: 0.83rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
}

.product-rating .stars {
    color: var(--gold);
    font-size: 0.78rem;
    display: flex;
    gap: 2px;
}

.product-rating span {
    font-size: 0.78rem;
    color: var(--gray-500);
}

/* PRODUCT FOOTER */
.product-footer {
    padding: 14px 20px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: var(--gray-100);
}

.product-price {
    display: flex;
    flex-direction: column;
}

.price-current {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
}

.price-old {
    font-size: 0.8rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.price-discount {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--success);
    background: rgba(39,174,96,0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.product-btns {
    display: flex;
    gap: 8px;
}

.btn-add {
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-add:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(192,57,43,0.3);
}

.btn-quote-sm {
    padding: 8px 14px;
    background: transparent;
    color: var(--primary);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-quote-sm:hover {
    background: var(--primary);
    color: white;
}

/* SEARCH & SORT BAR */
.products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 36px;
    flex-wrap: wrap;
    background: white;
    padding: 16px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    flex: 1;
    max-width: 400px;
    border: 2px solid transparent;
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: var(--primary);
    background: white;
}

.search-box i { color: var(--gray-400); font-size: 0.9rem; }

.search-box input {
    border: none;
    background: none;
    outline: none;
    font-size: 0.9rem;
    color: var(--dark);
    width: 100%;
}

.sort-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* products.css fin */
.sort-box label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-600);
    white-space: nowrap;
}

.sort-box select {
    padding: 10px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: var(--dark);
    background: white;
    outline: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
}

.sort-box select:focus {
    border-color: var(--primary);
}

.results-count {
    font-size: 0.85rem;
    color: var(--gray-500);
    white-space: nowrap;
}

.results-count span {
    font-weight: 700;
    color: var(--primary);
}

/* NO PRODUCTS */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--gray-400);
}

.no-products i {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
    color: var(--gray-300);
}

.no-products p {
    font-size: 1.1rem;
    font-weight: 600;
}

/* CATEGORIES PAGE GRID */
.categories-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.category-page-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    text-decoration: none;
    display: block;
    opacity: 0;
    transform: translateY(30px);
}

.category-page-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.category-page-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.category-page-header {
    padding: 40px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.category-page-header::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.category-page-icon {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.2);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.3);
}

.category-page-header h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 4px;
}

.category-page-header p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.8);
}

.category-page-body {
    padding: 24px 30px;
}

.category-page-body p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 20px;
}

.category-page-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.category-page-count {
    font-size: 0.82rem;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 6px;
}

.category-page-count i { color: var(--primary); }

.category-page-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition);
}

.category-page-link i {
    transition: var(--transition);
    font-size: 0.75rem;
}

.category-page-card:hover .category-page-link i {
    transform: translateX(4px);
}

/* ABOUT PAGE */
.about-section { background: white; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img-wrap {
    position: relative;
}

.about-img-main {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.about-img-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-img-badge .num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    display: block;
}

.about-img-badge p {
    font-size: 0.8rem;
    opacity: 0.9;
}

.about-img-float {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: var(--gold);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    text-align: center;
    box-shadow: var(--shadow-lg);
    padding: 16px;
}

.about-img-float i {
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.about-img-float span {
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.3;
}

.about-content { }

.about-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-content h2 span { color: var(--primary); }

.about-content p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 28px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark);
}

.about-feature i {
    width: 32px;
    height: 32px;
    background: rgba(192,57,43,0.1);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* MISSION VISION */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 60px;
}

.mv-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
}

.mv-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.mv-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    margin-bottom: 20px;
}

.mv-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.mv-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* TEAM */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 28px;
}

.team-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.team-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-img { transform: scale(1.05); }

.team-body { padding: 24px 20px; }

.team-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.team-body p {
    font-size: 0.82rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 14px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.team-social a {
    width: 32px;
    height: 32px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--gray-600);
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--primary);
    color: white;
}

/* VALUES */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.value-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.value-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.value-icon {
    font-size: 2rem;
    margin-bottom: 14px;
}

.value-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.82rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* CONTACT PAGE */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 50px;
    align-items: start;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    border-radius: var(--radius-xl);
    padding: 44px 36px;
    color: white;
    position: sticky;
    top: 100px;
}

.contact-info-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
}

.contact-info-card > p {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    margin-bottom: 36px;
    line-height: 1.7;
}

.contact-info-items { margin-bottom: 36px; }

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-item-icon {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--gold);
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.15);
}

/* contact info fin */
.contact-info-item-text h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-info-item-text p {
    font-size: 0.92rem;
    color: white;
    font-weight: 500;
    line-height: 1.5;
}

.contact-info-social {
    display: flex;
    gap: 10px;
}

.contact-info-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

.contact-info-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* CONTACT FORM */
.contact-form-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 44px 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.contact-form-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.contact-form-card > p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group label span {
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: var(--dark);
    background: var(--gray-100);
    outline: none;
    transition: var(--transition);
    font-family: var(--font-main);
}

.form-control:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(192,57,43,0.08);
}

.form-control::placeholder {
    color: var(--gray-400);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-main);
    box-shadow: 0 4px 15px rgba(192,57,43,0.3);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(192,57,43,0.4);
}

.form-submit i { font-size: 0.9rem; }

/* MAP */
.map-section {
    padding: 0 0 90px;
}

.map-wrap {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 400px;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.map-placeholder {
    text-align: center;
    color: var(--gray-500);
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 16px;
    display: block;
}

.map-placeholder h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.map-placeholder p { font-size: 0.9rem; }