* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* HEADER */
.main-header {
    background: #f8f4e8;
    border-bottom: 1px solid #ddd;
}

.header-container {
    max-width: 1400px;
    margin: auto;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    padding: 0;
    margin: 0;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

/* PAGE CONTENT */
.page {
    padding: 60px 25px;
    max-width: 1200px;
    margin: auto;
}
/* =========================
   CLICK POPUP DROPDOWN
========================= */
/* =====================================
   PATIENTS DROPDOWN (HOVER + CLICK)
===================================== */

.has-dropdown {
    position: relative;
}

/* Dropdown hidden by default */
.has-dropdown .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    z-index: 9999;
}

/* Dropdown items */
.has-dropdown .dropdown li {
    border-bottom: 1px solid #eee;
}

.has-dropdown .dropdown li:last-child {
    border-bottom: none;
}

.has-dropdown .dropdown a {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    background: #fff;
}

.has-dropdown .dropdown a:hover {
    background: #f5f5f5;
    color: #c00;
}

/* SHOW DROPDOWN ON HOVER */
.has-dropdown:hover .dropdown {
    display: block;
}

/* SHOW DROPDOWN ON CLICK (MOBILE / KEYBOARD) */
.has-dropdown:focus-within .dropdown {
    display: block;
}

/* =========================
   HERO SLIDER (MULTI TYPE)
========================= */

.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    display: none;
    min-height: 550px;
}

.hero-slide.active {
    display: block;
}

/* SLIDE 1 */
.slide-split {
    background: linear-gradient(to right, #d8b89a, #f5ead9);
    padding: 80px 25px;
}

.slide-inner {
    max-width: 1400px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.slide-left img {
    max-width: 520px;
    width: 100%;
}

.slide-right h1 {
    font-size: 46px;
    color: #444;
}

.slide-right ul {
    margin: 20px 0 30px;
    padding-left: 20px;
}

.slide-right ul li {
    margin-bottom: 10px;
}

/* SLIDE 2 */
.slide-bg {
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide-overlay {
    background: rgba(255,255,255,0.75);
    min-height: 550px;
    display: flex;
    align-items: center;
    padding: 60px 25px;
}

.slide-right.wide {
    max-width: 700px;
    margin-left: auto;
}

.before-after {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.before-after img {
    width: 110px;
    border: 3px solid #fff;
}

.caption {
    font-size: 13px;
    margin-bottom: 20px;
}

/* BUTTON */
.btn-primary {
    display: inline-block;
    background: #3b6ea5;
    color: #fff;
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 600;
}
/* ==================================================
   VEINGOGH AUTH – ISOLATED & CONFLICT-FREE
================================================== */

.vg-auth {
    background: #f6f7f9;
    padding: 90px 20px;
    font-family: Arial, Helvetica, sans-serif;
}

.vg-auth * {
    box-sizing: border-box;
}

.vg-auth-container {
    max-width: 1200px;
    margin: auto;
}

.vg-auth-header {
    text-align: center;
    margin-bottom: 50px;
}

.vg-auth-header h2 {
    font-size: 34px;
    font-weight: 400;
    color: #333;
}

.vg-auth-header p {
    font-size: 15px;
    color: #666;
}

/* GRID */
.vg-auth-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

/* CARD */
.vg-card {
    background: #fff;
    padding: 35px;
    border: 1px solid #e5e5e5;
}

.vg-card h4 {
    margin-bottom: 10px;
}

.vg-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

/* FORM RESET */
.vg-auth form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
}

.vg-auth input,
.vg-auth select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.vg-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.vg-full {
    grid-column: span 2;
}

.vg-captcha {
    border: 1px solid #ccc;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    color: #999;
}

/* BUTTONS */
.vg-btn {
    padding: 12px;
    border: none;
    width: 100%;
    font-weight: 600;
    cursor: pointer;
}

.vg-btn-primary {
    background: #3b6ea5;
    color: #fff;
}

.vg-btn-success {
    background: #5a8f2b;
    color: #fff;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .vg-auth-grid {
        grid-template-columns: 1fr;
    }
}



/* FOOTER */
.main-footer {
    background: #e8eddc;
}

.footer-top {
    padding: 60px 25px;
}

.footer-container {
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h2 {
    font-size: 32px;
}

.footer-col h4 {
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-social i {
    margin-right: 12px;
    color: #7da10e;
}

.footer-bottom {
    border-top: 1px solid #cfd6b9;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-icons img {
    height: 28px;
    margin-left: 8px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .main-nav ul {
        flex-wrap: wrap;
        gap: 15px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}
/* ==================================
   SHOP PAGE – FINAL FIXED GRID
================================== */

.shop-title {
    font-size: 36px;
    font-weight: 400;
    color: #e53935;
}

.shop-breadcrumb {
    background: #f2f2f2;
    padding: 6px 12px;
    font-size: 12px;
    color: #666;
    border-radius: 3px;
}

.shop-toolbar {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.result-count {
    font-size: 14px;
    color: #666;
}

.sort-select {
    max-width: 220px;
    font-size: 13px;
}

/* ✅ CSS GRID (THIS FIXES EVERYTHING) */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Product Card */
.product-card {
    background: #fff;
    border: 1px solid #eaeaea;
    padding: 15px;
    text-align: center;
    position: relative;
    transition: 0.3s ease;
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #f4f4f4;
    padding: 15px;
}

.product-card h6 {
    font-size: 14px;
    font-weight: 500;
    margin: 15px 0 5px;
    min-height: 40px;
}

.product-card .price {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* Hover */
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Out of Stock Ribbon */
.out-stock img {
    opacity: 0.6;
}

.stock-ribbon {
    position: absolute;
    top: 12px;
    left: -40px;
    background: #666;
    color: #fff;
    font-size: 11px;
    padding: 6px 50px;
    transform: rotate(-45deg);
    font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .shop-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================
   ABOUT PAGE
========================= */
/* ================================
   ABOUT PAGE – PROFESSIONAL
================================ */

/* HERO */
.about-hero {
    background: url('https://www.veingogh.com/wp-content/uploads/2015/01/desk_world_flag.png') center/cover no-repeat;
    padding: 120px 0;
    color: #fff;
    position: relative;
}

.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.about-hero-content {
    position: relative;
    max-width: 700px;
}

.about-hero h1 {
    font-size: 44px;
    font-weight: 400;
    margin-bottom: 15px;
}

.about-hero p {
    font-size: 18px;
    line-height: 1.6;
}

/* MAIN SECTION */
.about-section {
    padding: 80px 0;
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.about-text h3 {
    margin-top: 25px;
    font-size: 22px;
}

.about-text p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-image img {
    width: 100%;
    border-radius: 4px;
}

/* VALUES */
.about-values {
    background: #f6f7f9;
    padding: 80px 0;
}

.center-title {
    text-align: center;
    font-size: 34px;
    margin-bottom: 45px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: #fff;
    padding: 25px;
    text-align: center;
    border: 1px solid #e1e1e1;
}

.value-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 15px;
}

.value-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 14px;
    color: #555;
}

/* CTA */
.about-cta {
    padding: 80px 0;
    background: #3b6ea5;
    color: #fff;
    text-align: center;
}

.about-cta h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.about-cta p {
    font-size: 15px;
    margin-bottom: 25px;
}

.cta-btn {
    background: #fff;
    color: #3b6ea5;
    padding: 12px 28px;
    text-decoration: none;
    font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}


/* product page  */
/* ==============================
   PRODUCT PAGE – PROFESSIONAL UI
============================== */

.product-page {
    padding: 60px 0;
}

/* Title */
.page-title {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 25px;
}

/* Filter Bar */
.product-filter {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.product-filter input {
    padding: 10px;
    border: 1px solid #ccc;
    font-size: 14px;
    min-width: 180px;
}

.product-filter button {
    padding: 10px 22px;
    background: #3b6ea5;
    color: #fff;
    border: none;
    font-size: 14px;
    cursor: pointer;
}

/* Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Card */
.product-card {
    background: #fff;
    border: 1px solid #eaeaea;
    padding: 20px;
    text-align: center;
    transition: 0.3s;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

/* Image */
.product-image {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    margin-bottom: 15px;
}

.product-image img {
    max-height: 180px;
    max-width: 100%;
}

/* Name */
.product-card h3 {
    font-size: 15px;
    font-weight: 500;
    min-height: 44px;
    margin-bottom: 10px;
}

/* Price */
.product-price {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Buttons */
.product-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-outline {
    border: 1px solid #3b6ea5;
    color: #3b6ea5;
    padding: 8px 14px;
    font-size: 13px;
    text-decoration: none;
}

.btn-primary {
    background: #3b6ea5;
    color: #fff;
    padding: 8px 16px;
    font-size: 13px;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}
/* ==================================
   PRODUCT HOVER DETAILS EFFECT
================================== */

.hover-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eaeaea;
    height: 100%;
}

.hover-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #f5f5f5;
    transition: transform 0.4s ease;
}

/* Overlay */
.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.78);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

/* Hover Effects */
.hover-card:hover img {
    transform: scale(1.08);
}

.hover-card:hover .product-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Overlay Content */
.product-overlay h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.overlay-desc {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 12px;
}

.overlay-price {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Buttons */
.overlay-actions {
    display: flex;
    gap: 10px;
}

.overlay-actions a {
    font-size: 12px;
    padding: 8px 14px;
    text-decoration: none;
}

.overlay-actions .btn-outline {
    border: 1px solid #fff;
    color: #fff;
}

.overlay-actions .btn-primary {
    background: #3b6ea5;
    color: #fff;
    border: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .product-overlay {
        padding: 15px;
    }
}
/* PATIENTS sub manu */
.testimonial-box {
    background: #f9f9f9;
    border-left: 4px solid #c00;
    padding: 20px;
    margin-bottom: 20px;
}
.article-item {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}
/* =====================================
   PHYSICIAN LOGIN – PROFESSIONAL
===================================== */

.physician-login-page {
    background: #f6f7f9;
    padding: 90px 0;
}

.login-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

/* LEFT INFO */
.login-info h1 {
    font-size: 38px;
    font-weight: 400;
    margin-bottom: 20px;
}

.login-info p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.login-info ul {
    padding-left: 0;
    list-style: none;
}

.login-info li {
    font-size: 15px;
    margin-bottom: 10px;
    color: #333;
}

/* LOGIN CARD */
.login-card {
    background: #fff;
    padding: 40px;
    border: 1px solid #e1e1e1;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.login-card h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.small-text {
    font-size: 13px;
    color: #777;
    margin-bottom: 25px;
}

/* FORM */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    font-size: 14px;
}

/* BUTTON */
.btn-login {
    width: 100%;
    padding: 12px;
    background: #3b6ea5;
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

.btn-login:hover {
    background: #2f5f8f;
}

/* LINKS */
.login-links {
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
}

.login-links a {
    color: #3b6ea5;
    text-decoration: none;
    margin: 0 5px;
}
/* ================================
   PHYSICIAN CONTENT PAGES
================================ */

.physician-section {
    background: #f6f7f9;
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 15px;
}

.section-intro {
    max-width: 800px;
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 45px;
}

/* PRACTICE SUPPORT */
.support-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.support-card {
    background: #fff;
    padding: 30px;
    border: 1px solid #e1e1e1;
}

.support-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.support-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

/* TESTIMONIALS */
.testimonial-list {
    max-width: 800px;
}

.doctor-testimonial {
    background: #fff;
    padding: 30px;
    border-left: 4px solid #3b6ea5;
    margin-bottom: 25px;
}

.doctor-testimonial p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* NEWS */
.news-list {
    max-width: 900px;
}

.news-item {
    padding: 25px 0;
    border-bottom: 1px solid #ddd;
}

.news-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.news-item p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}


/* RESPONSIVE */
@media (max-width: 992px) {
    .login-wrapper {
        grid-template-columns: 1fr;
    }

    .login-info {
        text-align: center;
    }
}

/* ================================
   PHOTO GALLERY – PHYSICIANS
================================ */

/* HERO */
.gallery-hero {
    background: url('https://images.unsplash.com/photo-1579684385127-1ef15d508118') center/cover no-repeat;
    padding: 120px 0;
    color: #fff;
    position: relative;
}

.gallery-hero h1 {
    font-size: 38px;
    font-weight: 400;
    margin-bottom: 10px;
}

.gallery-hero p {
    font-size: 15px;
    color: #555;
}

/* CONTENT */
.gallery-section {
    padding: 80px 0;
}

.gallery-intro {
    max-width: 800px;
    margin-bottom: 40px;
}

.gallery-intro p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

/* GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* ITEM */
.gallery-item {
    position: relative;
    overflow: hidden;
    border: 1px solid #e1e1e1;
    background: #fff;
}

.gallery-item img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* OVERLAY */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s ease;
}

.gallery-overlay span {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
/* ==============================
   SHOP PAGE TITLE – PROFESSIONAL
============================== */

.shop-title {
    font-size: 38px;
    font-weight: 400;
    margin-top: 25px;      /* space from breadcrumb */
    margin-bottom: 35px;   /* space before toolbar */
    line-height: 1.2;
}

/* Optional: breadcrumb spacing */
.shop-breadcrumb {
    margin-top: 20px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #777;
}
