/*
 Theme Name:   Cannamed Child
 Theme URI:    http://demo.goodlayers.com/cannamed
 Description:  Goodlayers Cannamed Child Theme
 Author:       Goodlayers
 Author URI:   http://goodlayers.com
 Template:     cannamed
 Version:      1.0.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, right-sidebar, responsive-layout
 Text Domain:  cannamed-child
*/

/* ── Staff Reply Styling ──────────────────────────────────── */

/* Staff badge on Stefan reviews */
.green-one-staff-badge {
    display: inline-block;
    background: #6eaf4b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

/* Staff reply reviews - subtle background */
.single-product.woocommerce #reviews #comments ol.commentlist li.staff-reply {
    background: #f8faf8;
    border-left: 3px solid #6eaf4b;
}

.single-product.woocommerce #reviews #comments ol.commentlist li.staff-reply .comment-text p.meta {
    margin-bottom: 8px;
}

/* ── Mobile Review Fixes ──────────────────────────────────── */
@media only screen and (max-width: 767px) {
    /* Fix review item padding - parent theme uses 39px 49px which is way too much */
    .single-product.woocommerce #reviews #comments ol.commentlist li {
        padding: 18px 14px !important;
        margin-bottom: 14px !important;
    }

    /* Fix avatar size - parent theme uses 85px which is huge on mobile */
    .single-product.woocommerce #reviews #comments ol.commentlist li img.avatar {
        width: 46px !important;
        height: 46px !important;
        margin-right: 12px !important;
    }

    /* Fix comment text overflow */
    .single-product.woocommerce #reviews #comments ol.commentlist li .comment-text {
        overflow: visible !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Fix author name size */
    .single-product.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta strong[itemprop="author"] {
        font-size: 15px !important;
    }

    /* Fix date size */
    .single-product.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta time[itemprop="datePublished"] {
        font-size: 13px !important;
    }

    /* Fix star rating spacing */
    .single-product.woocommerce #reviews #comments ol.commentlist li .comment-text .star-rating {
        margin-top: 12px !important;
        margin-bottom: 8px !important;
    }

    /* Fix meta margin */
    .single-product.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta {
        margin-bottom: 10px !important;
    }

    /* Review section header */
    .single-product.woocommerce #reviews {
        padding-top: 25px !important;
    }

    /* Review form */
    .single-product.woocommerce #reviews #review_form_wrapper {
        padding-top: 20px !important;
    }

    .single-product.woocommerce #reviews .comment-reply-title {
        font-size: 20px !important;
        margin-bottom: 15px !important;
    }

    /* Staff badge mobile */
    .green-one-staff-badge {
        font-size: 10px;
        padding: 1px 6px;
        margin-left: 4px;
    }

    /* Staff reply mobile */
    .single-product.woocommerce #reviews #comments ol.commentlist li.staff-reply {
        border-left: 2px solid #6eaf4b;
    }
}

/* ── Small phones (320-414px) ─────────────────────────────── */
@media only screen and (max-width: 419px) {
    .single-product.woocommerce #reviews #comments ol.commentlist li {
        padding: 14px 10px !important;
    }

    .single-product.woocommerce #reviews #comments ol.commentlist li img.avatar {
        width: 38px !important;
        height: 38px !important;
        margin-right: 10px !important;
    }

    .single-product.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta strong[itemprop="author"] {
        font-size: 14px !important;
    }
}
/* ── /* ── Mobile Top Bar: single-row layout ─────────────── */
@media only screen and (max-width: 999px) {

    /* Container: flex single-row, no-wrap */
    .cannamed-mobile-header-wrap .cannamed-top-bar-container-inner {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    /* Kill clearfix pseudo-elements that break flex */
    .cannamed-mobile-header-wrap .cannamed-top-bar-container-inner:before,
    .cannamed-mobile-header-wrap .cannamed-top-bar-container-inner:after {
        display: none !important;
    }

    /* ── Left column: grows to fill space, items stay on one line ── */
    .cannamed-mobile-header-wrap .cannamed-top-bar-left {
        float: none !important;
        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 4px;
        flex: 1 1 auto;
        overflow: hidden;
        min-width: 0;
    }

    /* ── Right column: natural size, no extra space ── */
    .cannamed-mobile-header-wrap .cannamed-top-bar-right {
        float: none !important;
        display: flex !important;
        align-items: center !important;
        flex: 0 0 auto;
        margin-left: 6px;
        white-space: nowrap;
    }

    /* ── Left-text links: icon-visible, text-hidden-but-zero-space ── */
    .cannamed-mobile-header-wrap .cannamed-top-bar-left-text a {
        font-size: 0 !important;
        line-height: 0 !important;
        height: auto !important;
        margin-right: 8px !important;
        vertical-align: middle;
        display: inline-flex !important;
        align-items: center !important;
    }
    .cannamed-mobile-header-wrap .cannamed-top-bar-left-text a i {
        font-size: 17px !important;
        line-height: 1 !important;
        margin-right: 0 !important;
        vertical-align: middle;
    }

    /* ── Flags ── */
    .cannamed-mobile-header-wrap .language-switcher img {
        width: 18px !important;
        height: auto !important;
        vertical-align: middle;
    }
    .cannamed-mobile-header-wrap .language-switcher a {
        margin-right: 6px !important;
    }
    .cannamed-mobile-header-wrap .language-switcher {
        margin-left: 4px !important;
        margin-right: 4px !important;
    }

    /* ── Social icons: visible size, tight spacing ── */
    .cannamed-mobile-header-wrap .cannamed-top-bar-right-social {
        margin-left: 4px !important;
        display: inline-flex !important;
        align-items: center !important;
    }
    .cannamed-mobile-header-wrap .cannamed-top-bar-right-social a {
        font-size: 17px !important;
        line-height: 1 !important;
        margin-left: 10px !important;
        display: inline-flex !important;
        align-items: center !important;
    }

    /* ── Right-text (Shop icon): icon-only, zero text space ── */
    .cannamed-mobile-header-wrap .cannamed-top-bar-right-text a {
        font-size: 0 !important;
        line-height: 0 !important;
        height: auto !important;
        margin-left: 6px !important;
        display: inline-flex !important;
        align-items: center !important;
    }
    .cannamed-mobile-header-wrap .cannamed-top-bar-right-text a i {
        font-size: 17px !important;
        line-height: 1 !important;
        vertical-align: middle;
    }

    /* ── Hide VAT details on mobile (too long) ── */
    .cannamed-mobile-header-wrap .cannamed-top-bar-right-text > span > span {
        display: none !important;
    }
}

/* ── Very small phones (<420px): slightly more compact ──────── */
@media only screen and (max-width: 419px) {
    .cannamed-mobile-header-wrap .cannamed-top-bar {
        font-size: 13px !important;
    }
    .cannamed-mobile-header-wrap .cannamed-top-bar-left-text a {
        margin-right: 5px !important;
    }
    .cannamed-mobile-header-wrap .cannamed-top-bar-left-text a i {
        font-size: 15px !important;
    }
    .cannamed-mobile-header-wrap .cannamed-top-bar-right-social a {
        font-size: 15px !important;
        margin-left: 7px !important;
    }
    .cannamed-mobile-header-wrap .cannamed-top-bar-right-text a i {
        font-size: 15px !important;
    }
    .cannamed-mobile-header-wrap .language-switcher img {
        width: 16px !important;
    }
    .cannamed-mobile-header-wrap .language-switcher a {
        margin-right: 4px !important;
    }
}

/* ── Very small phones: even tighter ──────────────────────── */
@media only screen and (max-width: 419px) {
    .cannamed-mobile-header-wrap .cannamed-top-bar {
        font-size: 12px !important;
    }
    .cannamed-mobile-header-wrap .cannamed-top-bar-left-text a i {
        font-size: 14px !important;
    }
    .cannamed-mobile-header-wrap .cannamed-top-bar-left-text a {
        margin-right: 6px !important;
    }
    .cannamed-mobile-header-wrap .cannamed-top-bar-right-social a {
        font-size: 13px !important;
        margin-left: 6px !important;
    }
    .cannamed-mobile-header-wrap .language-switcher img {
        width: 14px !important;
    }
    .cannamed-mobile-header-wrap .language-switcher a {
        margin-right: 4px !important;
    }
}

/* ═══ CHECKOUT TABLE LAYOUT FIX ═══ */
/* Fix prices pushed to extreme right — center and balance */

.woocommerce-checkout .shop_table,
.woocommerce-checkout-review-order-table {
    background-color: #fff !important;
    table-layout: fixed !important;
    width: 100% !important;
}

/* Product name column gets 60% width */
.woocommerce-checkout .shop_table .product-name,
.woocommerce-checkout-review-order-table .product-name {
    width: 55% !important;
    word-wrap: break-word !important;
}

/* Price/total column gets 45% width, centered text */
.woocommerce-checkout .shop_table .product-total,
.woocommerce-checkout-review-order-table .product-total {
    width: 45% !important;
    text-align: left !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    white-space: nowrap;
}

/* Footer rows (subtotal, shipping, total) — center the labels too */
.woocommerce-checkout .shop_table tfoot th,
.woocommerce-checkout-review-order-table tfoot th {
    text-align: left !important;
    padding-right: 15px !important;
    width: 55% !important;
}

.woocommerce-checkout .shop_table tfoot td,
.woocommerce-checkout-review-order-table tfoot td {
    text-align: left !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 45% !important;
}

/* Order total row — keep it bold and visible */
.woocommerce-checkout .shop_table .order-total td,
.woocommerce-checkout-review-order-table .order-total td {
    font-weight: 700 !important;
    font-size: 1.1em !important;
    color: #222 !important;
}

/* Mobile: full width, stack if needed */
@media only screen and (max-width: 767px) {
    .woocommerce-checkout .shop_table .product-name,
    .woocommerce-checkout-review-order-table .product-name {
        width: 50% !important;
        font-size: 13px !important;
    }
    .woocommerce-checkout .shop_table .product-total,
    .woocommerce-checkout-review-order-table .product-total {
        width: 50% !important;
        font-size: 13px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    .woocommerce-checkout .shop_table tfoot th,
    .woocommerce-checkout-review-order-table tfoot th {
        width: 50% !important;
        font-size: 13px !important;
    }
    .woocommerce-checkout .shop_table tfoot td,
    .woocommerce-checkout-review-order-table tfoot td {
        width: 50% !important;
        font-size: 13px !important;
    }
    .woocommerce-checkout .shop_table td,
    .woocommerce-checkout .shop_table th {
        padding: 10px 8px !important;
    }
}

@media only screen and (max-width: 420px) {
    .woocommerce-checkout .shop_table .product-name,
    .woocommerce-checkout-review-order-table .product-name {
        width: 48% !important;
        font-size: 12px !important;
    }
    .woocommerce-checkout .shop_table .product-total,
    .woocommerce-checkout-review-order-table .product-total {
        width: 52% !important;
        font-size: 12px !important;
    }
    .woocommerce-checkout .shop_table tfoot th,
    .woocommerce-checkout-review-order-table tfoot th {
        width: 48% !important;
        font-size: 12px !important;
    }
    .woocommerce-checkout .shop_table tfoot td,
    .woocommerce-checkout-review-order-table tfoot td {
        width: 52% !important;
        font-size: 12px !important;
    }
}

/* ==========================================================================
   GreenOne Mobile Sticky Add-to-Cart Bar
   For WooCommerce single product pages (Cannamed Theme)
   Only visible on screens <= 768px
   ========================================================================== */

/* --- Hide on cart/checkout, only show on single product --- */
@media screen and (max-width: 768px) {

  /* Only apply to single product pages */
  body.single-product:not(.woocommerce-cart):not(.woocommerce-checkout) {

    /* --- Sticky Add-to-Cart Bar Container --- */
    .sticky-atc-bar {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 9999;
      background: #fff;
      border-top: 2px solid #6eaf4b;
      box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
      padding: 10px 15px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      transform: translateY(100%);
      transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      opacity: 0;
      visibility: hidden;
    }

    .sticky-atc-bar.visible {
      transform: translateY(0);
      opacity: 1;
      visibility: visible;
    }

    /* --- Price Display (Left Side) --- */
    .sticky-atc-price {
      display: flex;
      flex-direction: column;
      justify-content: center;
      min-width: 80px;
    }

    .sticky-atc-price .price-label {
      font-size: 11px;
      color: #666;
      margin-bottom: 2px;
    }

    .sticky-atc-price .price-amount {
      font-size: 20px;
      font-weight: 700;
      color: #333;
      line-height: 1.2;
    }

    .sticky-atc-price .price-amount .woocommerce-Price-amount {
      font-size: 20px;
      font-weight: 700;
    }

    /* --- Quantity Selector (Middle) --- */
    .sticky-atc-quantity {
      display: flex;
      align-items: center;
      border: 1px solid #ddd;
      border-radius: 6px;
      overflow: hidden;
      height: 40px;
    }

    .sticky-atc-quantity .qty-btn {
      width: 36px;
      height: 100%;
      background: #f5f5f5;
      border: none;
      color: #333;
      font-size: 18px;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s ease;
      -webkit-tap-highlight-color: transparent;
      user-select: none;
      padding: 0;
      line-height: 1;
    }

    .sticky-atc-quantity .qty-btn:hover,
    .sticky-atc-quantity .qty-btn:active {
      background: #e8e8e8;
    }

    .sticky-atc-quantity .qty-btn:active {
      background: #ddd;
    }

    .sticky-atc-quantity input[type="number"] {
      width: 40px;
      height: 100%;
      text-align: center;
      border: none;
      border-left: 1px solid #ddd;
      border-right: 1px solid #ddd;
      font-size: 15px;
      font-weight: 600;
      color: #333;
      padding: 0;
      -moz-appearance: textfield;
      background: #fff;
    }

    .sticky-atc-quantity input[type="number"]::-webkit-inner-spin-button,
    .sticky-atc-quantity input[type="number"]::-webkit-outer-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }

    /* --- Add to Basket Button (Right Side) --- */
    .sticky-atc-button {
      flex: 1;
      max-width: 180px;
    }

    .sticky-atc-button .single_add_to_cart_button,
    .sticky-atc-button button[name="add-to-cart"],
    .sticky-atc-button .added_to_cart {
      width: 100%;
      height: 44px;
      background: #6eaf4b !important;
      color: #fff !important;
      border: none;
      border-radius: 6px;
      font-size: 14px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      cursor: pointer;
      transition: background 0.2s ease, transform 0.1s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      white-space: nowrap;
      padding: 0 16px;
      -webkit-tap-highlight-color: transparent;
    }

    .sticky-atc-button .single_add_to_cart_button:hover,
    .sticky-atc-button button[name="add-to-cart"]:hover {
      background: #699551 !important;
    }

    .sticky-atc-button .single_add_to_cart_button:active,
    .sticky-atc-button button[name="add-to-cart"]:active {
      transform: scale(0.97);
    }

    .sticky-atc-button .single_add_to_cart_button.loading {
      opacity: 0.7;
      pointer-events: none;
    }

    .sticky-atc-button .single_add_to_cart_button.loading::after {
      content: '';
      width: 16px;
      height: 16px;
      border: 2px solid rgba(255, 255, 255, 0.3);
      border-top-color: #fff;
      border-radius: 50%;
      animation: sticky-atc-spin 0.6s linear infinite;
    }

    /* --- Hide original add-to-cart form on mobile --- */
    .woocommerce div.product form.cart {
      position: relative;
    }

    .woocommerce div.product form.cart .quantity {
      display: none !important;
    }

    /* Add bottom padding to prevent content from being hidden behind sticky bar */
    .woocommerce div.product {
      padding-bottom: 80px;
    }

    /* --- Out of stock state --- */
    .sticky-atc-bar.out-of-stock .sticky-atc-button {
      pointer-events: none;
      opacity: 0.5;
    }

    .sticky-atc-bar.out-of-stock .sticky-atc-button .single_add_to_cart_button {
      background: #ccc !important;
      cursor: not-allowed;
    }
  }

  /* --- Animations --- */
  @keyframes sticky-atc-spin {
    to {
      transform: rotate(360deg);
    }
  }

  @keyframes sticky-atc-slide-up {
    from {
      transform: translateY(100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  /* Slide-up entrance animation */
  .sticky-atc-bar.visible {
    animation: sticky-atc-slide-up 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }
}

/* --- Fallback: If no .sticky-atc-bar div exists, use the form itself --- */
@media screen and (max-width: 768px) {
  body.single-product:not(.woocommerce-cart):not(.woocommerce-checkout) {

    /* When form is used as sticky bar directly */
    .woocommerce div.product form.cart.sticky-mode {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 9999;
      background: #fff;
      border-top: 2px solid #6eaf4b;
      box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
      padding: 10px 15px;
      margin: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      transform: translateY(0);
      opacity: 1;
      visibility: visible;
    }

    /* Style the WooCommerce button inside the form */
    .woocommerce div.product form.cart.sticky-mode .single_add_to_cart_button {
      background: #6eaf4b !important;
      color: #fff !important;
      border: none;
      border-radius: 6px;
      height: 44px;
      padding: 0 20px;
      font-size: 14px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .woocommerce div.product form.cart.sticky-mode .single_add_to_cart_button:hover {
      background: #699551 !important;
    }

    /* Style quantity inside sticky form */
    .woocommerce div.product form.cart.sticky-mode .quantity {
      display: flex !important;
      align-items: center;
      border: 1px solid #ddd;
      border-radius: 6px;
      overflow: hidden;
      height: 40px;
      margin: 0;
    }

    .woocommerce div.product form.cart.sticky-mode .quantity input.qty {
      width: 40px;
      height: 100%;
      text-align: center;
      border: none;
      border-left: 1px solid #ddd;
      border-right: 1px solid #ddd;
      font-size: 15px;
      font-weight: 600;
      padding: 0;
      -moz-appearance: textfield;
      margin: 0;
    }

    .woocommerce div.product form.cart.sticky-mode .quantity input.qty::-webkit-inner-spin-button,
    .woocommerce div.product form.cart.sticky-mode .quantity input.qty::-webkit-outer-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }

    /* Variations inside sticky */
    .woocommerce div.product form.cart.sticky-mode .variations {
      display: none !important;
    }

    .woocommerce div.product form.cart.sticky-mode .variations_button {
      display: flex;
      align-items: center;
      gap: 8px;
    }
  }
}

/* ==========================================================================
   Utility: Add padding to body when sticky bar is active
   ========================================================================== */
@media screen and (max-width: 768px) {
  body.single-product.sticky-atc-active .woocommerce div.product {
    padding-bottom: 80px !important;
  }

  /* Prevent sticky bar from showing on grouped/external products where ATC doesn't make sense */
  body.single-product.product-type-external .sticky-atc-bar,
  body.single-product.product-type-grouped .sticky-atc-bar {
    display: none !important;
  }
}
/* ── Visible Link Styling ─────────────────────────────────── */

/* Make all content links visible - amber to contrast with brand green */
.entry-content a,
.post-content a,
article a,
.blog-item a,
.single-content a,
.gdlr-core-content a,
.cannamed-blog-info a,
.cannamed-single-content a,
p a,
.page-content a,
.cannamed-content-area a,
.cannamed-single-article-content a,
.gdlr-core-tab-item-content a {
    color: #8B5E00 !important;
    font-weight: 700 !important;
    transition: color 0.2s ease !important;
}

/* Hover state must mirror the link selectors above */
.entry-content a:hover,
.post-content a:hover,
article a:hover,
.blog-item a:hover,
.single-content a:hover,
.gdlr-core-content a:hover,
.cannamed-blog-info a:hover,
.cannamed-single-content a:hover,
p a:hover,
.page-content a:hover,
.cannamed-content-area a:hover,
.cannamed-single-article-content a:hover,
.gdlr-core-tab-item-content a:hover {
    color: #6B4A00 !important;
}



/* Navigation menu links - restore original theme colors */
.cannamed-navigation-bar-wrap a,
.cannamed-main-menu a,
.cannamed-mobile-header a,
.cannamed-mobile-menu a,
.sf-menu a,
.sub-menu a {
    color: inherit;
    font-weight: inherit;
    text-decoration: none;
}

/* Force nav links to theme colors (override amber content rules) */
/* DESKTOP MAIN NAV */
.cannamed-navigation .sf-menu > li > a,
.cannamed-navigation-bar-wrap .sf-menu > li > a,
#cannamed-main-menu .sf-menu > li > a,
.sf-menu > li > a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: inherit !important;
}
/* DESKTOP SUB-NAV */
.cannamed-navigation .sf-menu > li > .sub-menu a,
.cannamed-navigation-bar-wrap .sf-menu > li > .sub-menu a,
.sf-menu > li > .sub-menu a {
    color: #757575 !important;
    text-decoration: none !important;
    font-weight: inherit !important;
}
/* MOBILE HEADER */
.cannamed-mobile-header a,
.cannamed-mobile-header-wrap a {
    color: #0a0a0a !important;
    text-decoration: none !important;
}
/* MOBILE OVERLAY MENU */
.cannamed-overlay-menu-content ul li a {
    color: #ffffff !important;
    text-decoration: none !important;
}
/* TOP BAR LINKS - reset to custom CSS values */
.cannamed-top-bar a {
    color: #212121 !important;
    text-decoration: none !important;
}
.cannamed-top-bar a:hover {
    color: #6eaf4b !important;
}
/* Blog archive excerpt styling */
.cannamed-blog-item .cannamed-blog-content {
    padding: 30px 0;
}

.cannamed-blog-item .cannamed-blog-content .cannamed-blog-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
}

.cannamed-blog-item .cannamed-blog-content .cannamed-blog-title a {
    color: #222 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.cannamed-blog-item .cannamed-blog-content .cannamed-blog-title a:hover {
    color: #6eaf4b !important;
}

.cannamed-blog-item .cannamed-blog-info {
    margin-bottom: 15px !important;
    color: #888 !important;
    font-size: 13px !important;
}

.cannamed-blog-item .cannamed-blog-excerpt {
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: #555 !important;
}

/* Green Read More button */
.cannamed-blog-item .cannamed-blog-read-more a,
.cannamed-blog-item .cannamed-excerpt-read-more a,
.cannamed-blog-item .gdlr-core-excerpt-read-more a {
    background: linear-gradient(135deg, #6eaf4b 0%, #4a8a2e 100%) !important;
    color: white !important;
    padding: 12px 32px !important;
    text-decoration: none !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    display: inline-block !important;
    box-shadow: 0 4px 15px rgba(110,175,75,0.35) !important;
    margin-top: 18px !important;
    transition: all 0.2s ease !important;
    border: none !important;
}

.cannamed-blog-item .cannamed-blog-read-more a:hover,
.cannamed-blog-item .cannamed-excerpt-read-more a:hover,
.cannamed-blog-item .gdlr-core-excerpt-read-more a:hover {
    background: linear-gradient(135deg, #4a8a2e 0%, #2d6a1a 100%) !important;
    box-shadow: 0 6px 25px rgba(110,175,75,0.5) !important;
    transform: translateY(-2px) !important;
    color: white !important;
}

/* Blog archive featured image */
.cannamed-blog-item .cannamed-blog-thumbnail {
    margin-bottom: 20px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.cannamed-blog-item .cannamed-blog-thumbnail img {
    transition: transform 0.3s ease !important;
}

/* Blog archive item spacing */
.cannamed-blog-item {
    margin-bottom: 50px !important;
    padding-bottom: 40px !important;
    border-bottom: 1px solid #e8e8e8 !important;
}

/* Blog archive item hover */
.cannamed-blog-item:hover .cannamed-blog-thumbnail img {
    transform: scale(1.02) !important;
}

/* Category badge on blog items */
.cannamed-blog-item .cannamed-blog-category {
    margin-bottom: 10px !important;
}

.cannamed-blog-item .cannamed-blog-category a {
    display: inline-block !important;
    background: #e8f5e6 !important;
    color: #4a8a2e !important;
    padding: 4px 14px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}
